Skip to content

Build and CLI fixes#608

Open
matejk wants to merge 3 commits into
LinearTapeFileSystem:mainfrom
matejk:fix/build-and-cli-misc
Open

Build and CLI fixes#608
matejk wants to merge 3 commits into
LinearTapeFileSystem:mainfrom
matejk:fix/build-and-cli-misc

Conversation

@matejk

@matejk matejk commented Jun 12, 2026

Copy link
Copy Markdown

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
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.

1 participant