Diff of the two buildlogs: -- --- b1/build.log 2024-04-28 01:36:54.281050414 +0000 +++ b2/build.log 2024-04-28 01:40:38.503487600 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 30 19:58:52 -12 2025 -I: pbuilder-time-stamp: 1748678332 +I: Current time: Sun Apr 28 15:36:57 +14 2024 +I: pbuilder-time-stamp: 1714268217 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -30,52 +30,84 @@ dpkg-source: info: applying allow-riscv64-build.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1204286/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/D01_modify_environment starting +debug: Running on ionos11-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Apr 28 01:37 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='58ae66eae61e405498e8d5be6f0dd1af' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='1204286' - PS1='# ' - PS2='> ' + INVOCATION_ID=96e9f638d33342c1954ab1d181d61a43 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=91109 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.MjFBOLap/pbuilderrc_UEtu --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MjFBOLap/b1 --logfile b1/build.log efitools_1.9.2-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.MjFBOLap/pbuilderrc_nzXl --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.MjFBOLap/b2 --logfile b2/build.log efitools_1.9.2-3.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos5-amd64 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 30 14:05 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1204286/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 27 07:43 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -160,7 +192,7 @@ Get: 35 http://deb.debian.org/debian unstable/main amd64 libssl-dev amd64 3.2.1-3 [2699 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.2.1-3 [1360 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 sbsigntool amd64 0.9.4-3.1+b1 [68.3 kB] -Fetched 23.8 MB in 0s (61.4 MB/s) +Fetched 23.8 MB in 1s (16.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package liblocale-gettext-perl. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19697 files and directories currently installed.) @@ -328,7 +360,11 @@ fakeroot is already the newest version (1.34-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/efitools-1.9.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../efitools_1.9.2-3_source.changes +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/efitools-1.9.2/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../efitools_1.9.2-3_source.changes dpkg-buildpackage: info: source package efitools dpkg-buildpackage: info: source version 1.9.2-3 dpkg-buildpackage: info: source distribution unstable @@ -338,7 +374,7 @@ fakeroot debian/rules clean dh clean dh_auto_clean - make -j42 clean + make -j20 clean make[1]: Entering directory '/build/reproducible-path/efitools-1.9.2' rm -f PK.* KEK.* DB.* HelloWorld.efi LockDown.efi Loader.efi ReadVars.efi UpdateVars.efi KeyTool.efi HashTool.efi SetNull.efi ShimReplace.efi HelloWorld-signed.efi LockDown-signed.efi Loader-signed.efi ReadVars-signed.efi UpdateVars-signed.efi KeyTool-signed.efi HashTool-signed.efi SetNull-signed.efi ShimReplace-signed.efi cert-to-efi-sig-list sig-list-to-certs sign-efi-sig-list hash-to-efi-sig-list efi-readvar efi-updatevar cert-to-efi-hash-list flash-var *.o *.so rm -f noPK.* @@ -378,7 +414,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j42 "INSTALL=install --strip-program=true" + make -j20 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/efitools-1.9.2' make -C lib lib-efi.a make[2]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib' @@ -386,50 +422,50 @@ openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB/" -keyout DB.key -out DB.crt -days 3650 -nodes -sha256 cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c simple_file.c -o simple_file.efi.o openssl req -new -x509 -newkey rsa:2048 -subj "/CN=PK/" -keyout PK.key -out PK.crt -days 3650 -nodes -sha256 -....+.....+...................+.........+.....+......+.+.....+.......+.....+......+.+...+++++++++++++++++++++++++++++++++++++++*.....+.+.....+.........+....+......+.....+...+.............+............+...+..+.+.....+......+......+++++++++++++++++++++++++++++++++++++++*..........+.+............+.....+..........+...+...+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o -.....+............+....++++++ -......+............+.......+.....+...+......+.+++++++++++++++++++++++++++++++++++++++*.+...+++++++++++++++++++++++++++++++++++++++*...+......+....+......+.........+......+......+...+.........+..+....+.....+...............+.+...+........+...+..........+.++........+......++++++++++++++++++++++++++++++++.+.+++++++*....cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c cert-to-efi-sig-list.c -o cert-to-efi-sig-list.o -+...+..............+.+.....+.........+.......+...+..+.+...+.....+................+.....+.+..+.....+.....+..+++++++++++++++++++++++++++++++++++++.......+......+..............+.+......+++*...+.................+...........+.....+....+............+...+......++............+..+...+....+.....+.........+.....+...........++....++...........+.....+...+....+.........+.........+...+...+......+......+.+.....+.....................+.+.....+..+.+...+...++.....+...............+.........+....+...+.+............+......+................++.......++..+.+...+......+...+...+....+.................+.....+......+.+............+...............+..+.+.....................+.....+...............+..........+............+...+...+...+........+...........++.........make -C lib lib.a -............++++++ -...+...+.....+......+.+..+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o -............+.+----- -..+...+....+.........+............+...+..+....+cert-to-efi-sig-list.c:9: warning: "__STDC_VERSION__" redefined +.......+....+.....+......+.+...+..+++++++++++++++++++++++++++++++++++++++*.........+..+......+...+....+...+..+..........+.....+.......+...+......+..............+......+++++++++++++++++++++++++++++++++++++++*..+.......+..+.+.....+.......+...........+....+........+.......+......+..+...+.+...+..................+..+.....................+....+...+..+.......+.....+....+.........+...+..+...............+......+....+.................+.+..................+..+....+...+..+.+..+............+.+.....+.......+...+..............+..........+.........+.....+......+...............+.+.....+.......+..+.........+....+..+.+...............+..+..........+......+......+.........+.....+.+...+...+..............+.+..+...+............+......+.+.....+.+........+..........+......+...+.....+.+..+.......+.....+...+.........+...+............+.+........+....+.................+.+........+.....................+...................+............+...+.....+.+.....+.+...+......++++++ +..+..+...+......+....+...+..+.+..+...+......+.+..+.+...........+...+.+......+.....+......+...+.+...+..+.+...+..+...+....+..+++++++++++++++++++++++++++++++++++++++*..........+.+.....+.......+...+..++++++++cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pecoff.c -o pecoff.efi.o ++++++++++++++++++++++++++++++++*..............+....+.....+.......+.....+....+...+..+.+.....+...+..........+......+.....+...+..................+...+......+...+.............+.........+...+...........+.+.........+............+..+...+.............+.....+.........+.+.........+..+.+..+......+..........+.....+.+...+......+.................+...+....+...............+....+........+...+.....................+.............+......+..+....+.+..cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c cert-to-efi-sig-list.c -o cert-to-efi-sig-list.o +...+++++++++++++++++++++++++++++++++++++++*......+.....+....+..+...+.+.....+...+...+....+...+...+...+..+.........+.+..+.+.........+..+..........+......+..+.+...........+...+......++++++++++++++++++++++++++++++...+..+............+......+....+...+...........+....+...+.....++++++ ++++++++++*..+.......+...+----- +..+..........+.........+......+...+.....+.......+............+.....+...+.......+.....+.+.....+.......+...+.....+............+............................+.........+...+...+......+.....+......+...+..........+.....+.+......+..+......+......+.+..+.......+........+.......+...+..+......+.......+.....+...+...............+...................+...+...+..+.+......+.....+.+........+....+...+........+......+.+........+..........+...........+......+....+........+...............+.......+.........+.....+.+...+...+........+.......+.....+.......+......+......+.....+....+..+....+...+...+..............+..........+......+...+......+...............+...+..+......+......................+..+....+.........+...+..+......+make -C lib lib.a +.+...+......+.....+......+...+...+.......+..+.+.....+.............+..+.........+....+...........+....+.cert-to-efi-sig-list.c:9: warning: "__STDC_VERSION__" redefined 9 | #define __STDC_VERSION__ 199901L | -: note: this is the location of the previous definition -.....+...+...+....+....................+.+..+.......+......+..+.+.....+....+..+.............+......+.....+......+.+..+.+..............++++++ -........+......+......+++++++++++++++++++++++++++++++++++++++*.+.+.....+....+..+.........+.+...+.......................+.......+........+...+.+........+...+...+.+......+++++++++++++++++++++++++++++++++++++++*...+...............+openssl req -new -x509 -newkey rsa:2048 -subj "/CN=KEK/" -keyout KEK.key -out KEK.crt -days 3650 -nodes -sha256 +...........+...+..+.......+...: note: this is the location of the previous definition +..+.+...........+......+....+.....+...+...+.......+....................+.+.........+...........+.cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c guid.c -o guid.efi.o +...+.................+.+..............+.+..+......+.........+...+...+......+......+.......+..+...+.......+.....+...+.+.....+.......+........+................+.........+.....+......+...+...+....+...++++openssl req -new -x509 -newkey rsa:2048 -subj "/CN=KEK/" -keyout KEK.key -out KEK.crt -days 3650 -nodes -sha256 make[2]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib' -..+.+.........+.....+......+...+.........+.+..+....+........+......+...............+.+...+.....+......+.......+........+.......+...+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o -..++++++ +++ +..+.+...........+..........+.....+...+....+...............+.....+.+......+...+..........................+.........+.+.....+.......+..+.+......+...+...+.........+.....+.+.....+..........+..+...+....+.....+.........+.+++++++++++++++++++++++++++++++++++++++*.........+..+......+...............+.........+++++++++++++++++++++++++++++++++++++++*..+......+.............+......+..+.........+....+............+...+..............+............+...+.......+........+.......+...+..+................+.....+.......+.....+.......+......+.........+.....+.+...+...........+.+...............+............+...........+..........+...........+.........+.........+.+.........+..+.+..+.+.....+......+.+..+..................+....+.....+.+...+.....+....+...+.........+........+.+.....+........................+......+.+.....+....+......+...+...+.....+.............+.....+............+....+...........+...+.......+...+..+.........+.+...+......+.....+.........+.+..............+......................+.....+.........++++++ ----- -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sign-efi-sig-list.c -o sign-efi-sig-list.o -....+.....+.............+++++++++++++++++++++++++++++++++++++++*..+.....+.........+.+...........+...+.+...........+....+.....+.+.....+...+++++++++++++++++++++++++++++++++++++++*..+.........+......+........+......+.+...+..+...+......+.......+..+...+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c simple_file.c -o simple_file.o -..........+..+...+......................+........+....+...+..................+...+.....+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o -.+......+..+.+.....+.+...............+...+..+.+..+......+......+....+..+.............+......+...........+....+...+........+...+....+..+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c Loader.c -o Loader.o -...+.sign-efi-sig-list.c:7: warning: "__STDC_VERSION__" redefined +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c sha256.c -o sha256.efi.o +..+................+..+....+...+.....+......+....+..+++++++++++++++++++++++++++++++++++++++*.+..+......+.......+............+............+++++++++++++++++++++++++++++++++++++++*......+............+......+...........+..........+...+..cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sign-efi-sig-list.c -o sign-efi-sig-list.o ++..........+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c simple_file.c -o simple_file.o +.....+......+............+.+...........+...+...+.......+...+...+...........+.+...+.....+.......+..+.............+..+......+.+.....+.+...+..+.......+.....+.+..+............+.+.....+....+........+....+.....+..........+........+.+.....+.+.....+.+.....+...............+...+....+.....+...+.......+.....+.+............+...+.....+......+...+.........................+.....+...+...+....+...+.cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c console.c -o console.efi.o +..+..+.........+.+.....+....+........+.+......+.........+...........+.........+......+.+............+.....+......+.+...+......+..+...+......+......+.........+....+.....+.........+......+.+...+.....+......+.......+...............+........+.+.....+.+............sign-efi-sig-list.c:7: warning: "__STDC_VERSION__" redefined 7 | #define __STDC_VERSION__ 199901L | -.: note: this is the location of the previous definition -....+......+....+....................+....+...+........+....+...+..+.......+...............+...........+.............+...............+.....+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c pecoff.c -o pecoff.o -.+.....+.+........+....+......+..+.........+...+...+.........+....+......+...+...+..+.+.....+...............+.+......+...............+............+........+.............+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c execute.c -o execute.efi.o -...........+...+.+..+...............+.......+make -C lib/asn1 libasn1-efi.a -.....+.............+..+......+.+...+........+...+..........+...........+....+.........+..+..................+.+..+....++++++ -...+..........+..+..........+...........+..........+.....+.+...........+.......+..+++++++++++++++++++++++++++++++++++++++*.+.....+++++++++++++++++++++++++++++++++++++++*.+..............+...+...+.+......+..+.......+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c guid.c -o guid.o -........+.......+........+......+....+........+...+.+.....+.+.................+.+......+...+..+...+...make[2]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' -+.......+........+.........+....+.....+......+.+..+.+......+...+.....+...+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c ReadVars.c -o ReadVars.o -..........+...+............+..+...............+......+....+...+..............+.+..+......+..........+.....+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c configtable.c -o configtable.efi.o -....+...........+.+...+..+....+.........+........+.......+......+.....+....+.....+.+..+...+.+.....+.+..+.......+........+.......+...+........+....+...+...+.....+...+................+........+.+..+....+........+..........+..+.+.......................+....+.....+......+.......+..............+.+..+.+...........+sign-efi-sig-list.c: In function 'main': -...sign-efi-sig-list.c:166:17: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] +: note: this is the location of the previous definition +............+.........+..++cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c pecoff.c -o pecoff.o +++++ +.................+..............+.+..+....+...+.....+++++++++++++++++++++++++++++++++++++++*....+++++++++++++++++++++++++++++++++++++++*.......+...+......+..........+...+..+.............+.....+.cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c Loader.c -o Loader.o ++.....+.......+..+.+............+..+......+.+...+...+..+...+....+.....................+...+......+.....+....+.....+.....................+...+............+...+............+.+.....+...+....+..+......+...++++++ +----- +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c execute.c -o execute.efi.o +make -C lib/asn1 libasn1-efi.a +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c guid.c -o guid.o +sign-efi-sig-list.c: In function 'main': +sign-efi-sig-list.c:166:17: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] 166 | strptime(timestampstr, "%Y-%m-%d %H:%M:%S", &tms); | ^~~~~~~~ | strftime -...+....+...+cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sha256.c -o sha256.o -......+.....+...............+......+.+.....+...+.+........+...+...+.+.....+.+.....++++++ ------ +make[2]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c configtable.c -o configtable.efi.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c ReadVars.c -o ReadVars.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sha256.c -o sha256.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c shell.c -o shell.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c asn1.c -o asn1.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c UpdateVars.c -o UpdateVars.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c shell.c -o shell.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c console.c -o console.o ReadVars.c: In function 'efi_main': ReadVars.c:177:73: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] @@ -462,9 +498,14 @@ ReadVars.c:112:41: note: unnamed temporary defined here 112 | variables = (CHAR16 *[]){ L"PK", L"KEK", L"db", L"dbx", L"dbt", L"MokList" , NULL}; | ^ +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c security_policy.c -o security_policy.efi.o +UpdateVars.c: In function 'efi_main': +UpdateVars.c:24:49: warning: variable 'owner_guid' set but not used [-Wunused-but-set-variable] + 24 | CHAR16 **ARGV, *var, *name, *progname, *owner_guid; + | ^~~~~~~~~~ cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c asn1_parser.c -o asn1_parser.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c KeyTool.c -o KeyTool.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c security_policy.c -o security_policy.efi.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c execute.c -o execute.o In file included from asn1.c:18: chunk.h: In function 'chunk_equals': chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] @@ -494,14 +535,9 @@ | ^~~~~ /usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} 414 | IN CONST CHAR8 *s2, -UpdateVars.c: In function 'efi_main': -UpdateVars.c:24:49: warning: variable 'owner_guid' set but not used [-Wunused-but-set-variable] - 24 | CHAR16 **ARGV, *var, *name, *progname, *owner_guid; - | ^~~~~~~~~~ -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c execute.c -o execute.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c HashTool.c -o HashTool.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c shim_protocol.c -o shim_protocol.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c enumerator.c -o enumerator.efi.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c HashTool.c -o HashTool.o In file included from asn1_parser.c:18: chunk.h: In function 'chunk_equals': chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] @@ -536,9 +572,9 @@ 82 | u_int level; | ^~~~~ cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c configtable.c -o configtable.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pkcs7verify.c -o pkcs7verify.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c chunk.c -o chunk.efi.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c SetNull.c -o SetNull.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c pkcs7verify.c -o pkcs7verify.efi.o HashTool.c: In function 'efi_main': HashTool.c:187:25: warning: variable 'setup_mode_arg' set but not used [-Wunused-but-set-variable] 187 | setup_mode_arg = 0, keytool = NOSEL; @@ -548,11 +584,61 @@ | ^~~~~~~~~~ cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c shell.c -o shell.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c variables.c -o variables.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c ShimReplace.c -o ShimReplace.o cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c oid.c -o oid.efi.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sig-list-to-certs.c -o sig-list-to-certs.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c ShimReplace.c -o ShimReplace.o +In file included from chunk.c:18: +chunk.h: In function 'chunk_equals': +chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] + 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); + | ~^~~~ + | | + | u_char * {aka unsigned char *} +typedefs.h:9:32: note: in definition of macro 'memcmp' + 9 | #define memcmp(x,y,z) strncmpa(x,y,z) + | ^ +chunk.h:139:43: note: in expansion of macro 'memeq' + 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); + | ^~~~~ +In file included from typedefs.h:3: +/usr/include/efi/efilib.h:413:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + 413 | IN CONST CHAR8 *s1, +chunk.h:139:57: warning: pointer targets in passing argument 2 of 'strncmpa' differ in signedness [-Wpointer-sign] + 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); + | ~^~~~ + | | + | u_char * {aka unsigned char *} +typedefs.h:9:34: note: in definition of macro 'memcmp' + 9 | #define memcmp(x,y,z) strncmpa(x,y,z) + | ^ +chunk.h:139:43: note: in expansion of macro 'memeq' + 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); + | ^~~~~ +/usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + 414 | IN CONST CHAR8 *s2, cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c security_policy.c -o security_policy.o +chunk.c: In function 'chunk_compare': +chunk.c:55:24: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] + 55 | return memcmp(a.ptr, b.ptr, len); + | ~^~~~ + | | + | u_char * {aka unsigned char *} +typedefs.h:9:32: note: in definition of macro 'memcmp' + 9 | #define memcmp(x,y,z) strncmpa(x,y,z) + | ^ +/usr/include/efi/efilib.h:413:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + 413 | IN CONST CHAR8 *s1, +chunk.c:55:31: warning: pointer targets in passing argument 2 of 'strncmpa' differ in signedness [-Wpointer-sign] + 55 | return memcmp(a.ptr, b.ptr, len); + | ~^~~~ + | | + | u_char * {aka unsigned char *} +typedefs.h:9:34: note: in definition of macro 'memcmp' + 9 | #define memcmp(x,y,z) strncmpa(x,y,z) + | ^ +/usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} + 414 | IN CONST CHAR8 *s2, cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c identification.c -o identification.efi.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c sig-list-to-certs.c -o sig-list-to-certs.o oid.c:13:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 13 | {0x02, 7, 1, 0, "ITU-T Administration" }, /* 0 */ | ^~~~~~~~~~~~~~~~~~~~~~ @@ -825,6 +911,7 @@ 80 | { 0x08, 0, 1, 2, "jp" }, /* 67 */ | ^~~~ oid.c:80:43: note: (near initialization for 'oid_names[67].name') +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c shim_protocol.c -o shim_protocol.o oid.c:81:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 81 | { 0x8C, 0, 1, 3, "" }, /* 68 */ | ^~ @@ -837,7 +924,6 @@ 83 | { 0x4B, 0, 1, 5, "" }, /* 70 */ | ^~ oid.c:83:43: note: (near initialization for 'oid_names[70].name') -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c hash-to-efi-sig-list.c -o hash-to-efi-sig-list.o oid.c:84:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 84 | { 0x3D, 0, 1, 6, "" }, /* 71 */ | ^~ @@ -853,11 +939,6 @@ oid.c:87:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 87 | { 0x01, 0, 1, 9, "symm-encryption-alg" }, /* 74 */ | ^~~~~~~~~~~~~~~~~~~~~ -sig-list-to-certs.c:7: warning: "__STDC_VERSION__" redefined - 7 | #define __STDC_VERSION__ 199901L - | -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c shim_protocol.c -o shim_protocol.o -: note: this is the location of the previous definition oid.c:87:43: note: (near initialization for 'oid_names[74].name') oid.c:88:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 88 | { 0x02, 76, 0, 10, "camellia128-cbc" }, /* 75 */ @@ -906,24 +987,10 @@ oid.c:99:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 99 | { 0xF7, 0, 1, 4, "" }, /* 86 */ | ^~ -ShimReplace.c: In function 'efi_main': -ShimReplace.c:51:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 51 | efi_status = execute(image, loader); - | ^~~~~~ -In file included from ShimReplace.c:17: -/build/reproducible-path/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} - 5 | execute(EFI_HANDLE image, CHAR16 *name); - | ~~~~~~~~^~~~ -ShimReplace.c:57:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 57 | efi_status = execute(image, fallback); - | ^~~~~~~~ oid.c:99:43: note: (near initialization for 'oid_names[86].name') oid.c:100:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 100 | { 0x0D, 0, 1, 5, "RSADSI" }, /* 87 */ | ^~~~~~~~ -/build/reproducible-path/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} - 5 | execute(EFI_HANDLE image, CHAR16 *name); - | ~~~~~~~~^~~~ oid.c:100:43: note: (near initialization for 'oid_names[87].name') oid.c:101:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 101 | { 0x01, 123, 1, 6, "PKCS" }, /* 88 */ @@ -1009,68 +1076,18 @@ 121 | { 0x03, 109, 0, 8, "envelopedData" }, /* 108 */ | ^~~~~~~~~~~~~~~ oid.c:121:43: note: (near initialization for 'oid_names[108].name') -In file included from chunk.c:18: -chunk.h: In function 'chunk_equals': oid.c:122:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 122 | { 0x04, 110, 0, 8, "signedAndEnvelopedData" }, /* 109 */ | ^~~~~~~~~~~~~~~~~~~~~~~~ oid.c:122:43: note: (near initialization for 'oid_names[109].name') -chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] - 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); - | ~^~~~ - | | - | u_char * {aka unsigned char *} -typedefs.h:9:32: note: in definition of macro 'memcmp' - 9 | #define memcmp(x,y,z) strncmpa(x,y,z) - | ^ -chunk.h:139:43: note: in expansion of macro 'memeq' - 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); - | ^~~~~ -In file included from typedefs.h:3: -/usr/include/efi/efilib.h:413:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} - 413 | IN CONST CHAR8 *s1, oid.c:123:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 123 | { 0x05, 111, 0, 8, "digestedData" }, /* 110 */ | ^~~~~~~~~~~~~~ -chunk.h:139:57: warning: pointer targets in passing argument 2 of 'strncmpa' differ in signedness [-Wpointer-sign] - 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); - | ~^~~~ - | | - | u_char * {aka unsigned char *} -typedefs.h:9:34: note: in definition of macro 'memcmp' - 9 | #define memcmp(x,y,z) strncmpa(x,y,z) - | ^ -chunk.h:139:43: note: in expansion of macro 'memeq' - 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); - | ^~~~~ -/usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} - 414 | IN CONST CHAR8 *s2, oid.c:123:43: note: (near initialization for 'oid_names[110].name') oid.c:124:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 124 | { 0x06, 0, 0, 8, "encryptedData" }, /* 111 */ | ^~~~~~~~~~~~~~~ -chunk.c: In function 'chunk_compare': oid.c:124:43: note: (near initialization for 'oid_names[111].name') -chunk.c:55:24: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] - 55 | return memcmp(a.ptr, b.ptr, len); - | ~^~~~ - | | - | u_char * {aka unsigned char *} -typedefs.h:9:32: note: in definition of macro 'memcmp' - 9 | #define memcmp(x,y,z) strncmpa(x,y,z) - | ^ -/usr/include/efi/efilib.h:413:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} - 413 | IN CONST CHAR8 *s1, -chunk.c:55:31: warning: pointer targets in passing argument 2 of 'strncmpa' differ in signedness [-Wpointer-sign] - 55 | return memcmp(a.ptr, b.ptr, len); - | ~^~~~ - | | - | u_char * {aka unsigned char *} -typedefs.h:9:34: note: in definition of macro 'memcmp' - 9 | #define memcmp(x,y,z) strncmpa(x,y,z) - | ^ -/usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} - 414 | IN CONST CHAR8 *s2, oid.c:125:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 125 | { 0x09, 0, 1, 7, "PKCS-9" }, /* 112 */ | ^~~~~~~~ @@ -1162,7 +1179,6 @@ oid.c:147:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 147 | { 0x01, 135, 0, 7, "c2pnb163v1" }, /* 134 */ | ^~~~~~~~~~~~ -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c x509.c -o x509.efi.o oid.c:147:43: note: (near initialization for 'oid_names[134].name') oid.c:148:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 148 | { 0x02, 136, 0, 7, "c2pnb163v2" }, /* 135 */ @@ -1295,6 +1311,20 @@ oid.c:180:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 180 | { 0x03, 168, 0, 7, "ecdsa-with-SHA384" }, /* 167 */ | ^~~~~~~~~~~~~~~~~~~ +ShimReplace.c: In function 'efi_main': +ShimReplace.c:51:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 51 | efi_status = execute(image, loader); + | ^~~~~~ +In file included from ShimReplace.c:17: +/build/reproducible-path/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} + 5 | execute(EFI_HANDLE image, CHAR16 *name); + | ~~~~~~~~^~~~ +ShimReplace.c:57:37: warning: passing argument 2 of 'execute' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 57 | efi_status = execute(image, fallback); + | ^~~~~~~~ +/build/reproducible-path/efitools-1.9.2/include/execute.h:5:35: note: expected 'CHAR16 *' {aka 'short unsigned int *'} but argument is of type 'const CHAR16 *' {aka 'const short unsigned int *'} + 5 | execute(EFI_HANDLE image, CHAR16 *name); + | ~~~~~~~~^~~~ oid.c:180:43: note: (near initialization for 'oid_names[167].name') oid.c:181:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 181 | { 0x04, 0, 0, 7, "ecdsa-with-SHA512" }, /* 168 */ @@ -1435,7 +1465,6 @@ oid.c:215:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 215 | { 0x01, 203, 0, 7, "cps" }, /* 202 */ | ^~~~~ -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c efi-readvar.c -o efi-readvar.o oid.c:215:43: note: (near initialization for 'oid_names[202].name') oid.c:216:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 216 | { 0x02, 0, 0, 7, "unotice" }, /* 203 */ @@ -1541,7 +1570,6 @@ 241 | { 0x05, 229, 0, 8, "noCheck" }, /* 228 */ | ^~~~~~~~~ oid.c:241:43: note: (near initialization for 'oid_names[228].name') -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c pkcs7verify.c -o pkcs7verify.o oid.c:242:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 242 | { 0x06, 230, 0, 8, "archiveCutoff" }, /* 229 */ | ^~~~~~~~~~~~~~~ @@ -1734,6 +1762,10 @@ 289 | { 0x02, 277, 0, 8, "brainpoolP160t1" }, /* 276 */ | ^~~~~~~~~~~~~~~~~ oid.c:289:43: note: (near initialization for 'oid_names[276].name') +sig-list-to-certs.c:7: warning: "__STDC_VERSION__" redefined + 7 | #define __STDC_VERSION__ 199901L + | +: note: this is the location of the previous definition oid.c:290:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 290 | { 0x03, 278, 0, 8, "brainpoolP192r1" }, /* 277 */ | ^~~~~~~~~~~~~~~~~ @@ -1802,6 +1834,7 @@ 306 | { 0x02, 294, 0, 4, "sect163r1" }, /* 293 */ | ^~~~~~~~~~~ oid.c:306:43: note: (near initialization for 'oid_names[293].name') +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c hash-to-efi-sig-list.c -o hash-to-efi-sig-list.o oid.c:307:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 307 | { 0x03, 295, 0, 4, "sect239k1" }, /* 294 */ | ^~~~~~~~~~~ @@ -2025,6 +2058,7 @@ oid.c:362:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 362 | { 0x01, 350, 0, 8, "nsCertType" }, /* 349 */ | ^~~~~~~~~~~~ +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -fno-toplevel-reorder -DBUILD_EFI -c x509.c -o x509.efi.o oid.c:362:43: note: (near initialization for 'oid_names[349].name') oid.c:363:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 363 | { 0x03, 351, 0, 8, "nsRevocationUrl" }, /* 350 */ @@ -2058,6 +2092,7 @@ 370 | { 0x04, 0, 1, 7, "policy" }, /* 357 */ | ^~~~~~~~ oid.c:370:43: note: (near initialization for 'oid_names[357].name') +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c pkcs7verify.c -o pkcs7verify.o oid.c:371:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 371 | { 0x01, 0, 0, 8, "nsSGC" }, /* 358 */ | ^~~~~~~ @@ -2134,8 +2169,6 @@ 389 | { 0x0F, 0, 0, 4, "tcg-at-tpmIdLabel" } /* 376 */ | ^~~~~~~~~~~~~~~~~~~ oid.c:389:43: note: (near initialization for 'oid_names[376].name') -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c kernel_efivars.c -o kernel_efivars.o -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c openssl_sign.c -o openssl_sign.o In file included from identification.c:18: chunk.h: In function 'chunk_equals': chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] @@ -2165,10 +2198,6 @@ | ^~~~~ /usr/include/efi/efilib.h:414:24: note: expected 'const CHAR8 *' {aka 'const char *'} but argument is of type 'u_char *' {aka 'unsigned char *'} 414 | IN CONST CHAR8 *s2, -hash-to-efi-sig-list.c:7: warning: "__STDC_VERSION__" redefined - 7 | #define __STDC_VERSION__ 199901L - | -: note: this is the location of the previous definition identification.c: At top level: identification.c:34:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 34 | {"ND", OID_NAME_DISTINGUISHER, ASN1_PRINTABLESTRING}, @@ -2229,7 +2258,6 @@ identification.c:48:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 48 | {"N", OID_NAME, ASN1_PRINTABLESTRING}, | ^~~ -cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c efi-updatevar.c -o efi-updatevar.o identification.c:48:10: note: (near initialization for 'x501rdns[14].name') identification.c:49:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 49 | {"G", OID_GIVEN_NAME, ASN1_PRINTABLESTRING}, @@ -2290,6 +2318,11 @@ identification.c:33:24: warning: 'x501rdns' defined but not used [-Wunused-const-variable=] 33 | static const x501rdn_t x501rdns[] = { | ^~~~~~~~ +hash-to-efi-sig-list.c:7: warning: "__STDC_VERSION__" redefined + 7 | #define __STDC_VERSION__ 199901L + | +: note: this is the location of the previous definition +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c efi-readvar.c -o efi-readvar.o In file included from x509.c:1: chunk.h: In function 'chunk_equals': chunk.h:139:50: warning: pointer targets in passing argument 1 of 'strncmpa' differ in signedness [-Wpointer-sign] @@ -2420,6 +2453,7 @@ 33 | { 1, "signatureAlgorithm", ASN1_EOC, ASN1_RAW }, /* 24 */ | ^~~~~~~~~~~~~~~~~~~~ x509.c:33:16: note: (near initialization for 'x509_certObjects[24].name') +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c kernel_efivars.c -o kernel_efivars.o x509.c:34:16: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 34 | { 1, "signatureValue", ASN1_BIT_STRING, ASN1_BODY }, /* 25 */ | ^~~~~~~~~~~~~~~~ @@ -2428,12 +2462,42 @@ 35 | { 0, "exit", ASN1_EOC, ASN1_EXIT } | ^~~~~~ x509.c:35:14: note: (near initialization for 'x509_certObjects[26].name') +ar rcv libasn1-efi.a asn1.efi.o asn1_parser.efi.o enumerator.efi.o chunk.efi.o oid.efi.o identification.efi.o x509.efi.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c efi-updatevar.c -o efi-updatevar.o +cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c openssl_sign.c -o openssl_sign.o +a - asn1.efi.o +a - asn1_parser.efi.o +a - enumerator.efi.o +a - chunk.efi.o +a - oid.efi.o +a - identification.efi.o +a - x509.efi.o +make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' kernel_efivars.c:19: warning: "__STDC_VERSION__" redefined 19 | #define __STDC_VERSION__ 199901L | : note: this is the location of the previous definition cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c cert-to-efi-hash-list.c -o cert-to-efi-hash-list.o +efi-readvar.c:20: warning: "__STDC_VERSION__" redefined + 20 | #define __STDC_VERSION__ 199901L + | +: note: this is the location of the previous definition cc -I/build/reproducible-path/efitools-1.9.2/include/ -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -O2 -g -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -fno-stack-protector -ffreestanding -fno-stack-check -DGNU_EFI_USE_MS_ABI -DEFI_FUNCTION_WRAPPER -mno-red-zone -DCONFIG_x86_64 -c flash-var.c -o flash-var.o +efi-updatevar.c:23: warning: "__STDC_VERSION__" redefined + 23 | #define __STDC_VERSION__ 199901L + | +: note: this is the location of the previous definition +> noPK.esl +flash-var.c:13: warning: "__STDC_VERSION__" redefined + 13 | #define __STDC_VERSION__ 199901L + | +: note: this is the location of the previous definition +flash-var.c: In function 'main': +flash-var.c:109:17: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] + 109 | strptime(timestampstr, "%Y-%m-%d %H:%M:%S", &tms); + | ^~~~~~~~ + | strftime +openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB1/" -keyout DB1.key -out DB1.crt -days 3650 -nodes -sha256 openssl_sign.c: In function 'read_engine_private_key': openssl_sign.c:118:9: warning: 'ENGINE_load_builtin_engines' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 118 | ENGINE_load_builtin_engines(); @@ -2472,90 +2536,21 @@ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ -> noPK.esl -efi-updatevar.c:23: warning: "__STDC_VERSION__" redefined - 23 | #define __STDC_VERSION__ 199901L - | -: note: this is the location of the previous definition -openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB1/" -keyout DB1.key -out DB1.crt -days 3650 -nodes -sha256 -flash-var.c:13: warning: "__STDC_VERSION__" redefined - 13 | #define __STDC_VERSION__ 199901L - | -: note: this is the location of the previous definition -efi-readvar.c:20: warning: "__STDC_VERSION__" redefined - 20 | #define __STDC_VERSION__ 199901L - | -: note: this is the location of the previous definition -flash-var.c: In function 'main': -flash-var.c:109:17: warning: implicit declaration of function 'strptime'; did you mean 'strftime'? [-Wimplicit-function-declaration] - 109 | strptime(timestampstr, "%Y-%m-%d %H:%M:%S", &tms); - | ^~~~~~~~ - | strftime openssl req -new -x509 -newkey rsa:2048 -subj "/CN=DB2/" -keyout DB2.key -out DB2.crt -days 3650 -nodes -sha256 -..................+..+.+.........+...+++++++++++++++++++++++++++++ar rcv libasn1-efi.a asn1.efi.o asn1_parser.efi.o enumerator.efi.o chunk.efi.o oid.efi.o identification.efi.o x509.efi.o -++++++++++*........+............+..................+..+.+++++++++++++++++++++++++++++++++++++++*.....+...+......+.+......+.....+.......+...+...+..+...+..........+..+....+........+...............+......+......+....+...............+...........+...+......+.+...........+.......+...+........+.+..+.......+........+......+....+........+...+....+..+...+.+a - asn1.efi.o -a - asn1_parser.efi.o -a - enumerator.efi.o -a - chunk.efi.o -a - oid.efi.o -a - identification.efi.o -a - x509.efi.o -..+.......+......+......+......+..+...+...+++++++++++.......++++++++++++++++++++++..+..+..+.+.++++*.+..........++++++++++++++++.+..+++++++++++++++++++++++*..........+........+.....+.......+...+..+.....+.++..++.+...++.....++ -.+................+...+++++++++++++++++++++.+.+...++++++++++++++++*.........+....+..+....+.....+......+...+...+..+.+.+.+..+..++++++++++++++++++++++++++++.+..+..+...+...+*..........+........+..+...+.........+.........+.........+....++..+......+.......+...+......+.+...+.....++....+....+.........++...++.++ -make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' -.+.+.....+...............+......+.........+.+----- -...........+...+...............+.......+...+..ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds SetNull.o -o SetNull.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -+....+.....+....+..+.......+.....+......+....+..+....+...........+....+..+...+.+...........+.........+.+...+..+...+.........+............+.........+.+........+.......+....................+.+........+.+..# check we have no undefined symbols -.+........nm -D SetNull.so | grep ' U ' && exit 1 || exit 0 -+.........+......+..........+..+.+.........+..+....+...............+.........+............+.....+...+.......+...+.....+...+....+...+...+.....+objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 SetNull.so SetNull.efi -+++++ -.........+..+++++++++++++++++++++++++++++++++++++++*.+.......+..+.+++++++++++++++++++++++++++++++++++++++*...+......+........+....+..+.+............+..+..................++++++ +...+.......+.....+...+++++++++++++++++++++++++++++++++++++++*.......+.........+......+......+.......+..+....+..+....+.........+..+..........+..+............+.+........+....+............+...+......+++++++++++++++++++++++++++++++++++++++*...........+.....+....+..+...+.+...........+...+...+....+.....+.+.....+.......+...+...+.....+............+....+.....+.........+.+........+.+.....+......+..................+............+.+..+.......+.........+..+...+................+........+...+...+....+........+..........+..+......+.+.....+.+..+............+..........+...+........+.......+...+..+.+++...+++++++++++++++++++++++++++++++++++++++++*....+......+++++++++++++++++++++++++++++ +...+++.++...+..++.++....+.......++...+++....++*..+..........+.....++++++++++++++++++++++++++++++++++++++++*..........+..+...+......+.+.........+.....+.........+......+.......+...+......+...........+...+.+...........+.......+..+.+++++++++++++++++++++++++++++++++++++++*............+........+..........+......+.....+.+...+.......+..+.....+...+.........+...+.........+...+......+...+.....+.........++.......++.......+..............+.........+....+.........+..........+..+...+...+...............+.....+....+............+...+..+..++.....+..+...++..........++..+++....+...+......+..+.......+.....+...+....+.....+.+..+.........................+............++ +.+...+++++++++++++++++++++++++++++++++++.+.++++*.....++++++++++++++++++++++++++++++++....++++++++*.+.....+.......+.....+............+...+.......+...+...+........+...+..................++....+...+........+.....+......+......+.+...+...+......+....................+......+.......+......+..+....+........++...+....+......+.....+..........+..+....+.....+....+............+.....+.............+...+...+.+..+...+..............................+...+..............++..........++....+.....+....+...........+.............+......+.........+.........+..............+.....+.......+..+....+...+...+...+..+....+......+...............+............+..+.............+......+..............+.+......+..+...+.............+...+..+....+...+...+..+.....++..+......+......+......+...+.+............+.....+....+..+...+.+......+....+.......+...+.......+......+..+....+.................+.ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds SetNull.o -o SetNull.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +..............++........++...+...+...+.+...............+...+...+............++..................+...+..+....+............+...+...+...+..+.+...+..........................+.......+.........+...+..+....+...+..+.+.......+.....................+.....+...+........+.+........+.+..........+........++.....++...+...+......................+..+...+....+...+.....+++.......++.................+++ +.+...........+.+----- +..+...+.........+....+..+.......+...+..+.......+.....+..................+......+....++++++ ----- -sbsign --key DB.key --cert DB.crt --output SetNull-signed.efi SetNull.efi -warning: data remaining[35840 vs 45097]: gaps between PE/COFF sections? -warning: data remaining[35840 vs 45104]: gaps between PE/COFF sections? -Signing Unsigned original image -ar rcv lib-efi.a simple_file.efi.o pecoff.efi.o guid.efi.o sha256.efi.o console.efi.o execute.efi.o configtable.efi.o shell.efi.o security_policy.efi.o shim_protocol.efi.o pkcs7verify.efi.o variables.o -a - simple_file.efi.o -a - pecoff.efi.o -a - guid.efi.o -a - sha256.efi.o -a - console.efi.o -a - execute.efi.o -a - configtable.efi.o -a - shell.efi.o -a - security_policy.efi.o -a - shim_protocol.efi.o -a - pkcs7verify.efi.o -a - variables.o -make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds HelloWorld.o lib/lib-efi.a -o HelloWorld.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds Loader.o lib/lib-efi.a -o Loader.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -# check we have no undefined symbols -nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0 -# check we have no undefined symbols -nm -D Loader.so | grep ' U ' && exit 1 || exit 0 -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds ReadVars.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o ReadVars.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -# check we have no undefined symbols -nm -D ReadVars.so | grep ' U ' && exit 1 || exit 0 -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds UpdateVars.o lib/lib-efi.a -o UpdateVars.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds KeyTool.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o KeyTool.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -# check we have no undefined symbols -nm -D UpdateVars.so | grep ' U ' && exit 1 || exit 0 -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds HashTool.o lib/lib-efi.a -o HashTool.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a # check we have no undefined symbols -nm -D KeyTool.so | grep ' U ' && exit 1 || exit 0 -# check we have no undefined symbols -nm -D HashTool.so | grep ' U ' && exit 1 || exit 0 -ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds ShimReplace.o lib/lib-efi.a -o ShimReplace.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a -# check we have no undefined symbols -nm -D ShimReplace.so | grep ' U ' && exit 1 || exit 0 -ar rcv lib.a simple_file.o pecoff.o guid.o sha256.o console.o execute.o configtable.o shell.o security_policy.o shim_protocol.o pkcs7verify.o kernel_efivars.o openssl_sign.o +nm -D SetNull.so | grep ' U ' && exit 1 || exit 0 objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 HelloWorld.so HelloWorld.efi + -j .reloc --target=efi-app-x86_64 SetNull.so SetNull.efi +ar rcv lib.a simple_file.o pecoff.o guid.o sha256.o console.o execute.o configtable.o shell.o security_policy.o shim_protocol.o pkcs7verify.o kernel_efivars.o openssl_sign.o +sbsign --key DB.key --cert DB.crt --output SetNull-signed.efi SetNull.efi a - simple_file.o a - pecoff.o a - guid.o @@ -2569,27 +2564,26 @@ a - pkcs7verify.o a - kernel_efivars.o a - openssl_sign.o -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 Loader.so Loader.efi make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 ReadVars.so ReadVars.efi -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 UpdateVars.so UpdateVars.efi -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 KeyTool.so KeyTool.efi -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 HashTool.so HashTool.efi -objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ - -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ - -j .reloc --target=efi-app-x86_64 ShimReplace.so ShimReplace.efi cc -o sig-list-to-certs sig-list-to-certs.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto +warning: data remaining[35840 vs 45097]: gaps between PE/COFF sections? +warning: data remaining[35840 vs 45104]: gaps between PE/COFF sections? +ar rcv lib-efi.a simple_file.efi.o pecoff.efi.o guid.efi.o sha256.efi.o console.efi.o execute.efi.o configtable.efi.o shell.efi.o security_policy.efi.o shim_protocol.efi.o pkcs7verify.efi.o variables.o +Signing Unsigned original image cc -o hash-to-efi-sig-list hash-to-efi-sig-list.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a +a - simple_file.efi.o +a - pecoff.efi.o +a - guid.efi.o +a - sha256.efi.o +a - console.efi.o +a - execute.efi.o +a - configtable.efi.o +a - shell.efi.o +a - security_policy.efi.o +a - shim_protocol.efi.o +a - pkcs7verify.efi.o +a - variables.o +make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' cc -o efi-readvar efi-readvar.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto cc -o efi-updatevar efi-updatevar.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto /usr/bin/ld: lib/lib.a(kernel_efivars.o): in function `kernel_variable_init': @@ -2606,8 +2600,8 @@ ./cert-to-efi-hash-list KEK.crt KEK-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 ./cert-to-efi-hash-list DB.crt DB-hash-blacklist.esl -./cert-to-efi-hash-list DB1.crt DB1-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 +./cert-to-efi-hash-list DB1.crt DB1-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 ./cert-to-efi-hash-list DB2.crt DB2-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 @@ -2616,84 +2610,77 @@ ./cert-to-efi-hash-list ms-kek.crt ms-kek-hash-blacklist.esl TimeOfRevocation is 0-0-0 00:00:00 TimeOfRevocation is 0-0-0 00:00:00 -sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds HelloWorld.o lib/lib-efi.a -o HelloWorld.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a cc -o cert-to-efi-sig-list cert-to-efi-sig-list.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto -warning: data remaining[40448 vs 50191]: gaps between PE/COFF sections? -warning: data remaining[40448 vs 50192]: gaps between PE/COFF sections? -Signing Unsigned original image +# check we have no undefined symbols +nm -D HelloWorld.so | grep ' U ' && exit 1 || exit 0 cc -o sign-efi-sig-list sign-efi-sig-list.o -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/efitools-1.9.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro lib/lib.a -lcrypto -sbsign --key DB.key --cert DB.crt --output Loader-signed.efi Loader.efi -sbsign --key DB.key --cert DB.crt --output ReadVars-signed.efi ReadVars.efi -warning: data remaining[77824 vs 89868]: gaps between PE/COFF sections? -warning: data remaining[77824 vs 89872]: gaps between PE/COFF sections? -Signing Unsigned original image -sbsign --key DB.key --cert DB.crt --output UpdateVars-signed.efi UpdateVars.efi -warning: data remaining[101888 vs 114903]: gaps between PE/COFF sections? -warning: data remaining[101888 vs 114904]: gaps between PE/COFF sections? -Signing Unsigned original image -sbsign --key DB.key --cert DB.crt --output KeyTool-signed.efi KeyTool.efi -sbsign --key DB.key --cert DB.crt --output HashTool-signed.efi HashTool.efi -warning: data remaining[77824 vs 89878]: gaps between PE/COFF sections? -warning: data remaining[77824 vs 89880]: gaps between PE/COFF sections? -warning: data remaining[108544 vs 121951]: gaps between PE/COFF sections? -warning: data remaining[108544 vs 121952]: gaps between PE/COFF sections? -Signing Unsigned original image -Signing Unsigned original image -sbsign --key DB.key --cert DB.crt --output ShimReplace-signed.efi ShimReplace.efi -warning: data remaining[77824 vs 89918]: gaps between PE/COFF sections? -warning: data remaining[77824 vs 89920]: gaps between PE/COFF sections? -Signing Unsigned original image -warning: data remaining[78848 vs 91343]: gaps between PE/COFF sections? +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds Loader.o lib/lib-efi.a -o Loader.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +# check we have no undefined symbols +nm -D Loader.so | grep ' U ' && exit 1 || exit 0 +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds ReadVars.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o ReadVars.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +# check we have no undefined symbols +nm -D ReadVars.so | grep ' U ' && exit 1 || exit 0 +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds UpdateVars.o lib/lib-efi.a -o UpdateVars.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +# check we have no undefined symbols +nm -D UpdateVars.so | grep ' U ' && exit 1 || exit 0 +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds KeyTool.o lib/lib-efi.a lib/asn1/libasn1-efi.a -o KeyTool.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +# check we have no undefined symbols +nm -D KeyTool.so | grep ' U ' && exit 1 || exit 0 +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds HashTool.o lib/lib-efi.a -o HashTool.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +# check we have no undefined symbols +nm -D HashTool.so | grep ' U ' && exit 1 || exit 0 +ld -nostdlib -shared -Bsymbolic /lib/crt0-efi-x86_64.o -L /lib -L /usr/lib -L /usr/lib64 -T elf_x86_64_efi.lds ShimReplace.o lib/lib-efi.a -o ShimReplace.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a help2man --no-info -i doc/cert-to-efi-hash-list.1.in -o doc/cert-to-efi-hash-list.1 ./cert-to-efi-hash-list -warning: data remaining[78848 vs 91344]: gaps between PE/COFF sections? -Signing Unsigned original image +# check we have no undefined symbols +nm -D ShimReplace.so | grep ' U ' && exit 1 || exit 0 help2man --no-info -i doc/cert-to-efi-sig-list.1.in -o doc/cert-to-efi-sig-list.1 ./cert-to-efi-sig-list help2man --no-info -i doc/sign-efi-sig-list.1.in -o doc/sign-efi-sig-list.1 ./sign-efi-sig-list -./sign-efi-sig-list -t "2025-05-31 07:59:38" -c PK.crt -k PK.key PK noPK.esl noPK.auth +./sign-efi-sig-list -t "2024-04-28 01:39:22" -c PK.crt -k PK.key PK noPK.esl noPK.auth ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB1.crt DB1.esl -./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB2.crt DB2.esl -Timestamp is 2025-5-31 07:59:38 +Timestamp is 2024-4-28 01:39:22 Authentication Payload size 40 Signature of size 1148 Signature at: 40 +./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB2.crt DB2.esl ./cert-to-efi-sig-list -g 77FA9ABD-0359-4D32-BD60-28F4E78F784B ms-uefi.crt ms-uefi.esl ./cert-to-efi-sig-list -g 77FA9ABD-0359-4D32-BD60-28F4E78F784B ms-kek.crt ms-kek.esl ./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB1.esl DB1-update.auth -./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB2.esl DB2-update.auth -./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi-update.auth -./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-kek.esl ms-kek-update.auth Timestamp is 0-0-0 00:00:00 -Authentication Payload size 1640 +Authentication Payload size 853 Signature of size 1151 Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB2.esl DB2-update.auth +./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1151 Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key db ms-kek.esl ms-kek-update.auth ./sign-efi-sig-list -a -c PK.crt -k PK.key db DB1.esl DB1-pkupdate.auth -./sign-efi-sig-list -a -c PK.crt -k PK.key db DB2.esl DB2-pkupdate.auth -./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-uefi.esl ms-uefi-pkupdate.auth -./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-kek.esl ms-kek-pkupdate.auth Timestamp is 0-0-0 00:00:00 -Authentication Payload size 853 +Authentication Payload size 1640 +Signature of size 1151 +Signature at: 40 +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 1600 Signature of size 1151 Signature at: 40 +./sign-efi-sig-list -a -c PK.crt -k PK.key db DB2.esl DB2-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1148 Signature at: 40 +./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-uefi.esl ms-uefi-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 853 Signature of size 1148 Signature at: 40 +./sign-efi-sig-list -a -c PK.crt -k PK.key db ms-kek.esl ms-kek-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 1640 Signature of size 1148 Signature at: 40 -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 1600 -Signature of size 1151 -Signature at: 40 ./cert-to-efi-sig-list PK.crt PK-blacklist.esl Timestamp is 0-0-0 00:00:00 Authentication Payload size 1600 @@ -2740,43 +2727,64 @@ Authentication Payload size 134 Signature of size 1151 Signature at: 40 +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 HelloWorld.so HelloWorld.efi ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc KEK.crt KEK.esl ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc DB.crt DB.esl +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 Loader.so Loader.efi +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 ReadVars.so ReadVars.efi +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 UpdateVars.so UpdateVars.efi +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 KeyTool.so KeyTool.efi +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 HashTool.so HashTool.efi +objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \ + -j .rel -j .rela -j .rel.* -j .rela.* -j .rel* -j .rela* \ + -j .reloc --target=efi-app-x86_64 ShimReplace.so ShimReplace.efi ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB1.esl DB1.auth -./sign-efi-sig-list -c KEK.crt -k KEK.key db DB2.esl DB2.auth -Timestamp is 2025-5-31 07:59:39 +Timestamp is 2024-4-28 01:39:30 Authentication Payload size 853 Signature of size 1151 Signature at: 40 -Timestamp is 2025-5-31 07:59:39 +./sign-efi-sig-list -c KEK.crt -k KEK.key db DB2.esl DB2.auth +Timestamp is 2024-4-28 01:39:30 Authentication Payload size 853 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi.auth -./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-kek.esl ms-kek.auth -Timestamp is 2025-5-31 07:59:39 +Timestamp is 2024-4-28 01:39:30 Authentication Payload size 1640 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-update.auth -Timestamp is 2025-5-31 07:59:39 +./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-kek.esl ms-kek.auth +Timestamp is 2024-4-28 01:39:30 Authentication Payload size 1600 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-update.auth +./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 851 Signature of size 1148 Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB.esl DB-update.auth +./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-update.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 855 Signature of size 1148 Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key db DB.esl DB-update.auth ./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-pkupdate.auth Timestamp is 0-0-0 00:00:00 -Authentication Payload size 851 +Authentication Payload size 850 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-pkupdate.auth @@ -2784,14 +2792,14 @@ Authentication Payload size 851 Signature of size 1148 Signature at: 40 -./sign-efi-sig-list -a -c PK.crt -k PK.key db DB.esl DB-pkupdate.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 855 Signature of size 1148 Signature at: 40 +./sign-efi-sig-list -a -c PK.crt -k PK.key db DB.esl DB-pkupdate.auth ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx PK-blacklist.esl PK-blacklist.auth Timestamp is 0-0-0 00:00:00 -Authentication Payload size 851 +Authentication Payload size 850 Signature of size 1148 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx KEK-blacklist.esl KEK-blacklist.auth @@ -2806,7 +2814,7 @@ Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB1-blacklist.esl DB1-blacklist.auth Timestamp is 0-0-0 00:00:00 -Authentication Payload size 853 +Authentication Payload size 852 Signature of size 1151 Signature at: 40 ./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB2-blacklist.esl DB2-blacklist.auth @@ -2828,21 +2836,49 @@ Authentication Payload size 1602 Signature of size 1151 Signature at: 40 +sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi +warning: data remaining[40448 vs 50191]: gaps between PE/COFF sections? +warning: data remaining[40448 vs 50192]: gaps between PE/COFF sections? +Signing Unsigned original image ./sign-efi-sig-list -c PK.crt -k PK.key PK PK.esl PK.auth -./sign-efi-sig-list -c PK.crt -k PK.key KEK KEK.esl KEK.auth -Timestamp is 2025-5-31 07:59:40 +Timestamp is 2024-4-28 01:39:34 Authentication Payload size 851 Signature of size 1148 Signature at: 40 +./sign-efi-sig-list -c PK.crt -k PK.key KEK KEK.esl KEK.auth ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB.esl DB.auth -Timestamp is 2025-5-31 07:59:40 +Timestamp is 2024-4-28 01:39:34 Authentication Payload size 855 Signature of size 1148 Signature at: 40 -Timestamp is 2025-5-31 07:59:40 -Authentication Payload size 851 +sbsign --key DB.key --cert DB.crt --output Loader-signed.efi Loader.efi +Timestamp is 2024-4-28 01:39:35 +Authentication Payload size 850 Signature of size 1151 Signature at: 40 +sbsign --key DB.key --cert DB.crt --output ReadVars-signed.efi ReadVars.efi +warning: data remaining[77824 vs 89868]: gaps between PE/COFF sections? +warning: data remaining[77824 vs 89872]: gaps between PE/COFF sections? +Signing Unsigned original image +sbsign --key DB.key --cert DB.crt --output UpdateVars-signed.efi UpdateVars.efi +warning: data remaining[101888 vs 114903]: gaps between PE/COFF sections? +warning: data remaining[101888 vs 114904]: gaps between PE/COFF sections? +Signing Unsigned original image +warning: data remaining[77824 vs 89878]: gaps between PE/COFF sections? +sbsign --key DB.key --cert DB.crt --output KeyTool-signed.efi KeyTool.efi +warning: data remaining[77824 vs 89880]: gaps between PE/COFF sections? +Signing Unsigned original image +sbsign --key DB.key --cert DB.crt --output HashTool-signed.efi HashTool.efi +warning: data remaining[108544 vs 121951]: gaps between PE/COFF sections? +warning: data remaining[108544 vs 121952]: gaps between PE/COFF sections? +Signing Unsigned original image +sbsign --key DB.key --cert DB.crt --output ShimReplace-signed.efi ShimReplace.efi +warning: data remaining[77824 vs 89918]: gaps between PE/COFF sections? +warning: data remaining[77824 vs 89920]: gaps between PE/COFF sections? +Signing Unsigned original image +warning: data remaining[78848 vs 91343]: gaps between PE/COFF sections? +warning: data remaining[78848 vs 91344]: gaps between PE/COFF sections? +Signing Unsigned original image ./xxdi.pl PK.auth > PK.h ./xxdi.pl KEK.auth > KEK.h ./xxdi.pl DB.auth > DB.h @@ -2871,18 +2907,18 @@ make[1]: Entering directory '/build/reproducible-path/efitools-1.9.2' dh_auto_install -- EFIDIR="debian/efitools/usr/lib/efitools/x86_64-linux-gnu" install -m0755 -d /build/reproducible-path/efitools-1.9.2/debian/efitools - make -j42 install DESTDIR=/build/reproducible-path/efitools-1.9.2/debian/efitools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" EFIDIR=debian/efitools/usr/lib/efitools/x86_64-linux-gnu + make -j20 install DESTDIR=/build/reproducible-path/efitools-1.9.2/debian/efitools AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" EFIDIR=debian/efitools/usr/lib/efitools/x86_64-linux-gnu make[2]: Entering directory '/build/reproducible-path/efitools-1.9.2' make -C lib lib-efi.a -make -C lib lib.a make[3]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib' +make -C lib lib.a make[3]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib' -make -C lib/asn1 libasn1-efi.a make[3]: 'lib-efi.a' is up to date. make[3]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' -make[3]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' +make -C lib/asn1 libasn1-efi.a make[3]: 'lib.a' is up to date. make[3]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' +make[3]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' make[3]: 'libasn1-efi.a' is up to date. make[3]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib/asn1' install --strip-program=true -m 755 -d /build/reproducible-path/efitools-1.9.2/debian/efitools/usr/share/man/man1 @@ -2918,26 +2954,26 @@ install -p -m0644 debian/.debhelper/generated/efitools/dh_installchangelogs.dch.trimmed debian/efitools/usr/share/doc/efitools/changelog.Debian dh_installman man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/cert-to-efi-hash-list.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/efi-readvar.1 man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/efi-updatevar.1 - man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/sig-list-to-certs.1 man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/cert-to-efi-sig-list.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/efi-readvar.1 man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1 man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/sign-efi-sig-list.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/sig-list-to-certs.1 mv debian/efitools/usr/share/man/man1/cert-to-efi-hash-list.1.dh-new debian/efitools/usr/share/man/man1/cert-to-efi-hash-list.1 chmod 0644 -- debian/efitools/usr/share/man/man1/cert-to-efi-hash-list.1 mv debian/efitools/usr/share/man/man1/efi-readvar.1.dh-new debian/efitools/usr/share/man/man1/efi-readvar.1 chmod 0644 -- debian/efitools/usr/share/man/man1/efi-readvar.1 - mv debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1.dh-new debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1 - chmod 0644 -- debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1 + mv debian/efitools/usr/share/man/man1/efi-updatevar.1.dh-new debian/efitools/usr/share/man/man1/efi-updatevar.1 + chmod 0644 -- debian/efitools/usr/share/man/man1/efi-updatevar.1 mv debian/efitools/usr/share/man/man1/cert-to-efi-sig-list.1.dh-new debian/efitools/usr/share/man/man1/cert-to-efi-sig-list.1 chmod 0644 -- debian/efitools/usr/share/man/man1/cert-to-efi-sig-list.1 mv debian/efitools/usr/share/man/man1/sign-efi-sig-list.1.dh-new debian/efitools/usr/share/man/man1/sign-efi-sig-list.1 chmod 0644 -- debian/efitools/usr/share/man/man1/sign-efi-sig-list.1 - mv debian/efitools/usr/share/man/man1/efi-updatevar.1.dh-new debian/efitools/usr/share/man/man1/efi-updatevar.1 - chmod 0644 -- debian/efitools/usr/share/man/man1/efi-updatevar.1 mv debian/efitools/usr/share/man/man1/sig-list-to-certs.1.dh-new debian/efitools/usr/share/man/man1/sig-list-to-certs.1 chmod 0644 -- debian/efitools/usr/share/man/man1/sig-list-to-certs.1 + mv debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1.dh-new debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1 + chmod 0644 -- debian/efitools/usr/share/man/man1/hash-to-efi-sig-list.1 dh_perl dh_link dh_strip_nondeterminism @@ -2963,54 +2999,54 @@ chmod 0644 -- debian/efitools/usr/lib/debug/.dwz/x86_64-linux-gnu/efitools.debug chown 0:0 -- debian/efitools/usr/lib/debug/.dwz/x86_64-linux-gnu/efitools.debug dh_strip - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40 - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-readvar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug - strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/efi-readvar - objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug debian/efitools/usr/bin/efi-readvar - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9 - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/sig-list-to-certs debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug - strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/sig-list-to-certs - objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug debian/efitools/usr/bin/sig-list-to-certs - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38 - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/cert-to-efi-hash-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug - strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/cert-to-efi-hash-list - objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug debian/efitools/usr/bin/cert-to-efi-hash-list install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/d3 objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-updatevar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/d3/0b63cfc63be739a9c08a2548310728d4680df5.debug chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/d3/0b63cfc63be739a9c08a2548310728d4680df5.debug chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/d3/0b63cfc63be739a9c08a2548310728d4680df5.debug strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/efi-updatevar objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/d3/0b63cfc63be739a9c08a2548310728d4680df5.debug debian/efitools/usr/bin/efi-updatevar + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/cert-to-efi-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug + strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/cert-to-efi-sig-list + objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug debian/efitools/usr/bin/cert-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9 + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/sig-list-to-certs debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug + strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/sig-list-to-certs + objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/c9/cad8d209643af7d23ebebfd381fd0a983362f4.debug debian/efitools/usr/bin/sig-list-to-certs + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/sign-efi-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug + strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/sign-efi-sig-list + objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug debian/efitools/usr/bin/sign-efi-sig-list install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/3d objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/hash-to-efi-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/3d/550352485e77a9fa284790ac74a85f1747f3e2.debug chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/3d/550352485e77a9fa284790ac74a85f1747f3e2.debug chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/3d/550352485e77a9fa284790ac74a85f1747f3e2.debug strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/hash-to-efi-sig-list objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/3d/550352485e77a9fa284790ac74a85f1747f3e2.debug debian/efitools/usr/bin/hash-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38 + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/cert-to-efi-hash-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug + strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/cert-to-efi-hash-list + objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/c2d3c345464773bab55c89b8807a9c8e864f7c.debug debian/efitools/usr/bin/cert-to-efi-hash-list install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bd objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/flash-var debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bd/cb49f15215531724f6a87b1b467d80c63abce2.debug chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bd/cb49f15215531724f6a87b1b467d80c63abce2.debug chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bd/cb49f15215531724f6a87b1b467d80c63abce2.debug strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/flash-var objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bd/cb49f15215531724f6a87b1b467d80c63abce2.debug debian/efitools/usr/bin/flash-var - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/sign-efi-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug - strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/sign-efi-sig-list - objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/f6211c3df2baf3429ef24dc835f528229cbd14.debug debian/efitools/usr/bin/sign-efi-sig-list - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/cert-to-efi-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug - strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/cert-to-efi-sig-list - objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/1a/c48032183f35506729c38d1252582faa83ca60.debug debian/efitools/usr/bin/cert-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40 + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-readvar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug + strip --remove-section=.comment --remove-section=.note debian/efitools/usr/bin/efi-readvar + objcopy --add-gnu-debuglink debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/40/1def18af3bd8ca64fda41eb7cce723ef852382.debug debian/efitools/usr/bin/efi-readvar install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.dwz cp --reflink=auto -a debian/efitools/usr/lib/debug/.dwz/x86_64-linux-gnu debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.dwz rm -fr debian/efitools/usr/lib/debug/.dwz @@ -3022,7 +3058,7 @@ rm -f debian/efitools/DEBIAN/shlibs dh_shlibdeps install -m0755 -d debian/efitools/DEBIAN - dpkg-shlibdeps -Tdebian/efitools.substvars debian/efitools/usr/bin/efi-readvar debian/efitools/usr/bin/sig-list-to-certs debian/efitools/usr/bin/cert-to-efi-hash-list debian/efitools/usr/bin/efi-updatevar debian/efitools/usr/bin/hash-to-efi-sig-list debian/efitools/usr/bin/flash-var debian/efitools/usr/bin/sign-efi-sig-list debian/efitools/usr/bin/cert-to-efi-sig-list + dpkg-shlibdeps -Tdebian/efitools.substvars debian/efitools/usr/bin/efi-updatevar debian/efitools/usr/bin/cert-to-efi-sig-list debian/efitools/usr/bin/sig-list-to-certs debian/efitools/usr/bin/sign-efi-sig-list debian/efitools/usr/bin/hash-to-efi-sig-list debian/efitools/usr/bin/cert-to-efi-hash-list debian/efitools/usr/bin/flash-var debian/efitools/usr/bin/efi-readvar dh_installdeb install -m0755 -d debian/efitools/DEBIAN dh_gencontrol @@ -3048,8 +3084,8 @@ dh_builddeb dpkg-deb --build debian/efitools .. dpkg-deb --root-owner-group --build debian/.debhelper/efitools/dbgsym-root .. -dpkg-deb: building package 'efitools-dbgsym' in '../efitools-dbgsym_1.9.2-3_amd64.deb'. dpkg-deb: building package 'efitools' in '../efitools_1.9.2-3_amd64.deb'. +dpkg-deb: building package 'efitools-dbgsym' in '../efitools-dbgsym_1.9.2-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../efitools_1.9.2-3_amd64.buildinfo dpkg-genchanges --build=binary -O../efitools_1.9.2-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3057,12 +3093,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/91109/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/1204286 and its subdirectories -I: Current time: Fri May 30 19:59:51 -12 2025 -I: pbuilder-time-stamp: 1748678391 +I: removing directory /srv/workspace/pbuilder/91109 and its subdirectories +I: Current time: Sun Apr 28 15:40:37 +14 2024 +I: pbuilder-time-stamp: 1714268437