Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] Re: emerge dev-hasell/stack fails with unclear error R0b0t1 <r030t1@×××××.com>