[Pkg-haskell-maintainers] Bug#777899: haskell-network: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:21 UTC 2015


Package: src:haskell-network
Version: 2.4.1.2-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

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

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/haskell-network_2.4.1.2-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

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

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
checking for sendfile in sys/sendfile.h... yes
checking for sendfile in sys/socket.h... no
checking for gethostent... yes
checking for accept4... yes
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
Reading parameters from ./network.buildinfo
touch configure-ghc-stamp
debian/hlibrary.setup build --builddir=dist-ghc
Building network-2.4.1.2...
Preprocessing library network-2.4.1.2...
[ 1 of 11] Compiling Network.URI      ( Network/URI.hs, dist-ghc/build/Network/URI.o )
[ 2 of 11] Compiling Network.Socket.ByteString.IOVec ( dist-ghc/build/Network/Socket/ByteString/IOVec.hs, dist-ghc/build/Network/Socket/ByteString/IOVec.o )
[ 3 of 11] Compiling Network.Socket.Types ( dist-ghc/build/Network/Socket/Types.hs, dist-ghc/build/Network/Socket/Types.o )
[ 4 of 11] Compiling Network.Socket.Internal ( dist-ghc/build/Network/Socket/Internal.hs, dist-ghc/build/Network/Socket/Internal.o )
[ 5 of 11] Compiling Network.Socket   ( dist-ghc/build/Network/Socket.hs, dist-ghc/build/Network/Socket.o )
[ 6 of 11] Compiling Network.Socket.ByteString.MsgHdr ( dist-ghc/build/Network/Socket/ByteString/MsgHdr.hs, dist-ghc/build/Network/Socket/ByteString/MsgHdr.o )
[ 7 of 11] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist-ghc/build/Network/Socket/ByteString/Internal.o )
[ 8 of 11] Compiling Network.Socket.ByteString ( dist-ghc/build/Network/Socket/ByteString.hs, dist-ghc/build/Network/Socket/ByteString.o )
[ 9 of 11] Compiling Network.Socket.ByteString.Lazy ( dist-ghc/build/Network/Socket/ByteString/Lazy.hs, dist-ghc/build/Network/Socket/ByteString/Lazy.o )
[10 of 11] Compiling Network.BSD      ( dist-ghc/build/Network/BSD.hs, dist-ghc/build/Network/BSD.o )
[11 of 11] Compiling Network          ( Network.hs, dist-ghc/build/Network.o )
[ 1 of 11] Compiling Network.URI      ( Network/URI.hs, dist-ghc/build/Network/URI.p_o )
[ 2 of 11] Compiling Network.Socket.ByteString.IOVec ( dist-ghc/build/Network/Socket/ByteString/IOVec.hs, dist-ghc/build/Network/Socket/ByteString/IOVec.p_o )
[ 3 of 11] Compiling Network.Socket.Types ( dist-ghc/build/Network/Socket/Types.hs, dist-ghc/build/Network/Socket/Types.p_o )
[ 4 of 11] Compiling Network.Socket.Internal ( dist-ghc/build/Network/Socket/Internal.hs, dist-ghc/build/Network/Socket/Internal.p_o )
[ 5 of 11] Compiling Network.Socket   ( dist-ghc/build/Network/Socket.hs, dist-ghc/build/Network/Socket.p_o )
[ 6 of 11] Compiling Network.Socket.ByteString.MsgHdr ( dist-ghc/build/Network/Socket/ByteString/MsgHdr.hs, dist-ghc/build/Network/Socket/ByteString/MsgHdr.p_o )
[ 7 of 11] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist-ghc/build/Network/Socket/ByteString/Internal.p_o )
[ 8 of 11] Compiling Network.Socket.ByteString ( dist-ghc/build/Network/Socket/ByteString.hs, dist-ghc/build/Network/Socket/ByteString.p_o )
[ 9 of 11] Compiling Network.Socket.ByteString.Lazy ( dist-ghc/build/Network/Socket/ByteString/Lazy.hs, dist-ghc/build/Network/Socket/ByteString/Lazy.p_o )
[10 of 11] Compiling Network.BSD      ( dist-ghc/build/Network/BSD.hs, dist-ghc/build/Network/BSD.p_o )
[11 of 11] Compiling Network          ( Network.hs, dist-ghc/build/Network.p_o )
dist-ghc/build/cbits/HsNet.o: In function `my_inet_ntoa':
HsNet.c:(.text+0x0): multiple definition of `my_inet_ntoa'
dist-ghc/build/cbits/ancilData.o:ancilData.c:(.text+0x0): first defined here
dist-ghc/build/cbits/HsNet.o: In function `hsnet_getnameinfo':
HsNet.c:(.text+0x10): multiple definition of `hsnet_getnameinfo'
dist-ghc/build/cbits/ancilData.o:ancilData.c:(.text+0x10): first defined here
dist-ghc/build/cbits/HsNet.o: In function `hsnet_getaddrinfo':
HsNet.c:(.text+0x20): multiple definition of `hsnet_getaddrinfo'
dist-ghc/build/cbits/ancilData.o:ancilData.c:(.text+0x20): first defined here
dist-ghc/build/cbits/HsNet.o: In function `hsnet_freeaddrinfo':
HsNet.c:(.text+0x30): multiple definition of `hsnet_freeaddrinfo'
dist-ghc/build/cbits/ancilData.o:ancilData.c:(.text+0x30): first defined here
make: *** [build-ghc-stamp] Error 1
/usr/share/cdbs/1/class/hlibrary.mk:120: recipe for target 'build-ghc-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-haskell-maintainers mailing list