Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 738762 - dev-db/mysql-connector-c-8.0.21-r2[abi_x86_32]: fails to merge because it has not required lz4 with USE=abi_x86_32
Summary: dev-db/mysql-connector-c-8.0.21-r2[abi_x86_32]: fails to merge because it has...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-24 00:57 UTC by Jordi PM
Modified: 2020-08-24 01:26 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 Jordi PM 2020-08-24 00:57:25 UTC
Updating world I encountered that I was unable to update mysql-connector-c-8.0.21-r2 with the following error:

/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: error: /usr/lib64/liblz4.so: incompatible target
utilities/CMakeFiles/lz4_decompress.dir/lz4_decompress.cc.o:lz4_decompress.cc:function main: error: undefined reference to 'LZ4F_createDecompressionContext'
utilities/CMakeFiles/lz4_decompress.dir/lz4_decompress.cc.o:lz4_decompress.cc:function main: error: undefined reference to 'LZ4F_decompress'
utilities/CMakeFiles/lz4_decompress.dir/lz4_decompress.cc.o:lz4_decompress.cc:function main: error: undefined reference to 'LZ4F_isError'
utilities/CMakeFiles/lz4_decompress.dir/lz4_decompress.cc.o:lz4_decompress.cc:function main: error: undefined reference to 'LZ4F_freeDecompressionContext'
collect2: error: ld returned 1 exit status

I reemerged app-arch/lz4 to no avail, but then I found out that mysql-connector-c had USE=abi_x86_32 enabled and app-arch/lz4 did not have it, so after setting USE=abi_x86_32 for app-arch/lz4 I was able to reemerge it no problem.

I open this bug as a 32bit mysql-connector-c SHOULD REQUIRE 32bit lz4. Regards,

PD. My arch was AMD64
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-24 01:00:54 UTC
Please include the *full* build.log and emerge --info.
Comment 2 Larry the Git Cow gentoo-dev 2020-08-24 01:26:51 UTC
The bug has been closed via the following commit(s):

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

commit af2d6f22b35aaa8c2e19c590191cd043752c8380
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2020-08-24 01:25:48 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2020-08-24 01:26:46 +0000

    dev-db/mysql-connector-c: fix multilib deps
    
    Closes: https://bugs.gentoo.org/738762
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 dev-db/mysql-connector-c/mysql-connector-c-8.0.21-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)