Processed: Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'
Processing control commands: > reassign -1 libc6-dev 2.25-1 Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Bug reassigned from package 'libc6' to 'libc6-dev'. Ignoring request to alter found versions of bug #883186 to the same values previously set Ignoring request to alter fixed versions of bug #883186 to the same values previously set Bug #883186 [libc6-dev] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Marked as found in versions glibc/2.25-1. > retitle -1 libc6-dev: posix_fadvise64 missing from static mips64el build Bug #883186 [libc6-dev] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Changed Bug title to 'libc6-dev: posix_fadvise64 missing from static mips64el build' from 'e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64''. > tags -1 fixed-upstream Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el build Ignoring request to alter tags of bug #883186 to the same tags previously set > forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232 Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el build Ignoring request to change the forwarded-to-address of bug#883186 to the same value > affects -1 src:e2fsprogs Bug #883186 [libc6-dev] libc6-dev: posix_fadvise64 missing from static mips64el build Added indication that 883186 affects src:e2fsprogs -- 883186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883186 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'
Control: reassign -1 libc6-dev 2.25-1 Control: retitle -1 libc6-dev: posix_fadvise64 missing from static mips64el build Control: tags -1 fixed-upstream Control: forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232 Control: affects -1 src:e2fsprogs Hi, On 30/11/17 12:22, Helmut Grohne wrote: > Source: e2fsprogs > Version: 1.43.7-1 > Severity: serious > Justification: FTBFS > User: helm...@debian.org > Usertags: rebootstrap > > I was investigating a bootstrap failure for mips64el > (https://jenkins.debian.net/job/rebootstrap_mips64el_gcc7_nobiarch/51) > and wondered whether this was a native issue. Indeed a native build of > e2fsprogs fails on mips64el and the build log ends as follows: > > | /usr/bin/make -C /home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck V=1 > e2fsck.static > | make[1]: Entering directory > '/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck' > | gcc -Wl,-z,relro -Wl,-z,now -static -o e2fsck.static unix.o e2fsck.o > super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o > badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o > quota.o recovery.o region.o revoke.o ea_refcount.o rehash.o logfile.o > sigcatcher.o readahead.o extents.o ../lib/libsupport.a ../lib/libext2fs.a > ../lib/libcom_err.a -lpthread -lblkid -luuid -luuid -luuid ../lib/libe2p.a > -ldl -lblkid > | logfile.o: In function `expand_percent_expression': > | ./debian/BUILD-STD/e2fsck/../../../e2fsck/logfile.c:141: warning: Using > 'getpwuid_r' in statically linked applications requires at runtime the shared > libraries from the glibc version used for linking > | ../lib/libext2fs.a(unix_io.o): In function `unix_cache_readahead': > | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: > undefined reference to `posix_fadvise64' > | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: > undefined reference to `posix_fadvise64' It appears that libc.a from glibc 2.25 does not contain a posix_fadvise64 symbol on mips64el # nm /usr/lib/mips64el-linux-gnuabi64/libc.a 2>/dev/null | grep posix_fadvise posix_fadvise.o: posix_fadvise64.o: T __posix_fadvise64_l64 T posix_fadvise I found an upstream bug about it and it has already been fixed in glibc 2.26: https://sourceware.org/bugzilla/show_bug.cgi?id=21232 Thanks, James signature.asc Description: OpenPGP digital signature
Processed: Re: Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'
Processing control commands: > reassign -1 libc6 Bug #883186 [src:e2fsprogs] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Bug reassigned from package 'src:e2fsprogs' to 'libc6'. No longer marked as found in versions e2fsprogs/1.43.7-1. Ignoring request to alter fixed versions of bug #883186 to the same values previously set > tag -1 + fixed-upstream Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Added tag(s) fixed-upstream. > forwarded -1 https://sourceware.org/bugzilla/show_bug.cgi?id=21232 Bug #883186 [libc6] e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64' Set Bug forwarded-to-address to 'https://sourceware.org/bugzilla/show_bug.cgi?id=21232'. -- 883186: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=883186 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#883186: e2fsprogs FTBFS on mips64el: undefined reference to `posix_fadvise64'
Source: e2fsprogs Version: 1.43.7-1 Severity: serious Justification: FTBFS User: helm...@debian.org Usertags: rebootstrap I was investigating a bootstrap failure for mips64el (https://jenkins.debian.net/job/rebootstrap_mips64el_gcc7_nobiarch/51) and wondered whether this was a native issue. Indeed a native build of e2fsprogs fails on mips64el and the build log ends as follows: | /usr/bin/make -C /home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck V=1 e2fsck.static | make[1]: Entering directory '/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck' | gcc -Wl,-z,relro -Wl,-z,now -static -o e2fsck.static unix.o e2fsck.o super.o pass1.o pass1b.o pass2.o pass3.o pass4.o pass5.o journal.o badblocks.o util.o dirinfo.o dx_dirinfo.o ehandler.o problem.o message.o quota.o recovery.o region.o revoke.o ea_refcount.o rehash.o logfile.o sigcatcher.o readahead.o extents.o ../lib/libsupport.a ../lib/libext2fs.a ../lib/libcom_err.a -lpthread -lblkid -luuid -luuid -luuid ../lib/libe2p.a -ldl -lblkid | logfile.o: In function `expand_percent_expression': | ./debian/BUILD-STD/e2fsck/../../../e2fsck/logfile.c:141: warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking | ../lib/libext2fs.a(unix_io.o): In function `unix_cache_readahead': | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: undefined reference to `posix_fadvise64' | ./debian/BUILD-STD/lib/ext2fs/../../../../lib/ext2fs/unix_io.c:969: undefined reference to `posix_fadvise64' | collect2: error: ld returned 1 exit status | Makefile:428: recipe for target 'e2fsck.static' failed | make[1]: *** [e2fsck.static] Error 1 | make[1]: Leaving directory '/home/helmutg/e2fsprogs-1.43.7/debian/BUILD-STD/e2fsck' | debian/rules:262: recipe for target 'debian/stampdir/build-std-stamp' failed | make: *** [debian/stampdir/build-std-stamp] Error 2 | dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2 Since this could either be a mips issue or a glibc issue, I put both lists into X-Debbugs-Cc and hope that someone will sort this out. Helmut