Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161858 - Syntax error in /usr/portage/eclass/mysql.eclass
Summary: Syntax error in /usr/portage/eclass/mysql.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-13 06:18 UTC by Neil Skrypuch
Modified: 2007-01-13 08:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Skrypuch 2007-01-13 06:18:12 UTC
# emerge -v dev-db/mysql
Calculating dependencies... done!

>>> Emerging (1 of 1) dev-db/mysql-5.0.32 to /
/usr/portage/eclass/mysql.eclass: line 869: syntax error near unexpected token `}'
/usr/portage/eclass/mysql.eclass: line 869: `}'

!!! ERROR: dev-db/mysql-5.0.32 failed.
Call stack:
  ebuild.sh, line 1454:   Called source '/usr/portage/dev-db/mysql/mysql-5.0.32.ebuild'
  mysql-5.0.32.ebuild, line 8:   Called inherit 'mysql'
  ebuild.sh, line 1207:   Called die

!!! died sourcing /usr/portage/eclass/mysql.eclass in inherit()
!!! If you need support, post the topmost build error, and the call stack if relevant.

The problem lies here:
mysql_pkg_postrm() {
    # mysql_lib_symlinks "${D}"
}

Empty functions aren't allowed in bash, but the fix is easy...
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2007-01-13 08:07:58 UTC
Already fixed :)

http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.69&r2=1.70