Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858674 - app-crypt/tpm2-tss-3.2.0-r4[test] - x86_64-pc-linux-gnu/bin/ld: cannot find : No such file or directory
Summary: app-crypt/tpm2-tss-3.2.0-r4[test] - x86_64-pc-linux-gnu/bin/ld: cannot find :...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christopher Byrne
URL: https://github.com/tpm2-software/tpm2...
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2022-07-17 23:44 UTC by orbea
Modified: 2022-07-25 04:23 UTC (History)
1 user (show)

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


Attachments
Build log (build.log.xz,26.71 KB, application/x-xz)
2022-07-17 23:45 UTC, orbea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description orbea 2022-07-17 23:44:09 UTC
The build with FEATURES=test fails with slibtool.

Reproducible: Always

Actual Results:  
rdlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/include/tss2 -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/test/fuzz/tcti -DINTERNALBUILD=1 -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/include -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-mu -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-sys -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-esys -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-fapi -Wno-unused-parameter -Wno-missing-field-initializers -DTOP_SOURCEDIR="/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0" -DTOP_SOURCEDIR="/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0" -O2 -pipe -Wl,--wrap=read -Wl,--wrap=write, -Wl,--wrap=poll -Wl,--wrap=open -Wl,-O1 -Wl,--as-needed -o test/unit/tcti-device test/unit/tcti_device-tcti-device.o src/tss2-tcti/test_unit_tcti_device-tcti-common.o src/tss2-tcti/test_unit_tcti_device-tcti-device.o -lcmocka src/tss2-mu/libtss2-mu.la libutil.la

rdlibtool: lconf: {.name="libtool"}.
rdlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0-abi_x86_64.amd64"}.
rdlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 65026, .st_ino = 33556679}.
rdlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3.
rdlibtool: lconf: found "/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0-abi_x86_64.amd64/libtool".
rdlibtool: link: x86_64-pc-linux-gnu-gcc test/unit/tcti_device-tcti-device.o src/tss2-tcti/test_unit_tcti_device-tcti-common.o src/tss2-tcti/test_unit_tcti_device-tcti-device.o .libs/libutil.a -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/include/tss2 -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/test/fuzz/tcti -DINTERNALBUILD=1 -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/include -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-mu -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-sys -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-esys -I/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0/src/tss2-fapi -Wno-unused-parameter -Wno-missing-field-initializers -DTOP_SOURCEDIR="/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0" -DTOP_SOURCEDIR="/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0" -O2 -pipe -Wl,--wrap=read -Wl,--wrap=write, -Wl,--wrap=poll -Wl,--wrap=open -Wl,-O1 -Wl,--as-needed -lcmocka -Lsrc/tss2-mu/.libs -ltss2-mu -L.libs -o test/unit/.libs/tcti-device
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find : No such file or directory
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_executable(), line 1745: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 2155.
make[1]: *** [Makefile:14613: test/unit/tcti-device] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-crypt/tpm2-tss-3.2.0-r4/work/tpm2-tss-3.2.0-abi_x86_64.amd64'
make: *** [Makefile:29037: check-am] Error 2
Comment 1 orbea 2022-07-17 23:45:04 UTC
Created attachment 792041 [details]
Build log
Comment 2 Larry the Git Cow gentoo-dev 2022-07-25 04:19:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4047b0bb2c21f65e34a6469336ad3aca9cd2cc1

commit d4047b0bb2c21f65e34a6469336ad3aca9cd2cc1
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-07-17 04:19:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-25 04:09:54 +0000

    app-crypt/tpm2-tss: Fix FEATURES=test with slibtool
    
    Bug: https://bugs.gentoo.org/858674
    Upstream-PR: https://github.com/tpm2-software/tpm2-tss/pull/2391
    Upstream-Commit: https://github.com/tpm2-software/tpm2-tss/commit/5e626ab72283017cf4cb2dc4b101d16a58a6c470
    Closes: https://github.com/gentoo/gentoo/pull/26449
    Signed-off-by: Sam James <sam@gentoo.org>

 .../tpm2-tss/files/tpm2-tss-3.2.0-slibtool.patch   | 49 ++++++++++++++++++++++
 app-crypt/tpm2-tss/tpm2-tss-3.2.0-r4.ebuild        |  1 +
 2 files changed, 50 insertions(+)