Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 546642

Summary: app-shells/posh: build fails w/gcc-5
Product: Gentoo Linux Reporter: SpanKY <vapier>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: RESOLVED FIXED    
Severity: normal CC: martin, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: http://bugs.debian.org/778069
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    

Description SpanKY gentoo-dev 2015-04-14 23:06:40 UTC
trying to build posh w/gcc-5 fails like so:

>>> Compiling source in /var/tmp/portage/app-shells/posh-0.12/work/posh-0.12 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/app-shells/posh-0.12/work/posh-0.12_build"
make -j5 -O 
/var/tmp/portage/app-shells/posh-0.12/work/posh-0.12/siglist.sh "x86_64-pc-linux-gnu-gcc -E -DCPPFLAGS_TEST -DHAVE_CONFIG_H -I. -I/var/tmp/portage/app-shells/posh-0.12/work/posh-0.12" < /var/tmp/portage/app-shells/posh-0.12/work/posh-0.12/siglist.in > tmpsiglist.out
Makefile:988: recipe for target 'siglist.out' failed
make: *** [siglist.out] Error 1
 * ERROR: app-shells/posh-0.12::gentoo failed (compile phase):
 *   emake failed

most likely this is due to changes in the preprocessor output (see bug 546636 as an example).  adding -P to that command line makes things work again.
Comment 1 Martin Väth 2015-05-01 10:37:59 UTC
I can confirm that adding -P to CPPFLAGS makes posh compile again
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-14 08:36:06 UTC
*** Bug 574616 has been marked as a duplicate of this bug. ***
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-02-14 08:57:00 UTC
commit 0fcfd1c1aef0e9cb736d97bbd848dd922c67ce85
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sun Feb 14 09:34:24 2016

    app-shells/posh: Version bump to 0.12.5
    
    Bump to 0.12.5 that has a few bugfixes, gcc5 build fix most notably
    (#546642).