Summary: | dev-db/mariadb-10.4.12 : my_addr_resolve.c:(.text+<snip>): undefined reference to bfd_get_section_flags | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, djdunn.safety, drmccoy, dschridde+gentoobugs, email200202, hydrapolic, ilmostro7, mark+gentoobugs, mike, reuben-gentoo-bugzilla, soprwa, weiping_xu, xaviermiller |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://jira.mariadb.org/browse/MDEV-21646 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 707898 | ||
Attachments: |
emerge-info.txt
dev-db:mariadb-10.4.12:20200202-005923.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 temp.tbz2 mariadb-10.4.12-binutils-2.34.patch binutils-2.34.patch |
Description
Toralf Förster
2020-02-02 04:13:54 UTC
Created attachment 610818 [details]
emerge-info.txt
Created attachment 610820 [details]
dev-db:mariadb-10.4.12:20200202-005923.log
Created attachment 610822 [details]
emerge-history.txt
Created attachment 610824 [details]
environment
Created attachment 610826 [details]
etc.portage.tbz2
Created attachment 610828 [details]
logs.tbz2
Created attachment 610830 [details]
temp.tbz2
I see the same thing. I'm ~amd64. mariadb-10.4.12 is already previously installed successfully a couple of days ago. This failure is happening on rebuild caused by binutils-libs-2.34 upgrade. Also see #707830 Hi Toralf:
Your last line of emerge-history.txt shows that
> 2020-02-02T01:56:38 >>> sys-libs/binutils-libs-2.34
At my testing, binutils-libs-2.34 breaks something about bfd.h, making mariadb build failed. And it also fail my cairo build.
Masking binutils-libs-2.34 resolves my problem, hoping it may also help you.
I can confirm that masking binutils-libs-2.34 let my system to do all the updates as for now with mariadb 10.4.12 included. Przemek. binutils-2.34 will need some porting for downstream users: https://bugs.gentoo.org/707898 Created attachment 611014 [details, diff]
mariadb-10.4.12-binutils-2.34.patch
mariadb-10.4.12-binutils-2.34.patch should allow building mariadb with binutils-libs-2.34. Note: that patch breaks compatibility with older binutils. You might want to use either conditional patching or add extra checks against missing macros. *** Bug 707914 has been marked as a duplicate of this bug. *** *** Bug 707962 has been marked as a duplicate of this bug. *** Created attachment 611192 [details, diff]
binutils-2.34.patch
Proposed patch inspired by slyfox's previous patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2431f4d5ba383997c1fdfd92ad33a923d00f9f3 commit d2431f4d5ba383997c1fdfd92ad33a923d00f9f3 Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2020-02-03 18:08:03 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2020-02-03 18:22:17 +0000 dev-db/mariadb: Fix building with binutil-libs-2.34 binutil-libs changed its API and a patch is added to accomodate both macro sets Also unify the patch downloads Closes: https://bugs.gentoo.org/707852 Signed-off-by: Brian Evans <grknight@gentoo.org> dev-db/mariadb/Manifest | 1 + dev-db/mariadb/mariadb-10.1.44.ebuild | 3 ++- dev-db/mariadb/mariadb-10.2.31.ebuild | 3 ++- dev-db/mariadb/mariadb-10.3.22.ebuild | 3 ++- dev-db/mariadb/mariadb-10.4.12.ebuild | 3 ++- dev-db/mariadb/mariadb-5.5.67.ebuild | 2 +- 6 files changed, 10 insertions(+), 5 deletions(-) *** Bug 708070 has been marked as a duplicate of this bug. *** |