too long lines were shrinked: rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 147, .st_ino = 1341749}. rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 5. rdlibtool: lconf: found "/var/tmp/portage/dev-libs/isa-l-2.30.0/work/isa-l-2.30.0/libtool". rdlibtool: compile: ./tools/nasm-filter.sh -f elf64 -I ./include/ -I ./erasure_code -I ./crc -I ./igzip -I ./tests/fuzz -I ./examples/ec -DPACKAGE_NAME="libisal" -DPACKAGE_TARNAME="isa-l" -DPACKAGE_VERSION="2.30.0" -DPACKAGE_STRING="libisal 2.30.0" -DPACKAGE_BUGREPORT="sg.support.isal@intel.com" -DP rdlibtool: error logged in slbt_exec_compile(), line 209: Exec format error. make[1]: *** [Makefile:3503: erasure_code/gf_vect_mul_sse.lo] Error 2 make[1]: *** Waiting for unfinished jobs.... ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-j4-20211217-020452 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.3.1 [2] x86_64-pc-linux-gnu-11.2.1 * clang version 13.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/13/bin /usr/lib/llvm/13 13.0.0 Python 3.9.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) [3] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.57.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.312_p07 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php7.3 [2] php7.4 [3] php8.1 * HEAD of ::gentoo commit 5382ab455d4bdeab046d8ed0ce82314afefa285d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Dec 17 19:06:52 2021 +0000 2021-12-17 19:06:50 UTC emerge -qpvO dev-libs/isa-l [ebuild N ] dev-libs/isa-l-2.30.0
Created attachment 759503 [details] emerge-info.txt
Created attachment 759504 [details] dev-libs:isa-l-2.30.0:20211217-202302.log
Created attachment 759505 [details] emerge-history.txt
Created attachment 759506 [details] environment
Created attachment 759507 [details] etc.portage.tar.bz2
Created attachment 759508 [details] logs.tar.bz2
Created attachment 759509 [details] temp.tar.bz2
Looks like another case of slibtool not understanding wrapper scripts... Comments in Bug #858095 suggests something has to be fixed in slibtool before progress can be made with issues like that, I wonder if that's still the case.
*** Bug 913589 has been marked as a duplicate of this bug. ***
I was wrong this is not --mode=execute, slibtool is removing double quotes around strings... The build does: rdlibtool --mode=compile ./tools/nasm-filter.sh ... -DPACKAGE_STRING="libisal 2.31.0" ... Which results in: ./tools/nasm-filter.sh ... -DPACKAGE_STRING=libisal 2.31.0 ...
Actually, maybe I am not entirely correct, there might be something wrong with the Makefile creating the .S files too late.
And that is still not quite right....
The real cause is the shebang in the nasm-filter.sh script is "#/bin/sh" instead of "#!/bin/sh".
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=458d238745a2df0a49f609eae70c241f71c34ab7 commit 458d238745a2df0a49f609eae70c241f71c34ab7 Author: Marek Szuba <marecki@gentoo.org> AuthorDate: 2024-03-11 15:30:26 +0000 Commit: Marek Szuba <marecki@gentoo.org> CommitDate: 2024-03-11 15:39:32 +0000 dev-libs/isa-l: fix slibtool build failures Nb. Yes, I am aware that there is a new isa-l version available upstream. Unfortunately that version introduces quite a few QA issues and I haven't had time to resolve them yet. Closes: https://bugs.gentoo.org/829500 Signed-off-by: Marek Szuba <marecki@gentoo.org> .../isa-l/files/isa-l-2.30.0_fix-shebang.patch | 26 ++++++++++++++++++++++ dev-libs/isa-l/isa-l-2.30.0-r1.ebuild | 1 + 2 files changed, 27 insertions(+)