[Pkg-xen-devel] Bug#701445: xcp-vncterm: ftbfs with eglibc-2.17

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


Package: src:xcp-vncterm
Version: 0.1-2
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.

  main.c:545:19: error: storage size of 'rlim' isn't known

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/xcp-vncterm_0.1-2_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


[...]
rm -f TAGS
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_clean
 debian/rules build-arch
dh build-arch 
   dh_testdir -a
   dh_auto_configure -a
   dh_auto_build -a
make[1]: Entering directory `/«PKGBUILDDIR»'
make -C libvnc
make[2]: Entering directory `/«PKGBUILDDIR»/libvnc'
cc  -I/«PKGBUILDDIR»/libvnc/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Wall -Werror -g -O1 -Wp,-MD,./.d3des.o.d -c -o d3des.o d3des.c
cc  -I/«PKGBUILDDIR»/libvnc/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Wall -Werror -g -O1 -Wp,-MD,./.buffer.o.d -c -o buffer.o buffer.c
cc  -I/«PKGBUILDDIR»/libvnc/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Wall -Werror -g -O1 -Wp,-MD,./.vnc.o.d -c -o vnc.o vnc.c
cc  -I/«PKGBUILDDIR»/libvnc/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -Wall -Werror -g -O1 -Wp,-MD,./.textterm.o.d -c -o textterm.o textterm.c
ar rcs libvnc.a d3des.o buffer.o vnc.o textterm.o
make[2]: Leaving directory `/«PKGBUILDDIR»/libvnc'
gcc -o main.o -I/«PKGBUILDDIR»/include -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE  -Wall -g -O1  -Wp,-MD,./.main.o.d -c main.c
main.c: In function 'sigxfsz_handler':
main.c:545:19: error: storage size of 'rlim' isn't known
     struct rlimit rlim;
                   ^
main.c:547:5: warning: implicit declaration of function 'getrlimit' [-Wimplicit-function-declaration]
     getrlimit(RLIMIT_FSIZE, &rlim);
     ^
main.c:547:15: error: 'RLIMIT_FSIZE' undeclared (first use in this function)
     getrlimit(RLIMIT_FSIZE, &rlim);
               ^
main.c:547:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:549:5: warning: implicit declaration of function 'setrlimit' [-Wimplicit-function-declaration]
     setrlimit(RLIMIT_FSIZE, &rlim);
     ^
main.c:545:19: warning: unused variable 'rlim' [-Wunused-variable]
     struct rlimit rlim;
                   ^
main.c: In function 'main':
main.c:932:27: error: storage size of 'rlim' isn't known
             struct rlimit rlim;
                           ^
main.c:940:23: error: 'RLIMIT_FSIZE' undeclared (first use in this function)
             setrlimit(RLIMIT_FSIZE, &rlim);
                       ^
main.c:932:27: warning: unused variable 'rlim' [-Wunused-variable]
             struct rlimit rlim;
                           ^
make[1]: *** [main.o] Error 1
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-xen-devel mailing list