Bug#842446: sbsigntool: FTBFS:

Chris Lamb lamby at debian.org
Sat Oct 29 10:14:49 UTC 2016


Source: sbsigntool
Version: 0.6-3.1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

sbsigntool fails to build from source in unstable/amd64:

  […]

  objcopy -j .text -j .sdata -j .data \
  	-j .dynamic -j .dynsym  -j .rel \
  	-j .rela -j .reloc \
  	--target=efi-app-x86-64 test-x86_64.elf test-x86_64.pecoff
  strip test-x86_64.pecoff
  gcc -m32 -Wdate-time -D_FORTIFY_SOURCE=2  -c -o test-i386.o test.S
  gcc  -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6=. -fstack-protector-strong -Wformat -Werror=format-security  -nostdlib -T ./test-i386.lds -o test-i386.elf test-i386.o
  objcopy -j .text -j .sdata -j .data \
  	-j .dynamic -j .dynsym  -j .rel \
  	-j .rela -j .reloc \
  	--target=efi-app-i386 test-i386.elf test-i386.pecoff
  strip test-i386.pecoff
  make[4]: Nothing to be done for 'test-wrapper.sh'.
  openssl genrsa -out private-key.rsa 2048
  Generating RSA private key, 2048 bit long modulus
  ..............................................................................................................................+++
  .............................................................................+++
  e is 65537 (0x10001)
  openssl req -x509 -sha256 -subj '/' -new -key private-key.rsa -out public-cert.pem
  rm test-x86_64.elf test-i386.o test-i386.elf test-x86_64.o
  make[4]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  make  check-TESTS
  make[4]: Entering directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  make[5]: Entering directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  FAIL: sign-verify.sh
  FAIL: sign-verify-detached.sh
  FAIL: sign-detach-verify.sh
  FAIL: sign-attach-verify.sh
  PASS: sign-missing-image.sh
  PASS: sign-missing-cert.sh
  PASS: sign-missing-key.sh
  PASS: verify-missing-image.sh
  FAIL: verify-missing-cert.sh
  PASS: sign-invalidattach-verify.sh
  FAIL: cert-table-header.sh
  FAIL: resign-warning.sh
  FAIL: reattach-warning.sh
  FAIL: detach-remove.sh
  ==========================================
     sbsigntool 0.6: tests/test-suite.log
  ==========================================
  
  # TOTAL: 14
  # PASS:  5
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  9
  # XPASS: 0
  # ERROR: 0
  
  .. contents:: :depth: 2
  
  FAIL: sign-verify
  =================
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-verify.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-verify.sh failed on arch i386
  
  FAIL sign-verify.sh (exit status: 1)
  
  FAIL: sign-verify-detached
  ==========================
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-verify-detached.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-verify-detached.sh failed on arch i386
  
  FAIL sign-verify-detached.sh (exit status: 1)
  
  FAIL: sign-detach-verify
  ========================
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-detach-verify.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-detach-verify.sh failed on arch i386
  
  FAIL sign-detach-verify.sh (exit status: 1)
  
  FAIL: sign-attach-verify
  ========================
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-attach-verify.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test sign-attach-verify.sh failed on arch i386
  
  FAIL sign-attach-verify.sh (exit status: 1)
  
  FAIL: verify-missing-cert
  =========================
  
  Invalid a.out machine type
  Error parsing a.out header
  test verify-missing-cert.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test verify-missing-cert.sh failed on arch i386
  
  FAIL verify-missing-cert.sh (exit status: 1)
  
  FAIL: cert-table-header
  =======================
  
  Invalid a.out machine type
  Error parsing a.out header
  test cert-table-header.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test cert-table-header.sh failed on arch i386
  
  FAIL cert-table-header.sh (exit status: 1)
  
  FAIL: resign-warning
  ====================
  
  Invalid a.out machine type
  Error parsing a.out header
  test resign-warning.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test resign-warning.sh failed on arch i386
  
  FAIL resign-warning.sh (exit status: 1)
  
  FAIL: reattach-warning
  ======================
  
  Invalid a.out machine type
  Error parsing a.out header
  test reattach-warning.sh failed on arch x86_64
  
  Invalid a.out machine type
  Error parsing a.out header
  test reattach-warning.sh failed on arch i386
  
  FAIL reattach-warning.sh (exit status: 1)
  
  FAIL: detach-remove
  ===================
  
  + signed=test.signed
  + unsigned=test.unsigned
  + /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/../src/sbsign --cert /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/public-cert.pem --key /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/private-key.rsa --output test.signed /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/test-x86_64.pecoff
  Invalid a.out machine type
  Error parsing a.out header
  test detach-remove.sh failed on arch x86_64
  
  + signed=test.signed
  + unsigned=test.unsigned
  + /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/../src/sbsign --cert /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/public-cert.pem --key /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/private-key.rsa --output test.signed /home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests/test-i386.pecoff
  Invalid a.out machine type
  Error parsing a.out header
  test detach-remove.sh failed on arch i386
  
  FAIL detach-remove.sh (exit status: 1)
  
  ============================================================================
  Testsuite summary for sbsigntool 0.6
  ============================================================================
  # TOTAL: 14
  # PASS:  5
  # SKIP:  0
  # XFAIL: 0
  # FAIL:  9
  # XPASS: 0
  # ERROR: 0
  ============================================================================
  See tests/test-suite.log
  Please report to jeremy.kerr at canonical.com
  ============================================================================
  Makefile:635: recipe for target 'test-suite.log' failed
  make[5]: *** [test-suite.log] Error 1
  make[5]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  Makefile:741: recipe for target 'check-TESTS' failed
  make[4]: *** [check-TESTS] Error 2
  make[4]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  Makefile:807: recipe for target 'check-am' failed
  make[3]: *** [check-am] Error 2
  make[3]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6/tests'
  Makefile:376: recipe for target 'check-recursive' failed
  make[2]: *** [check-recursive] Error 1
  make[2]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6'
  dh_auto_test: make -j1 check VERBOSE=1 returned exit code 2
  debian/rules:16: recipe for target 'override_dh_auto_test' failed
  make[1]: *** [override_dh_auto_test] Error 2
  make[1]: Leaving directory '/home/lamby/temp/cdt.20161029111343.v3qnIZZMCr.db.sbsigntool/sbsigntool-0.6'
  debian/rules:10: recipe for target 'build' failed
  make: *** [build] Error 2

  […]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbsigntool.0.6-3.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 7307 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161029/614b923a/attachment.obj>


More information about the Reproducible-builds mailing list