Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47158 - nagios-core-1.2 ebuild will not emerge on another system after being created as a tbz2 package
Summary: nagios-core-1.2 ebuild will not emerge on another system after being created ...
Status: RESOLVED DUPLICATE of bug 47010
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-07 16:24 UTC by Darren Spruell
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Darren Spruell 2004-04-07 16:24:19 UTC
Trying to install on one the package created by running "ACCEPT_KEYWORDS='~x86' emerge nagios-core -b" on another server fails when using PORTAGE_BINHOST and "emerge -gk" from the target server. 

Reproducible: Always
Steps to Reproduce:
1. emerge nagios-core-1.2 using -b on one host.
2. Publish out the packages via HTTP so that the host can function as a server for PORTAGE_BINHOST
3. Set PORTAGE_BINHOST on another server and use "emerge -gkvp" from that host to emerge the package from the remote build server.
4. Watch as it errors out.

Actual Results:  
The following errors occur:

HTTP request sent, awaiting response... 200 OK
Length: 1,809,199 [text/plain]

100%[===================================================================================================================>]
1,809,199      1.37M/s             

16:40:32 (1.37 MB/s) - `/usr/portage/packages/All/nagios-core-1.2.tbz2' saved
[1809199/1809199]

>>> extracting info
>>> extracting nagios-core-1.2
>>> Merging net-analyzer/nagios-core-1.2 to /
 * Sample config files installed by default will always
 * include cgi.cfg
 * The sample configs can be found in /usr/share/doc/nagios-core-1.2/sample-configs/
chown: `nagios:nagios': invalid user

!!! ERROR: nagios-core-1.2/nagios-core-1.2 failed.
!!! Function pkg_preinst, Line 147, Exitcode 1
!!! Failed Chown of /var/tmp/portage/nagios-core-1.2/image//etc/nagios

!!! FAILED preinst: 1


The failure of portage to create the user and group needed by this package has
already been addressed (and still pending, currently) in Bug #25152.  The error
that looks like the prefix being appended to another path is new to me.

Expected Results:  
nagios-core-1.2 should have emerged cleanly as a package ebuild, the same way
that it emerged as a source ebuild on the original server.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 03:57:28 UTC

*** This bug has been marked as a duplicate of 25152 ***
Comment 2 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 10:26:57 UTC
This bug is not dup of 25152.
Comment 3 Masatomo Nakano (RETIRED) gentoo-dev 2004-04-09 10:27:20 UTC

*** This bug has been marked as a duplicate of 47010 ***