[Pkg-haskell-maintainers] Bug#666365: uuagc: FTBFS: Ambiguous module name `Prelude':

Lucas Nussbaum lucas at lucas-nussbaum.net
Fri Mar 30 09:42:26 UTC 2012


Source: uuagc
Version: 0.9.38.1-1
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120330 qa-ftbfs qa-ftbfs-buildarch
Justification: FTBFS on amd64

Hi,

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

This rebuild was done by building only architecture:any binary packages
(binary-arch target of debian/rules), and using a recent dpkg that uses the
build-arch target if available.
Also, only the Build-Depends were installed, not the Build-Depends-Indep.

Relevant part:
>  debian/rules build-arch
> 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/uuagc-0.9.38.1/ \
> 		--htmldir=/usr/share/doc/libghc-uuagc-doc/html/   \
> 		   
> Configuring uuagc-0.9.38.1...
> Flags chosen: compatibility2=True, compatibility1=True
> Dependency Cabal >=1.8.0.6: using Cabal-1.14.0
> Dependency array -any: using array-0.4.0.0
> Dependency base ==4.*: using base-4.5.0.0
> Dependency containers >=0.3: using containers-0.4.2.1
> Dependency directory -any: using directory-1.1.0.2
> Dependency filepath -any: using filepath-1.3.0.0
> Dependency ghc-prim -any: using ghc-prim-0.2.0.0
> Dependency haskell-src-exts -any: using haskell-src-exts-1.11.1
> Dependency haskell98 -any: using haskell98-2.0.0.1
> Dependency mtl >=1.1.1.1: using mtl-2.0.1.0
> Dependency process -any: using process-1.1.0.1
> Dependency uulib >=0.9.12: using uulib-0.9.14
> Using Cabal-1.14.0 compiled by ghc-7.4
> Using compiler: ghc-7.4.1
> Using install prefix: /usr
> Binaries installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/uuagc-0.9.38.1/ghc-7.4.1
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/uuagc-0.9.38.1
> Documentation installed in: /usr/share/doc/uuagc-0.9.38.1
> 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.6 found on system at: /usr/bin/gcc
> Using ghc version 7.4.1 found on system at: /usr/bin/ghc
> Using ghc-pkg version 7.4.1 found on system at: /usr/bin/ghc-pkg
> No greencard found
> Using haddock version 2.10.0 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.19 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 uuagc-0.9.38.1...
> Preprocessing executable 'uuagc' for uuagc-0.9.38.1...
> 
> src/Ag.hs:1:1:
>     Ambiguous module name `Prelude':
>       it was found in multiple packages: base haskell98-2.0.0.1
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/03/30/uuagc_0.9.38.1-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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-haskell-maintainers mailing list