Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666810 - dev-haskell/binary-0.7.6.1 fails to build with USE=test
Summary: dev-haskell/binary-0.7.6.1 fails to build with USE=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-23 11:21 UTC by Pacho Ramos
Modified: 2018-09-23 14:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (binary-0.7.6.1:20180923-111949.log.gz,4.54 KB, application/gzip)
2018-09-23 11:21 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2018-09-23 11:21:10 UTC
Created attachment 547552 [details]
build.log.gz

[ 7 of 10] Compiling Data.Binary      ( src/Data/Binary.hs, dist/build/qc/qc-tmp/Data/Binary.dyn_o )
[ 8 of 10] Compiling Arbitrary        ( tests/Arbitrary.hs, dist/build/qc/qc-tmp/Arbitrary.dyn_o )

tests/Arbitrary.hs:17:10: error:
    Duplicate instance declarations:
      instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                Arbitrary e, Arbitrary f) =>
               Arbitrary (a, b, c, d, e, f)
        -- Defined at tests/Arbitrary.hs:17:10
      instance [safe] (Arbitrary a, Arbitrary b, Arbitrary c,
                       Arbitrary d, Arbitrary e, Arbitrary f) =>
                      Arbitrary (a, b, c, d, e, f)
        -- Defined in ‘Test.QuickCheck.Arbitrary’

tests/Arbitrary.hs:25:10: error:
    Duplicate instance declarations:
      instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                Arbitrary e, Arbitrary f, Arbitrary g) =>
               Arbitrary (a, b, c, d, e, f, g)
        -- Defined at tests/Arbitrary.hs:25:10
      instance [safe] (Arbitrary a, Arbitrary b, Arbitrary c,
                       Arbitrary d, Arbitrary e, Arbitrary f, Arbitrary g) =>
                      Arbitrary (a, b, c, d, e, f, g)
        -- Defined in ‘Test.QuickCheck.Arbitrary’

tests/Arbitrary.hs:33:10: error:
    Duplicate instance declarations:
      instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h) =>
               Arbitrary (a, b, c, d, e, f, g, h)
        -- Defined at tests/Arbitrary.hs:33:10
      instance [safe] (Arbitrary a, Arbitrary b, Arbitrary c,
                       Arbitrary d, Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h) =>
                      Arbitrary (a, b, c, d, e, f, g, h)
        -- Defined in ‘Test.QuickCheck.Arbitrary’

tests/Arbitrary.hs:41:10: error:
    Duplicate instance declarations:
      instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h, Arbitrary i) =>
               Arbitrary (a, b, c, d, e, f, g, h, i)
        -- Defined at tests/Arbitrary.hs:41:10
      instance [safe] (Arbitrary a, Arbitrary b, Arbitrary c,
                       Arbitrary d, Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h,
                       Arbitrary i) =>
                      Arbitrary (a, b, c, d, e, f, g, h, i)
        -- Defined in ‘Test.QuickCheck.Arbitrary’

tests/Arbitrary.hs:49:10: error:
    Duplicate instance declarations:
      instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h, Arbitrary i,
                Arbitrary j) =>
               Arbitrary (a, b, c, d, e, f, g, h, i, j)
        -- Defined at tests/Arbitrary.hs:49:10
      instance [safe] (Arbitrary a, Arbitrary b, Arbitrary c,
                       Arbitrary d, Arbitrary e, Arbitrary f, Arbitrary g, Arbitrary h,
                       Arbitrary i, Arbitrary j) =>
                      Arbitrary (a, b, c, d, e, f, g, h, i, j)
        -- Defined in ‘Test.QuickCheck.Arbitrary’
 * ERROR: dev-haskell/binary-0.7.6.1::gentoo failed (compile phase):
 *   setup build failed
 * 
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 2678:  Called haskell-cabal_src_compile
 *   environment, line 1868:  Called cabal_src_compile
 *   environment, line  667:  Called cabal-build
 *   environment, line  431:  Called die
 * The specific snippet of code:
 *       ./setup "$@" || die "setup build failed"
 * 
 * If you need support, post the output of `emerge --info '=dev-haskell/binary-0.7.6.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-haskell/binary-0.7.6.1::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-haskell/binary-0.7.6.1:20180923-111949.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/binary-0.7.6.1/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/binary-0.7.6.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-haskell/binary-0.7.6.1/work/binary-0.7.6.1'
 * S: '/var/tmp/portage/dev-haskell/binary-0.7.6.1/work/binary-0.7.6.1'

Portage 2.3.49 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.3.0, glibc-2.26-r7, 4.14.65-gentoo x86_64)
=================================================================
System uname: Linux-4.14.65-gentoo-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.4.1
KiB Mem:    16132556 total,   1433684 free
KiB Swap:    5240828 total,   4991216 free
Timestamp of repository gentoo: Sat, 22 Sep 2018 07:30:01 +0000
Head commit of repository gentoo: d46d5a34c86a807007c8d13bb1c3db26572a9daf
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p2) 2.30.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r2::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ago
    location: /hdd/portage/local/layman/ago
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -fno-stack-protector"
DISTDIR="/hdd/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask-write --keep-going"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache cgroup compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="es_ES.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LINGUAS="es es_ES en en_US fr fr_FR"
MAKEOPTS="-j9"
PKGDIR="/hdd/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 applet avahi avx avx256 bash-completion berkdb bluetooth branding bzip2 cairo ccache cdda cddb cdr chm chromecast cli colord crypt cups cvs cxx dbus djvu dri dts dvd dvdr dvi ebook eds emboss enchant encode evo exif fam fat ffmpeg flac fortran fuse gdbm gif git glamor gnome gnome-keyring gnome-online-accounts google googledrive gphoto2 gpm gromacs gstreamer gtk gtk3 gtkstyle hfs http iconv infinality introspection ios irc jabber jpeg kpathsea latex lcms ldap libass libnotify libsecret libtirpc libvisual lyx mad microdns mms mmx mmxext mng mobi modules monolithic-build mp3 mp4 mpeg mtp multilib musicbrainz nautilus ncurses network-cron networkmanager nls nptl ntfs ntp numa nvidia offensive ogg opengl openmp optimized-qmake pam pango pch pdf pdfimport png policykit ppds pulseaudio qt5 readline reiserfs scanner sdl seccomp sendto smp sna snmp spell squashfs sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg systemd t1lib tcpd test theora threads tiff tracker truetype udev udisks unicode upnp upnp-av upower usb v4l vaapi vala vcd vdpau vlc vorbis wifi wxwidgets x264 x265 xattr xcb xfs xml xmpp xv xvid youtube zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="es es-ES en en-US fr fr-FR" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965 nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2018-09-23 11:23:45 UTC
It compiles without USE test
Comment 2 Larry the Git Cow gentoo-dev 2018-09-23 14:05:59 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c1a9fafc114f662de85209ad766b2c1d7789ec

commit 50c1a9fafc114f662de85209ad766b2c1d7789ec
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-09-23 14:05:39 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-09-23 14:05:52 +0000

    dev-haskell/binary: drop USE=test, bug #666810
    
    Test suite is not compatible with modern QuickCheck instances:
    
    ```
    tests/Arbitrary.hs:17:10: error:
        Duplicate instance declarations:
          instance (Arbitrary a, Arbitrary b, Arbitrary c, Arbitrary d,
                    Arbitrary e, Arbitrary f) =>
                   Arbitrary (a, b, c, d, e, f)
            -- Defined at tests/Arbitrary.hs:17:10
            -- Defined in ‘Test.QuickCheck.Arbitrary’
    ```
    
    Binary is not really an upgradeable package. Let's drop
    test suite completely.
    
    Reported-by: Pacho Ramos
    Closes: https://bugs.gentoo.org/666810
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-haskell/binary/binary-0.7.6.1.ebuild | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)