Re: [gentoo-user] Re: emerge dev-hasell/stack fails with unclear error

2018-02-26 Thread R0b0t1
On Mon, Feb 26, 2018 at 11:59 PM,   wrote:
> On Monday, February 26, 2018 10:24:44 AM EST you wrote:
>> When emerging dev-haskell/stack-1.3.2 I'm getting:
>>
>> 
>> [ 84 of 121] Compiling Stack.Path   ( src/Stack/Path.hs,
>> dist/build/Stack/Path.o )
>> [ 85 of 121] Compiling Stack.Package( src/Stack/Package.hs,
>> dist/build/Stack/Package.o )
>> [100 of 121] Compiling Stack.Upload ( src/Stack/Upload.hs,
>> dist/build/Stack/Upload.o )
>> [101 of 121] Compiling Control.Concurrent.Execute (
>> src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o
>> )
>> * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase):
>> *   setup build failed
>> *
>> * Call stack:
>> * ebuild.sh, line  124:  Called src_compile
>> *   environment, line 2851:  Called haskell-cabal_src_compile
>> *   environment, line 2049:  Called cabal_src_compile
>> *   environment, line  771:  Called cabal-build
>> *   environment, line  535:  Called die
>> * The specific snippet of code:
>> *   ./setup "$@" || die "setup build failed"
>> *
>> 
>>
>> So _probably_ something went wrong when compiling Control.Concurrent.Execute
>> -- but I see no way to tell what was the problem. How do I debug this?
>>
>
> Well,
>
> cd /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2
> runhaskell Setup build
>
> does show an error. It looks like package version mismatch, digging into it...
>
> Sorry for the noise. Strange that emerge did not show any error message from
> the compillation, though...
>
> --
> Anton
>

If you get anywhere, please let me know how. I found the project an
inscrutable mess.

Cheers,
 R0b0t1



[gentoo-user] Re: emerge dev-hasell/stack fails with unclear error

2018-02-26 Thread anton . stay . connected
On Monday, February 26, 2018 10:24:44 AM EST you wrote:
> When emerging dev-haskell/stack-1.3.2 I'm getting:
> 
> 
> [ 84 of 121] Compiling Stack.Path   ( src/Stack/Path.hs,
> dist/build/Stack/Path.o )
> [ 85 of 121] Compiling Stack.Package( src/Stack/Package.hs,
> dist/build/Stack/Package.o )
> [100 of 121] Compiling Stack.Upload ( src/Stack/Upload.hs,
> dist/build/Stack/Upload.o )
> [101 of 121] Compiling Control.Concurrent.Execute (
> src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o
> )
> * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase):
> *   setup build failed
> *
> * Call stack:
> * ebuild.sh, line  124:  Called src_compile
> *   environment, line 2851:  Called haskell-cabal_src_compile
> *   environment, line 2049:  Called cabal_src_compile
> *   environment, line  771:  Called cabal-build
> *   environment, line  535:  Called die
> * The specific snippet of code:
> *   ./setup "$@" || die "setup build failed"
> *
> 
> 
> So _probably_ something went wrong when compiling Control.Concurrent.Execute
> -- but I see no way to tell what was the problem. How do I debug this?
> 

Well,

cd /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2
runhaskell Setup build

does show an error. It looks like package version mismatch, digging into it...

Sorry for the noise. Strange that emerge did not show any error message from 
the compillation, though...

-- 
Anton