Skip to content

Build and CLI fixes#608

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

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

Conversation

@matejk

@matejk matejk commented Jun 12, 2026

Copy link
Copy Markdown

Four small independent fixes, each its own commit:

matejk added 4 commits June 12, 2026 11:45
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.
xattr.h included fuse.h without ltfs_fuse_version.h. libfuse 2 headers
default to an old API level when FUSE_USE_VERSION is undefined, but
libfuse 3 headers reject it, breaking every translation unit that
pulls in xattr.h. The release branch received the same change as part
of the FreeBSD build fix (b3e3355).
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