Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 15520 - svgalib-1.4.3-r4.ebuild wants root rights in compilation phase (portage-2.0.47)
Summary: svgalib-1.4.3-r4.ebuild wants root rights in compilation phase (portage-2.0.47)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 15521 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-11 16:27 UTC by Michal Maruska
Modified: 2003-02-21 04:58 UTC (History)
1 user (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 Michal Maruska 2003-02-11 16:27:45 UTC
in function src_compile  the line: 
make OPTIMIZE="${CFLAGS}" LDFLAGS='-L ../sharedlib' demoprogs || die

causes command:    chown root plane   (and probably others too). but AFAIK, portage 2.0.47 runs  src_compile as user  portage.  Therefore the ebuild fails. Removing that line (which probably builds only demo programs) the emerge  passes  ok.

Reproducible: Always
Steps to Reproduce:
1. emerge   portage-2.0.47
2. install the portage  group & user
3.  emerge svgalib-1.4.3-r4
Comment 1 Michal Maruska 2003-02-11 16:30:59 UTC
svgalib-1.9.17-r1  ebuild  doesn't have this problem.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-02-11 16:39:42 UTC
*** Bug 15521 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2003-02-11 17:03:16 UTC
i dont see this so much as being a svgalib bug as a portage bug ... i know of a bunch of packages that run chown and check who the compile is running as
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-02-21 04:58:06 UTC
Nothing I can do about it. Selectable root/userpriv will come in later though.