Bug#837581: xfslibs-dev: Don't put the .so symlink to /lib/*.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, Berlin BSP here.

I can't reproduce this bug on amd64. I notice that since the upload of
xfsprogs 4.9.0, xfsdump does not FTBFS any more on amd64. It does
however still FTBFS on i386 and armhf, albeit with a different error:

...
checking xfs/xfs.h usability... no
checking xfs/xfs.h presence... yes
configure: WARNING: xfs/xfs.h: present but cannot be compiled
configure: WARNING: xfs/xfs.h:     check for missing prerequisite headers?
configure: WARNING: xfs/xfs.h: see the Autoconf documentation
configure: WARNING: xfs/xfs.h:     section "Present But Cannot Be Compiled"
configure: WARNING: xfs/xfs.h: proceeding with the compiler's result
checking for xfs/xfs.h... no

FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.
Install or upgrade the XFS development package.
Alternatively, run "make install-dev" from the xfsprogs source.
Makefile:78: recipe for target 'include/builddefs' failed
make[1]: *** [include/builddefs] Error 1
make[1]: Leaving directory '/build/1st/xfsdump-3.1.6+nmu1'
debian/rules:23: recipe for target '.census' failed
...

see https://tests.reproducible-builds.org/debian/rb-pkg/unstable/i386/xfsdump.html
or https://tests.reproducible-builds.org/debian/rb-pkg/unstable/armhf/xfsdump.html

The relevant test fails with

/usr/include/xfs/xfs.h:53:12: error: size of array 'xfs_assert_largefile' is too large
 extern int xfs_assert_largefile[sizeof(off_t)-8];
            ^~~~~~~~~~~~~~~~~~~~

While -D_FILE_OFFSET_BITS=64 is correctly set in include/builddefs.in,
this is not known to configure and thus it fails when testing xfs.h on
32bit systems.

A similar thing seems to have happened to CEPH, see
https://anonscm.debian.org/cgit/pkg-ceph/ceph.git/commit/?h=debian/10.2.5-5&id=f4675da14d1b38f907079e522d9da7a0e23037fb
but I couldn't get that patch to work. for xfsdump. However the
following patch (to xfsdump) seems to fix the FTBFS in my i386 chroot:

--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DH_VERBOSE=1
+export LOCAL_CONFIGURE_OPTIONS=CFLAGS=-D_FILE_OFFSET_BITS=64
 
 package=xfsdump

Florian
--
To unsubscribe from this list: send the line "unsubscribe linux-xfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux