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

Bug 484930

Summary: dev-db/mariadb: incorrect depend in ebuild and incorrect update.
Product: Gentoo Linux Reporter: Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs>
Component: New packagesAssignee: Jorge Manuel B. S. Vicetto <jmbsvicetto>
Status: RESOLVED NEEDINFO    
Severity: normal CC: mysql-bugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreis Vinogradovs ( slepnoga ) 2013-09-14 17:46:52 UTC
mysqld binary depend on libbfd-2.xx.so, but after update binutils this library not preserved, In result, mysql don't restart.
How to reproduce:

install biutils-2.22
install mariadb
update binutils to 2.23 version.
Result:
mail1 ~ # mysqld  --help
mysqld: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such file or directory

Please, either way, not giving surprise errors.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-10-08 03:06:50 UTC
To me this seems an invalid bug.
You should have run revdep-rebuild / emerge -av @preserved-rebuild to fix this issue.
Comment 2 Andreis Vinogradovs ( slepnoga ) 2013-11-18 15:56:53 UTC
(In reply to Jorge Manuel B. S. Vicetto from comment #1)
> To me this seems an invalid bug.
> You should have run revdep-rebuild / emerge -av @preserved-rebuild to fix
> this issue.

jmbsvicetto@.

libbfd-2.xx.so not preserved, not in set @preserved-rebuild.
Please test the update process.
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-11-18 16:02:41 UTC
(In reply to Andreis Vinogradovs ( slepnoga ) from comment #2)
> (In reply to Jorge Manuel B. S. Vicetto from comment #1)
> > To me this seems an invalid bug.
> > You should have run revdep-rebuild / emerge -av @preserved-rebuild to fix
> > this issue.
> 
> jmbsvicetto@.
> 
> libbfd-2.xx.so not preserved, not in set @preserved-rebuild.
> Please test the update process.

So there might be an issue with portage or binutils. This has still nothing to do with mariadb/mysql.

What version of portage where you using when you hit this issue? If portage-2.1*, then it might not had preserve-libs support yet.
Comment 4 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2014-01-19 18:14:00 UTC
Please provide the requested info or we won't be able to make progress on this bug.