Bug#1123478: sbsigntool: FTBFS: objcopy: test.elf: file format not recognized
Package: src:sbsigntool
Version: 0.9.4-3.2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202512/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:sbsigntool, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --with autoreconf
debian/rules override_dh_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_clean
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/sbsigntool.substvars debian/files
rm -fr -- debian/sbsigntool/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
[... snipped ...]
fileio.c:93:9: warning: â??ENGINE_finishâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
93 | ENGINE_finish(e);
| ^~~~~~~~~~~~~
/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
fileio.c:96:9: warning: â??ENGINE_freeâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
96 | ENGINE_free(e);
| ^~~~~~~~~~~
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I/usr/include/uuid -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbvarsign-sbvarsign.o `test -f 'sbvarsign.c' || echo './'`sbvarsign.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I/usr/include/uuid -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbvarsign-idc.o `test -f 'idc.c' || echo './'`idc.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I/usr/include/uuid -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbvarsign-image.o `test -f 'image.c' || echo './'`image.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I/usr/include/uuid -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbvarsign-fileio.o `test -f 'fileio.c' || echo './'`fileio.c
image.c: In function â??image_hash_sha256â??:
image.c:520:9: warning: â??SHA256_Initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
520 | rc = SHA256_Init(&ctx);
| ^~
In file included from image.c:45:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
image.c:536:17: warning: â??SHA256_Updateâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
536 | rc = SHA256_Update(&ctx, region->data, region->size);
| ^~
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
image.c:541:9: warning: â??SHA256_Finalâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
541 | rc = SHA256_Final(digest, &ctx);
| ^~
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
fileio.c: In function â??fileio_read_engine_keyâ??:
fileio.c:69:9: warning: â??ENGINE_load_builtin_enginesâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
69 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fileio.c:42:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:70:9: warning: â??ENGINE_by_idâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
70 | e = ENGINE_by_id(engine);
| ^
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
fileio.c:86:9: warning: â??ENGINE_initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
86 | if (!ENGINE_init(e)) {
| ^~
/usr/include/openssl/engine.h:620:27: note: declared here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^~~~~~~~~~~
fileio.c:92:9: warning: â??ENGINE_load_private_keyâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
92 | pkey = ENGINE_load_private_key(e, filename, ui, NULL);
| ^~~~
/usr/include/openssl/engine.h:638:11: note: declared here
638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
| ^~~~~~~~~~~~~~~~~~~~~~~
fileio.c:93:9: warning: â??ENGINE_finishâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
93 | ENGINE_finish(e);
| ^~~~~~~~~~~~~
/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
fileio.c:96:9: warning: â??ENGINE_freeâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
96 | ENGINE_free(e);
| ^~~~~~~~~~~
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbsiglist-sbsiglist.o `test -f 'sbsiglist.c' || echo './'`sbsiglist.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbsiglist-idc.o `test -f 'idc.c' || echo './'`idc.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbsiglist-image.o `test -f 'image.c' || echo './'`image.c
image.c: In function â??image_hash_sha256â??:
image.c:520:9: warning: â??SHA256_Initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
520 | rc = SHA256_Init(&ctx);
| ^~
In file included from image.c:45:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
image.c:536:17: warning: â??SHA256_Updateâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
536 | rc = SHA256_Update(&ctx, region->data, region->size);
| ^~
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
image.c:541:9: warning: â??SHA256_Finalâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
541 | rc = SHA256_Final(digest, &ctx);
| ^~
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbsiglist-fileio.o `test -f 'fileio.c' || echo './'`fileio.c
fileio.c: In function â??fileio_read_engine_keyâ??:
fileio.c:69:9: warning: â??ENGINE_load_builtin_enginesâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
69 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fileio.c:42:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:70:9: warning: â??ENGINE_by_idâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
70 | e = ENGINE_by_id(engine);
| ^
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
fileio.c:86:9: warning: â??ENGINE_initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
86 | if (!ENGINE_init(e)) {
| ^~
/usr/include/openssl/engine.h:620:27: note: declared here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^~~~~~~~~~~
fileio.c:92:9: warning: â??ENGINE_load_private_keyâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
92 | pkey = ENGINE_load_private_key(e, filename, ui, NULL);
| ^~~~
/usr/include/openssl/engine.h:638:11: note: declared here
638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
| ^~~~~~~~~~~~~~~~~~~~~~~
fileio.c:93:9: warning: â??ENGINE_finishâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
93 | ENGINE_finish(e);
| ^~~~~~~~~~~~~
/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
fileio.c:96:9: warning: â??ENGINE_freeâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
96 | ENGINE_free(e);
| ^~~~~~~~~~~
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbkeysync-sbkeysync.o `test -f 'sbkeysync.c' || echo './'`sbkeysync.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbkeysync-idc.o `test -f 'idc.c' || echo './'`idc.c
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbkeysync-image.o `test -f 'image.c' || echo './'`image.c
image.c: In function â??image_hash_sha256â??:
image.c:520:9: warning: â??SHA256_Initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
520 | rc = SHA256_Init(&ctx);
| ^~
In file included from image.c:45:
/usr/include/openssl/sha.h:73:27: note: declared here
73 | OSSL_DEPRECATEDIN_3_0 int SHA256_Init(SHA256_CTX *c);
| ^~~~~~~~~~~
image.c:536:17: warning: â??SHA256_Updateâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
536 | rc = SHA256_Update(&ctx, region->data, region->size);
| ^~
/usr/include/openssl/sha.h:74:27: note: declared here
74 | OSSL_DEPRECATEDIN_3_0 int SHA256_Update(SHA256_CTX *c,
| ^~~~~~~~~~~~~
image.c:541:9: warning: â??SHA256_Finalâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
541 | rc = SHA256_Final(digest, &ctx);
| ^~
/usr/include/openssl/sha.h:76:27: note: declared here
76 | OSSL_DEPRECATEDIN_3_0 int SHA256_Final(unsigned char *md, SHA256_CTX *c);
| ^~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o sbkeysync-fileio.o `test -f 'fileio.c' || echo './'`fileio.c
fileio.c: In function â??fileio_read_engine_keyâ??:
fileio.c:69:9: warning: â??ENGINE_load_builtin_enginesâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
69 | ENGINE_load_builtin_engines();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from fileio.c:42:
/usr/include/openssl/engine.h:358:28: note: declared here
358 | OSSL_DEPRECATEDIN_3_0 void ENGINE_load_builtin_engines(void);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
fileio.c:70:9: warning: â??ENGINE_by_idâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
70 | e = ENGINE_by_id(engine);
| ^
/usr/include/openssl/engine.h:336:31: note: declared here
336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id);
| ^~~~~~~~~~~~
fileio.c:86:9: warning: â??ENGINE_initâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
86 | if (!ENGINE_init(e)) {
| ^~
/usr/include/openssl/engine.h:620:27: note: declared here
620 | OSSL_DEPRECATEDIN_3_0 int ENGINE_init(ENGINE *e);
| ^~~~~~~~~~~
fileio.c:92:9: warning: â??ENGINE_load_private_keyâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
92 | pkey = ENGINE_load_private_key(e, filename, ui, NULL);
| ^~~~
/usr/include/openssl/engine.h:638:11: note: declared here
638 | EVP_PKEY *ENGINE_load_private_key(ENGINE *e, const char *key_id,
| ^~~~~~~~~~~~~~~~~~~~~~~
fileio.c:93:9: warning: â??ENGINE_finishâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
93 | ENGINE_finish(e);
| ^~~~~~~~~~~~~
/usr/include/openssl/engine.h:628:27: note: declared here
628 | OSSL_DEPRECATEDIN_3_0 int ENGINE_finish(ENGINE *e);
| ^~~~~~~~~~~~~
fileio.c:96:9: warning: â??ENGINE_freeâ?? is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
96 | ENGINE_free(e);
| ^~~~~~~~~~~
/usr/include/openssl/engine.h:493:27: note: declared here
493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
| ^~~~~~~~~~~
gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbsign sbsign-sbsign.o sbsign-idc.o sbsign-image.o sbsign-fileio.o ../lib/ccan/libccan.a -lcrypto
gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbverify sbverify-sbverify.o sbverify-idc.o sbverify-image.o sbverify-fileio.o ../lib/ccan/libccan.a -lcrypto
gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbattach sbattach-sbattach.o sbattach-idc.o sbattach-image.o sbattach-fileio.o ../lib/ccan/libccan.a -lcrypto
gcc -Wall -Wextra --std=gnu99 -I/usr/include/uuid -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbvarsign sbvarsign-sbvarsign.o sbvarsign-idc.o sbvarsign-image.o sbvarsign-fileio.o ../lib/ccan/libccan.a -lcrypto -luuid
gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbsiglist sbsiglist-sbsiglist.o sbsiglist-idc.o sbsiglist-image.o sbsiglist-fileio.o ../lib/ccan/libccan.a -lcrypto -luuid
gcc -Wall -Wextra --std=gnu99 -I../lib/ccan/ -Werror -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -Wl,-z,relro -o sbkeysync sbkeysync-sbkeysync.o sbkeysync-idc.o sbkeysync-image.o sbkeysync-fileio.o ../lib/ccan/libccan.a -lcrypto -luuid
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making all in docs
make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
/usr/bin/mkdir -p .
/usr/bin/mkdir -p .
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbsign.1.in -o sbsign.1 ../src/sbsign
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbverify.1.in -o sbverify.1 ../src/sbverify
/usr/bin/mkdir -p .
/usr/bin/mkdir -p .
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbattach.1.in -o sbattach.1 ../src/sbattach
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbvarsign.1.in -o sbvarsign.1 ../src/sbvarsign
/usr/bin/mkdir -p .
/usr/bin/mkdir -p .
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbsiglist.1.in -o sbsiglist.1 ../src/sbsiglist
/bin/bash '/<<PKGBUILDDIR>>/missing' help2man --no-info -i sbkeysync.1.in -o sbkeysync.1 ../src/sbkeysync
make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
Making all in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[3]: Entering directory '/<<PKGBUILDDIR>>'
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_test
make -j2 check TESTSUITEFLAGS="-j2 --verbose" VERBOSE=1
make[2]: Entering directory '/<<PKGBUILDDIR>>'
Making check in lib/ccan
make[3]: Entering directory '/<<PKGBUILDDIR>>/lib/ccan'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib/ccan'
Making check in src
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src'
Making check in docs
make[3]: Entering directory '/<<PKGBUILDDIR>>/docs'
make[3]: Nothing to be done for 'check'.
make[3]: Leaving directory '/<<PKGBUILDDIR>>/docs'
Making check in tests
make[3]: Entering directory '/<<PKGBUILDDIR>>/tests'
make test.pecoff test-wrapper.sh \
private-key.rsa public-cert.pem
make[4]: Entering directory '/<<PKGBUILDDIR>>/tests'
gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -fpic -I/usr/include/efi -I/usr/include/efi/x86_64 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wno-error=deprecated-declarations -c -o test.o test.c
make[4]: Nothing to be done for 'test-wrapper.sh'.
openssl genrsa -out private-key.rsa 2048
openssl genpkey -algorithm ec -pkeyopt ec_paramgen_curve:prime256v1 -out int-key.ec
openssl genpkey -algorithm ec -pkeyopt ec_paramgen_curve:prime256v1 -out ca-key.ec
ld -nostdlib -L /usr/lib -L /usr/lib64 -L /usr/lib -shared -Bsymbolic /usr/lib/crt0-efi-x86_64.o -T elf_x86_64_efi.lds test.o -o test.elf -lefi -lgnuefi
openssl req -x509 -days 1 -sha256 -subj '/CN=CA Key/' -new -key ca-key.ec -out ca-cert.pem
echo "TEST ARCHES x86_64 TEST_COMPAT="
TEST ARCHES x86_64 TEST_COMPAT=
objcopy -j .text -j .sdata -j .data \
-j .dynamic -j .dynsym -j .rel \
-j .rela -j .reloc \
--target=efi-app-x86_64 test.elf test.pecoff
objcopy: test.elf: file format not recognized
make[4]: *** [Makefile:980: test.pecoff] Error 1
make[4]: *** Waiting for unfinished jobs....
rm test.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[3]: *** [Makefile:848: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/tests'
make[2]: *** [Makefile:384: check-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
rm -fr -- /tmp/dh-xdg-rundir-QQgchEOw
dh_auto_test: error: make -j2 check TESTSUITEFLAGS="-j2 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:13: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Reply to: