Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52017 - Error in apache-2.0.49-r2.ebuild: line 198
Summary: Error in apache-2.0.49-r2.ebuild: line 198
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 08:50 UTC by Hans Hvelplund Odborg
Modified: 2004-05-25 11:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
a 'patched' file (1 line changed, but i thought i'd upload it anyway) (apache-2.0.49-r2.ebuild,12.34 KB, text/plain)
2004-05-25 09:07 UTC, opello@opello.org
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Hvelplund Odborg 2004-05-25 08:50:09 UTC
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
Comment 1 opello@opello.org 2004-05-25 09:03:14 UTC
fix this by fixing the 'if' block that begins on line 122
(basically add a 'fi' after line 126)
Comment 2 opello@opello.org 2004-05-25 09:07:50 UTC
Created attachment 32011 [details]
a 'patched' file (1 line changed, but i thought i'd upload it anyway)
Comment 3 Chuck Short (RETIRED) gentoo-dev 2004-05-25 11:48:24 UTC
This is already fixed in cvs.