[Pkg-haskell-maintainers] Bug#571354: hs-plugins: FTBFS: Not in scope: `package'

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Feb 25 10:18:36 UTC 2010


Source: hs-plugins
Version: 1.4.1-3
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:
> make[1]: Entering directory `/build/user-hs-plugins_1.4.1-3-amd64-esIqbW/hs-plugins-1.4.1'
> if test -e /usr/share/misc/config.guess ; then \
> 		for i in ./config.guess ; do \
> 			if ! test -e $i.cdbs-orig ; then \
> 				mv $i $i.cdbs-orig ; \
> 				cp --remove-destination /usr/share/misc/config.guess $i ; \
> 			fi ; \
> 		done ; \
> 	fi
> if test -e /usr/share/misc/config.sub ; then \
> 		for i in ./config.sub ; do \
> 			if ! test -e $i.cdbs-orig ; then \
> 				mv $i $i.cdbs-orig ; \
> 				cp --remove-destination /usr/share/misc/config.sub $i ; \
> 			fi ; \
> 		done ; \
> 	fi
> make[1]: Leaving directory `/build/user-hs-plugins_1.4.1-3-amd64-esIqbW/hs-plugins-1.4.1'
> if test -e /usr/share/misc/config.guess ; then \
> 		for i in ./config.guess ; do \
> 			if ! test -e $i.cdbs-orig ; then \
> 				mv $i $i.cdbs-orig ; \
> 				cp --remove-destination /usr/share/misc/config.guess $i ; \
> 			fi ; \
> 		done ; \
> 	fi
> if test -e /usr/share/misc/config.sub ; then \
> 		for i in ./config.sub ; do \
> 			if ! test -e $i.cdbs-orig ; then \
> 				mv $i $i.cdbs-orig ; \
> 				cp --remove-destination /usr/share/misc/config.sub $i ; \
> 			fi ; \
> 		done ; \
> 	fi
> 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 )
> 
> Setup.lhs:2:2:
>     Warning: In the use of `defaultUserHooks'
>              (imported from Distribution.Simple):
>              Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2
>              compatibility in which case you must stick with defaultUserHooks"
> 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/plugins-1.4.1/ \
> 		--htmldir=/usr/share/doc/hs-plugins-doc/html/ --enable-library-profiling \
> 		 
> Warning: defaultUserHooks in Setup script is deprecated.
> Configuring plugins-1.4.1...
> Dependency Cabal >=1.6: using Cabal-1.8.0.2
> Dependency array -any: using array-0.3.0.0
> Dependency base >=4: using base-4.2.0.0
> Dependency containers -any: using containers-0.3.0.0
> Dependency directory -any: using directory-1.0.1.0
> Dependency ghc >=6.10: using ghc-6.12.1
> Dependency ghc-prim -any: using ghc-prim-0.2.0.0
> Dependency haskell-src -any: using haskell-src-1.0.1.3
> Dependency process -any: using process-1.0.1.2
> Dependency random -any: using random-1.0.0.2
> 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/plugins-1.4.1/ghc-6.12.1
> Private binaries installed in: /usr/libexec
> Data files installed in: /usr/share/plugins-1.4.1
> Documentation installed in: /usr/share/doc/plugins-1.4.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.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
> 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
> sh configure --with-hc=ghc --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc6/lib
> checking build system type... x86_64-unknown-linux-gnu
> checking for ghc... ghc
> checking for value of __GLASGOW_HASKELL__... 612
> checking for ghc library directory... /usr/lib/ghc-6.12.1
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables... 
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for arc4random... no
> checking for a BSD-compatible install... /usr/bin/install -c
> configure: creating ./config.status
> config.status: creating config.mk
> config.status: creating testsuite/makewith/io/TestIO.conf
> config.status: creating testsuite/makewith/unsafeio/Unsafe.conf
> config.status: creating config.h
> debian/hlibrary.setup build --builddir=dist-ghc6
> Preprocessing library plugins-1.4.1...
> Building plugins-1.4.1...
> [ 1 of 15] Compiling System.Plugins.Package ( src/System/Plugins/Package.hs, dist-ghc6/build/System/Plugins/Package.o )
> [ 2 of 15] Compiling System.Plugins.Process ( src/System/Plugins/Process.hs, dist-ghc6/build/System/Plugins/Process.o )
> 
> src/System/Plugins/Process.hs:17:0:
>     Warning: Module `Control.OldException' is deprecated:
>                Future versions of base will not support the old exceptions style. Please switch to extensible exceptions.
> 
> src/System/Plugins/Process.hs:17:0:
>     Warning: In the use of `E.handle'
>              (imported from Control.OldException):
>              Deprecated: "Future versions of base will not support the old exceptions style. Please switch to extensible exceptions."
> 
> src/System/Plugins/Process.hs:58:4:
>     Warning: A do-notation statement discarded a result of type GHC.Conc.ThreadId.
>              Suppress this warning by saying "_ <- forkIO
>                                                      ((>>)
>                                                         E.evaluate (length output)
>                                                         return GHC.Unit.())",
>              or by using the flag -fno-warn-unused-do-bind
> 
> src/System/Plugins/Process.hs:59:4:
>     Warning: A do-notation statement discarded a result of type GHC.Conc.ThreadId.
>              Suppress this warning by saying "_ <- forkIO
>                                                      ((>>)
>                                                         E.evaluate (length errput)
>                                                         return GHC.Unit.())",
>              or by using the flag -fno-warn-unused-do-bind
> [ 3 of 15] Compiling System.Plugins.Parser ( src/System/Plugins/Parser.hs, dist-ghc6/build/System/Plugins/Parser.o )
> 
> src/System/Plugins/Parser.hs:31:0:
>     Warning: The import of `Data.Either' is redundant
>                except perhaps to import instances from `Data.Either'
>              To import instances alone, use: import Data.Either()
> [ 4 of 15] Compiling System.Plugins.PackageAPI ( src/System/Plugins/PackageAPI.hs, dist-ghc6/build/System/Plugins/PackageAPI.o )
> 
> src/System/Plugins/PackageAPI.hs:61:24: Not in scope: `package'
> 
> src/System/Plugins/PackageAPI.hs:62:25: Not in scope: `package'
> make: *** [build-ghc6-stamp] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2010-02-24/hs-plugins_1.4.1-3_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