* Package: dev-haskell/hdbc-postgresql-2.3.2.4-r1 * Repository: gentoo * Maintainer: haskell@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking HDBC-postgresql-2.3.2.4.tar.gz to /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work >>> Source unpacked in /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work >>> Preparing source in /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4 ... * Using cabal-1.24.2.0. * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4/Setup.hs -j1 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4/Setup.hs, /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4/Setup.o ) /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4/Setup.hs:48:20: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Program, but defined in Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" /var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4/Setup.hs:49:20: warning: [-Wdeprecations] In the use of ‘findProgramLocation’ (imported from Distribution.Simple.Program, but defined in Distribution.Simple.Utils): Deprecated: "No longer used within Cabal, try findProgramOnSearchPath" 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=hdbc-postgresql-2.3.2.4/ghc-8.0.2 --datadir=/usr/share/ --datasubdir=hdbc-postgresql-2.3.2.4/ghc-8.0.2 --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/hdbc-postgresql-2.3.2.4-r1 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flag=splitbase Configuring HDBC-postgresql-2.3.2.4... Flags chosen: mintime15=True, buildtests=False, splitbase=True Dependency HDBC >=2.2.0: using HDBC-2.4.0.1 Dependency base ==4.*: using base-4.9.1.0 Dependency bytestring -any: using bytestring-0.10.8.1 Dependency convertible -any: using convertible-1.1.1.0 Dependency mtl -any: using mtl-2.2.1 Dependency old-time -any: using old-time-1.1.0.3 Dependency parsec -any: using parsec-3.1.11 Dependency time >=1.5 && <1.7: using time-1.6.0.1 Dependency utf8-string -any: using utf8-string-1.0.1.1 Using Cabal-1.24.2.0 compiled by ghc-8.0 Using compiler: ghc-8.0.2 Using install prefix: /usr Binaries installed in: /usr/bin Libraries installed in: /usr/lib64/hdbc-postgresql-2.3.2.4/ghc-8.0.2 Dynamic libraries installed in: /usr/lib64/x86_64-linux-ghc-8.0.2 Private binaries installed in: /usr/libexec Data files installed in: /usr/share/hdbc-postgresql-2.3.2.4/ghc-8.0.2 Documentation installed in: /usr/share/doc/hdbc-postgresql-2.3.2.4-r1 Configuration files installed in: /etc Using alex version 3.2.1 found on system at: /usr/bin/alex Using ar given by user at: /usr/bin/x86_64-pc-linux-gnu-ar Using c2hs version 0.28.3 found on system at: /usr/bin/c2hs Using cpphs version 1.20.2 found on system at: /usr/bin/cpphs Using gcc version 7.3.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.0.2 given by user at: /usr/bin/ghc Using ghc-pkg version 8.0.2 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.17.3 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.68.1 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 pgconfig or pg_config found on system at: /usr/bin/pg_config 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/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4 ... ./setup build Building HDBC-postgresql-2.3.2.4... Preprocessing library HDBC-postgresql-2.3.2.4... In file included from dist/build/Database/HDBC/PostgreSQL/PTypeConv_hsc_make.c:1:0: PTypeConv.hsc: In function ‘main’: PTypeConv.hsc:53:16: error: ‘PG_TYPE_CHAR’ undeclared (first use in this function); did you mean ‘PGTYPES_H’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:53:16: note: each undeclared identifier is reported only once for each function it appears in /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:54:16: error: ‘PG_TYPE_CHAR2’ undeclared (first use in this function); did you mean ‘PG_TYPE_CHAR’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:55:16: error: ‘PG_TYPE_CHAR4’ undeclared (first use in this function); did you mean ‘PG_TYPE_CHAR2’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:56:16: error: ‘PG_TYPE_CHAR8’ undeclared (first use in this function); did you mean ‘PG_TYPE_CHAR4’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:57:16: error: ‘PG_TYPE_NAME’ undeclared (first use in this function); did you mean ‘PG_TYPE_CHAR8’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:58:16: error: ‘PG_TYPE_BPCHAR’ undeclared (first use in this function); did you mean ‘PG_TYPE_CHAR’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:59:16: error: ‘PG_TYPE_VARCHAR’ undeclared (first use in this function); did you mean ‘PG_TYPE_BPCHAR’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:60:16: error: ‘PG_TYPE_TEXT’ undeclared (first use in this function); did you mean ‘PG_TYPE_NAME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:61:16: error: ‘PG_TYPE_XML’ undeclared (first use in this function); did you mean ‘PG_TYPE_NAME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:62:16: error: ‘PG_TYPE_BYTEA’ undeclared (first use in this function); did you mean ‘PG_TYPE_TEXT’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:63:16: error: ‘PG_TYPE_INT2’ undeclared (first use in this function); did you mean ‘PG_TYPE_BYTEA’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:64:16: error: ‘PG_TYPE_OID’ undeclared (first use in this function); did you mean ‘PG_TYPE_XML’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:65:16: error: ‘PG_TYPE_XID’ undeclared (first use in this function); did you mean ‘PG_TYPE_OID’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:66:16: error: ‘PG_TYPE_INT4’ undeclared (first use in this function); did you mean ‘PG_TYPE_INT2’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:67:16: error: ‘PG_TYPE_INT8’ undeclared (first use in this function); did you mean ‘PG_TYPE_INT4’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:68:16: error: ‘PG_TYPE_NUMERIC’ undeclared (first use in this function); did you mean ‘PG_TYPE_NAME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:69:16: error: ‘PG_TYPE_FLOAT4’ undeclared (first use in this function); did you mean ‘PG_TYPE_INT4’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:70:16: error: ‘PG_TYPE_FLOAT8’ undeclared (first use in this function); did you mean ‘PG_TYPE_FLOAT4’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:71:16: error: ‘PG_TYPE_DATE’ undeclared (first use in this function); did you mean ‘PG_TYPE_NAME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:72:16: error: ‘PG_TYPE_ABSTIME’ undeclared (first use in this function); did you mean ‘PG_TYPE_DATE’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:74:16: error: ‘PG_TYPE_DATETIME’ undeclared (first use in this function); did you mean ‘PG_TYPE_ABSTIME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:75:16: error: ‘PG_TYPE_TIMESTAMP_NO_TMZONE’ undeclared (first use in this function) /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:76:16: error: ‘PG_TYPE_TIMESTAMP’ undeclared (first use in this function); did you mean ‘PG_TYPE_DATETIME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:78:16: error: ‘PG_TYPE_TIME’ undeclared (first use in this function); did you mean ‘PG_TYPE_NAME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:79:16: error: ‘PG_TYPE_TIME_WITH_TMZONE’ undeclared (first use in this function); did you mean ‘PG_TYPE_TIMESTAMP_NO_TMZONE’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:81:16: error: ‘PG_TYPE_TINTERVAL’ undeclared (first use in this function); did you mean ‘PG_TYPE_TIME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:82:16: error: ‘PG_TYPE_RELTIME’ undeclared (first use in this function); did you mean ‘PG_TYPE_TIME’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ PTypeConv.hsc:84:16: error: ‘PG_TYPE_BOOL’ undeclared (first use in this function); did you mean ‘PG_TYPE_OID’? /usr/lib64/ghc-8.0.2/template-hsc.h:35:10: note: in definition of macro ‘hsc_const’ if ((x) < 0) \ ^ compiling dist/build/Database/HDBC/PostgreSQL/PTypeConv_hsc_make.c failed (exit code 1) command was: /usr/bin/x86_64-pc-linux-gnu-gcc -c dist/build/Database/HDBC/PostgreSQL/PTypeConv_hsc_make.c -o dist/build/Database/HDBC/PostgreSQL/PTypeConv_hsc_make.o -fno-stack-protector -fno-stack-protector -D__GLASGOW_HASKELL__=800 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -I/usr/include/postgresql-11 -I. -DMIN_TIME_15 -Idist/build/autogen -include dist/build/autogen/cabal_macros.h -I/usr/lib64/ghc-8.0.2/time-1.6.0.1/include -I/usr/lib64/old-time-1.1.0.3/ghc-8.0.2/include -I/usr/lib64/ghc-8.0.2/bytestring-0.10.8.1/include -I/usr/lib64/ghc-8.0.2/base-4.9.1.0/include -I/usr/lib64/ghc-8.0.2/integer-gmp-1.0.0.1/include -I/usr/lib64/ghc-8.0.2/include -I/usr/lib64/libffi-3.2.1/include -I/usr/lib64/ghc-8.0.2/include/ * ERROR: dev-haskell/hdbc-postgresql-2.3.2.4-r1::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2775: Called haskell-cabal_src_compile * environment, line 1969: Called cabal_src_compile * environment, line 691: Called cabal-build * environment, line 455: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/hdbc-postgresql-2.3.2.4-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/hdbc-postgresql-2.3.2.4-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-haskell:hdbc-postgresql-2.3.2.4-r1:20180716-095130.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4' * S: '/var/tmp/portage/dev-haskell/hdbc-postgresql-2.3.2.4-r1/work/HDBC-postgresql-2.3.2.4'