Diff of the two buildlogs: -- --- b1/build.log 2024-05-17 14:03:09.842414254 +0000 +++ b2/build.log 2024-05-17 14:03:57.456389176 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri May 17 02:00:21 -12 2024 -I: pbuilder-time-stamp: 1715954421 +I: Current time: Fri Jun 20 10:26:12 +14 2025 +I: pbuilder-time-stamp: 1750364772 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/546249/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2606605/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 Jun 19 20:26 /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/2606605/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2606605/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=20 ' - 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=42 ' + 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='9ad765574bde45aa9032c4c436be139e' - 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='546249' - PS1='# ' - PS2='> ' + INVOCATION_ID=f2a5d115058c4945a78c641e4f316105 + 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=2606605 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.3PGtppDf/pbuilderrc_ETrR --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.3PGtppDf/b1 --logfile b1/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+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.3PGtppDf/pbuilderrc_Z5ti --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.3PGtppDf/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://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 17 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/546249/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 18 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2606605/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 4s (5593 kB/s) +Fetched 23.8 MB in 0s (104 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 ... 19719 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/2606605/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2606605/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 -j20 clean + make -j42 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 -j20 "INSTALL=install --strip-program=true" + make -j42 "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,60 +422,56 @@ 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 -......+...+...+...+...............++...........+.+.........+.....+..............++.+.+.....+......+.......+..........+.+............+..+.....++......+...........+...+......+.+......+..+......+.........+....+.........+.+..........+......+.......+..........+........+..+.....++....++.+.++.+..................+...+.........+.+ -.......+...+...+...+.....+......+.+..+...+...+......+.+.++++++++++++++++++++++++++++++++++++++*...+............+.....+.+............++++++++++....+.++++++++++++++++++++++++++++*.......+.+..+.................++.....+.+....+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 -......+...........+..+............+...+.+.+...+..............++.+.....++.+...............+..................+.............+..........+.........+.........+......++.+.....+...............+.............+..+...++++...++..++ -.......+........+.............++++++ ------ -make -C lib lib.a ------ -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 +.....+........+..........+..+..+.....+.+..+..........+........+....+...+..+.......+........++..+++++++++....+...+++++++++++++++.+..+..+..+.+.+.....++++++++++*..............+..............+.....+......+.+....+.+...+.........+.......+.........++..+......+++++++.+...+..+..+..+.+.+..++.+++++++++++++++..+...+++++++++*.+.+.........+..+...+.......+.......+...+...+......+...+....++.....+.+.......+...........+...................+...+...............+....+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 +............++...........++............+.................+.......+...+.....+.+.+...+.........+.+....+................+..+..................+..+.......+.+...+...+........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 -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 -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 -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 sign-efi-sig-list.c -o sign-efi-sig-list.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 ++++++++++++++++++++++++++++++++++++++++++*+++...+++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 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 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 execute.c -o execute.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 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 -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 -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 -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 -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 -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 UpdateVars.c -o UpdateVars.o -ReadVars.c: In function 'efi_main': +..: 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 +........+.+..+...+....+...+.....+....+...+..+.+...+.....+.......+.....+...+...............+.+..............+.......+...+...........+...+.....................+.+........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 -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 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 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 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 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 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 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=] 177 | Print(L"Variable %s has no entries\n", variables[i]); | ^ 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}; | ^ -ReadVars.c:179:67: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] +.....ReadVars.c:179:67: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 179 | Print(L"Failed to get %s: %d\n", variables[i], status); | ^ -ReadVars.c:112:41: note: unnamed temporary defined here ++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}; | ^ ReadVars.c:184:61: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] @@ -454,21 +486,22 @@ 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}; | ^ -ReadVars.c:181:68: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] +...ReadVars.c:181:68: warning: dangling pointer 'variables' to an unnamed temporary may be used [-Wdangling-pointer=] 181 | Print(L"Variable %s length %d\n", variables[i], len); | ^ -ReadVars.c:112:41: note: unnamed temporary defined here ++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 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 -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 console.c -o console.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 -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; - | ^~~~~~~~~~ -In file included from asn1.c:18: +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 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 -c execute.c -o execute.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 +..+.......+..+......+...............+....+......+..+...............+..........+.....+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] 139 | a.len == b.len && memeq(a.ptr, b.ptr, a.len); @@ -484,7 +517,7 @@ 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] +.............+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); | ~^~~~ | | @@ -497,12 +530,16 @@ | ^~~~~ /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 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 -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 -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 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 -fno-toplevel-reorder -DBUILD_EFI -c pkcs7verify.c -o pkcs7verify.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 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 +..............+......+.........+......+.......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 -c configtable.c -o configtable.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 +573,10 @@ asn1_parser.c:82:15: warning: variable 'level' set but not used [-Wunused-but-set-variable] 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 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 -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 shell.c -o shell.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; @@ -546,10 +584,9 @@ HashTool.c:185:28: warning: variable 'setup_mode' set but not used [-Wunused-but-set-variable] 185 | int c = 0, setup_mode = NOSEL, uefi_reboot = NOSEL, | ^~~~~~~~~~ -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 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 -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 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 -c security_policy.c -o security_policy.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] @@ -601,6 +638,7 @@ /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 */ | ^~~~~~~~~~~~~~~~~~~~~~ @@ -728,6 +766,7 @@ oid.c:44:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 44 | { 0x29, 32, 0, 2, "N" }, /* 31 */ | ^~~ +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:44:43: note: (near initialization for 'oid_names[31].name') oid.c:45:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 45 | { 0x2A, 33, 0, 2, "G" }, /* 32 */ @@ -868,7 +907,6 @@ oid.c:79:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 79 | { 0x83, 78, 1, 1, "" }, /* 66 */ | ^~ -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 oid.c:79:43: note: (near initialization for 'oid_names[66].name') oid.c:80:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 80 | { 0x08, 0, 1, 2, "jp" }, /* 67 */ @@ -1058,10 +1096,24 @@ 126 | { 0x01, 114, 0, 8, "E" }, /* 113 */ | ^~~ oid.c:126:43: note: (near initialization for 'oid_names[113].name') +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); + | ^~~~~~ oid.c:127:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 127 | { 0x02, 115, 0, 8, "unstructuredName" }, /* 114 */ | ^~~~~~~~~~~~~~~~~~ +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); + | ~~~~~~~~^~~~ oid.c:127:43: note: (near initialization for 'oid_names[114].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:128:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 128 | { 0x03, 116, 0, 8, "contentType" }, /* 115 */ | ^~~~~~~~~~~~~ @@ -1070,6 +1122,7 @@ 129 | { 0x04, 117, 0, 8, "messageDigest" }, /* 116 */ | ^~~~~~~~~~~~~~~ oid.c:129:43: note: (near initialization for 'oid_names[116].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 -fno-toplevel-reorder -DBUILD_EFI -c x509.c -o x509.efi.o oid.c:130:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 130 | { 0x05, 118, 0, 8, "signingTime" }, /* 117 */ | ^~~~~~~~~~~~~ @@ -1138,10 +1191,10 @@ 146 | { 0x00, 154, 1, 6, "c-TwoCurve" }, /* 133 */ | ^~~~~~~~~~~~ oid.c:146:43: note: (near initialization for 'oid_names[133].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: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 -c sig-list-to-certs.c -o sig-list-to-certs.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 */ @@ -1154,7 +1207,11 @@ oid.c:150:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 150 | { 0x04, 138, 0, 7, "c2pnb176w1" }, /* 137 */ | ^~~~~~~~~~~~ +sig-list-to-certs.c:7: warning: "__STDC_VERSION__" redefined + 7 | #define __STDC_VERSION__ 199901L + | oid.c:150:43: note: (near initialization for 'oid_names[137].name') +: note: this is the location of the previous definition oid.c:151:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 151 | { 0x05, 139, 0, 7, "c2tnb191v1" }, /* 138 */ | ^~~~~~~~~~~~ @@ -1291,6 +1348,7 @@ 184 | { 0x01, 0, 1, 2, "internet" }, /* 171 */ | ^~~~~~~~~~ oid.c:184:43: note: (near initialization for 'oid_names[171].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:185:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 185 | { 0x04, 194, 1, 3, "private" }, /* 172 */ | ^~~~~~~~~ @@ -1354,11 +1412,27 @@ oid.c:200:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 200 | { 0x89, 0, 1, 5, "" }, /* 187 */ | ^~ +In file included from identification.c:18: +chunk.h: In function 'chunk_equals': oid.c:200:43: note: (near initialization for 'oid_names[187].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); + | ^~~~~ oid.c:201:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 201 | { 0x31, 0, 1, 6, "" }, /* 188 */ | ^~ oid.c:201:43: note: (near initialization for 'oid_names[188].name') +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:202:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 202 | { 0x01, 0, 1, 7, "" }, /* 189 */ | ^~ @@ -1367,6 +1441,19 @@ 203 | { 0x01, 0, 1, 8, "" }, /* 190 */ | ^~ oid.c:203:43: note: (near initialization for 'oid_names[190].name') +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:204:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 204 | { 0x02, 0, 1, 9, "" }, /* 191 */ | ^~ @@ -1435,54 +1522,171 @@ 220 | { 0x03, 208, 0, 7, "codeSigning" }, /* 207 */ | ^~~~~~~~~~~~~ oid.c:220:43: note: (near initialization for 'oid_names[207].name') +identification.c: At top level: oid.c:221:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 221 | { 0x04, 209, 0, 7, "emailProtection" }, /* 208 */ | ^~~~~~~~~~~~~~~~~ +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}, + | ^~~~ oid.c:221:43: note: (near initialization for 'oid_names[208].name') +identification.c:34:10: note: (near initialization for 'x501rdns[0].name') +identification.c:35:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 35 | {"UID", OID_PILOT_USERID, ASN1_PRINTABLESTRING}, + | ^~~~~ +identification.c:35:10: note: (near initialization for 'x501rdns[1].name') +identification.c:36:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 36 | {"DC", OID_PILOT_DOMAIN_COMPONENT, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:36:10: note: (near initialization for 'x501rdns[2].name') oid.c:222:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 222 | { 0x05, 210, 0, 7, "ipsecEndSystem" }, /* 209 */ | ^~~~~~~~~~~~~~~~ +identification.c:37:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 37 | {"CN", OID_COMMON_NAME, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:37:10: note: (near initialization for 'x501rdns[3].name') oid.c:222:43: note: (near initialization for 'oid_names[209].name') +identification.c:38:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 38 | {"S", OID_SURNAME, ASN1_PRINTABLESTRING}, + | ^~~ +identification.c:38:10: note: (near initialization for 'x501rdns[4].name') +identification.c:39:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 39 | {"SN", OID_SERIAL_NUMBER, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:39:10: note: (near initialization for 'x501rdns[5].name') oid.c:223:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 223 | { 0x06, 211, 0, 7, "ipsecTunnel" }, /* 210 */ | ^~~~~~~~~~~~~ +identification.c:40:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 40 | {"serialNumber", OID_SERIAL_NUMBER, ASN1_PRINTABLESTRING}, + | ^~~~~~~~~~~~~~ oid.c:223:43: note: (near initialization for 'oid_names[210].name') +identification.c:40:10: note: (near initialization for 'x501rdns[6].name') +identification.c:41:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 41 | {"C", OID_COUNTRY, ASN1_PRINTABLESTRING}, + | ^~~ +identification.c:41:10: note: (near initialization for 'x501rdns[7].name') oid.c:224:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 224 | { 0x07, 212, 0, 7, "ipsecUser" }, /* 211 */ | ^~~~~~~~~~~ +identification.c:42:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 42 | {"L", OID_LOCALITY, ASN1_PRINTABLESTRING}, + | ^~~ oid.c:224:43: note: (near initialization for 'oid_names[211].name') +identification.c:42:10: note: (near initialization for 'x501rdns[8].name') +identification.c:43:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 43 | {"ST", OID_STATE_OR_PROVINCE, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:43:10: note: (near initialization for 'x501rdns[9].name') oid.c:225:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 225 | { 0x08, 213, 0, 7, "timeStamping" }, /* 212 */ | ^~~~~~~~~~~~~~ +identification.c:44:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 44 | {"O", OID_ORGANIZATION, ASN1_PRINTABLESTRING}, + | ^~~ +identification.c:44:10: note: (near initialization for 'x501rdns[10].name') oid.c:225:43: note: (near initialization for 'oid_names[212].name') +identification.c:45:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 45 | {"OU", OID_ORGANIZATION_UNIT, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:45:10: note: (near initialization for 'x501rdns[11].name') oid.c:226:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 226 | { 0x09, 0, 0, 7, "ocspSigning" }, /* 213 */ | ^~~~~~~~~~~~~ oid.c:226:43: note: (near initialization for 'oid_names[213].name') +identification.c:46:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 46 | {"T", OID_TITLE, ASN1_PRINTABLESTRING}, + | ^~~ oid.c:227:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 227 | { 0x08, 216, 1, 6, "id-otherNames" }, /* 214 */ | ^~~~~~~~~~~~~~~ +identification.c:46:10: note: (near initialization for 'x501rdns[12].name') oid.c:227:43: note: (near initialization for 'oid_names[214].name') +identification.c:47:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 47 | {"D", OID_DESCRIPTION, ASN1_PRINTABLESTRING}, + | ^~~ +identification.c:47:10: note: (near initialization for 'x501rdns[13].name') +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}, + | ^~~ +identification.c:48:10: note: (near initialization for 'x501rdns[14].name') oid.c:228:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 228 | { 0x05, 0, 0, 7, "xmppAddr" }, /* 215 */ | ^~~~~~~~~~ +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}, + | ^~~ +identification.c:49:10: note: (near initialization for 'x501rdns[15].name') oid.c:228:43: note: (near initialization for 'oid_names[215].name') +identification.c:50:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 50 | {"I", OID_INITIALS, ASN1_PRINTABLESTRING}, + | ^~~ +identification.c:50:10: note: (near initialization for 'x501rdns[16].name') +identification.c:51:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 51 | {"dnQualifier", OID_DN_QUALIFIER, ASN1_PRINTABLESTRING}, + | ^~~~~~~~~~~~~ +identification.c:51:10: note: (near initialization for 'x501rdns[17].name') oid.c:229:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 229 | { 0x0A, 221, 1, 6, "id-aca" }, /* 216 */ | ^~~~~~~~ oid.c:229:43: note: (near initialization for 'oid_names[216].name') +identification.c:52:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 52 | {"ID", OID_UNIQUE_IDENTIFIER, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:52:10: note: (near initialization for 'x501rdns[18].name') +identification.c:53:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 53 | {"EN", OID_EMPLOYEE_NUMBER, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:53:10: note: (near initialization for 'x501rdns[19].name') oid.c:230:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 230 | { 0x01, 218, 0, 7, "authenticationInfo" }, /* 217 */ | ^~~~~~~~~~~~~~~~~~~~ +identification.c:54:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 54 | {"employeeNumber", OID_EMPLOYEE_NUMBER, ASN1_PRINTABLESTRING}, + | ^~~~~~~~~~~~~~~~ +identification.c:54:10: note: (near initialization for 'x501rdns[20].name') oid.c:230:43: note: (near initialization for 'oid_names[217].name') +identification.c:55:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 55 | {"E", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, + | ^~~ +identification.c:55:10: note: (near initialization for 'x501rdns[21].name') +identification.c:56:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 56 | {"Email", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, + | ^~~~~~~ +identification.c:56:10: note: (near initialization for 'x501rdns[22].name') +identification.c:57:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 57 | {"emailAddress", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, + | ^~~~~~~~~~~~~~ +identification.c:57:10: note: (near initialization for 'x501rdns[23].name') +identification.c:58:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | {"UN", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, + | ^~~~ oid.c:231:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 231 | { 0x02, 219, 0, 7, "accessIdentity" }, /* 218 */ | ^~~~~~~~~~~~~~~~ oid.c:231:43: note: (near initialization for 'oid_names[218].name') +identification.c:58:10: note: (near initialization for 'x501rdns[24].name') +identification.c:59:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | {"unstructuredName", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, + | ^~~~~~~~~~~~~~~~~~ +identification.c:59:10: note: (near initialization for 'x501rdns[25].name') oid.c:232:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 232 | { 0x03, 220, 0, 7, "chargingIdentity" }, /* 219 */ | ^~~~~~~~~~~~~~~~~~ +identification.c:60:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | {"UA", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING}, + | ^~~~ +identification.c:60:10: note: (near initialization for 'x501rdns[26].name') oid.c:232:43: note: (near initialization for 'oid_names[219].name') +identification.c:61:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | {"unstructuredAddress", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING}, + | ^~~~~~~~~~~~~~~~~~~~~ +identification.c:61:10: note: (near initialization for 'x501rdns[27].name') +identification.c:62:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | {"TCGID", OID_TCGID, ASN1_PRINTABLESTRING} + | ^~~~~~~ +identification.c:62:10: note: (near initialization for 'x501rdns[28].name') oid.c:233:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 233 | { 0x04, 0, 0, 7, "group" }, /* 220 */ | ^~~~~~~ @@ -1511,6 +1715,9 @@ 239 | { 0x03, 227, 0, 8, "crl" }, /* 226 */ | ^~~~~ oid.c:239:43: note: (near initialization for 'oid_names[226].name') +identification.c:33:24: warning: 'x501rdns' defined but not used [-Wunused-const-variable=] + 33 | static const x501rdn_t x501rdns[] = { + | ^~~~~~~~ oid.c:240:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 240 | { 0x04, 228, 0, 8, "response" }, /* 227 */ | ^~~~~~~~~~ @@ -1523,6 +1730,7 @@ 242 | { 0x06, 230, 0, 8, "archiveCutoff" }, /* 229 */ | ^~~~~~~~~~~~~~~ oid.c:242:43: note: (near initialization for 'oid_names[229].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 efi-readvar.c -o efi-readvar.o oid.c:243:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 243 | { 0x07, 0, 0, 8, "serviceLocator" }, /* 230 */ | ^~~~~~~~~~~~~~~~ @@ -1535,6 +1743,10 @@ 245 | { 0x03, 233, 0, 7, "timeStamping" }, /* 232 */ | ^~~~~~~~~~~~~~ oid.c:245:43: note: (near initialization for 'oid_names[232].name') +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 oid.c:246:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 246 | { 0x05, 0, 0, 7, "caRepository" }, /* 233 */ | ^~~~~~~~~~~~~~ @@ -1655,6 +1867,7 @@ 275 | { 0x03, 263, 0, 6, "curve" }, /* 262 */ | ^~~~~~~ oid.c:275:43: note: (near initialization for 'oid_names[262].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 oid.c:276:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 276 | { 0x04, 270, 1, 6, "signatures" }, /* 263 */ | ^~~~~~~~~~~~ @@ -1747,14 +1960,43 @@ 298 | { 0x0B, 286, 0, 8, "brainpoolP384r1" }, /* 285 */ | ^~~~~~~~~~~~~~~~~ oid.c:298:43: note: (near initialization for 'oid_names[285].name') +In file included from x509.c:1: +chunk.h: In function 'chunk_equals': oid.c:299:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 299 | { 0x0C, 287, 0, 8, "brainpoolP384t1" }, /* 286 */ | ^~~~~~~~~~~~~~~~~ oid.c:299:43: note: (near initialization for 'oid_names[286].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:300:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 300 | { 0x0D, 288, 0, 8, "brainpoolP512r1" }, /* 287 */ | ^~~~~~~~~~~~~~~~~ oid.c:300:43: note: (near initialization for 'oid_names[287].name') +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:301:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 301 | { 0x0E, 0, 0, 8, "brainpoolP512t1" }, /* 288 */ | ^~~~~~~~~~~~~~~~~ @@ -1767,50 +2009,159 @@ 303 | { 0x04, 0, 1, 2, "Certicom" }, /* 290 */ | ^~~~~~~~~~ oid.c:303:43: note: (near initialization for 'oid_names[290].name') +x509.c: At top level: +x509.c:9:14: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 9 | { 0, "x509", ASN1_SEQUENCE, ASN1_OBJ }, /* 0 */ + | ^~~~~~ +x509.c:9:14: note: (near initialization for 'x509_certObjects[0].name') oid.c:304:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 304 | { 0x00, 0, 1, 3, "curve" }, /* 291 */ | ^~~~~~~ oid.c:304:43: note: (near initialization for 'oid_names[291].name') +x509.c:10:16: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 10 | { 1, "tbsCertificate", ASN1_SEQUENCE, ASN1_OBJ }, /* 1 */ + | ^~~~~~~~~~~~~~~~ +x509.c:10:16: note: (near initialization for 'x509_certObjects[1].name') +x509.c:11:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 11 | { 2, "DEFAULT v1", ASN1_CONTEXT_C_0, ASN1_DEF }, /* 2 */ + | ^~~~~~~~~~~~ +x509.c:11:18: note: (near initialization for 'x509_certObjects[2].name') oid.c:305:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 305 | { 0x01, 293, 0, 4, "sect163k1" }, /* 292 */ | ^~~~~~~~~~~ +x509.c:12:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 12 | { 3, "version", ASN1_INTEGER, ASN1_BODY }, /* 3 */ + | ^~~~~~~~~ oid.c:305:43: note: (near initialization for 'oid_names[292].name') +x509.c:12:20: note: (near initialization for 'x509_certObjects[3].name') +x509.c:13:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 13 | { 2, "serialNumber", ASN1_INTEGER, ASN1_BODY }, /* 4 */ + | ^~~~~~~~~~~~~~ +x509.c:13:18: note: (near initialization for 'x509_certObjects[4].name') oid.c:306:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 306 | { 0x02, 294, 0, 4, "sect163r1" }, /* 293 */ | ^~~~~~~~~~~ +x509.c:14:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 14 | { 2, "signature", ASN1_EOC, ASN1_RAW }, /* 5 */ + | ^~~~~~~~~~~ oid.c:306:43: note: (near initialization for 'oid_names[293].name') +x509.c:14:18: note: (near initialization for 'x509_certObjects[5].name') +x509.c:15:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 15 | { 2, "issuer", ASN1_SEQUENCE, ASN1_OBJ }, /* 6 */ + | ^~~~~~~~ +x509.c:15:18: note: (near initialization for 'x509_certObjects[6].name') 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 */ | ^~~~~~~~~~~ oid.c:307:43: note: (near initialization for 'oid_names[294].name') +x509.c:16:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 16 | { 2, "validity", ASN1_SEQUENCE, ASN1_NONE }, /* 7 */ + | ^~~~~~~~~~ +x509.c:16:18: note: (near initialization for 'x509_certObjects[7].name') +x509.c:17:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 17 | { 3, "notBefore", ASN1_EOC, ASN1_RAW }, /* 8 */ + | ^~~~~~~~~~~ +x509.c:17:20: note: (near initialization for 'x509_certObjects[8].name') +x509.c:18:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 18 | { 3, "notAfter", ASN1_EOC, ASN1_RAW }, /* 9 */ + | ^~~~~~~~~~ +x509.c:18:20: note: (near initialization for 'x509_certObjects[9].name') oid.c:308:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 308 | { 0x04, 296, 0, 4, "sect113r1" }, /* 295 */ | ^~~~~~~~~~~ oid.c:308:43: note: (near initialization for 'oid_names[295].name') +x509.c:19:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 19 | { 2, "subject", ASN1_SEQUENCE, ASN1_OBJ }, /* 10 */ + | ^~~~~~~~~ +x509.c:19:18: note: (near initialization for 'x509_certObjects[10].name') +x509.c:20:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 20 | { 2, "subjectPublicKeyInfo",ASN1_SEQUENCE, ASN1_RAW }, /* 11 */ + | ^~~~~~~~~~~~~~~~~~~~~~ +x509.c:20:18: note: (near initialization for 'x509_certObjects[11].name') oid.c:309:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 309 | { 0x05, 297, 0, 4, "sect113r2" }, /* 296 */ | ^~~~~~~~~~~ oid.c:309:43: note: (near initialization for 'oid_names[296].name') +x509.c:21:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 21 | { 2, "issuerUniqueID", ASN1_CONTEXT_C_1, ASN1_OPT }, /* 12 */ + | ^~~~~~~~~~~~~~~~ +x509.c:21:18: note: (near initialization for 'x509_certObjects[12].name') +x509.c:22:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 22 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 13 */ + | ^~~~~~~~~ +x509.c:22:18: note: (near initialization for 'x509_certObjects[13].name') +x509.c:23:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 23 | { 2, "subjectUniqueID", ASN1_CONTEXT_C_2, ASN1_OPT }, /* 14 */ + | ^~~~~~~~~~~~~~~~~ +x509.c:23:18: note: (near initialization for 'x509_certObjects[14].name') oid.c:310:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 310 | { 0x06, 298, 0, 4, "secp112r1" }, /* 297 */ | ^~~~~~~~~~~ oid.c:310:43: note: (near initialization for 'oid_names[297].name') +x509.c:24:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 24 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 15 */ + | ^~~~~~~~~ +x509.c:24:18: note: (near initialization for 'x509_certObjects[15].name') +x509.c:25:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 25 | { 2, "optional extensions", ASN1_CONTEXT_C_3, ASN1_OPT }, /* 16 */ + | ^~~~~~~~~~~~~~~~~~~~~ +x509.c:25:18: note: (near initialization for 'x509_certObjects[16].name') +x509.c:26:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 26 | { 3, "extensions", ASN1_SEQUENCE, ASN1_LOOP }, /* 17 */ + | ^~~~~~~~~~~~ +x509.c:26:20: note: (near initialization for 'x509_certObjects[17].name') oid.c:311:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 311 | { 0x07, 299, 0, 4, "secp112r2" }, /* 298 */ | ^~~~~~~~~~~ oid.c:311:43: note: (near initialization for 'oid_names[298].name') +x509.c:27:22: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 27 | { 4, "extension", ASN1_SEQUENCE, ASN1_NONE }, /* 18 */ + | ^~~~~~~~~~~ +x509.c:27:22: note: (near initialization for 'x509_certObjects[18].name') +x509.c:28:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 28 | { 5, "extnID", ASN1_OID, ASN1_BODY }, /* 19 */ + | ^~~~~~~~ +x509.c:28:24: note: (near initialization for 'x509_certObjects[19].name') +x509.c:29:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 29 | { 5, "critical", ASN1_BOOLEAN, ASN1_DEF|ASN1_BODY }, /* 20 */ + | ^~~~~~~~~~ +x509.c:29:24: note: (near initialization for 'x509_certObjects[20].name') oid.c:312:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 312 | { 0x08, 300, 0, 4, "secp160r1" }, /* 299 */ | ^~~~~~~~~~~ oid.c:312:43: note: (near initialization for 'oid_names[299].name') +x509.c:30:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 30 | { 5, "extnValue", ASN1_OCTET_STRING, ASN1_BODY }, /* 21 */ + | ^~~~~~~~~~~ +x509.c:30:24: note: (near initialization for 'x509_certObjects[21].name') +x509.c:31:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 31 | { 3, "end loop", ASN1_EOC, ASN1_END }, /* 22 */ + | ^~~~~~~~~~ +x509.c:31:20: note: (near initialization for 'x509_certObjects[22].name') oid.c:313:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 313 | { 0x09, 301, 0, 4, "secp160k1" }, /* 300 */ | ^~~~~~~~~~~ +x509.c:32:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 32 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 23 */ + | ^~~~~~~~~ oid.c:313:43: note: (near initialization for 'oid_names[300].name') +x509.c:32:18: note: (near initialization for 'x509_certObjects[23].name') +x509.c:33:16: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 33 | { 1, "signatureAlgorithm", ASN1_EOC, ASN1_RAW }, /* 24 */ + | ^~~~~~~~~~~~~~~~~~~~ +x509.c:33:16: note: (near initialization for 'x509_certObjects[24].name') oid.c:314:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 314 | { 0x0A, 302, 0, 4, "secp256k1" }, /* 301 */ | ^~~~~~~~~~~ +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 */ + | ^~~~~~~~~~~~~~~~ +x509.c:34:16: note: (near initialization for 'x509_certObjects[25].name') oid.c:314:43: note: (near initialization for 'oid_names[301].name') +x509.c:35:14: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] + 35 | { 0, "exit", ASN1_EOC, ASN1_EXIT } + | ^~~~~~ +x509.c:35:14: note: (near initialization for 'x509_certObjects[26].name') oid.c:315:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 315 | { 0x0F, 303, 0, 4, "sect163r2" }, /* 302 */ | ^~~~~~~~~~~ @@ -1818,7 +2169,6 @@ oid.c:316:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 316 | { 0x10, 304, 0, 4, "sect283k1" }, /* 303 */ | ^~~~~~~~~~~ -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:316:43: note: (near initialization for 'oid_names[303].name') oid.c:317:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 317 | { 0x11, 305, 0, 4, "sect283r1" }, /* 304 */ @@ -1955,20 +2305,6 @@ oid.c:350:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 350 | { 0x2A, 338, 0, 8, "id-aes256-CBC" }, /* 337 */ | ^~~~~~~~~~~~~~~ -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:350:43: note: (near initialization for 'oid_names[337].name') oid.c:351:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 351 | { 0x2E, 339, 0, 8, "id-aes256-GCM" }, /* 338 */ @@ -2066,10 +2402,6 @@ 374 | { 0x09, 0, 1, 8, "attributes" }, /* 361 */ | ^~~~~~~~~~~~ oid.c:374:43: note: (near initialization for 'oid_names[361].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:375:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 375 | { 0x02, 363, 0, 9, "messageType" }, /* 362 */ | ^~~~~~~~~~~~~ @@ -2078,47 +2410,20 @@ 376 | { 0x03, 364, 0, 9, "pkiStatus" }, /* 363 */ | ^~~~~~~~~~~ oid.c:376:43: note: (near initialization for 'oid_names[363].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 efi-updatevar.c -o efi-updatevar.o oid.c:377:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 377 | { 0x04, 365, 0, 9, "failInfo" }, /* 364 */ | ^~~~~~~~~~ oid.c:377:43: note: (near initialization for 'oid_names[364].name') -In file included from identification.c:18: -chunk.h: In function 'chunk_equals': oid.c:378:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 378 | { 0x05, 366, 0, 9, "senderNonce" }, /* 365 */ | ^~~~~~~~~~~~~ oid.c:378:43: note: (near initialization for 'oid_names[365].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, -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:379:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 379 | { 0x06, 367, 0, 9, "recipientNonce" }, /* 366 */ | ^~~~~~~~~~~~~~~~ oid.c:379:43: note: (near initialization for 'oid_names[366].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 openssl_sign.c -o openssl_sign.o oid.c:380:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 380 | { 0x07, 368, 0, 9, "transID" }, /* 367 */ | ^~~~~~~~~ @@ -2130,7 +2435,6 @@ oid.c:382:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 382 | {0x67, 0, 1, 0, "" }, /* 369 */ | ^~ -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:382:43: note: (near initialization for 'oid_names[369].name') oid.c:383:43: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] 383 | { 0x81, 0, 1, 1, "" }, /* 370 */ @@ -2160,293 +2464,18 @@ 389 | { 0x0F, 0, 0, 4, "tcg-at-tpmIdLabel" } /* 376 */ | ^~~~~~~~~~~~~~~~~~~ oid.c:389:43: note: (near initialization for 'oid_names[376].name') -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}, - | ^~~~ -identification.c:34:10: note: (near initialization for 'x501rdns[0].name') -identification.c:35:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 35 | {"UID", OID_PILOT_USERID, ASN1_PRINTABLESTRING}, - | ^~~~~ -identification.c:35:10: note: (near initialization for 'x501rdns[1].name') -identification.c:36:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 36 | {"DC", OID_PILOT_DOMAIN_COMPONENT, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:36:10: note: (near initialization for 'x501rdns[2].name') -identification.c:37:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 37 | {"CN", OID_COMMON_NAME, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:37:10: note: (near initialization for 'x501rdns[3].name') -identification.c:38:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 38 | {"S", OID_SURNAME, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:38:10: note: (near initialization for 'x501rdns[4].name') -identification.c:39:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 39 | {"SN", OID_SERIAL_NUMBER, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:39:10: note: (near initialization for 'x501rdns[5].name') -identification.c:40:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 40 | {"serialNumber", OID_SERIAL_NUMBER, ASN1_PRINTABLESTRING}, - | ^~~~~~~~~~~~~~ -identification.c:40:10: note: (near initialization for 'x501rdns[6].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 -identification.c:41:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 41 | {"C", OID_COUNTRY, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:41:10: note: (near initialization for 'x501rdns[7].name') -identification.c:42:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 42 | {"L", OID_LOCALITY, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:42:10: note: (near initialization for 'x501rdns[8].name') -identification.c:43:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 43 | {"ST", OID_STATE_OR_PROVINCE, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:43:10: note: (near initialization for 'x501rdns[9].name') -identification.c:44:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 44 | {"O", OID_ORGANIZATION, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:44:10: note: (near initialization for 'x501rdns[10].name') -identification.c:45:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 45 | {"OU", OID_ORGANIZATION_UNIT, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:45:10: note: (near initialization for 'x501rdns[11].name') -identification.c:46:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 46 | {"T", OID_TITLE, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:46:10: note: (near initialization for 'x501rdns[12].name') -identification.c:47:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 47 | {"D", OID_DESCRIPTION, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:47:10: note: (near initialization for 'x501rdns[13].name') -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}, - | ^~~ -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}, - | ^~~ -identification.c:49:10: note: (near initialization for 'x501rdns[15].name') -identification.c:50:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 50 | {"I", OID_INITIALS, ASN1_PRINTABLESTRING}, - | ^~~ -identification.c:50:10: note: (near initialization for 'x501rdns[16].name') -identification.c:51:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 51 | {"dnQualifier", OID_DN_QUALIFIER, ASN1_PRINTABLESTRING}, - | ^~~~~~~~~~~~~ -identification.c:51:10: note: (near initialization for 'x501rdns[17].name') -identification.c:52:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 52 | {"ID", OID_UNIQUE_IDENTIFIER, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:52:10: note: (near initialization for 'x501rdns[18].name') -identification.c:53:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 53 | {"EN", OID_EMPLOYEE_NUMBER, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:53:10: note: (near initialization for 'x501rdns[19].name') -identification.c:54:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 54 | {"employeeNumber", OID_EMPLOYEE_NUMBER, ASN1_PRINTABLESTRING}, - | ^~~~~~~~~~~~~~~~ -identification.c:54:10: note: (near initialization for 'x501rdns[20].name') -identification.c:55:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 55 | {"E", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, - | ^~~ -identification.c:55:10: note: (near initialization for 'x501rdns[21].name') -identification.c:56:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 56 | {"Email", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, - | ^~~~~~~ -identification.c:56:10: note: (near initialization for 'x501rdns[22].name') -identification.c:57:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 57 | {"emailAddress", OID_EMAIL_ADDRESS, ASN1_IA5STRING}, - | ^~~~~~~~~~~~~~ -identification.c:57:10: note: (near initialization for 'x501rdns[23].name') -identification.c:58:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | {"UN", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, - | ^~~~ -identification.c:58:10: note: (near initialization for 'x501rdns[24].name') -identification.c:59:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | {"unstructuredName", OID_UNSTRUCTURED_NAME, ASN1_IA5STRING}, - | ^~~~~~~~~~~~~~~~~~ -identification.c:59:10: note: (near initialization for 'x501rdns[25].name') -identification.c:60:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | {"UA", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING}, - | ^~~~ -identification.c:60:10: note: (near initialization for 'x501rdns[26].name') -identification.c:61:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | {"unstructuredAddress", OID_UNSTRUCTURED_ADDRESS, ASN1_PRINTABLESTRING}, - | ^~~~~~~~~~~~~~~~~~~~~ -identification.c:61:10: note: (near initialization for 'x501rdns[27].name') -identification.c:62:10: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | {"TCGID", OID_TCGID, ASN1_PRINTABLESTRING} - | ^~~~~~~ -identification.c:62:10: note: (near initialization for 'x501rdns[28].name') -identification.c:33:24: warning: 'x501rdns' defined but not used [-Wunused-const-variable=] - 33 | static const x501rdn_t x501rdns[] = { - | ^~~~~~~~ -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 -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 -hash-to-efi-sig-list.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 cert-to-efi-hash-list.c -o cert-to-efi-hash-list.o +kernel_efivars.c:19: warning: "__STDC_VERSION__" redefined + 19 | #define __STDC_VERSION__ 199901L | : note: this is the location of the previous definition -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] - 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, -x509.c: At top level: -x509.c:9:14: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 9 | { 0, "x509", ASN1_SEQUENCE, ASN1_OBJ }, /* 0 */ - | ^~~~~~ -x509.c:9:14: note: (near initialization for 'x509_certObjects[0].name') -x509.c:10:16: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 10 | { 1, "tbsCertificate", ASN1_SEQUENCE, ASN1_OBJ }, /* 1 */ - | ^~~~~~~~~~~~~~~~ -x509.c:10:16: note: (near initialization for 'x509_certObjects[1].name') -x509.c:11:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 11 | { 2, "DEFAULT v1", ASN1_CONTEXT_C_0, ASN1_DEF }, /* 2 */ - | ^~~~~~~~~~~~ -x509.c:11:18: note: (near initialization for 'x509_certObjects[2].name') -x509.c:12:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 12 | { 3, "version", ASN1_INTEGER, ASN1_BODY }, /* 3 */ - | ^~~~~~~~~ -x509.c:12:20: note: (near initialization for 'x509_certObjects[3].name') -x509.c:13:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 13 | { 2, "serialNumber", ASN1_INTEGER, ASN1_BODY }, /* 4 */ - | ^~~~~~~~~~~~~~ -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 -x509.c:13:18: note: (near initialization for 'x509_certObjects[4].name') -x509.c:14:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 14 | { 2, "signature", ASN1_EOC, ASN1_RAW }, /* 5 */ - | ^~~~~~~~~~~ -x509.c:14:18: note: (near initialization for 'x509_certObjects[5].name') -x509.c:15:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 15 | { 2, "issuer", ASN1_SEQUENCE, ASN1_OBJ }, /* 6 */ - | ^~~~~~~~ -x509.c:15:18: note: (near initialization for 'x509_certObjects[6].name') -x509.c:16:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 16 | { 2, "validity", ASN1_SEQUENCE, ASN1_NONE }, /* 7 */ - | ^~~~~~~~~~ -x509.c:16:18: note: (near initialization for 'x509_certObjects[7].name') -x509.c:17:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 17 | { 3, "notBefore", ASN1_EOC, ASN1_RAW }, /* 8 */ - | ^~~~~~~~~~~ -x509.c:17:20: note: (near initialization for 'x509_certObjects[8].name') -x509.c:18:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 18 | { 3, "notAfter", ASN1_EOC, ASN1_RAW }, /* 9 */ - | ^~~~~~~~~~ -x509.c:18:20: note: (near initialization for 'x509_certObjects[9].name') -x509.c:19:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 19 | { 2, "subject", ASN1_SEQUENCE, ASN1_OBJ }, /* 10 */ - | ^~~~~~~~~ -x509.c:19:18: note: (near initialization for 'x509_certObjects[10].name') -x509.c:20:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 20 | { 2, "subjectPublicKeyInfo",ASN1_SEQUENCE, ASN1_RAW }, /* 11 */ - | ^~~~~~~~~~~~~~~~~~~~~~ -x509.c:20:18: note: (near initialization for 'x509_certObjects[11].name') -x509.c:21:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 21 | { 2, "issuerUniqueID", ASN1_CONTEXT_C_1, ASN1_OPT }, /* 12 */ - | ^~~~~~~~~~~~~~~~ -x509.c:21:18: note: (near initialization for 'x509_certObjects[12].name') -x509.c:22:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 22 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 13 */ - | ^~~~~~~~~ -x509.c:22:18: note: (near initialization for 'x509_certObjects[13].name') -x509.c:23:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 23 | { 2, "subjectUniqueID", ASN1_CONTEXT_C_2, ASN1_OPT }, /* 14 */ - | ^~~~~~~~~~~~~~~~~ -x509.c:23:18: note: (near initialization for 'x509_certObjects[14].name') -x509.c:24:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 24 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 15 */ - | ^~~~~~~~~ -x509.c:24:18: note: (near initialization for 'x509_certObjects[15].name') -x509.c:25:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 25 | { 2, "optional extensions", ASN1_CONTEXT_C_3, ASN1_OPT }, /* 16 */ - | ^~~~~~~~~~~~~~~~~~~~~ -x509.c:25:18: note: (near initialization for 'x509_certObjects[16].name') -x509.c:26:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 26 | { 3, "extensions", ASN1_SEQUENCE, ASN1_LOOP }, /* 17 */ - | ^~~~~~~~~~~~ -x509.c:26:20: note: (near initialization for 'x509_certObjects[17].name') -x509.c:27:22: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 27 | { 4, "extension", ASN1_SEQUENCE, ASN1_NONE }, /* 18 */ - | ^~~~~~~~~~~ -x509.c:27:22: note: (near initialization for 'x509_certObjects[18].name') -x509.c:28:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 28 | { 5, "extnID", ASN1_OID, ASN1_BODY }, /* 19 */ - | ^~~~~~~~ -x509.c:28:24: note: (near initialization for 'x509_certObjects[19].name') -x509.c:29:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 29 | { 5, "critical", ASN1_BOOLEAN, ASN1_DEF|ASN1_BODY }, /* 20 */ - | ^~~~~~~~~~ -x509.c:29:24: note: (near initialization for 'x509_certObjects[20].name') -x509.c:30:24: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 30 | { 5, "extnValue", ASN1_OCTET_STRING, ASN1_BODY }, /* 21 */ - | ^~~~~~~~~~~ -x509.c:30:24: note: (near initialization for 'x509_certObjects[21].name') -x509.c:31:20: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 31 | { 3, "end loop", ASN1_EOC, ASN1_END }, /* 22 */ - | ^~~~~~~~~~ -x509.c:31:20: note: (near initialization for 'x509_certObjects[22].name') -x509.c:32:18: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 32 | { 2, "end opt", ASN1_EOC, ASN1_END }, /* 23 */ - | ^~~~~~~~~ -x509.c:32:18: note: (near initialization for 'x509_certObjects[23].name') -x509.c:33:16: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 33 | { 1, "signatureAlgorithm", ASN1_EOC, ASN1_RAW }, /* 24 */ - | ^~~~~~~~~~~~~~~~~~~~ -x509.c:33:16: note: (near initialization for 'x509_certObjects[24].name') -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 */ - | ^~~~~~~~~~~~~~~~ -x509.c:34:16: note: (near initialization for 'x509_certObjects[25].name') -x509.c:35:14: warning: pointer targets in initialization of 'const u_char *' {aka 'const unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] - 35 | { 0, "exit", ASN1_EOC, ASN1_EXIT } - | ^~~~~~ -x509.c:35:14: note: (near initialization for 'x509_certObjects[26].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 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 kernel_efivars.c -o kernel_efivars.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 +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 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 cert-to-efi-hash-list.c -o cert-to-efi-hash-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 openssl_sign.c -o openssl_sign.o efi-readvar.c:20: warning: "__STDC_VERSION__" redefined 20 | #define __STDC_VERSION__ 199901L | : note: this is the location of the previous definition +> noPK.esl a - asn1.efi.o a - asn1_parser.efi.o a - enumerator.efi.o @@ -2454,16 +2483,10 @@ a - oid.efi.o a - identification.efi.o a - x509.efi.o -make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' make[2]: Leaving 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 flash-var.c -o flash-var.o -kernel_efivars.c:19: warning: "__STDC_VERSION__" redefined - 19 | #define __STDC_VERSION__ 199901L - | -: note: this is the location of the previous definition -> noPK.esl -efi-updatevar.c:23: warning: "__STDC_VERSION__" redefined - 23 | #define __STDC_VERSION__ 199901L +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 openssl_sign.c: In function 'read_engine_private_key': @@ -2504,23 +2527,53 @@ /usr/include/openssl/engine.h:493:27: note: declared here 493 | OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e); | ^~~~~~~~~~~ -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 +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=DB2/" -keyout DB2.key -out DB2.crt -days 3650 -nodes -sha256 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 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 -......+.......+..............+.+..+...+.......+...........+.......+...+......+.....+...+...+.......+............+...+...........+.++++.....+.....+...+.+...+++++++++++++++++++++++++++++++++++++++*......+.......+...........+....+.....+.+..+...+...+.+++++++++++++++++++++++++++++++++++++++*..++......++ -...+......+.....+.+.........+..+...+......+......+....+...+----- -..+...................+..+.........+...+.......+...............+.....+...+.............+..+.....................+.+......+.....+............+.+.........+......+............+..+...+....+..............+.+........+.+.........+..+......+...+....+...+.....+...+....+..+.+..+................+............+..+......+......+.+..+.......+........+......+.+...........+...+.+.....+.+.....+...................+.........+............+...+..+....+...+..+.........+......+.+.....+..........+...............+........+..........+......+...+........+...+.+........+.+.........+...+..+............+......+....+...+...++++++ -.+.....+.......+........+.+++++++++++++++++++++++++++++++++++++++*...+...+....+...+..............+..........+...+........+...+......+.+........+......+....+++++++++++++++++++++++++++++++++++++++*.......+....................+......+.+...+..+.......+.....+.+......+...+..+...+.+......+.........+............+.........+...........+..........+.....+...+......+......+.......+...+..+............+...+.+......+...++++++ +.......+....+++++++++++++++++++++++++++++++++++++++*....+......+..+.+++++++++++++++++++++++++++++++++++++++*...+...+...+.+...............+...+...+........+....+.....+.......+...+............+......+...+..+...+......+....+......+.....+...............+..........+...+......+....+..........+.....+.+......+...+.+...+....+...............+..............+++++++++...+.+++++++++++++......+..+..+.+....+++++++++++..+++++*.............+.........+.....+.......++.....+....+..+..+......+.............+..+..+++++++.+...+..+..+++++++++++++....++++++++++++.....+++++++*....++...........+....+......++..........+..+........++.+...+...+...+..+.......+......+...+...+...+......+..+.........+......+...+...+.......+............+..+...+.......+....................+......+...+...+...+.+...........+.......+..............+....+...........+.+......++....++.......++.....++..........++.............++.........++...++......++..+...+....+....+...+........+........................++.....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 +......+...........+..............++.....................+.+...+.......+........++.....+...........+..+.......+......+................+..+..+.+................++..+...++...++......+++ +........................+.........+..........+..+.........+....+..+....+......----- ++...............+...+...+.....++++++ +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 +# check we have no undefined symbols +nm -D HelloWorld.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 Loader.o lib/lib-efi.a -o Loader.so -lefi -lgnuefi /usr/lib/gcc/x86_64-linux-gnu/13/libgcc.a +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 +# check we have no undefined symbols +nm -D Loader.so | grep ' U ' && exit 1 || exit 0 a - simple_file.o a - pecoff.o a - guid.o @@ -2534,17 +2587,8 @@ a - pkcs7verify.o a - kernel_efivars.o a - openssl_sign.o ------ -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 -make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' -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 -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 -# check we have no undefined symbols -nm -D HelloWorld.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 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 +make[2]: Leaving directory '/build/reproducible-path/efitools-1.9.2/lib' # 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 @@ -2556,9 +2600,6 @@ 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 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 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 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 # check we have no undefined symbols @@ -2566,21 +2607,59 @@ 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 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': -/build/reproducible-path/efitools-1.9.2/lib/kernel_efivars.c:40:(.text+0x51): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' cc -o cert-to-efi-hash-list cert-to-efi-hash-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 /usr/bin/ld: lib/lib.a(kernel_efivars.o): in function `kernel_variable_init': /build/reproducible-path/efitools-1.9.2/lib/kernel_efivars.c:40:(.text+0x51): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' -cc -o flash-var flash-var.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 +/usr/bin/ld: cc -o flash-var flash-var.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 +lib/lib.a(kernel_efivars.o): in function `kernel_variable_init': +/build/reproducible-path/efitools-1.9.2/lib/kernel_efivars.c:40:(.text+0x51): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' +help2man --no-info -i doc/hash-to-efi-sig-list.1.in -o doc/hash-to-efi-sig-list.1 ./hash-to-efi-sig-list +help2man --no-info -i doc/sig-list-to-certs.1.in -o doc/sig-list-to-certs.1 ./sig-list-to-certs +./cert-to-efi-hash-list PK.crt PK-hash-blacklist.esl +./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 +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 +./cert-to-efi-hash-list ms-uefi.crt ms-uefi-hash-blacklist.esl +TimeOfRevocation is 0-0-0 00:00:00 +./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 +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 +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 +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 +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 +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 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/efi-readvar.1.in -o doc/efi-readvar.1 ./efi-readvar help2man --no-info -i doc/efi-updatevar.1.in -o doc/efi-updatevar.1 ./efi-updatevar -help2man --no-info -i doc/hash-to-efi-sig-list.1.in -o doc/hash-to-efi-sig-list.1 ./hash-to-efi-sig-list -help2man --no-info -i doc/sig-list-to-certs.1.in -o doc/sig-list-to-certs.1 ./sig-list-to-certs 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 "2024-05-17 14:02:15" -c PK.crt -k PK.key PK noPK.esl noPK.auth +./sign-efi-sig-list -t "2025-06-19 20:26:47" -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 -Timestamp is 2024-5-17 14:02:15 +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 40 Signature of size 1148 Signature at: 40 @@ -2588,21 +2667,21 @@ ./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 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 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 Timestamp is 0-0-0 00:00:00 Authentication Payload size 1640 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 Timestamp is 0-0-0 00:00:00 Authentication Payload size 1600 @@ -2634,94 +2713,118 @@ ./cert-to-efi-sig-list DB2.crt DB2-blacklist.esl ./cert-to-efi-sig-list ms-uefi.crt ms-uefi-blacklist.esl ./cert-to-efi-sig-list ms-kek.crt ms-kek-blacklist.esl -./cert-to-efi-hash-list PK.crt PK-hash-blacklist.esl -./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 -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 -./cert-to-efi-hash-list ms-uefi.crt ms-uefi-hash-blacklist.esl -TimeOfRevocation is 0-0-0 00:00:00 -./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 -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 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx PK-hash-blacklist.esl PK-hash-blacklist.auth +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx KEK-hash-blacklist.esl KEK-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB-hash-blacklist.esl DB-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB1-hash-blacklist.esl DB1-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB2-hash-blacklist.esl DB2-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-uefi-hash-blacklist.esl ms-uefi-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-kek-hash-blacklist.esl ms-kek-hash-blacklist.auth +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +Timestamp is 0-0-0 00:00:00 +Authentication Payload size 134 +Signature of size 1151 +Signature at: 40 +sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi ./cert-to-efi-sig-list -g 11111111-2222-3333-4444-123456789abc PK.crt PK.esl +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 ./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 SetNull.so SetNull.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 -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 +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 +warning: data remaining[77824 vs 89878]: gaps between PE/COFF sections? +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? ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB1.esl DB1.auth +Signing Unsigned original image ./sign-efi-sig-list -c KEK.crt -k KEK.key db DB2.esl DB2.auth -Timestamp is 2024-5-17 14:02:22 +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 853 Signature of size 1151 Signature at: 40 -Timestamp is 2024-5-17 14:02:22 +./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-uefi.esl ms-uefi.auth +Timestamp is 2025-6-19 20:26:47 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 -Timestamp is 2024-5-17 14:02:23 +./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-kek.esl ms-kek.auth +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 1640 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -c KEK.crt -k KEK.key db ms-kek.esl ms-kek.auth -Timestamp is 2024-5-17 14:02:23 +./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-update.auth +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 1600 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-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 851 Signature of size 1148 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 KEK.crt -k KEK.key db DB.esl DB-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 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c PK.crt -k PK.key PK PK.esl PK-pkupdate.auth ./sign-efi-sig-list -a -c PK.crt -k PK.key KEK KEK.esl KEK-pkupdate.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 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 @@ -2757,92 +2860,25 @@ Authentication Payload size 1642 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx PK-hash-blacklist.esl PK-hash-blacklist.auth Timestamp is 0-0-0 00:00:00 Authentication Payload size 1602 Signature of size 1151 Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx KEK-hash-blacklist.esl KEK-hash-blacklist.auth -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB-hash-blacklist.esl DB-hash-blacklist.auth -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB1-hash-blacklist.esl DB1-hash-blacklist.auth -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx DB2-hash-blacklist.esl DB2-hash-blacklist.auth -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-uefi-hash-blacklist.esl ms-uefi-hash-blacklist.auth -./sign-efi-sig-list -a -c KEK.crt -k KEK.key dbx ms-kek-hash-blacklist.esl ms-kek-hash-blacklist.auth -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -sbsign --key DB.key --cert DB.crt --output HelloWorld-signed.efi HelloWorld.efi -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -Timestamp is 0-0-0 00:00:00 -Authentication Payload size 134 -Signature of size 1151 -Signature at: 40 -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 -Timestamp is 2024-5-17 14:02:27 +./sign-efi-sig-list -c PK.crt -k PK.key KEK KEK.esl KEK.auth +Timestamp is 2025-6-19 20:26:47 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 -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? -Timestamp is 2024-5-17 14:02:27 +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 855 Signature of size 1148 Signature at: 40 -Timestamp is 2024-5-17 14:02:27 +Timestamp is 2025-6-19 20:26:47 Authentication Payload size 851 Signature of size 1151 Signature at: 40 -Signing Unsigned original image -warning: data remaining[101888 vs 114903]: gaps between PE/COFF sections? -sbsign --key DB.key --cert DB.crt --output UpdateVars-signed.efi UpdateVars.efi -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 -warning: data remaining[77824 vs 89878]: gaps between PE/COFF sections? -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 SetNull-signed.efi SetNull.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[35840 vs 45097]: gaps between PE/COFF sections? -sbsign --key DB.key --cert DB.crt --output ShimReplace-signed.efi ShimReplace.efi -warning: data remaining[35840 vs 45104]: 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,13 +2907,13 @@ 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 -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 -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[2]: Entering directory '/build/reproducible-path/efitools-1.9.2' make -C lib lib-efi.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]: Entering directory '/build/reproducible-path/efitools-1.9.2/lib' 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' @@ -2917,27 +2953,27 @@ install -m0755 -d debian/efitools/usr/share/doc/efitools 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/sig-list-to-certs.1 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/cert-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/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/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 - 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 + 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/sig-list-to-certs.1 + man-recode --to-code UTF-8 --suffix .dh-new debian/efitools/usr/share/man/man1/sign-efi-sig-list.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/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/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/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/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/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,18 +2999,24 @@ 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/70 - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-updatevar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.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/70/090afc61a3235832ea9eae98339762a6387d69.debug debian/efitools/usr/bin/efi-updatevar - 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-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.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/38/3d8747227c693129a49258358aa149ab3e93a5.debug debian/efitools/usr/bin/cert-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30 + 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/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.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/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug debian/efitools/usr/bin/cert-to-efi-hash-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb + 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/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb/82aefc03d2b26a355e53753d2958ba2dbad848.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/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug debian/efitools/usr/bin/hash-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37 + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-readvar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.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/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug debian/efitools/usr/bin/efi-readvar install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/e8 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/e8/0943f05d82debe20e5bdbf4c16750d1e5ab947.debug chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/e8/0943f05d82debe20e5bdbf4c16750d1e5ab947.debug @@ -2987,30 +3029,24 @@ chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/ea/0a5a20c6a39b998a7346ae2e077b23d2853d22.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/ea/0a5a20c6a39b998a7346ae2e077b23d2853d22.debug debian/efitools/usr/bin/sign-efi-sig-list - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb - 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/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/bb/82aefc03d2b26a355e53753d2958ba2dbad848.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/bb/82aefc03d2b26a355e53753d2958ba2dbad848.debug debian/efitools/usr/bin/hash-to-efi-sig-list - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30 - 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/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.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/30/ac26274a29e34e6f25c8ee8e61150f7f0c4f04.debug debian/efitools/usr/bin/cert-to-efi-hash-list install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/85 objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/flash-var debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/85/889a0c0367e5b622ff9b0f60aeb369e2786e98.debug chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/85/889a0c0367e5b622ff9b0f60aeb369e2786e98.debug chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/85/889a0c0367e5b622ff9b0f60aeb369e2786e98.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/85/889a0c0367e5b622ff9b0f60aeb369e2786e98.debug debian/efitools/usr/bin/flash-var - install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37 - objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-readvar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug - chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug - chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/37/4ccee3925fbdc3abdd3f56bfd1286612587955.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/37/4ccee3925fbdc3abdd3f56bfd1286612587955.debug debian/efitools/usr/bin/efi-readvar + 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-sig-list debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/38/3d8747227c693129a49258358aa149ab3e93a5.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/38/3d8747227c693129a49258358aa149ab3e93a5.debug debian/efitools/usr/bin/cert-to-efi-sig-list + install -m0755 -d debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70 + objcopy --only-keep-debug --compress-debug-sections debian/efitools/usr/bin/efi-updatevar debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.debug + chmod 0644 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.debug + chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/usr/lib/debug/.build-id/70/090afc61a3235832ea9eae98339762a6387d69.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/70/090afc61a3235832ea9eae98339762a6387d69.debug debian/efitools/usr/bin/efi-updatevar 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-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 + dpkg-shlibdeps -Tdebian/efitools.substvars debian/efitools/usr/bin/cert-to-efi-hash-list debian/efitools/usr/bin/hash-to-efi-sig-list debian/efitools/usr/bin/efi-readvar debian/efitools/usr/bin/sig-list-to-certs debian/efitools/usr/bin/sign-efi-sig-list debian/efitools/usr/bin/flash-var debian/efitools/usr/bin/cert-to-efi-sig-list debian/efitools/usr/bin/efi-updatevar dh_installdeb install -m0755 -d debian/efitools/DEBIAN dh_gencontrol @@ -3047,9 +3083,9 @@ chown 0:0 -- debian/.debhelper/efitools/dbgsym-root/DEBIAN/md5sums dh_builddeb dpkg-deb --build debian/efitools .. -dpkg-deb: building package 'efitools' in '../efitools_1.9.2-3_amd64.deb'. 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-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/2606605/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2606605/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/546249 and its subdirectories -I: Current time: Fri May 17 02:03:08 -12 2024 -I: pbuilder-time-stamp: 1715954588 +I: removing directory /srv/workspace/pbuilder/2606605 and its subdirectories +I: Current time: Fri Jun 20 10:26:56 +14 2025 +I: pbuilder-time-stamp: 1750364816