strip related failure [was: Re: solaris-x86-head (Solaris/x86 HEAD (Karel Gardas)), build 32, Failure]

2014-04-18 Thread Karel Gardas


Folks,

last two/three builds on Solaris builder fails due to a reason that 
someone added (probably) stripping of installed libraries. My bet is on 
8992d5269804b727fb77249511e89df678526907 -- hence ccing you Herbert, but 
I'm not sure...


The problem is that invoked strip command line is incompatible with 
Solaris' strip which then fails with:


strip: --strip-unneeded: cannot open file: No such file or directory

the problem is usage of --strip-unneeded command-line argument? It looks 
like this argument is supported by just GNU strip. Do we really need to 
use it? If not, removing this may solve the issue. If yes, then I'll 
need to come with some workaround for Solaris...


Detailed log of failure is at the bottom of 
http://haskell.inf.elte.hu/builders/solaris-x86-head/32/20.html


Thanks!
Karel

On 04/18/14 05:03 AM, Builder wrote:

solaris-x86-head (Solaris/x86 HEAD (Karel Gardas)), build 32

Build failed
Details: http://haskell.inf.elte.hu/builders/solaris-x86-head/32.html

git clone| Success
create mk/build.mk   | Success
get subrepos | Success
repo versions| Success
touching clean-check files   | Success
setting version date | Success
booting  | Success
configuring  | Success
creating check-remove-before | Success
compiling| Success
creating check-remove-after  | Success
compiling testremove | Success
simulating clean | Success
checking clean   | Success
making bindist   | Success
making srcdist   | Success
uploading bindist| Success
uploading srcdist| Success
uploading tarball source | Success
testing bindist  | Failure: Just (ExitFailure 2)

Build failed
Details: http://haskell.inf.elte.hu/builders/solaris-x86-head/32.html




___
ghc-builds mailing list
ghc-bui...@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-builds


___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: strip related failure [

2014-04-18 Thread Herbert Valerio Riedel
On 2014-04-18 at 12:13:14 +0200, Karel Gardas wrote:
 Folks,

 last two/three builds on Solaris builder fails due to a reason that
 someone added (probably) stripping of installed libraries. My bet is
 on 8992d5269804b727fb77249511e89df678526907 -- hence ccing you
 Herbert, but I'm not sure...

 The problem is that invoked strip command line is incompatible with
 Solaris' strip which then fails with:

 strip: --strip-unneeded: cannot open file: No such file or directory

 the problem is usage of --strip-unneeded command-line argument? It
 looks like this argument is supported by just GNU strip. Do we really
 need to use it? If not, removing this may solve the issue. If yes,
 then I'll need to come with some workaround for Solaris...

This sounds as if you'd want to file an issue and/or pull-request ASAP
for Cabal 1.20 before it gets released; see also

 https://github.com/haskell/cabal/pull/1691

 https://github.com/haskell/cabal/issues/1630

which were similiar issues for other platforms not supporting
'--strip-unneeded'

Cheers,
  hvr
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: strip related failure [

2014-04-18 Thread Johan Tibell
On Fri, Apr 18, 2014 at 12:20 PM, Herbert Valerio Riedel hvrie...@gmail.com
 wrote:

 This sounds as if you'd want to file an issue and/or pull-request ASAP
 for Cabal 1.20 before it gets released;


Just fixed this on the 1.20 branch:
https://github.com/haskell/cabal/commit/8af39a5f827dcf5b5ca68badc2955e4cccbb039d

-- Johan
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: strip related failure [was: Re: solaris-x86-head (Solaris/x86 HEAD (Karel Gardas)), build 32, Failure]

2014-04-18 Thread Johan Tibell
Fixed on the Cabal 1.20 branch:
https://github.com/haskell/cabal/commit/8af39a5f827dcf5b5ca68badc2955e4cccbb039d

I suggest we update the submodule to use that.
___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: strip related failure [

2014-04-18 Thread Karel Gardas


Fantastic! This was less then minute for a fix after issue was created!

Thanks a lot!
Karel

On 04/18/14 12:26 PM, Johan Tibell wrote:

On Fri, Apr 18, 2014 at 12:20 PM, Herbert Valerio Riedel
hvrie...@gmail.com mailto:hvrie...@gmail.com wrote:

This sounds as if you'd want to file an issue and/or pull-request ASAP
for Cabal 1.20 before it gets released;


Just fixed this on the 1.20 branch:
https://github.com/haskell/cabal/commit/8af39a5f827dcf5b5ca68badc2955e4cccbb039d

-- Johan




___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs