- getfattr prints the key it was asked for, and the create policies
the example sets and shows are real ones (pfrd, epmfs), not the
nonexistent prfd.
- rpmbuild names its output mergerfs-<version>-1.<dist>.<arch>.rpm,
and the static release archive includes the version in its name.
- --nosignature applies to every distribution that enforces RPM
signatures, not only Fedora 45.
- install-build-pkgs runs as root and handed its compiler choice to
build-mergerfs through /tmp/build-env, which another user could
create before root writes it. Use /etc/mergerfs-build-env, written
to a temporary name, made mode 0644 and renamed into place, so a
normal user can source it regardless of root's umask and never reads
it half written.
- The C++20 probe compiles in a private temporary directory instead of
at fixed names in /tmp.
- yum hosts also consider an already installed devtoolset, which "yum
list available" omits.
- Document sourcing the handoff file before make deb.
- The RELEASE=1 profile replaced 2.42.0's NDEBUG=1 one, but the
static archives and the container image still build with NDEBUG=1,
which therefore selected the debug profile: -O0 -g3 with assertions
on. Both Makefiles accept NDEBUG=1 again, as -O3 -DNDEBUG, and the
debug profile defines DEBUG. The vendored libfuse follows the same
profile as mergerfs.
- make release first removes the objects, binaries and stamp under
build/ and cleans vendored/libfuse, because make only compares
timestamps: objects from an earlier debug build were otherwise
linked into the release binary unchanged. Packages and build reports
in build/pkgs are kept; TEST_release_pkg_preservation checks both.
- make release also builds preload.so. It takes the release defines
through its own PRELOAD_CPPFLAGS: the global CPPFLAGS add
_FILE_OFFSET_BITS=64, which would hide its unsuffixed
open/openat/fopen/creat interposers.
- mergerfs.spec builds the release target, as debian/rules does. The
distribution's CFLAGS, CXXFLAGS and LDFLAGS still apply.
- The release driver mounts the repository with ":ro,z", not ":ro:z",
which Podman read as an extra field instead of a mount option.
TEST_release_metadata runs the driver against a fake podman and
checks the volume argument and the build report.
- Remove release-installer: build-release has no installer target.
- make help printed a literal "\n" where /bin/sh is bash. Match the
build.md transcript to its output and document the profiles.
Performance: static archives and the container image go from -O0 with
assertions back to optimized builds, now -O3 -DNDEBUG (2.42.0: -O2
-DNDEBUG). RPM packages keep the distribution's -O2 and no longer
evaluate assertions. A plain make is unoptimized, as before.
Enable parallel Debian package builds through debhelper, remove Debian 11 release targets, and select the installed GCC Toolset activation script on Rocky Linux 10 while preserving older layouts. Update the build documentation.
Also have special error handling for when branches are invalid and
ENOENT would be returned for getattr and readdir so users understand
what is going on and the runtime interface can still be used to fix
the problem.