Gentoo Archives: gentoo-user

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge dev-hasell/stack fails with unclear error
Date: Tue, 27 Feb 2018 06:45:55
Message-Id: CAAD4mYi5mUxpqwGq+_A2Y6LrGkh5aMyAjkBXuGLWr1yN1iMFYg@mail.gmail.com
In Reply to: [gentoo-user] Re: emerge dev-hasell/stack fails with unclear error by anton.stay.connected@gmail.com
1 On Mon, Feb 26, 2018 at 11:59 PM, <anton.stay.connected@×××××.com> wrote:
2 > On Monday, February 26, 2018 10:24:44 AM EST you wrote:
3 >> When emerging dev-haskell/stack-1.3.2 I'm getting:
4 >>
5 >> <snip>
6 >> [ 84 of 121] Compiling Stack.Path ( src/Stack/Path.hs,
7 >> dist/build/Stack/Path.o )
8 >> [ 85 of 121] Compiling Stack.Package ( src/Stack/Package.hs,
9 >> dist/build/Stack/Package.o )
10 >> [100 of 121] Compiling Stack.Upload ( src/Stack/Upload.hs,
11 >> dist/build/Stack/Upload.o )
12 >> [101 of 121] Compiling Control.Concurrent.Execute (
13 >> src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o
14 >> )
15 >> * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase):
16 >> * setup build failed
17 >> *
18 >> * Call stack:
19 >> * ebuild.sh, line 124: Called src_compile
20 >> * environment, line 2851: Called haskell-cabal_src_compile
21 >> * environment, line 2049: Called cabal_src_compile
22 >> * environment, line 771: Called cabal-build
23 >> * environment, line 535: Called die
24 >> * The specific snippet of code:
25 >> * ./setup "$@" || die "setup build failed"
26 >> *
27 >> <snip>
28 >>
29 >> So _probably_ something went wrong when compiling Control.Concurrent.Execute
30 >> -- but I see no way to tell what was the problem. How do I debug this?
31 >>
32 >
33 > Well,
34 >
35 > cd /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2
36 > runhaskell Setup build
37 >
38 > does show an error. It looks like package version mismatch, digging into it...
39 >
40 > Sorry for the noise. Strange that emerge did not show any error message from
41 > the compillation, though...
42 >
43 > --
44 > Anton
45 >
46
47 If you get anywhere, please let me know how. I found the project an
48 inscrutable mess.
49
50 Cheers,
51 R0b0t1