Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 704778 - app-portage/hackport-0.6.2 : hackage-security/.../FileLock.hsc:181:9: error:
Summary: app-portage/hackport-0.6.2 : hackage-security/.../FileLock.hsc:181:9: error:
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: 2020-01-04 17:08 UTC by Toralf Förster
Modified: 2020-01-26 00:06 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.35 KB, text/plain)
2020-01-04 17:08 UTC, Toralf Förster
Details
app-portage:hackport-0.6.2:20200104-164232.log (app-portage:hackport-0.6.2:20200104-164232.log,9.76 KB, text/plain)
2020-01-04 17:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,288.17 KB, text/plain)
2020-01-04 17:08 UTC, Toralf Förster
Details
environment (environment,76.88 KB, text/plain)
2020-01-04 17:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.55 KB, application/x-bzip)
2020-01-04 17:08 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.40 KB, application/x-bzip)
2020-01-04 17:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.02 KB, application/x-bzip)
2020-01-04 17:08 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-04 17:08:20 UTC
[ 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"
Comment 1 Toralf Förster gentoo-dev 2020-01-04 17:08:22 UTC
Created attachment 602552 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-04 17:08:25 UTC
Created attachment 602554 [details]
app-portage:hackport-0.6.2:20200104-164232.log
Comment 3 Toralf Förster gentoo-dev 2020-01-04 17:08:28 UTC
Created attachment 602556 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-04 17:08:31 UTC
Created attachment 602558 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-04 17:08:35 UTC
Created attachment 602560 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-04 17:08:37 UTC
Created attachment 602562 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-04 17:08:40 UTC
Created attachment 602564 [details]
temp.tbz2
Comment 8 Jeremy Stent 2020-01-25 02:27:46 UTC
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.
Comment 9 Sergei Trofimovich (RETIRED) gentoo-dev 2020-01-25 22:08:28 UTC
Good catch! Let's see what it takes to tweak hackport to ghc-8.0.
Comment 10 Larry the Git Cow gentoo-dev 2020-01-26 00:06:36 UTC
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(+)