Diff of the two buildlogs: -- --- b1/build.log 2024-11-09 14:25:04.346466777 +0000 +++ b2/build.log 2024-11-09 14:26:18.523822981 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Dec 12 08:47:10 -12 2025 -I: pbuilder-time-stamp: 1765572430 +I: Current time: Sun Nov 10 04:25:07 +14 2024 +I: pbuilder-time-stamp: 1731162307 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,53 +32,85 @@ dpkg-source: info: applying gpshell-man-path.diff I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/517/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11692/tmp/hooks/D01_modify_environment starting +debug: Running on infom07-i386. +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 Nov 9 14:25 /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/11692/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11692/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=6 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='7896bec6165442bf83cad6965e0bc4f6' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='517' - PS1='# ' - PS2='> ' + INVOCATION_ID=ce0939138331431ea7b0fcb6664aff0c + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-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=11692 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.DSbTAjZ0/pbuilderrc_wNQE --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DSbTAjZ0/b1 --logfile b1/build.log globalplatform_2.4.0+dfsg-3.dsc' - SUDO_GID='111' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' + 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.DSbTAjZ0/pbuilderrc_Ou9W --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.DSbTAjZ0/b2 --logfile b2/build.log globalplatform_2.4.0+dfsg-3.dsc' + SUDO_GID=111 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' I: uname -a - Linux infom08-i386 6.10.11+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.10.11-1~bpo12+1 (2024-10-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/517/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/11692/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -208,7 +240,7 @@ Get: 74 http://deb.debian.org/debian trixie/main i386 pkgconf-bin i386 1.8.1-4 [30.6 kB] Get: 75 http://deb.debian.org/debian trixie/main i386 pkgconf i386 1.8.1-4 [26.2 kB] Get: 76 http://deb.debian.org/debian trixie/main i386 zlib1g-dev i386 1:1.3.dfsg+really1.3.1-1+b1 [916 kB] -Fetched 150 MB in 1s (111 MB/s) +Fetched 150 MB in 2s (81.8 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:i386. (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 ... 19955 files and directories currently installed.) @@ -527,7 +559,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/globalplatform-2.4.0+dfsg/ && 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 > ../globalplatform_2.4.0+dfsg-3_source.changes +I: user script /srv/workspace/pbuilder/11692/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/11692/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/globalplatform-2.4.0+dfsg/ && 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 > ../globalplatform_2.4.0+dfsg-3_source.changes dpkg-buildpackage: info: source package globalplatform dpkg-buildpackage: info: source version 2.4.0+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -577,7 +613,7 @@ -- Found GLOBALPLATFORM: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/libglobalplatform.so -- Checking for pandoc -- Found pandoc --- Configuring done (1.5s) +-- Configuring done (1.0s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -594,7 +630,7 @@ -- Build files have been written to: /build/reproducible-path/globalplatform-2.4.0+dfsg make[1]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' dh_auto_build -O--builddirectory=. - make -j6 "INSTALL=install --strip-program=true" VERBOSE=1 + make -j5 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' /usr/bin/cmake -S/build/reproducible-path/globalplatform-2.4.0+dfsg -B/build/reproducible-path/globalplatform-2.4.0+dfsg --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/globalplatform-2.4.0+dfsg/CMakeFiles /build/reproducible-path/globalplatform-2.4.0+dfsg//CMakeFiles/progress.marks @@ -602,52 +638,78 @@ make[2]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/depend make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/depend -make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/globalplatformStatic.dir/DependInfo.cmake "--color=" -make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp03Test.dir/DependInfo.cmake "--color=" make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/depend -make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp02Test.dir/DependInfo.cmake "--color=" make -f globalplatform/src/CMakeFiles/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/depend make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/depend -make -f globalplatform/src/CMakeFiles/statusTest.dir/build.make globalplatform/src/CMakeFiles/statusTest.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp01Test.dir/DependInfo.cmake "--color=" +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/globalplatformStatic.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/cryptoTest.dir/DependInfo.cmake "--color=" +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp02Test.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/statusTest.dir/DependInfo.cmake "--color=" -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/build +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp01Test.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 1%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/build -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -MF CMakeFiles/globalplatformStatic.dir/connection.c.o.d -o CMakeFiles/globalplatformStatic.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/scp03Test.dir/DependInfo.cmake "--color=" make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/cryptoTest.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/build make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/build +make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/build -make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f globalplatform/src/CMakeFiles/statusTest.dir/build.make globalplatform/src/CMakeFiles/statusTest.dir/build -[ 2%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.c.o +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/build +make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.c.o -MF CMakeFiles/cryptoTest.dir/cryptoTest.c.o.d -o CMakeFiles/cryptoTest.dir/cryptoTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c -[ 3%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -MF CMakeFiles/scp03Test.dir/scp03Test.c.o.d -o CMakeFiles/scp03Test.dir/scp03Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c -[ 4%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -MF CMakeFiles/statusTest.dir/statusTest.c.o.d -o CMakeFiles/statusTest.dir/statusTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest.c -[ 5%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o -[ 6%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/scp01Test.c.o +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 3%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o +[ 3%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o +[ 3%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/scp01Test.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -MF CMakeFiles/globalplatformStatic.dir/connection.c.o.d -o CMakeFiles/globalplatformStatic.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/scp01Test.c.o -MF CMakeFiles/scp01Test.dir/scp01Test.c.o.d -o CMakeFiles/scp01Test.dir/scp01Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o -MF CMakeFiles/scp02Test.dir/scp02Test.c.o.d -o CMakeFiles/scp02Test.dir/scp02Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c +[ 4%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.c.o +[ 5%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.c.o -MF CMakeFiles/cryptoTest.dir/cryptoTest.c.o.d -o CMakeFiles/cryptoTest.dir/cryptoTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -MF CMakeFiles/scp03Test.dir/scp03Test.c.o.d -o CMakeFiles/scp03Test.dir/scp03Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'install_mac_enc': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 163 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 164 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 165 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, + from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:17: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' + 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'get_status_mac_only': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 84 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 85 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 86 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_MAC, 0, &securityInfo211); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' + 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c: In function 'get_status_mac_enc': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] 323 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, @@ -656,17 +718,66 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | GP211_SCP01, GP211_SCP01_IMPL_i05, GP211_SCP01_SECURITY_LEVEL_C_DEC_C_MAC, 0, &gpSecurityInfo211); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, + from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:17: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' + 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_192': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c: In function 'get_status_aes_192': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] + 69 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] 483 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, key, key, key, sizeof(key), 0, 0, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 484 | GP211_SCP03, GP211_SCP03_IMPL_i10, GP211_SCP03_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:22: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] + 73 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_128': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 45 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 49 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:17: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' @@ -728,107 +839,11 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:323:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, - from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c:17: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' - 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'install_mac_enc': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 163 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 164 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 165 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, - from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:17: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' - 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'get_status_mac_only': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 84 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 85 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 86 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_MAC, 0, &securityInfo211); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' - 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_192': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] - 69 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:22: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' - 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] - 73 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' - 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_128': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 45 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' - 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, - | ^~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 49 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' - 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, - | ^~~~~~~~~~~~~~~~~~ -[ 8%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -MF CMakeFiles/statusTest.dir/testUtil.c.o.d -o CMakeFiles/statusTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 29 | BYTE *__random = (BYTE *) mock(); - | ^ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function 'send_APDU': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:52:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 52 | PBYTE __rapdu = (PBYTE) mock(); - | ^ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 53 | PDWORD __rapduLength = (PDWORD) mock(); - | ^ -[ 9%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o +[ 6%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o -MF CMakeFiles/cryptoTest.dir/testUtil.c.o.d -o CMakeFiles/cryptoTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -[ 10%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o +[ 9%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o +[ 9%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o -MF CMakeFiles/globalplatformStatic.dir/stringify.c.o.d -o CMakeFiles/globalplatformStatic.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 11%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o -MF CMakeFiles/scp02Test.dir/testUtil.c.o.d -o CMakeFiles/scp02Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] @@ -841,8 +856,6 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ -[ 12%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -MF CMakeFiles/statusTest.dir/connection.c.o.d -o CMakeFiles/statusTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 29 | BYTE *__random = (BYTE *) mock(); @@ -854,11 +867,16 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ +[ 10%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -MF CMakeFiles/scp01Test.dir/testUtil.c.o.d -o CMakeFiles/scp01Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c +[ 11%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o -MF CMakeFiles/cryptoTest.dir/connection.c.o.d -o CMakeFiles/cryptoTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c [ 13%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o +[ 13%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o -MF CMakeFiles/scp03Test.dir/testUtil.c.o.d -o CMakeFiles/scp03Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -[ 15%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -MF CMakeFiles/scp01Test.dir/testUtil.c.o.d -o CMakeFiles/scp01Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -MF CMakeFiles/scp02Test.dir/connection.c.o.d -o CMakeFiles/scp02Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 15%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -MF CMakeFiles/globalplatformStatic.dir/crypto.c.o.d -o CMakeFiles/globalplatformStatic.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 29 | BYTE *__random = (BYTE *) mock(); @@ -870,6 +888,7 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 29 | BYTE *__random = (BYTE *) mock(); | ^ @@ -880,63 +899,8 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ -[ 16%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o -MF CMakeFiles/statusTest.dir/stringify.c.o.d -o CMakeFiles/statusTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 17%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -[ 18%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -MF CMakeFiles/scp02Test.dir/connection.c.o.d -o CMakeFiles/scp02Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o -MF CMakeFiles/cryptoTest.dir/connection.c.o.d -o CMakeFiles/cryptoTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 19%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -MF CMakeFiles/scp03Test.dir/connection.c.o.d -o CMakeFiles/scp03Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 20%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -MF CMakeFiles/globalplatformStatic.dir/crypto.c.o.d -o CMakeFiles/globalplatformStatic.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 22%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o +[ 16%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o -MF CMakeFiles/scp01Test.dir/connection.c.o.d -o CMakeFiles/scp01Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 23%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -MF CMakeFiles/statusTest.dir/crypto.c.o.d -o CMakeFiles/statusTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 24%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -MF CMakeFiles/cryptoTest.dir/stringify.c.o.d -o CMakeFiles/cryptoTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 25%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -MF CMakeFiles/scp02Test.dir/stringify.c.o.d -o CMakeFiles/scp02Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 26%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o -MF CMakeFiles/scp03Test.dir/stringify.c.o.d -o CMakeFiles/scp03Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' - 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_install_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 1752 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' - 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_load_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 1796 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' - 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'unwrap_command': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1921:26: warning: 'calculate_dec_cbc_SCP03' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 1921 | status = calculate_dec_cbc_SCP03(secInfo->encryptionSessionKey, secInfo->keyLength, unwrappedResponseApdu, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 1922 | *unwrappedResponseApduLength, ENC_ICV, decryption, &decryptionLength); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1921:26: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' - 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, - | ^~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -970,19 +934,25 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1922 | *unwrappedResponseApduLength, ENC_ICV, decryption, &decryptionLength); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 27%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1921:26: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 17%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -MF CMakeFiles/scp02Test.dir/stringify.c.o.d -o CMakeFiles/scp02Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 18%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -MF CMakeFiles/scp03Test.dir/connection.c.o.d -o CMakeFiles/scp03Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 19%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -MF CMakeFiles/cryptoTest.dir/stringify.c.o.d -o CMakeFiles/cryptoTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 20%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o -MF CMakeFiles/scp01Test.dir/stringify.c.o.d -o CMakeFiles/scp01Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 29%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o -MF CMakeFiles/cryptoTest.dir/crypto.c.o.d -o CMakeFiles/cryptoTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 30%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o +[ 22%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o -MF CMakeFiles/scp02Test.dir/crypto.c.o.d -o CMakeFiles/scp02Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 31%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -MF CMakeFiles/scp03Test.dir/crypto.c.o.d -o CMakeFiles/scp03Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 32%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o +[ 23%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o -MF CMakeFiles/cryptoTest.dir/crypto.c.o.d -o CMakeFiles/cryptoTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 24%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o -MF CMakeFiles/scp03Test.dir/stringify.c.o.d -o CMakeFiles/scp03Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 25%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o -MF CMakeFiles/scp01Test.dir/crypto.c.o.d -o CMakeFiles/scp01Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] @@ -1095,6 +1065,8 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 26%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -MF CMakeFiles/scp03Test.dir/crypto.c.o.d -o CMakeFiles/scp03Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1132,38 +1104,28 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 33%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o +[ 27%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o -MF CMakeFiles/globalplatformStatic.dir/loadfile.c.o.d -o CMakeFiles/globalplatformStatic.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 34%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -MF CMakeFiles/statusTest.dir/loadfile.c.o.d -o CMakeFiles/statusTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 36%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o +[ 29%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -MF CMakeFiles/scp02Test.dir/loadfile.c.o.d -o CMakeFiles/scp02Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 30%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o -MF CMakeFiles/cryptoTest.dir/loadfile.c.o.d -o CMakeFiles/cryptoTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 37%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o +[ 31%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o -MF CMakeFiles/scp01Test.dir/loadfile.c.o.d -o CMakeFiles/scp01Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 38%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -MF CMakeFiles/scp02Test.dir/loadfile.c.o.d -o CMakeFiles/scp02Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 39%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o -MF CMakeFiles/scp03Test.dir/loadfile.c.o.d -o CMakeFiles/scp03Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 40%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o +[ 32%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o -MF CMakeFiles/globalplatformStatic.dir/util.c.o.d -o CMakeFiles/globalplatformStatic.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 41%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -MF CMakeFiles/statusTest.dir/util.c.o.d -o CMakeFiles/statusTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 43%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -MF CMakeFiles/statusTest.dir/debug.c.o.d -o CMakeFiles/statusTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 44%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o -[ 45%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -MF CMakeFiles/statusTest.dir/init.c.o.d -o CMakeFiles/statusTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o -MF CMakeFiles/scp01Test.dir/util.c.o.d -o CMakeFiles/scp01Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 46%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o +[ 33%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o -MF CMakeFiles/scp03Test.dir/loadfile.c.o.d -o CMakeFiles/scp03Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 34%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o -MF CMakeFiles/globalplatformStatic.dir/debug.c.o.d -o CMakeFiles/globalplatformStatic.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 47%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -MF CMakeFiles/scp03Test.dir/util.c.o.d -o CMakeFiles/scp03Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 48%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -[ 50%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -MF CMakeFiles/statusTest.dir/globalplatform.c.o.d -o CMakeFiles/statusTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -MF CMakeFiles/scp01Test.dir/debug.c.o.d -o CMakeFiles/scp01Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 51%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o -MF CMakeFiles/scp03Test.dir/debug.c.o.d -o CMakeFiles/scp03Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 36%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -MF CMakeFiles/globalplatformStatic.dir/init.c.o.d -o CMakeFiles/globalplatformStatic.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 37%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -MF CMakeFiles/globalplatformStatic.dir/globalplatform.c.o.d -o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 38%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -MF CMakeFiles/scp02Test.dir/util.c.o.d -o CMakeFiles/scp02Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 39%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o -MF CMakeFiles/scp01Test.dir/util.c.o.d -o CMakeFiles/scp01Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1174,26 +1136,30 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -[ 52%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o -[ 53%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -[ 54%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o -MF CMakeFiles/scp01Test.dir/init.c.o.d -o CMakeFiles/scp01Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -MF CMakeFiles/scp03Test.dir/init.c.o.d -o CMakeFiles/scp03Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -MF CMakeFiles/cryptoTest.dir/util.c.o.d -o CMakeFiles/cryptoTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 55%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -MF CMakeFiles/globalplatformStatic.dir/init.c.o.d -o CMakeFiles/globalplatformStatic.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 56%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -MF CMakeFiles/scp02Test.dir/util.c.o.d -o CMakeFiles/scp02Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 58%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -MF CMakeFiles/globalplatformStatic.dir/globalplatform.c.o.d -o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -[ 60%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o -[ 60%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o +[ 40%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o -MF CMakeFiles/scp02Test.dir/debug.c.o.d -o CMakeFiles/scp02Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 41%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -MF CMakeFiles/cryptoTest.dir/util.c.o.d -o CMakeFiles/cryptoTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 43%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -MF CMakeFiles/scp01Test.dir/debug.c.o.d -o CMakeFiles/scp01Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 44%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -MF CMakeFiles/scp03Test.dir/util.c.o.d -o CMakeFiles/scp03Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 45%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o -MF CMakeFiles/cryptoTest.dir/debug.c.o.d -o CMakeFiles/cryptoTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 61%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o -[ 62%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o -MF CMakeFiles/scp03Test.dir/globalplatform.c.o.d -o CMakeFiles/scp03Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 46%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o -MF CMakeFiles/scp02Test.dir/init.c.o.d -o CMakeFiles/scp02Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 47%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o -MF CMakeFiles/scp01Test.dir/init.c.o.d -o CMakeFiles/scp01Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 48%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -MF CMakeFiles/scp02Test.dir/globalplatform.c.o.d -o CMakeFiles/scp02Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 50%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o -MF CMakeFiles/scp03Test.dir/debug.c.o.d -o CMakeFiles/scp03Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 51%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -MF CMakeFiles/cryptoTest.dir/init.c.o.d -o CMakeFiles/cryptoTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 52%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o -MF CMakeFiles/scp01Test.dir/globalplatform.c.o.d -o CMakeFiles/scp01Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 53%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -MF CMakeFiles/scp03Test.dir/init.c.o.d -o CMakeFiles/scp03Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1204,6 +1170,10 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ +[ 54%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o -MF CMakeFiles/cryptoTest.dir/globalplatform.c.o.d -o CMakeFiles/cryptoTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 55%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o -MF CMakeFiles/scp03Test.dir/globalplatform.c.o.d -o CMakeFiles/scp03Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1214,10 +1184,6 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -[ 63%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -MF CMakeFiles/cryptoTest.dir/init.c.o.d -o CMakeFiles/cryptoTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 65%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o -MF CMakeFiles/scp02Test.dir/init.c.o.d -o CMakeFiles/scp02Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1228,10 +1194,6 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -[ 66%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -MF CMakeFiles/scp02Test.dir/globalplatform.c.o.d -o CMakeFiles/scp02Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -[ 67%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o -MF CMakeFiles/cryptoTest.dir/globalplatform.c.o.d -o CMakeFiles/cryptoTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1242,92 +1204,77 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' - 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ -[ 68%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -MF CMakeFiles/statusTest.dir/dyn_unix.c.o.d -o CMakeFiles/statusTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 69%] Linking C executable statusTest -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/statusTest.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/statusTest.dir/statusTest.c.o CMakeFiles/statusTest.dir/testUtil.c.o CMakeFiles/statusTest.dir/connection.c.o CMakeFiles/statusTest.dir/stringify.c.o CMakeFiles/statusTest.dir/crypto.c.o CMakeFiles/statusTest.dir/loadfile.c.o CMakeFiles/statusTest.dir/util.c.o CMakeFiles/statusTest.dir/debug.c.o CMakeFiles/statusTest.dir/init.c.o CMakeFiles/statusTest.dir/globalplatform.c.o CMakeFiles/statusTest.dir/dyn_unix.c.o -o statusTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +[ 56%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -MF CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 58%] Linking C static library libglobalplatform.a +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -P CMakeFiles/globalplatformStatic.dir/cmake_clean_target.cmake +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/globalplatformStatic.dir/link.txt --verbose=1 +/usr/bin/ar qc libglobalplatform.a CMakeFiles/globalplatformStatic.dir/connection.c.o CMakeFiles/globalplatformStatic.dir/stringify.c.o CMakeFiles/globalplatformStatic.dir/crypto.c.o CMakeFiles/globalplatformStatic.dir/loadfile.c.o CMakeFiles/globalplatformStatic.dir/util.c.o CMakeFiles/globalplatformStatic.dir/debug.c.o CMakeFiles/globalplatformStatic.dir/init.c.o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o +/usr/bin/ranlib libglobalplatform.a make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 69%] Built target statusTest -[ 70%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o +[ 58%] Built target globalplatformStatic +make -f globalplatform/src/CMakeFiles/statusTest.dir/build.make globalplatform/src/CMakeFiles/statusTest.dir/depend +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/statusTest.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make -f globalplatform/src/CMakeFiles/statusTest.dir/build.make globalplatform/src/CMakeFiles/statusTest.dir/build +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 59%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -MF CMakeFiles/statusTest.dir/statusTest.c.o.d -o CMakeFiles/statusTest.dir/statusTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest.c +[ 60%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -MF CMakeFiles/statusTest.dir/testUtil.c.o.d -o CMakeFiles/statusTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function '__wrap_RAND_bytes': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:29:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 29 | BYTE *__random = (BYTE *) mock(); + | ^ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c: In function 'send_APDU': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:52:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 52 | PBYTE __rapdu = (PBYTE) mock(); + | ^ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 53 | PDWORD __rapduLength = (PDWORD) mock(); + | ^ +[ 61%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -MF CMakeFiles/statusTest.dir/connection.c.o.d -o CMakeFiles/statusTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 62%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o -MF CMakeFiles/scp01Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp01Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 72%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -MF CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 73%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o +[ 63%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o -MF CMakeFiles/scp03Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp03Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 74%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o -MF CMakeFiles/scp02Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp02Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 65%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o -MF CMakeFiles/statusTest.dir/stringify.c.o.d -o CMakeFiles/statusTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 66%] Linking C executable scp01Test +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp01Test.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp01Test.dir/scp01Test.c.o CMakeFiles/scp01Test.dir/testUtil.c.o CMakeFiles/scp01Test.dir/connection.c.o CMakeFiles/scp01Test.dir/stringify.c.o CMakeFiles/scp01Test.dir/crypto.c.o CMakeFiles/scp01Test.dir/loadfile.c.o CMakeFiles/scp01Test.dir/util.c.o CMakeFiles/scp01Test.dir/debug.c.o CMakeFiles/scp01Test.dir/init.c.o CMakeFiles/scp01Test.dir/globalplatform.c.o CMakeFiles/scp01Test.dir/dyn_unix.c.o -o scp01Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +[ 67%] Linking C executable scp03Test +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp03Test.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp03Test.dir/scp03Test.c.o CMakeFiles/scp03Test.dir/testUtil.c.o CMakeFiles/scp03Test.dir/connection.c.o CMakeFiles/scp03Test.dir/stringify.c.o CMakeFiles/scp03Test.dir/crypto.c.o CMakeFiles/scp03Test.dir/loadfile.c.o CMakeFiles/scp03Test.dir/util.c.o CMakeFiles/scp03Test.dir/debug.c.o CMakeFiles/scp03Test.dir/init.c.o CMakeFiles/scp03Test.dir/globalplatform.c.o CMakeFiles/scp03Test.dir/dyn_unix.c.o -o scp03Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 67%] Built target scp01Test make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src/CMakeFiles/gpshell_manpage.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 75%] Creating man page ... +[ 68%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -MF CMakeFiles/statusTest.dir/crypto.c.o.d -o CMakeFiles/statusTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 69%] Creating man page ... cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src && /usr/bin/pandoc --standalone --to man -o gpshell.1 gpshell.1.md -[ 76%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o -MF CMakeFiles/cryptoTest.dir/dyn_unix.c.o.d -o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 76%] Built target gpshell_manpage -[ 77%] Linking C executable cryptoTest -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cryptoTest.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/cryptoTest.dir/cryptoTest.c.o CMakeFiles/cryptoTest.dir/testUtil.c.o CMakeFiles/cryptoTest.dir/connection.c.o CMakeFiles/cryptoTest.dir/stringify.c.o CMakeFiles/cryptoTest.dir/crypto.c.o CMakeFiles/cryptoTest.dir/loadfile.c.o CMakeFiles/cryptoTest.dir/util.c.o CMakeFiles/cryptoTest.dir/debug.c.o CMakeFiles/cryptoTest.dir/init.c.o CMakeFiles/cryptoTest.dir/globalplatform.c.o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -o cryptoTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 77%] Built target cryptoTest -[ 79%] Linking C executable scp01Test -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp01Test.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp01Test.dir/scp01Test.c.o CMakeFiles/scp01Test.dir/testUtil.c.o CMakeFiles/scp01Test.dir/connection.c.o CMakeFiles/scp01Test.dir/stringify.c.o CMakeFiles/scp01Test.dir/crypto.c.o CMakeFiles/scp01Test.dir/loadfile.c.o CMakeFiles/scp01Test.dir/util.c.o CMakeFiles/scp01Test.dir/debug.c.o CMakeFiles/scp01Test.dir/init.c.o CMakeFiles/scp01Test.dir/globalplatform.c.o CMakeFiles/scp01Test.dir/dyn_unix.c.o -o scp01Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 80%] Linking C executable scp03Test -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp03Test.dir/link.txt --verbose=1 -[ 80%] Built target scp01Test -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp03Test.dir/scp03Test.c.o CMakeFiles/scp03Test.dir/testUtil.c.o CMakeFiles/scp03Test.dir/connection.c.o CMakeFiles/scp03Test.dir/stringify.c.o CMakeFiles/scp03Test.dir/crypto.c.o CMakeFiles/scp03Test.dir/loadfile.c.o CMakeFiles/scp03Test.dir/util.c.o CMakeFiles/scp03Test.dir/debug.c.o CMakeFiles/scp03Test.dir/init.c.o CMakeFiles/scp03Test.dir/globalplatform.c.o CMakeFiles/scp03Test.dir/dyn_unix.c.o -o scp03Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -[ 81%] Linking C static library libglobalplatform.a -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -P CMakeFiles/globalplatformStatic.dir/cmake_clean_target.cmake -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/globalplatformStatic.dir/link.txt --verbose=1 -/usr/bin/ar qc libglobalplatform.a CMakeFiles/globalplatformStatic.dir/connection.c.o CMakeFiles/globalplatformStatic.dir/stringify.c.o CMakeFiles/globalplatformStatic.dir/crypto.c.o CMakeFiles/globalplatformStatic.dir/loadfile.c.o CMakeFiles/globalplatformStatic.dir/util.c.o CMakeFiles/globalplatformStatic.dir/debug.c.o CMakeFiles/globalplatformStatic.dir/init.c.o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -/usr/bin/ranlib libglobalplatform.a +[ 70%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o -MF CMakeFiles/scp02Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp02Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 81%] Built target globalplatformStatic +[ 70%] Built target scp03Test make -f globalplatform/src/CMakeFiles/globalplatform.dir/build.make globalplatform/src/CMakeFiles/globalplatform.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/globalplatform.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/globalplatform.dir/build.make globalplatform/src/CMakeFiles/globalplatform.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 82%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 83%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o -[ 84%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o +[ 72%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o -MF CMakeFiles/globalplatform.dir/connection.c.o.d -o CMakeFiles/globalplatform.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o -MF CMakeFiles/globalplatform.dir/loadfile.c.o.d -o CMakeFiles/globalplatform.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 86%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -MF CMakeFiles/globalplatform.dir/crypto.c.o.d -o CMakeFiles/globalplatform.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o -MF CMakeFiles/globalplatform.dir/stringify.c.o.d -o CMakeFiles/globalplatform.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 86%] Built target scp03Test -[ 87%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o -MF CMakeFiles/globalplatform.dir/util.c.o.d -o CMakeFiles/globalplatform.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 88%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o -MF CMakeFiles/globalplatform.dir/debug.c.o.d -o CMakeFiles/globalplatform.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 89%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o -MF CMakeFiles/globalplatform.dir/init.c.o.d -o CMakeFiles/globalplatform.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 90%] Linking C executable scp02Test +[ 73%] Linking C executable scp02Test cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp02Test.dir/link.txt --verbose=1 -[ 91%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp02Test.dir/scp02Test.c.o CMakeFiles/scp02Test.dir/testUtil.c.o CMakeFiles/scp02Test.dir/connection.c.o CMakeFiles/scp02Test.dir/stringify.c.o CMakeFiles/scp02Test.dir/crypto.c.o CMakeFiles/scp02Test.dir/loadfile.c.o CMakeFiles/scp02Test.dir/util.c.o CMakeFiles/scp02Test.dir/debug.c.o CMakeFiles/scp02Test.dir/init.c.o CMakeFiles/scp02Test.dir/globalplatform.c.o CMakeFiles/scp02Test.dir/dyn_unix.c.o -o scp02Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o -MF CMakeFiles/globalplatform.dir/globalplatform.c.o.d -o CMakeFiles/globalplatform.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -[ 93%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -MF CMakeFiles/globalplatform.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatform.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1365,6 +1312,76 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 73%] Built target gpshell_manpage +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 74%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o -MF CMakeFiles/cryptoTest.dir/dyn_unix.c.o.d -o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 75%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o -MF CMakeFiles/globalplatform.dir/stringify.c.o.d -o CMakeFiles/globalplatform.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 75%] Built target scp02Test +[ 76%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -MF CMakeFiles/globalplatform.dir/crypto.c.o.d -o CMakeFiles/globalplatform.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 77%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -MF CMakeFiles/statusTest.dir/loadfile.c.o.d -o CMakeFiles/statusTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 79%] Linking C executable cryptoTest +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cryptoTest.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/cryptoTest.dir/cryptoTest.c.o CMakeFiles/cryptoTest.dir/testUtil.c.o CMakeFiles/cryptoTest.dir/connection.c.o CMakeFiles/cryptoTest.dir/stringify.c.o CMakeFiles/cryptoTest.dir/crypto.c.o CMakeFiles/cryptoTest.dir/loadfile.c.o CMakeFiles/cryptoTest.dir/util.c.o CMakeFiles/cryptoTest.dir/debug.c.o CMakeFiles/cryptoTest.dir/init.c.o CMakeFiles/cryptoTest.dir/globalplatform.c.o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -o cryptoTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' + 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_install_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 1752 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1752:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' + 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_load_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 1796 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1796:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' + 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +[ 80%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'unwrap_command': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1921:26: warning: 'calculate_dec_cbc_SCP03' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 1921 | status = calculate_dec_cbc_SCP03(secInfo->encryptionSessionKey, secInfo->keyLength, unwrappedResponseApdu, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1922 | *unwrappedResponseApduLength, ENC_ICV, decryption, &decryptionLength); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1921:26: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' + 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, + | ^~~~~~~~~~~~~~~~~~~~~~~ +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o -MF CMakeFiles/globalplatform.dir/loadfile.c.o.d -o CMakeFiles/globalplatform.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 80%] Built target cryptoTest +[ 81%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o -MF CMakeFiles/globalplatform.dir/util.c.o.d -o CMakeFiles/globalplatform.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 82%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o -MF CMakeFiles/globalplatform.dir/debug.c.o.d -o CMakeFiles/globalplatform.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 83%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o -MF CMakeFiles/globalplatform.dir/init.c.o.d -o CMakeFiles/globalplatform.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 84%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -MF CMakeFiles/statusTest.dir/util.c.o.d -o CMakeFiles/statusTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 86%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o -MF CMakeFiles/globalplatform.dir/globalplatform.c.o.d -o CMakeFiles/globalplatform.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 87%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -MF CMakeFiles/statusTest.dir/debug.c.o.d -o CMakeFiles/statusTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 88%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -MF CMakeFiles/globalplatform.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatform.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1375,24 +1392,43 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 93%] Built target scp02Test -[ 94%] Linking C shared library libglobalplatform.so +[ 89%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -MF CMakeFiles/statusTest.dir/init.c.o.d -o CMakeFiles/statusTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 90%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -MF CMakeFiles/statusTest.dir/globalplatform.c.o.d -o CMakeFiles/statusTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 91%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -MF CMakeFiles/statusTest.dir/dyn_unix.c.o.d -o CMakeFiles/statusTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' + 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +[ 93%] Linking C shared library libglobalplatform.so cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/globalplatform.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libglobalplatform.so.7 -o libglobalplatform.so.7 CMakeFiles/globalplatform.dir/connection.c.o CMakeFiles/globalplatform.dir/stringify.c.o CMakeFiles/globalplatform.dir/crypto.c.o CMakeFiles/globalplatform.dir/loadfile.c.o CMakeFiles/globalplatform.dir/util.c.o CMakeFiles/globalplatform.dir/debug.c.o CMakeFiles/globalplatform.dir/init.c.o CMakeFiles/globalplatform.dir/globalplatform.c.o CMakeFiles/globalplatform.dir/dyn_unix.c.o libglobalplatform.a -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_symlink_library libglobalplatform.so.7 libglobalplatform.so.7 libglobalplatform.so make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 94%] Built target globalplatform +[ 93%] Built target globalplatform make -f gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/build.make gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/build.make gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 94%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src && /usr/bin/cc -DOPGP_DEBUG -Dgppcscconnectionplugin_EXPORTS -I/usr/include/PCSC -I/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -I/build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/../globalplatform/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -MF CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o.d -o CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c [ 95%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src && /usr/bin/cc -DOPGP_DEBUG -Dgppcscconnectionplugin_EXPORTS -I/usr/include/PCSC -I/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -I/build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/../globalplatform/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o -MF CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o.d -o CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src/gppcscconnectionplugin.c -[ 96%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src && /usr/bin/cc -DOPGP_DEBUG -Dgppcscconnectionplugin_EXPORTS -I/usr/include/PCSC -I/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -I/build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/../globalplatform/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -MF CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o.d -o CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 96%] Linking C executable statusTest +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/statusTest.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/statusTest.dir/statusTest.c.o CMakeFiles/statusTest.dir/testUtil.c.o CMakeFiles/statusTest.dir/connection.c.o CMakeFiles/statusTest.dir/stringify.c.o CMakeFiles/statusTest.dir/crypto.c.o CMakeFiles/statusTest.dir/loadfile.c.o CMakeFiles/statusTest.dir/util.c.o CMakeFiles/statusTest.dir/debug.c.o CMakeFiles/statusTest.dir/init.c.o CMakeFiles/statusTest.dir/globalplatform.c.o CMakeFiles/statusTest.dir/dyn_unix.c.o -o statusTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 96%] Built target statusTest [ 97%] Linking C shared library libgppcscconnectionplugin.so cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/gppcscconnectionplugin.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libgppcscconnectionplugin.so.1 -o libgppcscconnectionplugin.so.1 CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o -L/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -Wl,-rpath,"\$ORIGIN/../../globalplatform/src:" -lglobalplatform -lpcsclite @@ -1416,10 +1452,10 @@ /usr/bin/cmake -E cmake_progress_start /build/reproducible-path/globalplatform-2.4.0+dfsg/CMakeFiles 0 make[1]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' dh_auto_test -O--builddirectory=. - make -j6 test ARGS\+=--verbose ARGS\+=-j6 + make -j5 test ARGS\+=--verbose ARGS\+=-j5 make[1]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j6 +/usr/bin/ctest --force-new-ctest-process --verbose -j5 UpdateCTestConfiguration from :/build/reproducible-path/globalplatform-2.4.0+dfsg/DartConfiguration.tcl UpdateCTestConfiguration from :/build/reproducible-path/globalplatform-2.4.0+dfsg/DartConfiguration.tcl Test project /build/reproducible-path/globalplatform-2.4.0+dfsg @@ -1483,6 +1519,8 @@ 3: [ RUN ] mutual_auth_visa2 3: [ OK ] mutual_auth_visa2 3: [ RUN ] install +1/5 Test #1: scp03Test ........................ Passed 0.01 sec +2/5 Test #2: scp02Test ........................ Passed 0.01 sec 3: [ OK ] install 3: [ RUN ] get_status 3: [ OK ] get_status @@ -1492,33 +1530,31 @@ 3: [ PASSED ] 4 test(s). 4: [==========] crypto: Running 3 test(s). 4: [ RUN ] test_aes_cmac_128 -1/5 Test #1: scp03Test ........................ Passed 0.02 sec -2/5 Test #2: scp02Test ........................ Passed 0.02 sec 3/5 Test #3: scp01Test ........................ Passed 0.01 sec 4: [ OK ] test_aes_cmac_128 4: [ RUN ] test_aes_cmac_192 4: [ OK ] test_aes_cmac_192 4: [ RUN ] test_read_public_rsa_key -4: [ OK ] test_read_public_rsa_key -4: [==========] crypto: 3 test(s) run. -4: [ PASSED ] 3 test(s). -4/5 Test #4: cryptoTest ....................... Passed 0.01 sec 5: [==========] status: Running 1 test(s). 5: [ RUN ] app_status 5: [ OK ] app_status 5: [==========] status: 1 test(s) run. 5: [ PASSED ] 1 test(s). -5/5 Test #5: statusTest ....................... Passed 0.01 sec +4: [ OK ] test_read_public_rsa_key +4: [==========] crypto: 3 test(s) run. +4: [ PASSED ] 3 test(s). +4/5 Test #5: statusTest ....................... Passed 0.00 sec +5/5 Test #4: cryptoTest ....................... Passed 0.01 sec 100% tests passed, 0 tests failed out of 5 -Total Test time (real) = 0.02 sec +Total Test time (real) = 0.01 sec make[1]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' create-stamp debian/debhelper-build-stamp dh_testroot -O--builddirectory=. dh_prep -O--builddirectory=. dh_auto_install -O--builddirectory=. - make -j6 install DESTDIR=/build/reproducible-path/globalplatform-2.4.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j5 install DESTDIR=/build/reproducible-path/globalplatform-2.4.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' /usr/bin/cmake -S/build/reproducible-path/globalplatform-2.4.0+dfsg -B/build/reproducible-path/globalplatform-2.4.0+dfsg --check-build-system CMakeFiles/Makefile.cmake 0 make -f CMakeFiles/Makefile2 preinstall @@ -1652,12 +1688,12 @@ dh_gencontrol -O--builddirectory=. dh_md5sums -O--builddirectory=. dh_builddeb -O--builddirectory=. -dpkg-deb: building package 'gpshell' in '../gpshell_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'libglobalplatform-dev' in '../libglobalplatform-dev_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'gpshell' in '../gpshell_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'libgppcscconnectionplugin1-dbgsym' in '../libgppcscconnectionplugin1-dbgsym_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'libgppcscconnectionplugin1' in '../libgppcscconnectionplugin1_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'gpshell-dbgsym' in '../gpshell-dbgsym_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'libgppcscconnectionplugin1' in '../libgppcscconnectionplugin1_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'libglobalplatform7' in '../libglobalplatform7_2.4.0+dfsg-3_i386.deb'. dpkg-genbuildinfo --build=binary -O../globalplatform_2.4.0+dfsg-3_i386.buildinfo dpkg-genchanges --build=binary -O../globalplatform_2.4.0+dfsg-3_i386.changes @@ -1667,12 +1703,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/11692/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11692/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/517 and its subdirectories -I: Current time: Fri Dec 12 08:48:03 -12 2025 -I: pbuilder-time-stamp: 1765572483 +I: removing directory /srv/workspace/pbuilder/11692 and its subdirectories +I: Current time: Sun Nov 10 04:26:17 +14 2024 +I: pbuilder-time-stamp: 1731162377