net-misc/batctl-2011.3.0 fails to build as already explained in #381665. The same happens when changing the version to 2011.4.0, but it doesn't happen with 2011.2.0 and bellow. Reproducible: Always Steps to Reproduce: 1. emerge =net-misc/batctl-2011.3.0: Actual Results: >>> Install batctl-2011.3.0 into /var/tmp/portage/net-misc/batctl-2011.3.0/image/ category net-misc make INSTALL_PREFIX=/var/tmp/portage/net-misc/batctl-2011.3.0/image/ install mkdir -p /usr/local/sbin mkdir -p /usr/local/share/man/man8 ACCESS DENIED mkdir: /usr/local/share mkdir: cannot create directory `/usr/local/share': Permission denied make: *** [install] Error 1 * ERROR: net-misc/batctl-2011.3.0 failed (install phase): * emake failed * * If you need support, post the output of 'emerge --info =net-misc/batctl-2011.3.0', * the complete build log and the output of 'emerge -pqv =net-misc/batctl-2011.3.0'. * The complete build log is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/batctl-2011.3.0/temp/environment'. * S: '/var/tmp/portage/net-misc/batctl-2011.3.0/work/batctl-2011.3.0' Expected Results: That is just installs I fixed it by changing following things in batctl-2011.3.0.ebuild - emake CC="$(tc-getCC)" V=1 + emake CC="$(tc-getCC)" V=1 REVISION=gentoo-"${PVR}" - emake INSTALL_PREFIX="${D}" install + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" MANDIR="${EPREFIX}/usr/share/man" install - doman man/*
Created attachment 292635 [details] batctl-2011.3.0.ebuild
Created attachment 292637 [details] batctl-2011.4.0.ebuild
Comment on attachment 292637 [details] batctl-2011.4.0.ebuild What are these ebuilds for?
They show how the fix should look like after applying the proposed changes and help the person which wants to fix the problem.
no luck with these packages, i look into it right now
+ 15 Nov 2011; Michael Weber <xmw@gentoo.org> batctl-2011.3.0.ebuild: + Fix installation (Makefile changes), EAPI-4 (thanks Franz Schrober, bug + 390619) +