Package: wvstreams
Version: 4.6.1-2
Severity: important
Tags: sid wheezy
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-4.7

The package fails to build in a test rebuild on at least amd64 with
gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
severity of this report may be raised before the wheezy release.

utils/wvuid.cc:63:19: error: 'getuid' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/wvstreams_4.6.1-2_unstable-gcc47.log
The last lines of the build log are at the end of this report.

Some hints on fixing these issues can be found at
http://gcc.gnu.org/gcc-4.7/porting_to.html

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

[...]
./CXX -c utils/wvbase64   
./CXX -c utils/wvcrash   
./CXX -c utils/wvdiriter   
./CXX -c utils/wvglob   
./CXX -c utils/wvglobdiriter   
./CXX -c utils/wvgzip   
./CXX -c utils/wvhex   
./CXX -c utils/wvmagiccircle   
./CXX -c utils/wvmatrix   
./CXX -c utils/wvpam   
In file included from utils/wvpam.cc:56:0:
./include/wvaddr.h: In member function 'uint32_t WvIPAddr::addr() const':
./include/wvaddr.h:284:31: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
./CXX -c utils/wvrateadjust   
./CXX -c utils/wvserialize   
./CXX -c utils/wvshmzone   
./CXX -c utils/wvstringtable   
./CXX -c utils/wvsubproc   
./CXX -c utils/wvsubprocqueue   
./CXX -c utils/wvsystem   
./CXX -c utils/wvtest   
./CXX -c utils/wvtr1   
./CXX -c utils/wvuid   
utils/wvuid.cc: In function 'wvuid_t wvgetuid()':
utils/wvuid.cc:63:19: error: 'getuid' was not declared in this scope
utils/wvuid.cc:64:1: warning: control reaches end of non-void function 
[-Wreturn-type]
make[1]: *** [utils/wvuid.o] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



-- 
To UNSUBSCRIBE, email to debian-qa-packages-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1sfcuc-0000ac...@ravel.debian.org

Reply via email to