I'm in the process of upgrading to amd64/23.0/split-usr/desktop from amd64/17.1/desktop and I'm currently at the final step, rebuilding world, but dev-libs/libgcrypt is failing because of this: ``` libtool: Version mismatch error. This is libtool 2.4.2 Debian-2.4.2-1, but the libtool: definition of this LT_INIT comes from libtool 2.4.7. libtool: You should recreate aclocal.m4 with macros from libtool 2.4.2 Debian-2.4.2-1 libtool: and run autoconf again. ``` Reproducible: Always Steps to Reproduce: 1. Follow the steps from the "Profile upgrade to version 23.0 available" portage news 2. emerge --ask --emptytree --getbinpkg @world Actual Results: The emerge fails while trying to emerge dev-libs/libgcrypt-1.10.3-r1 Expected Results: The emerge continues until everything is re-emerged emerge --info: https://bpa.st/G2EQ emerge -pqv: https://bpa.st/HO3Q build log: https://bpa.st/WCPA Here ( https://bpa.st/CWPQ ) you can see I re-emerged binutils, gcc, glibc, and libtool in that order starting at Sat Mar 23 10:31:05 2024.
Please use attachments rather than pastebins, as they expire and may not be accessible via firewalls.
Created attachment 888336 [details] dev-libs/libgcrypt-1.10.3-r1 build.log
Created attachment 888337 [details] emerge -pqv '=dev-libs/libgcrypt-1.10.3-r1::gentoo'
Created attachment 888338 [details] emerge --info '=dev-libs/libgcrypt-1.10.3-r1::gentoo'
(In reply to Sam James from comment #1) > Please use attachments rather than pastebins, as they expire and may not be > accessible via firewalls. Sorry about that, I've added them as attachments now.
Created attachment 888342 [details] emerge --info libtool Here's emerge --info for libtool, I *did* follow the step to emerge it before re-emerging world
I also just realized that if I try to run libtool I get this ``` $ libtool bash: /usr/bin/libtool: /usr/bin/bash: bad interpreter: No such file or directory ```
(In reply to Ben from comment #7) > I also just realized that if I try to run libtool I get this > > ``` > $ libtool > bash: /usr/bin/libtool: /usr/bin/bash: bad interpreter: No such file or > directory > ``` So it seems like this is something to do with the binpkg for libtool. The shebang is `#! /usr/bin/bash` when I install the binpkg, but `#! /bin/bash` when I install it from source. When I install it from source, I'm able to build libgcrypt fine. ``` [gentoobinhost] priority = 1 sync-uri = https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64-v3 ``` This is my `gentoobinhost.conf` file after upgrading profiles. I used the `-v3` because I've got an AMD 7840U on this machine, so it should be supported.
> This is my `gentoobinhost.conf` file after upgrading profiles. I used the > `-v3` because I've got an AMD 7840U on this machine, so it should be > supported. Sorry for the spam, but I just checked and the same `/usr/bin/bash` shebang happens when using the regular x86-64 sync-uri as well.
Thanks. On it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7012f128a3c04053924fa1e96ed48a1c758fc65 commit c7012f128a3c04053924fa1e96ed48a1c758fc65 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-24 09:05:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-24 09:06:11 +0000 dev-build/libtool: fix shebang for bash Always use ${EPREFIX}/bin/bash rather than the current path to bash, so that we work on both usr-merged and non-usr-merged systems. Bug: https://bugs.gentoo.org/927662 Closes: https://bugs.gentoo.org/927650 Signed-off-by: Sam James <sam@gentoo.org> dev-build/libtool/{libtool-2.4.7-r2.ebuild => libtool-2.4.7-r3.ebuild} | 2 +- dev-build/libtool/libtool-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18f979e09388597a04255a2f42c464cf5a05d512 commit 18f979e09388597a04255a2f42c464cf5a05d512 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-24 09:08:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-24 09:08:48 +0000 autotools.eclass: require >=dev-build/libtool-2.4.7-r3 Needed for c7012f128a3c04053924fa1e96ed48a1c758fc65 wrt upgrade ordering. Bug: https://bugs.gentoo.org/927650 Bug: https://bugs.gentoo.org/927662 Signed-off-by: Sam James <sam@gentoo.org> eclass/autotools.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
*** Bug 927662 has been marked as a duplicate of this bug. ***