rlibtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"tpm2-totp\" -DPACKAGE_TARNAME=\"tpm2-totp\" -DPACKAGE_VERSION=\"0.3.0\" -DPACKAGE_STRING=\"tpm2-totp\ 0.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/tpm2-softw are/tpm2-totp/issues\" -DPACKAGE_URL=\"https://github.com/tpm2-software/tpm2-totp\" -DPACKAGE=\"tpm2-totp\" -DVERSION=\"0.3.0\" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_S TRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PT HREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__S TDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -I. -I./include -I./src -I/usr/include/tss2 -I/usr/include/tss2 -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe - march=native -fdiagnostics-color=always -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -c -o src/libtpm2-totp.lo src/libtpm2-totp.c rlibtool: lconf: {.name="libtool"}. rlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-crypt/tpm2-totp-0.3.0/work/tpm2-totp-0.3.0"}. rlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 40, .st_ino = 1084310}. rlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rlibtool: lconf: found "/var/tmp/portage/app-crypt/tpm2-totp-0.3.0/work/tpm2-totp-0.3.0/libtool". rlibtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME="tpm2-totp" -DPACKAGE_TARNAME="tpm2-totp" -DPACKAGE_VERSION="0.3.0" -DPACKAGE_STRING="tpm2-totp 0.3.0" -DPACKAGE_BUGREPORT="https://github.com/tpm2-software/tpm2-totp/issues" -DPAC KAGE_URL="https://github.com/tpm2-software/tpm2-totp" -DPACKAGE="tpm2-totp" -DVERSION="0.3.0" -DNDEBUG=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DH AVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IE C_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TA NDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=".libs/" -I. -I./include -I./src -I/usr/include/tss2 -I/usr/include/tss2 -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always - Wimplicit-function-declaration -Wno-error=implicit-function-declaration -c src/libtpm2-totp.c -DPIC -fPIC -o src/.libs/libtpm2-totp.o rlibtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I./include -I./src -I/usr/include/tss2 -I/usr/include/tss2 -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always -Wimplicit-functi on-declaration -Wno-error=implicit-function-declaration '(tpm2_totp)' -Wl,-O1 -Wl,--as-needed -o libtpm2-totp.la -rpath /usr/lib64 src/libtpm2-totp.lo -ltss2-esys -ltss2-mu rlibtool: lconf: {.name="libtool"}. rlibtool: fdcwd: {.fdcwd=AT_FDCWD, .realpath="/var/tmp/portage/app-crypt/tpm2-totp-0.3.0/work/tpm2-totp-0.3.0"}. rlibtool: lconf: fstatat(AT_FDCWD,".",...) = 0 {.st_dev = 40, .st_ino = 1084310}. rlibtool: lconf: openat(AT_FDCWD,"libtool",O_RDONLY,0) = 3. rlibtool: lconf: found "/var/tmp/portage/app-crypt/tpm2-totp-0.3.0/work/tpm2-totp-0.3.0/libtool". rlibtool: link: ln -s /dev/null .libs/libtpm2-totp.a.disabled rlibtool: link: x86_64-pc-linux-gnu-gcc src/.libs/libtpm2-totp.o -I./include -I./src -I/usr/include/tss2 -I/usr/include/tss2 -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always -Wimplicit- function-declaration -Wno-error=implicit-function-declaration (tpm2_totp) -Wl,-O1 -Wl,--as-needed -ltss2-esys -ltss2-mu -shared -fPIC -Wl,-soname -Wl,libtpm2-totp.so.0 -o .libs/libtpm2-totp.so.0.0.0 x86_64-pc-linux-gnu-gcc: error: (tpm2_totp): No such file or directory rlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages). rlibtool: < returned to > slbt_exec_link(), line 1843. make: *** [Makefile:1108: libtpm2-totp.la] Error 2 make: *** Waiting for unfinished jobs.... warning: Tag 'TCL_SUBST' at line 270 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1129 of file 'Doxyfile' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" echo Timestamp >doxygen-doc/tpm2-totp.tag * ERROR: app-crypt/tpm2-totp-0.3.0::gentoo failed (compile phase): * emake failed
Created attachment 692445 [details] tpm2-totp-0.3.0:20210319-153244.log buildlog
Created attachment 692463 [details, diff] https://github.com/tpm2-software/tpm2-totp/pull/77 This happens because of a bogus value in Makefile.am which can just be removed, GNU libtool must be silently ignoring it...
The fix was merged upstream already. :)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299d0bc7a122e5db3c3a899029f084f1c881fdcf commit 299d0bc7a122e5db3c3a899029f084f1c881fdcf Author: Salah Coronya <salah.coronya@gmail.com> AuthorDate: 2021-03-20 01:27:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-03-20 05:52:19 +0000 app-crypt/tpm2-totp: Fix build with slibtool Closes: https://bugs.gentoo.org/777291 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Salah Coronya <salah.coronya@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20014 Signed-off-by: Sam James <sam@gentoo.org> ...-totp-0.3.0-Remove-bogus-value-from-Makefile.am | 23 ++++++++++++++++++++++ app-crypt/tpm2-totp/tpm2-totp-0.3.0.ebuild | 6 +++++- 2 files changed, 28 insertions(+), 1 deletion(-)