Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368665 - www-plugins/nspluginwrapper-1.4.0-r1: failed install phase
Summary: www-plugins/nspluginwrapper-1.4.0-r1: failed install phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 09:17 UTC by Garri
Modified: 2011-06-03 04:11 UTC (History)
4 users (show)

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


Attachments
emerge --info (emerge-info.log,4.52 KB, text/plain)
2011-05-25 09:18 UTC, Garri
Details
Complete build.log (build.log,43.85 KB, text/x-log)
2011-05-25 09:21 UTC, Garri
Details
updated parallel make patch (nspluginwrapper-1.4.0-parallel-make.patch,2.41 KB, patch)
2011-05-25 14:44 UTC, Shannon
Details | Diff
ebuild patch to use emake -j1 during install phase (nspluginwrapper-1.4.0-r1.ebuild-fix-parallel-make.patch,464 bytes, patch)
2011-05-26 13:23 UTC, Ian Abbott
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Garri 2011-05-25 09:17:06 UTC
During install phase of nspluginwrapper-1.4.0-r1 error occurs:

ERROR: www-plugins/nspluginwrapper-1.4.0-r1 failed (install phase):
 *   emake install failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_install
 *   environment, line 2547:  Called die
 * The specific snippet of code:
 *       emake DESTDIR="${D}" install || die "emake install failed";

Reproducible: Always

Steps to Reproduce:
emerge =www-plugins/nspluginwrapper-1.4.0-r1

Actual Results:  
installation interrupts with error

Expected Results:  
successful install
Comment 1 Garri 2011-05-25 09:18:24 UTC
Created attachment 274581 [details]
emerge --info
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-05-25 09:19:24 UTC
please attach full build.log
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2011-05-25 09:19:29 UTC
please attach full build.log
Comment 4 Garri 2011-05-25 09:21:05 UTC
Created attachment 274583 [details]
Complete build.log
Comment 5 Garri 2011-05-25 09:54:53 UTC
Sorry, problem resolved by MAKEOPTS="-j1". Thanks.
Comment 6 Garri 2011-05-25 10:39:56 UTC
Analyze of other bugs suggests what we have to consider this report as bug. Therefore status changed again.
Comment 7 Zeev Tarantov 2011-05-25 11:30:49 UTC
Same problem for me, resolved by MAKEOPTS="-j1"
Comment 8 Neil 2011-05-25 13:38:21 UTC
I too am having problems updating identical to those in the above attached build.log.

Within the build directory the only place npviewer.bin exists is under work...

# cd /var/tmp/portage/www-plugins/nspluginwrapper-1.4.0-r1/
# find -name npviewer.bin
./work/nspluginwrapper-1.4.0/npviewer.bin
Comment 9 Garri 2011-05-25 14:01:34 UTC
It seems like script is trying to install npviewer.bin to folder '/var/tmp/portage/www-plugins/nspluginwrapper-1.4.0-r1/image/usr/lib64/nspluginwrapper/i386/linux/' before folder creation.
Comment 10 Shannon 2011-05-25 14:44:02 UTC
Created attachment 274609 [details, diff]
updated parallel make patch

At least for me it now works with MAKEOPTS="-j3". It may be possible that someone with more jobs could still have problems.
Comment 11 Garri 2011-05-25 16:35:04 UTC
Works for me with MAKEOPTS="-j5".
Comment 12 Henrique Dias 2011-05-25 19:07:58 UTC
Very strange, works for me with MAKEOPTS="-j1", but not work with my pervious option MAKEOPTS="-j3".
Comment 13 Shannon 2011-05-25 19:39:32 UTC
(In reply to comment #12)
> Very strange, works for me with MAKEOPTS="-j1", but not work with my pervious
> option MAKEOPTS="-j3".

Is that with the updated patch that I attached in comment 10 or with what is originally in portage?
Comment 14 Ian Abbott 2011-05-26 13:23:47 UTC
Created attachment 274701 [details, diff]
ebuild patch to use emake -j1 during install phase

This ebuild patch works around the problem in the same way as earlier versions, without modifying the Makefile.

It adds -j1 to the emake command in src_install().
Comment 15 Patrick McLean gentoo-dev 2011-05-26 15:22:03 UTC
I have updated the patch to the one provided by Shannon in comment #10. Thanks.

Let me know if it is still breaking on some systems, I have tested it with -j2, -j3 and -j12 (the default on my system).
Comment 16 Garri 2011-05-27 01:24:51 UTC
Had the upstream developer been notified?
Comment 17 Garri 2011-06-03 04:11:44 UTC
Problem is fixed in upstream project.

https://github.com/davidben/nspluginwrapper/issues/30