Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546642 - app-shells/posh: build fails w/gcc-5
Summary: app-shells/posh: build fails w/gcc-5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
: 574616 (view as bug list)
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-04-14 23:06 UTC by SpanKY
Modified: 2016-02-14 08:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).