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

Bug 433708

Summary: net-analyzer/zabbix-2.0.2-r1: Makefiles are erroneously installed in /usr/share/zabbix
Product: Gentoo Linux Reporter: Dean Matzkov <Bapabooiee>
Component: Current packagesAssignee: Matthew Marlowe (RETIRED) <mattm>
Status: RESOLVED FIXED    
Severity: minor CC: zerochaos
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dean Matzkov 2012-09-02 19:27:19 UTC
$ qlist -e zabbix | grep Makefile
 /usr/share/zabbix/upgrades/Makefile.in
 /usr/share/zabbix/upgrades/Makefile.am
 /usr/share/zabbix/upgrades/Makefile
 /usr/share/zabbix/database/Makefile.in
 /usr/share/zabbix/database/Makefile.am
 /usr/share/zabbix/database/Makefile

USE="agent curl frontend jabber postgres server ssh"

This is probably due to the whole-sale copying of the database/ dir in src_install() when either the `server' or `proxy' USE flags are enabled.

Haven't tested if this happens with zabbix-1.8.15.
Comment 1 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-04 19:38:17 UTC
+		#remove unneeded files left over from wholesale copy (bug #433708)
+		rm "${ED}"/usr/share/zabbix/{database,upgrades}/Makefile{,.in,.am}


I'm sitting on the commit for this, do you mind if I fix it? (tested all versions and everything)
Comment 2 Matthew Marlowe (RETIRED) gentoo-dev 2013-10-04 22:02:03 UTC
Looks good, go ahead.
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2013-10-05 03:13:53 UTC
+  05 Oct 2013; Rick Farina <zerochaos@gentoo.org> zabbix-2.0.8.ebuild,
+  zabbix-2.0.9_rc1-r2.ebuild, zabbix-2.0.9_rc1-r3.ebuild:
+  trivial fix for bug #433708 to remove unneeded Makefiles


And a bonus

+  05 Oct 2013; Rick Farina <zerochaos@gentoo.org> zabbix-2.0.8.ebuild,
+  zabbix-2.0.9_rc1-r2.ebuild, zabbix-2.0.9_rc1-r3.ebuild:
+  silence QA warning by removing epause and ebeep (not defined in EAPI5)