Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 372665 - Emerging dev-lang/io-2009.01.02-r1 with FEATURES=userpriv tries to execute 'sudo make install'
Summary: Emerging dev-lang/io-2009.01.02-r1 with FEATURES=userpriv tries to execute 's...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luis Araujo (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-23 08:11 UTC by Andy Dalton
Modified: 2012-04-29 16:57 UTC (History)
3 users (show)

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


Attachments
The build log when the password prompt was displayed (build.log,37.54 KB, text/plain)
2011-06-23 08:12 UTC, Andy Dalton
Details
The 'make.conf' from the machine on which I tried to install and received the password prompt (make.conf,20.55 KB, text/plain)
2011-06-23 08:13 UTC, Andy Dalton
Details
Result of running 'emerge --info io' (emerge.info,13.01 KB, text/plain)
2011-06-23 15:40 UTC, Andy Dalton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Dalton 2011-06-23 08:11:13 UTC
If I do not currently have dev-lang/io-2009.01.02-r1 installed, and as a non-priv user I execute 'sudo emerge io' with FEATURES=userpriv, the build process tries to execute 'sudo make install'

variant.c: In function ‘main’:
variant.c:63: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long unsigned int’
make[2]: Leaving directory `/var/tmp/portage/dev-lang/io-2009.01.02-r1/work/io-2009.01.02/addons/SGML/source/libsgml-1.1.4/examples'
make[1]: Leaving directory `/var/tmp/portage/dev-lang/io-2009.01.02-r1/work/io-2009.01.02/addons/SGML/source/libsgml-1.1.4'
sudo make install
ERROR: ld.so: object 'libsandbox.so' from LD_PRELOAD cannot be preloaded: ignored.

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: 

I should note that after removing the 'userpriv' FEATURE, I was able to emerge the package.  Then, when I removed the package, added 'userpriv' back, and re-emerge it, it re-emerged w/o a password -- I don't know why.  I had to move to a machine on which I had never installed the package to reproduce the problem.

Reproducible: Sometimes

Steps to Reproduce:
1. $ sudo emerge io

Actual Results:  
During the emerge process, it prompts for a password to execute 'sudo make install'

Expected Results:  
The emerge process should complete w/o a password prompt.
Comment 1 Andy Dalton 2011-06-23 08:12:09 UTC
Created attachment 277859 [details]
The build log when the password prompt was displayed
Comment 2 Andy Dalton 2011-06-23 08:13:55 UTC
Created attachment 277861 [details]
The 'make.conf' from the machine on which I tried to install and received the password prompt
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-06-23 08:22:31 UTC
hi andy, 

please attach 


emerge --info io
Comment 4 Andy Dalton 2011-06-23 15:40:10 UTC
Created attachment 277883 [details]
Result of running 'emerge --info io'
Comment 5 Dennis Schridde 2012-03-25 15:01:03 UTC
Until this is fixed the ebuild should probably set PROPERTIES="interactive" (see ebuild(5) for details) and this bug should block bug #151113.
Comment 6 Luis Araujo (RETIRED) gentoo-dev 2012-04-29 16:57:16 UTC
Fixed with latest io-2011.09.12 version.