>>> net-firewall/shorewall-1.4.10f merged. net-firewall/shorewall selected: 1.4.10b protected: 1.4.10f omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging net-firewall/shorewall-1.4.10b... No package files given... Grabbing a set. /usr/sbin/ebuild.sh: /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild: line 39: unexpected EOF while looking for matching `"' /usr/sbin/ebuild.sh: /var/db/pkg/net-firewall/shorewall-1.4.10b/shorewall-1.4.10b.ebuild: line 41: syntax error: unexpected end of file !!! ERROR: net-firewall/shorewall-1.4.10b failed. !!! Function , Line 1297, Exitcode 1 !!! error sourcing ebuild !!! FAILED prerm: 1 Reproducible: Always Steps to Reproduce: 1. 2. 3.
You should remove line with: #RESTRICT=... I think it's emerge bug
Can you post me the ebuild from /var/db/pkg please?
see bug #56365, #48545
Thanks, that solved it. There was an error in the DEPEND variable assignement. There was another caracter instead of the closing " in the ebuild located at: /var/db/pkg/net-firewall/shorewall-1.4.10b