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

Bug 115331

Summary: emerge unmerge dev-db/mysql-3.23.58 FAILS
Product: Gentoo Linux Reporter: Chris Landegent <chris>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Chris Landegent 2005-12-12 11:15:33 UTC
When trying to update mysql from 3.23.58 the unmerge portion at the end to
remove the old files fails and the new mysql wil not start up. Details pasted below.

Reproducible: Always
Steps to Reproduce:
1. emerge unmerge "<=mysql-4"
2.
3.

Actual Results:  
>>> Unmerging dev-db/mysql-3.23.58...
No package files given... Grabbing a set.

QA Notice: ECLASS 'flag-o-matic' inherited illegally in dev-db/mysql-3.23.58


QA Notice: ECLASS 'eutils' inherited illegally in dev-db/mysql-3.23.58


QA Notice: ECLASS 'multilib' inherited illegally in dev-db/mysql-3.23.58


QA Notice: ECLASS 'portability' inherited illegally in dev-db/mysql-3.23.58


QA Notice: ECLASS 'toolchain-funcs' inherited illegally in dev-db/mysql-3.23.58

/usr/lib/portage/bin/ebuild.sh:
/var/db/pkg/dev-db/mysql-3.23.58/mysql-3.23.58.ebuild: line 29: syntax error
near unexpected token `('
/usr/lib/portage/bin/ebuild.sh:
/var/db/pkg/dev-db/mysql-3.23.58/mysql-3.23.58.ebuild: line 29: `PDEPEND="perl?
( dev-perl/DBI dev-perl/DBD-mysql )"'

!!! ERROR: dev-db/mysql-3.23.58 failed.
!!! Function , Line 1686, Exitcode 1
!!! error sourcing ebuild
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1

Expected Results:  
Older version should "unmerge".
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-12 11:21:09 UTC
(In reply to comment #0)
> /var/db/pkg/dev-db/mysql-3.23.58/mysql-3.23.58.ebuild: line 29: syntax error
> near unexpected token `('
> /usr/lib/portage/bin/ebuild.sh:
> /var/db/pkg/dev-db/mysql-3.23.58/mysql-3.23.58.ebuild: line 29: `PDEPEND="perl?
> ( dev-perl/DBI dev-perl/DBD-mysql )"'

Well, fix the above problems by editing
/var/db/pkg/dev-db/mysql-3.23.58/mysql-3.23.58.ebuild, there's nothing we could
do about a corrupted file on your local box.
Comment 2 Chris Landegent 2005-12-12 12:04:55 UTC
Duh! Don't ask why I overlooked that this time... There was a funky control
character where a quote should have been. Thank you.