[Pkg-haskell-maintainers] Bug#571360: magic-haskell: FTBFS: --inplace is not supported with Hugs

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Feb 25 10:21:50 UTC 2010


Source: magic-haskell
Version: 1.0.8-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-2010-02-24 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
>  /usr/bin/fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> dh_clean 
> rm -rf dist dist-ghc6 dist-hugs debian/hlibrary.setup Setup.hi Setup.ho Setup.o .*config*
> rm -f build-ghc6-stamp build-hugs-stamp build-haddock-stamp
> rm -rf debian/tmp-inst-ghc6
> rm -f debian/hlibrary.Makefile
> rm -rf debian/dh_haskell_shlibdeps
>  dpkg-source -b magic-haskell-1.0.8
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building magic-haskell using existing magic-haskell_1.0.8.orig.tar.gz
> dpkg-source: info: building magic-haskell in magic-haskell_1.0.8-2.diff.gz
> dpkg-source: warning: file magic-haskell-1.0.8/testsrc/Inittest.hs has no final newline (either original or modified version)
> dpkg-source: warning: the diff modifies the following upstream files: 
>  INSTALL
>  Makefile
>  README
>  testsrc/Inittest.hs
>  testsrc/Tests.hs
>  testsrc/runtests.hs
>  utils/genconsts.hs
> dpkg-source: info: use the '3.0 (quilt)' format to have separate and documented changes to upstream files, see dpkg-source(1)
>  debian/rules build
> dpkg-source: info: building magic-haskell in magic-haskell_1.0.8-2.dsc
> test -x debian/rules
> mkdir -p "."
> 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 ghc6 --make $setup -o debian/hlibrary.setup; exit 0; fi; done
> [1 of 1] Compiling Main             ( Setup.lhs, Setup.o )
> Linking debian/hlibrary.setup ...
> debian/hlibrary.setup configure --ghc -v2 \
> 		--prefix=/usr --libdir=/usr/lib/haskell-packages/ghc6/lib \
> 		--builddir=dist-ghc6 \
> 		--haddockdir=/usr/lib/ghc-6.12.1/haddock/magic-1.0.8/ \
> 		--htmldir=/usr/share/doc/libghc6-magic-doc/html/  \
> 		 
> Configuring magic-1.0.8...
> Dependency base >=3 && <5: using base-4.2.0.0
> Using Cabal-1.8.0.2 compiled by ghc-6.12
> Using compiler: ghc-6.12.1
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc6/lib/magic-1.0.8/ghc-6.12.1
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/magic-1.0.8
> Documentation installed in: /usr/share/doc/magic-1.0.8
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> Using ffihugs found on system at: /usr/bin/ffihugs
> Using gcc version 4.4.3 found on system at: /usr/bin/gcc
> Using ghc version 6.12.1 found on system at: /usr/bin/ghc
> Using ghc-pkg version 6.12.1 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.6.0 found on system at: /usr/bin/haddock
> No happy found
> No hmake found
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.16 found on system at: /usr/bin/HsColour
> Using hugs found on system at: /usr/bin/hugs
> 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
> debian/hlibrary.setup build --builddir=dist-ghc6
> Preprocessing library magic-1.0.8...
> Building magic-1.0.8...
> [1 of 7] Compiling Magic.TypesLL    ( Magic/TypesLL.hs, dist-ghc6/build/Magic/TypesLL.o )
> [2 of 7] Compiling Magic.Data       ( dist-ghc6/build/Magic/Data.hs, dist-ghc6/build/Magic/Data.o )
> [3 of 7] Compiling Magic.Types      ( dist-ghc6/build/Magic/Types.hs, dist-ghc6/build/Magic/Types.o )
> [4 of 7] Compiling Magic.Utils      ( dist-ghc6/build/Magic/Utils.hs, dist-ghc6/build/Magic/Utils.o )
> [5 of 7] Compiling Magic.Init       ( dist-ghc6/build/Magic/Init.hs, dist-ghc6/build/Magic/Init.o )
> [6 of 7] Compiling Magic.Operations ( dist-ghc6/build/Magic/Operations.hs, dist-ghc6/build/Magic/Operations.o )
> [7 of 7] Compiling Magic            ( Magic.hs, dist-ghc6/build/Magic.o )
> Registering magic-1.0.8...
> touch build-ghc6-stamp
> [ ! -x /usr/bin/haddock ] || debian/hlibrary.setup haddock --builddir=dist-ghc6 --hyperlink-source
> Running Haddock for magic-1.0.8...
> Preprocessing library magic-1.0.8...
> Running hscolour for magic-1.0.8...
> Warning: The documentation for the following packages are not installed. No
> links will be generated to these packages: rts-1.0
> Warning: Magic.Types: could not find link destinations for:
>     Magic.TypesLL.CMagic
> Documentation created: dist-ghc6/doc/html/magic/index.html
> touch build-haddock-stamp
> debian/hlibrary.setup configure --hugs --prefix=/usr -v2 --builddir=dist-hugs 
> Configuring magic-1.0.8...
> Dependency base >=3 && <5: using base
> Using Cabal-1.8.0.2 compiled by ghc-6.12
> Using compiler: hugs
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in: /usr/lib/hugs/packages/magic
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/magic-1.0.8
> Documentation installed in: /usr/share/doc/magic-1.0.8
> No alex found
> Using ar found on system at: /usr/bin/ar
> No c2hs found
> No cpphs found
> Using ffihugs found on system at: /usr/bin/ffihugs
> Using gcc version 4.4.3 found on system at: /usr/bin/gcc
> Using ghc version 6.12.1 found on system at: /usr/bin/ghc
> Using ghc-pkg version 6.12.1 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.6.0 found on system at: /usr/bin/haddock
> No happy found
> No hmake found
> Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
> Using hscolour version 1.16 found on system at: /usr/bin/HsColour
> Using hugs found on system at: /usr/bin/hugs
> 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
> debian/hlibrary.setup build --builddir=dist-hugs
> Preprocessing library magic-1.0.8...
> Building magic-1.0.8...
> Compiling FFI stubs
> dist-hugs/scratch/Magic/Operations.c: In function 'hugsprim_magic_buffer_1':
> dist-hugs/scratch/Magic/Operations.c:56: warning: assignment discards qualifiers from pointer target type
> dist-hugs/scratch/Magic/Operations.c: In function 'hugsprim_magic_file_0':
> dist-hugs/scratch/Magic/Operations.c:73: warning: assignment discards qualifiers from pointer target type
> dist-hugs/scratch/Magic/Utils.c: In function 'hugsprim_magic_error_1':
> dist-hugs/scratch/Magic/Utils.c:18: warning: assignment discards qualifiers from pointer target type
> hlRegistering magic-1.0.8...
> ibrary.setup: --inplace is not supported with Hugs
> make: *** [build/libhugs-magic] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010-02-24/magic-haskell_1.0.8-2_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-haskell-maintainers mailing list