[Pkg-haskell-maintainers] Bug#759931: cabal-debian: FTBFS: duplicate instance declarations

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 21:25:46 UTC 2014


Source: cabal-debian
Version: 4.15.2-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 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
> ghc Setup.hs -o debian/cabal-debian.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/cabal-debian.setup ...
> test -f debian/rules
> debian/cabal-debian.setup configure --prefix=/usr
> Configuring cabal-debian-4.15.2...
> touch stamp-configure
> test -f debian/rules
> debian/cabal-debian.setup build
> Building cabal-debian-4.15.2...
> Preprocessing library cabal-debian-4.15.2...
> [ 1 of 27] Compiling Debian.Debianize.Interspersed ( src/Debian/Debianize/Interspersed.hs, dist/build/Debian/Debianize/Interspersed.o )
> [ 2 of 27] Compiling Debian.Debianize.Changelog ( src/Debian/Debianize/Changelog.hs, dist/build/Debian/Debianize/Changelog.o )
> [ 3 of 27] Compiling Debian.Orphans   ( src/Debian/Orphans.hs, dist/build/Debian/Orphans.o )
> 
> src/Debian/Orphans.hs:70:1:
>     Duplicate instance declarations:
>       instance Read ArchitectureReq
>         -- Defined at src/Debian/Orphans.hs:70:1
>       instance Read ArchitectureReq
>         -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:71:1:
>     Duplicate instance declarations:
>       instance Read BinPkgName -- Defined at src/Debian/Orphans.hs:71:1
>       instance Read BinPkgName -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:72:1:
>     Duplicate instance declarations:
>       instance Read ChangeLog -- Defined at src/Debian/Orphans.hs:72:1
>       instance Read ChangeLog -- Defined in `Debian.Changes'
> 
> src/Debian/Orphans.hs:73:1:
>     Duplicate instance declarations:
>       instance Read ChangeLogEntry
>         -- Defined at src/Debian/Orphans.hs:73:1
>       instance Read ChangeLogEntry -- Defined in `Debian.Changes'
> 
> src/Debian/Orphans.hs:74:1:
>     Duplicate instance declarations:
>       instance Read Relation -- Defined at src/Debian/Orphans.hs:74:1
>       instance Read Relation -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:75:1:
>     Duplicate instance declarations:
>       instance Read SrcPkgName -- Defined at src/Debian/Orphans.hs:75:1
>       instance Read SrcPkgName -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:76:1:
>     Duplicate instance declarations:
>       instance Read VersionReq -- Defined at src/Debian/Orphans.hs:76:1
>       instance Read VersionReq -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:78:1:
>     Duplicate instance declarations:
>       instance Show ChangeLog -- Defined at src/Debian/Orphans.hs:78:1
>       instance Show ChangeLog -- Defined in `Debian.Changes'
> 
> src/Debian/Orphans.hs:79:1:
>     Duplicate instance declarations:
>       instance Show ChangeLogEntry
>         -- Defined at src/Debian/Orphans.hs:79:1
>       instance Show ChangeLogEntry -- Defined in `Debian.Changes'
> 
> src/Debian/Orphans.hs:85:1:
>     Duplicate instance declarations:
>       instance Data BinPkgName -- Defined at src/Debian/Orphans.hs:85:1
>       instance Data BinPkgName -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:90:1:
>     Duplicate instance declarations:
>       instance Data SrcPkgName -- Defined at src/Debian/Orphans.hs:90:1
>       instance Data SrcPkgName -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:94:1:
>     Duplicate instance declarations:
>       instance Typeable BinPkgName
>         -- Defined at src/Debian/Orphans.hs:94:1
>       instance Typeable BinPkgName -- Defined in `Debian.Relation.Common'
> 
> src/Debian/Orphans.hs:99:1:
>     Duplicate instance declarations:
>       instance Typeable SrcPkgName
>         -- Defined at src/Debian/Orphans.hs:99:1
>       instance Typeable SrcPkgName -- Defined in `Debian.Relation.Common'
> make: *** [build-arch] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/cabal-debian_4.15.2-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. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the Pkg-haskell-maintainers mailing list