Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 96218

Summary: freeipmi ebuild freeipmi-0.1.3 install doc error
Product: Gentoo Linux Reporter: catfish <catfish>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description catfish 2005-06-15 14:55:52 UTC
freeipmi ebuild specifies -j1 at line 35 for building and installing the
documentation.  I have -j5 in my make.conf.  It looks like this may be the wrong
way to specify the number of jobs to the build server.

What happens is that make still uses the jobserver and as such, on my system
atleast, tries to install Makefile.example to work directory before the
subdirectory is created. 

Reproducible: Always
Steps to Reproduce:
1.emerge freeipmi
2.
3.

Actual Results:  
Function src_install, Line 35, Exitcode 2

Specifically:
/bin/sh ../../mkinstalldirs
/var/tmp/portage/freeipmi-0.1.3/image//usr/share/doc/freeipmi-0.1.3/examples
/bin/install -c -m 644 ./Makefile.example
/var/tmp/portage/freeipmi-0.1.3/image//usr/share/doc/freeipmi-0.1.3/examples/Makefile
/bin/install: cannot create regular file
`/var/tmp/portage/freeipmi-0.1.3/image//usr/share/doc/freeipmi-0.1.3/examples/Makefile':
No such file or directory
make[3]: *** [install-data-local] Error 1
make[3]: *** Waiting for unfinished jobs....
mkdir -p --
/var/tmp/portage/freeipmi-0.1.3/image//usr/share/doc/freeipmi-0.1.3/examples


Expected Results:  
The ebuild maintainer intended to use make sans jobserver

Example:

emake -j1 DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install || die "emake
install failed"

I used:

MAKEOPTS="-j1" emerge freeipmi

to overcome the error.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-15 23:50:05 UTC
Should be already fixed, thanks.

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