* Package: dev-haskell/hackage-security-0.5.2.2 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux use-network-uri userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hackage-security-0.5.2.2.tar.gz to /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work >>> Source unpacked in /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work >>> Preparing source in /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2 ... * CHDEP: 'directory >= 1.1.0.2 && < 1.3' -> 'directory >= 1.1.0.2' >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-7.10.3 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2/Setup.hs, /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=hackage-security-0.5.2.2/ghc-7.10.3 --datadir=/usr/share/ --datasubdir=hackage-security-0.5.2.2/ghc-7.10.3 --disable-tests --ghc-options=-j1 +RTS -A256M -qb0 -RTS --with-ar=x86_64-pc-linux-gnu-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/hackage-security-0.5.2.2 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=use-network-uri Configuring hackage-security-0.5.2.2... Flags chosen: old-directory=False, use-network-uri=True, base48=True Dependency Cabal >=1.14 && <1.26: using Cabal-1.24.2.0 Dependency base >=4.8 && <5: using base-4.8.2.0 Dependency base16-bytestring >=0.1.1 && <0.2: using base16-bytestring-0.1.1.6 Dependency base64-bytestring ==1.0.*: using base64-bytestring-1.0.0.1 Dependency bytestring >=0.9 && <0.11: using bytestring-0.10.6.0 Dependency containers >=0.4 && <0.6: using containers-0.5.6.2 Dependency cryptohash-sha256 ==0.11.*: using cryptohash-sha256-0.11.100.1 Dependency directory >=1.2: using directory-1.2.2.0 Dependency ed25519 ==0.0.*: using ed25519-0.0.5.0 Dependency filepath >=1.2 && <1.5: using filepath-1.4.0.0 Dependency ghc-prim -any: using ghc-prim-0.4.0.0 Dependency mtl ==2.2.*: using mtl-2.2.1 Dependency network ==2.6.*: using network-2.6.3.1 Dependency network-uri ==2.6.*: using network-uri-2.6.1.0 Dependency parsec ==3.1.*: using parsec-3.1.11 Dependency pretty >=1.0 && <1.2: using pretty-1.1.2.0 Dependency tar ==0.5.*: using tar-0.5.1.0 Dependency template-haskell -any: using template-haskell-2.10.0.0 Dependency time >=1.2 && <1.7: using time-1.5.0.1 Dependency transformers >=0.4 && <0.6: using transformers-0.5.2.0 Dependency zlib >=0.5 && <0.7: using zlib-0.6.1.2 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package Cabal-1.24.2.0 requires binary-0.7.6.1 package text-1.2.2.1 requires binary-0.8.3.0 package semigroups-0.18.2 requires binary-0.8.3.0 Using Cabal-1.24.2.0 compiled by ghc-7.10 Using compiler: ghc-7.10.3 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/hackage-security-0.5.2.2/ghc-7.10.3 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-7.10.3 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/hackage-security-0.5.2.2/ghc-7.10.3 Documentation installed in: /usr/share/doc/hackage-security-0.5.2.2 Configuration files installed in: /etc No alex found Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar No c2hs found No cpphs found Using gcc version 8.2.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 7.10.3 given by user at: /usr/bin/ghc Using ghc-pkg version 7.10.3 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.16.1 found on system at: /usr/bin/haddock Using happy version 1.19.5 found on system at: /usr/bin/happy Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /usr/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs Using hscolour version 1.24 found on system at: /usr/bin/HsColour No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld No lhc found No lhc-pkg found Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config Using strip version 2.30 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2 ... ./setup build Building hackage-security-0.5.2.2... Preprocessing library hackage-security-0.5.2.2... [ 1 of 42] Compiling Prelude ( src/Prelude.hs, dist/build/Prelude.o ) [ 2 of 42] Compiling Hackage.Security.Util.Checked ( src/Hackage/Security/Util/Checked.hs, dist/build/Hackage/Security/Util/Checked.o ) [ 3 of 42] Compiling Hackage.Security.Util.Pretty ( src/Hackage/Security/Util/Pretty.hs, dist/build/Hackage/Security/Util/Pretty.o ) [ 4 of 42] Compiling Hackage.Security.Util.Path ( src/Hackage/Security/Util/Path.hs, dist/build/Hackage/Security/Util/Path.o ) [ 5 of 42] Compiling Hackage.Security.Util.Stack ( src/Hackage/Security/Util/Stack.hs, dist/build/Hackage/Security/Util/Stack.o ) [ 6 of 42] Compiling Hackage.Security.Util.TypedEmbedded ( src/Hackage/Security/Util/TypedEmbedded.hs, dist/build/Hackage/Security/Util/TypedEmbedded.o ) [ 7 of 42] Compiling Hackage.Security.Client.Formats ( src/Hackage/Security/Client/Formats.hs, dist/build/Hackage/Security/Client/Formats.o ) src/Hackage/Security/Client/Formats.hs:110:1: Warning: Pattern match(es) are non-exhaustive In an equation for ‘formatsLookup’: Patterns not matched: (HFZ FUn) FsNone (HFZ FUn) (FsGz _) (HFZ FGz) FsNone (HFZ FGz) (FsUn _) ... [ 8 of 42] Compiling Hackage.Security.Util.Some ( src/Hackage/Security/Util/Some.hs, dist/build/Hackage/Security/Util/Some.o ) [ 9 of 42] Compiling Hackage.Security.Util.IO ( src/Hackage/Security/Util/IO.hs, dist/build/Hackage/Security/Util/IO.o ) [10 of 42] Compiling Hackage.Security.Client.Verify ( src/Hackage/Security/Client/Verify.hs, dist/build/Hackage/Security/Client/Verify.o ) [11 of 42] Compiling Text.JSON.Canonical ( src/Text/JSON/Canonical.hs, dist/build/Text/JSON/Canonical.o ) [12 of 42] Compiling Hackage.Security.Util.JSON ( src/Hackage/Security/Util/JSON.hs, dist/build/Hackage/Security/Util/JSON.o ) [13 of 42] Compiling Hackage.Security.TUF.Paths ( src/Hackage/Security/TUF/Paths.hs, dist/build/Hackage/Security/TUF/Paths.o ) [14 of 42] Compiling Hackage.Security.TUF.Layout.Repo ( src/Hackage/Security/TUF/Layout/Repo.hs, dist/build/Hackage/Security/TUF/Layout/Repo.o ) [15 of 42] Compiling Hackage.Security.Util.Lens ( src/Hackage/Security/Util/Lens.hs, dist/build/Hackage/Security/Util/Lens.o ) [16 of 42] Compiling Hackage.Security.Util.Base64 ( src/Hackage/Security/Util/Base64.hs, dist/build/Hackage/Security/Util/Base64.o ) [17 of 42] Compiling Hackage.Security.TUF.Layout.Cache ( src/Hackage/Security/TUF/Layout/Cache.hs, dist/build/Hackage/Security/TUF/Layout/Cache.o ) [18 of 42] Compiling Hackage.Security.Key ( src/Hackage/Security/Key.hs, dist/build/Hackage/Security/Key.o ) [19 of 42] Compiling Hackage.Security.Key.Env ( src/Hackage/Security/Key/Env.hs, dist/build/Hackage/Security/Key/Env.o ) [20 of 42] Compiling Hackage.Security.JSON ( src/Hackage/Security/JSON.hs, dist/build/Hackage/Security/JSON.o ) [21 of 42] Compiling Hackage.Security.TUF.Common ( src/Hackage/Security/TUF/Common.hs, dist/build/Hackage/Security/TUF/Common.o ) [22 of 42] Compiling Hackage.Security.TUF.FileInfo ( src/Hackage/Security/TUF/FileInfo.hs, dist/build/Hackage/Security/TUF/FileInfo.o ) [23 of 42] Compiling Hackage.Security.TUF.FileMap ( src/Hackage/Security/TUF/FileMap.hs, dist/build/Hackage/Security/TUF/FileMap.o ) [24 of 42] Compiling Hackage.Security.TUF.Header ( src/Hackage/Security/TUF/Header.hs, dist/build/Hackage/Security/TUF/Header.o ) [25 of 42] Compiling Hackage.Security.TUF.Patterns ( src/Hackage/Security/TUF/Patterns.hs, dist/build/Hackage/Security/TUF/Patterns.o ) [26 of 42] Compiling Hackage.Security.TUF.Signed ( src/Hackage/Security/TUF/Signed.hs, dist/build/Hackage/Security/TUF/Signed.o ) [27 of 42] Compiling Hackage.Security.TUF.Mirrors ( src/Hackage/Security/TUF/Mirrors.hs, dist/build/Hackage/Security/TUF/Mirrors.o ) [28 of 42] Compiling Hackage.Security.TUF.Snapshot ( src/Hackage/Security/TUF/Snapshot.hs, dist/build/Hackage/Security/TUF/Snapshot.o ) [29 of 42] Compiling Hackage.Security.TUF.Timestamp ( src/Hackage/Security/TUF/Timestamp.hs, dist/build/Hackage/Security/TUF/Timestamp.o ) [30 of 42] Compiling Hackage.Security.TUF.Targets ( src/Hackage/Security/TUF/Targets.hs, dist/build/Hackage/Security/TUF/Targets.o ) [31 of 42] Compiling Hackage.Security.TUF.Layout.Index ( src/Hackage/Security/TUF/Layout/Index.hs, dist/build/Hackage/Security/TUF/Layout/Index.o ) [32 of 42] Compiling Hackage.Security.TUF.Root ( src/Hackage/Security/TUF/Root.hs, dist/build/Hackage/Security/TUF/Root.o ) [33 of 42] Compiling Hackage.Security.TUF ( src/Hackage/Security/TUF.hs, dist/build/Hackage/Security/TUF.o ) [34 of 42] Compiling Hackage.Security.Trusted.TCB ( src/Hackage/Security/Trusted/TCB.hs, dist/build/Hackage/Security/Trusted/TCB.o ) [35 of 42] Compiling Hackage.Security.Trusted ( src/Hackage/Security/Trusted.hs, dist/build/Hackage/Security/Trusted.o ) /usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together collect2: error: ld returned 1 exit status * ERROR: dev-haskell/hackage-security-0.5.2.2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2751: Called haskell-cabal_src_compile * environment, line 1955: Called cabal_src_compile * environment, line 683: Called cabal-build * environment, line 447: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/hackage-security-0.5.2.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/hackage-security-0.5.2.2::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:hackage-security-0.5.2.2:20181007-134532.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2' * S: '/var/tmp/portage/dev-haskell/hackage-security-0.5.2.2/work/hackage-security-0.5.2.2'