Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82496

Summary: gcc-config-1.3.10-r1.ebuild syntax error
Product: Gentoo Linux Reporter: Marek Wiecek <marek.wiecek>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Marek Wiecek 2005-02-18 13:24:50 UTC
it seems that there is some kind of a syntax error in gcc-config-1.3.10-r1.ebuild

Reproducible: Always
Steps to Reproduce:
1.emerge sync
2.emerge -upvD world
3.

Actual Results:  
These are the packages that I would merge, in order:

Calculating world dependencies                         
e/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25:
conditional binary operator expected
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: syntax
error near `=~'/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: `      
[[ ${USE} =~ "foo" ]] && einfo "\"foo\" in USE" || einfo "\"foo\" not in USE"'

!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-devel/gcc-config-1.3.10-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
          e/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25:
conditional binary operator expected
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: syntax
error near `=~'/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: `      
[[ ${USE} =~ "foo" ]] && einfo "\"foo\" in USE" || einfo "\"foo\" not in USE"'

!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-devel/gcc-config-1.3.10-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
 r/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25:
conditional binary operator expected
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: syntax
error near `=~'/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: `      
[[ ${USE} =~ "foo" ]] && einfo "\"foo\" in USE" || einfo "\"foo\" not in USE"'

!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-devel/gcc-config-1.3.10-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
     e/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25:
conditional binary operator expected
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: syntax
error near `=~'/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: `      
[[ ${USE} =~ "foo" ]] && einfo "\"foo\" in USE" || einfo "\"foo\" not in USE"'

!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.


aux_get(): (0) Error in sys-devel/gcc-config-1.3.10-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)
                                                                               
                   ...done!

Total size of downloads: 0 kB


Expected Results:  
display resulting packages to update

# emerge -upvD --debug world 2>&1 | grep -B 15 -m 1 -e "ERROR:
sys-devel/gcc-config-1.3.10-r1 failed"

gives:

binpkg: None
ebuild: sys-devel/m4-1.4.1
binpkg: None

Parent:    ebuild / sys-devel/m4-1.4.1 nomerge
Depstring: virtual/libc nls? ( sys-devel/gettext ) virtual/libc
Candidates: ['sys-libs/glibc', 'sys-devel/gettext']
ebuild: sys-libs/glibc-2.3.4.20040808-r1
binpkg: None
ebuild: sys-devel/gettext-0.12.1-r2
binpkg: None
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25:
conditional binary operator expected/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: syntax
error near `=~'
/usr/lib/portage/bin/ebuild.sh:
/usr/portage/sys-devel/gcc-config/gcc-config-1.3.10-r1.ebuild: line 25: `      
[[ ${USE} =~ "foo" ]] && einfo "\"foo\" in USE" || einfo "\"foo\" not in USE"'

!!! ERROR: sys-devel/gcc-config-1.3.10-r1 failed.
Comment 1 Marek Wiecek 2005-02-18 13:32:46 UTC

*** This bug has been marked as a duplicate of 82494 ***