[ 19 of 297] Compiling Hackage.Security.Util.FileLock ( dist/build/hackport/hackport-tmp/Hackage/Security/Util/FileLock.hs, dist/build/hackport/hackport-tmp/Hackage/Security/Util/FileLock.dyn_o ) hackage-security/hackage-security/src/Hackage/Security/Util/FileLock.hsc:181:9: error: parse error on input ‘import’ * ERROR: app-portage/hackport-0.6.2::gentoo failed (compile phase): * setup build failed ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20191229-185603 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) [4] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 04 Jan 2020 15:45:47 +0000 emerge -qpvO app-portage/hackport [ebuild U ] app-portage/hackport-0.6.2 [0.5.6] USE="-test"
Created attachment 602552 [details] emerge-info.txt
Created attachment 602554 [details] app-portage:hackport-0.6.2:20200104-164232.log
Created attachment 602556 [details] emerge-history.txt
Created attachment 602558 [details] environment
Created attachment 602560 [details] etc.portage.tbz2
Created attachment 602562 [details] logs.tbz2
Created attachment 602564 [details] temp.tbz2
Looks like that file needs: {-# LANGUAGE ForeignFunctionInterface #-} at the top of it, or a newer version of the support libraries. However, this then exposes an error in Merge.hs complaining about not having isExtensionOf. I wonder if we are somehow using an older version of the haskell support libraries.
Good catch! Let's see what it takes to tweak hackport to ghc-8.0.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87068ce30830fd698b6bdf32412483b110977ac commit a87068ce30830fd698b6bdf32412483b110977ac Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-01-26 00:01:15 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-01-26 00:06:27 +0000 app-portage/hackport: bump up to 0.6.3 Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/704778 Package-Manager: Portage-2.3.85, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-portage/hackport/Manifest | 1 + .../files/hackport-0.6.3-missing-ffi.patch | 33 +++++++++ .../files/hackport-0.6.3-missing-test-deps.patch | 79 ++++++++++++++++++++++ .../files/hackport-0.6.3-old-filepath.patch | 40 +++++++++++ app-portage/hackport/hackport-0.6.3.ebuild | 63 +++++++++++++++++ 5 files changed, 216 insertions(+)