[Pkg-samba-maint] Bug#701422: cifs-utils: ftbfs with eglibc-2.17

Matthias Klose doko at debian.org
Sat Feb 23 11:35:23 UTC 2013


Package: src:cifs-utils
Version: 2:5.5-1
Severity: important
Tags: sid jessie
User: debian-glibc at lists.debian.org
Usertags: ftbfs-glibc-2.17

The package fails to build in a test rebuild on at least amd64 with
eglibc-2.17, but succeeds to build with eglibc-2.13. The
severity of this report may be raised before the jessie release.

The test rebuild was done together with GCC-4.8, so some issues
might be caused by the updated GCC as well.

  mount.cifs.c:1863:11: error: ignoring return value of 'setfsuid', declared with attribute warn_unused_result [-Werror=unused-result]

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/cifs-utils_5.5-1_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To install eglibc from experimental,

  apt-get -t experimental install libc6-dev

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev


[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating contrib/request-key.d/Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --disable-maintainer-mode
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make  all-recursive
make[2]: Entering directory `/«PKGBUILDDIR»'
Making all in contrib
make[3]: Entering directory `/«PKGBUILDDIR»/contrib'
Making all in request-key.d
make[4]: Entering directory `/«PKGBUILDDIR»/contrib/request-key.d'
/bin/sed 's,[@]sbindir@,/usr/sbin,' ./cifs.idmap.conf.in > cifs.idmap.conf-t && mv cifs.idmap.conf-t cifs.idmap.conf
/bin/sed 's,[@]sbindir@,/usr/sbin,' ./cifs.spnego.conf.in > cifs.spnego.conf-t && mv cifs.spnego.conf-t cifs.spnego.conf
make[4]: Leaving directory `/«PKGBUILDDIR»/contrib/request-key.d'
make[4]: Entering directory `/«PKGBUILDDIR»/contrib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/«PKGBUILDDIR»/contrib'
make[3]: Leaving directory `/«PKGBUILDDIR»/contrib'
make[3]: Entering directory `/«PKGBUILDDIR»'
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c cifscreds.c
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c resolve_host.c
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c util.c
gcc -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wl,-z,relro -o cifscreds cifscreds.o resolve_host.o util.o -lkeyutils 
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o getcifsacl-getcifsacl.o `test -f 'getcifsacl.c' || echo './'`getcifsacl.c
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wl,-z,relro -o getcifsacl getcifsacl-getcifsacl.o -lwbclient   
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o setcifsacl-setcifsacl.o `test -f 'setcifsacl.c' || echo './'`setcifsacl.c
gcc  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security  -Wl,-z,relro -o setcifsacl setcifsacl-setcifsacl.o -lwbclient   
gcc -DHAVE_CONFIG_H -I.   -D_FORTIFY_SOURCE=2 -Wall -Wextra -Werror -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c mount.cifs.c
mount.cifs.c: In function 'acquire_mountpoint':
mount.cifs.c:1863:11: error: ignoring return value of 'setfsuid', declared with attribute warn_unused_result [-Werror=unused-result]
   setfsuid(oldfsuid);
           ^
mount.cifs.c:1864:11: error: ignoring return value of 'setfsgid', declared with attribute warn_unused_result [-Werror=unused-result]
   setfsgid(oldfsgid);
           ^
cc1: all warnings being treated as errors
make[3]: *** [mount.cifs.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»'
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_build: make -j1 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-samba-maint mailing list