[Pkg-haskell-maintainers] Bug#743102: haskell-zeromq3-haskell: FTBFS: Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) ***

David Suárez david.sephirot at gmail.com
Sun Mar 30 16:46:29 UTC 2014


Source: haskell-zeromq3-haskell
Version: 0.4-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140329 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> /usr/share/cdbs/1/rules/buildcore.mk:109: WARNING:  DEB_COMPRESS_EXCLUDE is a deprecated variable
> if test ! -e Setup.lhs -a ! -e Setup.hs; then echo "No setup script found!"; exit 1; fi
> for setup in Setup.lhs Setup.hs; do if test -e $setup; then ghc --make $setup -o debian/hlibrary.setup; exit 0; fi; done
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> debian/hlibrary.setup configure --ghc -v2 \
> 		--prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib \
> 		--builddir=dist-ghc \
> 		--haddockdir=/usr/lib/ghc-doc/haddock/zeromq3-haskell-0.4/ --datasubdir=zeromq3-haskell\
> 		--htmldir=/usr/share/doc/libghc-zeromq3-haskell-doc/html/ --enable-library-profiling  \
> 		   
> Configuring zeromq3-haskell-0.4...
> Dependency MonadCatchIO-transformers -any: using
> MonadCatchIO-transformers-0.3.0.0
> Dependency async -any: using async-2.0.1.4
> Dependency base >=3 && <5: using base-4.6.0.1
> Dependency bytestring -any: using bytestring-0.10.0.2
> Dependency containers -any: using containers-0.5.0.0
> Dependency semigroups -any: using semigroups-0.9
> Dependency transformers -any: using transformers-0.3.0.0
> Using Cabal-1.16.0 compiled by ghc-7.6
> Using compiler: ghc-7.6.3
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/zeromq3-haskell-0.4/ghc-7.6.3
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/zeromq3-haskell
> Documentation installed in: /usr/share/doc/zeromq3-haskell-0.4
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> No ffihugs found
> Using gcc version 4.8 found on system at: /usr/bin/gcc
> Using ghc version 7.6.3 found on system at: /usr/bin/ghc
> Using ghc-pkg version 7.6.3 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.13.2 found on system at: /usr/bin/haddock
> No happy found
> No hmake found
> Using hpc version 0.6 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.20 found on system at: /usr/bin/HsColour
> No hugs found
> No jhc found
> Using ld found on system at: /usr/bin/ld
> No lhc found
> No lhc-pkg found
> No nhc98 found
> No pkg-config found
> Using ranlib found on system at: /usr/bin/ranlib
> Using strip found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> debian/hlibrary.setup build --builddir=dist-ghc
> Building zeromq3-haskell-0.4...
> Preprocessing library zeromq3-haskell-0.4...
> Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) ***
> Base.hsc: In function 'main':
> Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) ***
> Base.hsc:12:2: error: #error *** INVALID 0MQ VERSION (must be 3.x) ***
> In file included from /usr/include/_G_config.h:15:0,
>                  from /usr/include/libio.h:31,
>                  from /usr/include/stdio.h:74,
>                  from /usr/include/zmq.h:49,
>                  from Base.hsc:9:
> /usr/lib/ghc/template-hsc.h:83:32: error: 'zmq_event_t' has no member named 'data'
>      hsc_printf("(%ld)", (long) offsetof (t, f));
>                                 ^
> Base.hsc:128:5: note: in expansion of macro 'hsc_offset'
> /usr/lib/ghc/template-hsc.h:83:32: error: 'zmq_event_t' has no member named 'data'
>      hsc_printf("(%ld)", (long) offsetof (t, f));
>                                 ^
> Base.hsc:129:5: note: in expansion of macro 'hsc_offset'
> compiling dist-ghc/build/System/ZMQ3/Base_hsc_make.c failed (exit code 1)
> command was: /usr/bin/gcc -c dist-ghc/build/System/ZMQ3/Base_hsc_make.c -o dist-ghc/build/System/ZMQ3/Base_hsc_make.o -fno-stack-protector -Wl,--hash-size=31 -Wl,--reduce-memory-overheads -D__GLASGOW_HASKELL__=706 -Dlinux_BUILD_OS -Dlinux_HOST_OS -Dx86_64_BUILD_ARCH -Dx86_64_HOST_ARCH -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/ghc/bytestring-0.10.0.2/include -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/ghc/base-4.6.0.1/include -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/ghc/include -Idist-ghc/build/autogen -include dist-ghc/build/autogen/cabal_macros.h -I/usr/lib/ghc/include/
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/03/29/haskell-zeromq3-haskell_0.4-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-haskell-maintainers mailing list