net-firewall/shorewall-4.6.5.2 fails to install, because it incorrectly tries to detect some things. The problem can be reproduced e.g. with empty /etc/os-release file. * Installing shorewall-init-4.6.5.2 ... ERROR: Unknown BUILD environment * ERROR: net-firewall/shorewall-4.6.5.2::gentoo failed (install phase): * Shorewall-init/install.sh failed * * Call stack: * ebuild.sh, line 93: Called src_install * environment, line 2836: Called die * The specific snippet of code: * DESTDIR="${D%/}" ${MY_PN_INIT}/install.sh shorewallrc.gentoo || die "${MY_PN_INIT}/install.sh failed";
Created attachment 390292 [details] shorewall-4.6.5.2:20141126-023048.log
Created attachment 390294 [details, diff] shorewall.patch
Created attachment 390320 [details, diff] Patch to address the reported issue in the portage tree @ Arfrever Frehtes Taifersar Arahesis: Thanks for the report! @ Proxy-Maint: Please apply my attached patch against the portage tree to fix the problem. The patch will solve the problem down to v4.5.21.9 and also clean up some orphan files from the removed v4.5.21.10.
Created attachment 390346 [details, diff] Patch to address the reported issue in the portage tree I updated the patch and removed the dependency on OpenRC-0.13 which was introduced with shorewall-4.6. This will help Funtoo & Co.
+*shorewall-4.6.5.3 (04 Jan 2015) + + 04 Jan 2015; Justin Lecher <jlec@gentoo.org> -shorewall-4.6.5.2.ebuild, + +shorewall-4.6.5.3.ebuild, files/4.6/shorewall.initd, + files/4.6/shorewall.systemd, files/4.6/shorewall-init.initd, + files/4.6/shorewall-init.systemd, files/4.6/shorewall-lite.initd, + files/4.6/shorewall-lite.systemd, files/4.6/shorewall6-lite.initd, + files/4.6/shorewall6-lite.systemd, files/4.6/shorewall6.initd, + files/4.6/shorewall6.systemd, files/4.6/shorewallrc, + -files/4.6/shorewallrc-r1, metadata.xml: + Version Bump, #534232, Thanks Thomas D. for the patch; fixes bugs, #530704, + #534062 +