Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433708 - net-analyzer/zabbix-2.0.2-r1: Makefiles are erroneously installed in /usr/share/zabbix
Summary: net-analyzer/zabbix-2.0.2-r1: Makefiles are erroneously installed in /usr/sha...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Matthew Marlowe
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-02 19:27 UTC by Dean Matzkov
Modified: 2013-10-05 03:13 UTC (History)
1 user (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 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 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)