Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750506 - dev-db/myodbc-8.0.22 installs files with broken symlink
Summary: dev-db/myodbc-8.0.22 installs files with broken symlink
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-21 05:52 UTC by Agostino Sarubbo
Modified: 2021-01-21 22:32 UTC (History)
0 users

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


Attachments
build.log (build.log,137.33 KB, text/plain)
2020-10-21 05:52 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-21 05:52:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/myodbc-8.0.22 installs files with broken symlink.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2020-10-21 05:52:09 UTC
Created attachment 667598 [details]
build.log

build log and emerge --info
Comment 2 Jeremy Stent 2020-11-25 02:14:22 UTC
On my computer it installs a whole host of libraries it has no business installing.  It seems to make a local "/usr/lib64/myodbc-8.0/private/" directory that it then copies or symlinks in most of the libraries on the system.  This means it has to rebuild almost anytime I update a different library.
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2021-01-21 22:29:32 UTC
This bug and bug 750500 and bug 750497 are caused by

> -DMYSQLCLIENT_STATIC_LINKING=1

which we need to avoid

> * QA Notice: Unresolved soname dependencies:
> *
> *      /usr/bin/myodbc-installer-8.0: libmysql_strings.so libmysql_sys.so
> *      /usr/lib64/myodbc-8.0/libmyodbc8a.so: libmysql_strings.so libmysql_sys.so
> *      /usr/lib64/myodbc-8.0/libmyodbc8w.so: libmysql_strings.so libmysql_sys.so

I'll remove the private folder but I don't know if this will break myodbc.
Comment 4 Larry the Git Cow gentoo-dev 2021-01-21 22:32:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b12fb32508bb5c981319ca7f3bd5bafae469d747

commit b12fb32508bb5c981319ca7f3bd5bafae469d747
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-01-21 22:24:57 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-01-21 22:32:14 +0000

    dev-db/myodbc: don't install bundled files
    
    Closes: https://bugs.gentoo.org/750506
    Closes: https://bugs.gentoo.org/750500
    Closes: https://bugs.gentoo.org/750497
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/myodbc/myodbc-8.0.23.ebuild | 3 +++
 1 file changed, 3 insertions(+)