Summary: | sys-devel/binutils-2.35.1 readelf binary linked against host libdebuginfod, fails to run | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Jason Cooper <jason+gentoobugs> |
Component: | Prefix Support | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | CoelacanthusHex, joey.dumont, prefix, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jason Cooper
2020-11-15 17:38:48 UTC
Update: I now have Prefix installed and working on Arch Linux! My hack to make it work was to move the host's libdebuginfod libraries and pkgconfig files out of the way. I don't debuginfod, so I'm not too worried about it. Anyway, after that hack, things went smoothly. I was able to update gentoo, install crossdev, and begin building toolchains. Although, -musl toolchains did require one build patch. See https://bugs.gentoo.org/755071 Same here, also Arch Linux Host. *** Bug 760411 has been marked as a duplicate of this bug. *** @toolchain: '--with-debuginfod' defaults to auto, which in case of Arch linux host, finds debuginfod. (automagic) I see no provisions in the ebuild for this, are you OK with unconditionally adding --without-debuginfod to the econf call? Thanks Yeah, it should be file. I'll add the options. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fee7ec7b350ff17e64fd136c84cf6279c93255c9 commit fee7ec7b350ff17e64fd136c84cf6279c93255c9 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-01-03 13:14:34 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-03 13:19:38 +0000 sys-devel/binutils: expliictly disable debuginfod Fixed-by: Fabian Groffen Reported-by: Jason Cooper Closes: https://bugs.gentoo.org/754753 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/binutils/binutils-2.34-r2.ebuild | 6 +++++- sys-devel/binutils/binutils-2.35.1-r1.ebuild | 6 +++++- sys-devel/binutils/binutils-2.35.1.ebuild | 6 +++++- sys-devel/binutils/binutils-9999.ebuild | 6 +++++- 4 files changed, 20 insertions(+), 4 deletions(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864294c55ff5c1a6c4dc6a473e415b7326868cf9 commit 864294c55ff5c1a6c4dc6a473e415b7326868cf9 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-01-03 13:19:24 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-03 13:19:37 +0000 sys-libs/binutils-libs: expliictly disable debuginfod Fixed-by: Fabian Groffen Reported-by: Jason Cooper Bug: https://bugs.gentoo.org/754753 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild | 6 +++++- sys-libs/binutils-libs/binutils-libs-2.35.1-r1.ebuild | 6 +++++- sys-libs/binutils-libs/binutils-libs-2.35.1.ebuild | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3776a155ad89d1ed4b0c475c7467a6f10340f11 commit a3776a155ad89d1ed4b0c475c7467a6f10340f11 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-01-03 13:16:07 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-03 13:19:37 +0000 sys-devel/binutils-hppa64: expliictly disable debuginfod Fixed-by: Fabian Groffen Reported-by: Jason Cooper Bug: https://bugs.gentoo.org/754753 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/binutils-hppa64/binutils-hppa64-2.34-r2.ebuild | 6 +++++- sys-devel/binutils-hppa64/binutils-hppa64-2.35.1-r1.ebuild | 6 +++++- sys-devel/binutils-hppa64/binutils-hppa64-2.35.1.ebuild | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cef85020eeed3ea2e89aeb0bd78fb4623738bbbf commit cef85020eeed3ea2e89aeb0bd78fb4623738bbbf Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-01-03 13:11:28 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-01-03 13:14:42 +0000 sys-devel/gdb: expliictly disable debuginfod Fixed-by: Fabian Groffen Reported-by: Jason Cooper Bug: https://bugs.gentoo.org/754753 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gdb/gdb-10.1.ebuild | 6 +++++- sys-devel/gdb/gdb-9999.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) Please give it a try. I lightly tested that options are passed. I wasn't exactly sure how to test that, as env EXPORT_LATEST_TREE=1 ./bootstrap-prefix.sh didn't fetch these modified ebuilds, so I bootstrapped up to stage1, added a local repo with the new binutils-2.35.1-r1 ebuild to both stage2 and stage3 portage (i.e. ${EPREFIX}/var/db/repos/local and ${EPREFIX}/tmp/var/db/repos/local, I'm assuming those are stage2 and stage3 portage trees, but I'm not sure). After I did that, the rest of the bootstrap process went fine. Thank you for spending time on this! Ah, yes, thanks for taking the time to go through these hoops! This was quite a decoy, but glad we found the culprit at last. No worries. Let me know when the new changes hit the main tree: I could test the bootstrap again on Arch, and we could maybe add Arch back to the https://wiki.gentoo.org/wiki/Prefix/tested page, if you would like. Thanks, I'll bump the snapshot with tonights build tomorrow The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=6fd9932cd2bf2cdcdab00d0915e289114104b99e commit 6fd9932cd2bf2cdcdab00d0915e289114104b99e Author: Fabian Groffen <grobian@gentoo.org> AuthorDate: 2021-01-05 08:44:01 +0000 Commit: Fabian Groffen <grobian@gentoo.org> CommitDate: 2021-01-05 08:44:01 +0000 scripts/bootstrap-prefix: bump snapshot for misc fixes - Darwin: Python, Portage - Linux: binutils Bug: https://bugs.gentoo.org/754753 Signed-off-by: Fabian Groffen <grobian@gentoo.org> scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Can confirm that the bootstrap script now completes on Arch Linux. |