Skip to content

Build and CLI fixes - #608

Merged
rangelmx merged 3 commits into
LinearTapeFileSystem:release/v2.4.9.0from
matejk:fix/build-and-cli-misc
Jul 29, 2026
Merged

Build and CLI fixes#608
rangelmx merged 3 commits into
LinearTapeFileSystem:release/v2.4.9.0from
matejk:fix/build-and-cli-misc

Conversation

@matejk

@matejk matejk commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Three small independent fixes, each its own commit (rebased onto the v2.4.8.4 release):

Note: this PR originally also carried the xattr.h FUSE_USE_VERSION include fix, but the v2.4.8.4 release shipped the identical change (as part of the FreeBSD build fix), so it has been dropped from the rebased branch.

matejk added 3 commits June 17, 2026 22:06
show_device_list returns 0 on success and non-zero on failure, but the
caller returned 0 on failure and 1 on success, so scripts checking the
exit status saw the opposite result.
pthread_yield has been deprecated since glibc 2.34 and is not provided
by some C libraries (e.g. musl). sched_yield is the POSIX standard and
was already used on the macOS and BSD branches; use it everywhere.
The stderr redirect for net-snmp-config --agent-libs was placed outside
the backticks, so the literal string "2> /dev/null" became part of
SNMP_MODULE_LIBS_A and ended up on every libtool link line. The shell
then redirected the linker's stderr to /dev/null, silently discarding
link errors (and making real failures undiagnosable). Only visible on
systems where net-snmp is installed.
@matejk
matejk force-pushed the fix/build-and-cli-misc branch from 4e4b36f to d8b0e95 Compare June 17, 2026 20:35

@vandelvan vandelvan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@madjesc madjesc left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💀 🔥

@rangelmx
rangelmx changed the base branch from main to release/v2.4.9.0 July 29, 2026 19:34

@syaoraang syaoraang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@rangelmx
rangelmx merged commit f5c51b1 into LinearTapeFileSystem:release/v2.4.9.0 Jul 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants