after latest emerge sync emerge -up apache failes with this error: /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: `}' !!! ERROR: net-www/apache-2.0.49-r2 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-www/apache-2.0.49-r2 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) Calculating dependencies !!! all ebuilds that could satisfy "apache" have been masked. !!! possible candidates are: /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: `}' !!! ERROR: net-www/apache-2.0.49-r2 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-www/apache-2.0.49-r2 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) - net-www/apache-1.3.29-r2 (masked by: ~keyword) - net-www/apache-1.3.31 (masked by: ) - net-www/apache-2.0.49-r1 (masked by: ) - net-www/apache-2.0.48-r4 (masked by: ~keyword) - net-www/apache-1.3.29-r1 (masked by: ) - net-www/apache-2.0.49 (masked by: ) !!! Error calculating dependencies. Please correct. after i do: rm /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild everything works but if i sync and get the ebuild again it will fail again Reproducible: Always Steps to Reproduce: 1. emerge sync 2. emerge apache Actual Results: /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: `}' !!! ERROR: net-www/apache-2.0.49-r2 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-www/apache-2.0.49-r2 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) Calculating dependencies !!! all ebuilds that could satisfy "apache" have been masked. !!! possible candidates are: /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/net-www/apache/apache-2.0.49-r2.ebuild: line 198: `}' !!! ERROR: net-www/apache-2.0.49-r2 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-www/apache-2.0.49-r2 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) - net-www/apache-1.3.29-r2 (masked by: ~keyword) - net-www/apache-1.3.31 (masked by: ) - net-www/apache-2.0.49-r1 (masked by: ) - net-www/apache-2.0.48-r4 (masked by: ~keyword) - net-www/apache-1.3.29-r1 (masked by: ) - net-www/apache-2.0.49 (masked by: ) !!! Error calculating dependencies. Please correct. Expected Results: apache should install
fix this by fixing the 'if' block that begins on line 122 (basically add a 'fi' after line 126)
Created attachment 32011 [details] a 'patched' file (1 line changed, but i thought i'd upload it anyway)
This is already fixed in cvs.