Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 666932 - dev-vcs/git-annex-6.20180626::haskell compilation fail
Summary: dev-vcs/git-annex-6.20180626::haskell compilation fail
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (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 23:17 UTC by Andriy Utkin (RETIRED)
Modified: 2019-02-18 18:43 UTC (History)
0 users

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


Attachments
build.log (build.log,53.96 KB, text/x-log)
2018-09-23 23:17 UTC, Andriy Utkin (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Utkin (RETIRED) gentoo-dev 2018-09-23 23:17:21 UTC
Created attachment 547734 [details]
build.log

Thanks in advance for looking into this.
Yes I know it's unstable package in the overlay, but I badly want to try out latest and greatest in hope the mess it makes of "thin repos" gets fixed.

[ 39 of 585] Compiling Utility.IPAddress ( Utility/IPAddress.hs, dist/build/git-annex/git-annex-tmp/Utility/IPAddress.dyn_o )

Utility/IPAddress.hs:20:48: error:
    Variable not in scope:
      hostAddressToTuple :: HostAddress -> (Integer, t0, t1, t2)

Utility/IPAddress.hs:26:53: error:
    Variable not in scope:
      hostAddress6ToTuple
        :: HostAddress6
           -> (Word16, Word16, Word16, Word16, Word16, Word16, Word16, Word16)

Utility/IPAddress.hs:39:47: error:
    Variable not in scope:
      hostAddressToTuple
        :: HostAddress -> (Integer, Integer, Integer, Integer)

Utility/IPAddress.hs:49:52: error:
    Variable not in scope:
      hostAddress6ToTuple
        :: HostAddress6
           -> (Word16, Word16, Word16, Word16, Word16, Word16, Word16, Word16)

Utility/IPAddress.hs:70:22: error:
    Variable not in scope: htonl :: Integer -> t
Comment 1 Andriy Utkin (RETIRED) gentoo-dev 2018-10-09 16:09:48 UTC
Just copying over the existing ebuild with the version 6.20180926 worked for me, modulo its build system's requirement for dev-haskell/network to be >=2.6.3.0.

I may make a pull request to haskell overlay later, after checking thoroughly all the changes in requirements to the dependencies.
Comment 2 Andriy Utkin (RETIRED) gentoo-dev 2018-10-18 13:32:20 UTC
New release came out, 6.20181011. Ebuild did not require new changes to build comaring to 6.20180926.