Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525240 - sys-apps/elfix doesn't build with dash as /bin/sh
Summary: sys-apps/elfix doesn't build with dash as /bin/sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
: 527372 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-13 09:20 UTC by PaX Team
Modified: 2014-11-03 13:02 UTC (History)
3 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 PaX Team 2014-10-13 09:20:47 UTC
the configure script of elfix uses the CFLAGS+=... idiom to append things but this apparently doesn't work in dash so compilation fails later when the PF_* symbols don't get defined. i also wonder why there's even a need for defining symbols via CFLAGS when configure already emits HAVE_DECL_* for the checked PF_* symbols.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-13 09:36:31 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 PaX Team 2014-10-13 09:50:40 UTC
Jeroen, don't worry about these details, blueness knows how to reproduce and fix this based on the description i already gave.
Comment 3 Anthony Basile gentoo-dev 2014-10-13 14:27:28 UTC
(In reply to PaX Team from comment #2)
> Jeroen, don't worry about these details, blueness knows how to reproduce and
> fix this based on the description i already gave.

Thanks pipacs.  I look at this.

@jer, PaX Team = upstream grsecurity folks and the know their stuff :)
Comment 4 Anthony Basile gentoo-dev 2014-10-13 22:26:38 UTC
(In reply to Anthony Basile from comment #3)
> (In reply to PaX Team from comment #2)
> > Jeroen, don't worry about these details, blueness knows how to reproduce and
> > fix this based on the description i already gave.
> 
> Thanks pipacs.  I look at this.
> 
> @jer, PaX Team = upstream grsecurity folks and the know their stuff :)

Okay its fixed in master/HEAD at git.overlays.gentoo.org/proj/elfix.git and it'll be out in the next release.

I didn't switch to HAVE_DECL_PT_PAX_FLAGS yet.  I originally wrote it that way because of the scripts/setup.py, but I could probably switch when I refactor that code.
Comment 5 Alexander Tsoy 2014-10-29 18:44:52 UTC
*** Bug 527372 has been marked as a duplicate of this bug. ***
Comment 6 Philipp Riegger 2014-11-03 08:22:21 UTC
If the bug fix is not released yet, should the bug really be closed?
Comment 7 Anthony Basile gentoo-dev 2014-11-03 13:02:10 UTC
(In reply to Philipp Riegger from comment #6)
> If the bug fix is not released yet, should the bug really be closed?

please test elfix-0.9.0 which is now in the tree.