Thanks for the report. Do you have a VM in which upstream (Thomas Habets)
could reproduce the failure? Or any other details about the setup that
might help?

On Tue, May 30, 2017 at 10:43 AM, Chris Lamb <la...@debian.org> wrote:

> Source: simple-tpm-pk11
> Version: 0.06-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
>
> Dear Maintainer,
>
> simple-tpm-pk11 fails to build from source in unstable/amd64:
>
>   […]
>
>   /bin/bash ./libtool  --tag=CXX   --mode=link g++ -I/usr/src/gtest
> -std=gnu++0x -Wall -g -O2 -fdebug-prefix-map=«BUILDDIR»=.
> -fstack-protector-strong -Wformat -Werror=format-security  -Wl,-z,relro
> -Wl,-z,now -o stpm-verify_test src/stpm_verify_test-verify.o
> src/stpm_verify_test-verify_test.o src/stpm_verify_test-common.o
> src/stpm_verify_test-tspiwrap.o src/stpm_verify_test-fake_tspi.o
> src/stpm_verify_test-libgtest.o -lpthread  -lcrypto -ltspi
>   libtool: link: g++ -I/usr/src/gtest -std=gnu++0x -Wall -g -O2
> -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat
> -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o stpm-verify_test
> src/stpm_verify_test-verify.o src/stpm_verify_test-verify_test.o
> src/stpm_verify_test-common.o src/stpm_verify_test-tspiwrap.o
> src/stpm_verify_test-fake_tspi.o src/stpm_verify_test-libgtest.o
> -lpthread -lcrypto -ltspi
>   make[3]: Leaving directory '«BUILDDIR»'
>   make  check-TESTS
>   make[3]: Entering directory '«BUILDDIR»'
>   make[4]: Entering directory '«BUILDDIR»'
>   ./m4/test-driver: line 107:  4695 Aborted                 (core dumped)
> "$@" > $log_file 2>&1
>   FAIL: stpm-keygen_test
>   PASS: stpm-sign_test
>   PASS: common_test
>   PASS: pk11_test
>   PASS: stpm-verify_test
>   ============================================
>      simple-tpm-pk11 0.06: ./test-suite.log
>   ============================================
>
>   # TOTAL: 5
>   # PASS:  4
>   # SKIP:  0
>   # XFAIL: 0
>   # FAIL:  1
>   # XPASS: 0
>   # ERROR: 0
>
>   .. contents:: :depth: 2
>
>   FAIL: stpm-keygen_test
>   ======================
>
>   Running main() from gtest_main.cc
>   [==========] Running 8 tests from 2 test cases.
>   [----------] Global test environment set-up.
>   [----------] 2 tests from Usage
>   [ RUN      ] Usage.NoOpts
>   [       OK ] Usage.NoOpts (0 ms)
>   [ RUN      ] Usage.HelpOpts
>   [       OK ] Usage.HelpOpts (0 ms)
>   [----------] 2 tests from Usage (0 ms total)
>
>   [----------] 6 tests from Keygen
>   [ RUN      ] Keygen.EmptyOutputName
>   [       OK ] Keygen.EmptyOutputName (0 ms)
>   [ RUN      ] Keygen.BadOutputName
>   [       OK ] Keygen.BadOutputName (1 ms)
>   [ RUN      ] Keygen.OK
>   [       OK ] Keygen.OK (2 ms)
>   [ RUN      ] Keygen.SWKeyOK
>   [       OK ] Keygen.SWKeyOK (14 ms)
>   [ RUN      ] Keygen.SmallerKey
>   [       OK ] Keygen.SmallerKey (1 ms)
>   [ RUN      ] Keygen.WrongTPMKeySize
>   [       OK ] Keygen.WrongTPMKeySize (2 ms)
>   [----------] 6 tests from Keygen (20 ms total)
>
>   [----------] Global test environment tear-down
>   [==========] 8 tests from 2 test cases ran. (20 ms total)
>   [  PASSED  ] 8 tests.
>
>   [ FATAL ] /usr/include/gtest/internal/gtest-port.h:2044::
> pthread_key_delete(key_)failed with error 22
>   FAIL stpm-keygen_test (exit status: 134)
>
>   ============================================================
> ================
>   Testsuite summary for simple-tpm-pk11 0.06
>   ============================================================
> ================
>   # TOTAL: 5
>   # PASS:  4
>   # SKIP:  0
>   # XFAIL: 0
>   # FAIL:  1
>   # XPASS: 0
>   # ERROR: 0
>   ============================================================
> ================
>   See ./test-suite.log
>   Please report to tho...@habets.se
>   ============================================================
> ================
>   Makefile:1695: recipe for target 'test-suite.log' failed
>   make[4]: *** [test-suite.log] Error 1
>   make[4]: Leaving directory '«BUILDDIR»'
>   Makefile:1801: recipe for target 'check-TESTS' failed
>   make[3]: *** [check-TESTS] Error 2
>   make[3]: Leaving directory '«BUILDDIR»'
>   Makefile:2060: recipe for target 'check-am' failed
>   make[2]: *** [check-am] Error 2
>   make[2]: Leaving directory '«BUILDDIR»'
>   Makefile:1581: recipe for target 'check-recursive' failed
>   make[1]: *** [check-recursive] Error 1
>   make[1]: Leaving directory '«BUILDDIR»'
>   dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
>   debian/rules:24: recipe for target 'build' failed
>   make: *** [build] Error 2
>   dpkg-buildpackage: error: debian/rules build gave error exit status 2
>
>   […]
>
> The full build log is attached.
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      la...@debian.org / chris-lamb.co.uk
>        `-
>



-- 
Best regards,
Michael

Reply via email to