Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267801 - net-analyzer/munin fails to properly install with parallel make set
Summary: net-analyzer/munin fails to properly install with parallel make set
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL: http://munin.projects.linpro.no/ticke...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 19:40 UTC by Neil Katin
Modified: 2009-08-26 23:27 UTC (History)
2 users (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 Neil Katin 2009-04-28 19:40:56 UTC
This is really an upstream bug (submitted as http://munin.projects.linpro.no/ticket/682), but it would be nice if a workaround was put into gentoo.

Parallel installation of munin doesn't always work.

On my host the problem shows up by munin-node-configure-snmp not being installed.  But since it is a race condition problems may vary on other hosts.

I worked around the problem by forcing -j1 in install line of the makefile:

--- munin-1.3.4-r1.ebuild.orig  2009-04-05 01:08:24.000000000 -0700
+++ munin-1.3.4-r1.ebuild       2009-04-28 12:37:25.000000000 -0700
@@ -89,7 +89,7 @@
        dirs="${dirs} /etc/munin/plugins/"
        keepdir ${dirs}

-       emake DESTDIR="${D}" install-main install-man install-node install-node-plugins || die "install failed"
+       emake DESTDIR="${D}" -j1 install-main install-man install-node install-node-plugins || die "install failed"
        fowners munin:munin ${dirs}

        emake DESTDIR="${D}" install-man || die "install manpages failed"
Comment 1 Hans de Graaff gentoo-dev Security 2009-08-10 20:43:41 UTC
Could you post the actual failing output please? Install seems to work fine for me on -j16 so it would be helpful to see the exact failure output.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-08-26 23:27:10 UTC
Fixed in 1.3.4-r2, logs would have helped lots.