Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829500 - dev-libs/isa-l-2.30.0 - rdlibtool: error logged in slbt_exec_compile(), line 209: Exec format error.
Summary: dev-libs/isa-l-2.30.0 - rdlibtool: error logged in slbt_exec_compile(), line ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL: https://dev.midipix.org/cross/slibtoo...
Whiteboard:
Keywords:
: 913589 (view as bug list)
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-12-17 20:24 UTC by Toralf Förster
Modified: 2024-03-11 15:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.40 KB, text/plain)
2021-12-17 20:24 UTC, Toralf Förster
Details
dev-libs:isa-l-2.30.0:20211217-202302.log (dev-libs:isa-l-2.30.0:20211217-202302.log,98.74 KB, text/plain)
2021-12-17 20:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,101.38 KB, text/plain)
2021-12-17 20:24 UTC, Toralf Förster
Details
environment (environment,67.73 KB, text/plain)
2021-12-17 20:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.29 KB, application/x-bzip)
2021-12-17 20:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,8.61 KB, application/x-bzip)
2021-12-17 20:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,24.59 KB, application/x-bzip)
2021-12-17 20:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-12-17 20:24:27 UTC
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
Comment 1 Toralf Förster gentoo-dev 2021-12-17 20:24:28 UTC
Created attachment 759503 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-17 20:24:29 UTC
Created attachment 759504 [details]
dev-libs:isa-l-2.30.0:20211217-202302.log
Comment 3 Toralf Förster gentoo-dev 2021-12-17 20:24:31 UTC
Created attachment 759505 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-17 20:24:32 UTC
Created attachment 759506 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-17 20:24:33 UTC
Created attachment 759507 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-17 20:24:34 UTC
Created attachment 759508 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-17 20:24:35 UTC
Created attachment 759509 [details]
temp.tar.bz2
Comment 8 Marek Szuba archtester gentoo-dev 2023-08-19 23:53:57 UTC
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.
Comment 9 orbea 2024-02-13 18:05:50 UTC
*** Bug 913589 has been marked as a duplicate of this bug. ***
Comment 10 orbea 2024-03-08 18:01:17 UTC
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 ...
Comment 11 orbea 2024-03-08 18:10:09 UTC
Actually, maybe I am not entirely correct, there might be something wrong with the Makefile creating the .S files too late.
Comment 12 orbea 2024-03-08 18:23:31 UTC
And that is still not quite right....
Comment 13 orbea 2024-03-09 19:38:09 UTC
The real cause is the shebang in the nasm-filter.sh script is "#/bin/sh" instead of "#!/bin/sh".
Comment 14 Larry the Git Cow gentoo-dev 2024-03-11 15:39:47 UTC
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(+)