Diff of the two buildlogs: -- --- b1/build.log 2024-10-19 21:08:37.105377771 +0000 +++ b2/build.log 2024-10-19 21:14:37.140595624 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 19 09:04:03 -12 2024 -I: pbuilder-time-stamp: 1729371843 +I: Current time: Sun Oct 20 11:08:59 +14 2024 +I: pbuilder-time-stamp: 1729372139 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -31,52 +31,84 @@ 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/28155/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/18215/tmp/hooks/D01_modify_environment starting +debug: Running on virt32b. +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 Oct 19 21:10 /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/18215/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/18215/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=5 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='armhf' + 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]="arm-unknown-linux-gnueabihf") + 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=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='60ee8740a8b242d38f41ed1146a9995f' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='28155' - PS1='# ' - PS2='> ' + INVOCATION_ID=e3886f4195c848fcac57cb7f3893b6b1 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=18215 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.bt6ZEgPz/pbuilderrc_MVRF --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.bt6ZEgPz/b1 --logfile b1/build.log globalplatform_2.4.0+dfsg-3.dsc' - SUDO_GID='114' - SUDO_UID='109' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.bt6ZEgPz/pbuilderrc_mhur --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.bt6ZEgPz/b2 --logfile b2/build.log globalplatform_2.4.0+dfsg-3.dsc' + SUDO_GID=112 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux ff64a 6.1.0-26-arm64 #1 SMP Debian 6.1.112-1 (2024-09-30) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-26-armmp-lpae #1 SMP Debian 6.1.112-1 (2024-09-30) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28155/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/18215/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -206,7 +238,7 @@ Get: 74 http://deb.debian.org/debian trixie/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 75 http://deb.debian.org/debian trixie/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 76 http://deb.debian.org/debian trixie/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [904 kB] -Fetched 114 MB in 3s (37.6 MB/s) +Fetched 114 MB in 6s (20.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:armhf. (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 ... 19520 files and directories currently installed.) @@ -525,7 +557,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/18215/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/18215/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 @@ -575,8 +611,8 @@ -- Found GLOBALPLATFORM: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/libglobalplatform.so -- Checking for pandoc -- Found pandoc --- Configuring done (5.5s) --- Generating done (0.4s) +-- Configuring done (3.4s) +-- Generating done (0.2s) CMake Warning: Manually-specified variables were not used by the project: @@ -592,7 +628,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 -j5 "INSTALL=install --strip-program=true" VERBOSE=1 + make -j4 "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,115 +638,34 @@ make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/depend make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/depend 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[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[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[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=" -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 -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.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/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/scp01Test.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/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/build -make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.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[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 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/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/build +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make[3]: Entering 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]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 1%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 3%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -[ 3%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -[ 4%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/scp01Test.c.o +[ 2%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o +[ 2%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 5%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -/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, - | ^~~~~~~~~~~~~~~~~~ +[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/scp02Test.dir/scp02Test.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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, @@ -801,9 +756,43 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 8%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o +/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, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 5%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 6%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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] @@ -816,68 +805,12 @@ /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(); - | ^ -/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/globalplatformStatic.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 10%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 11%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 12%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o +[ 8%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 13%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 15%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o +[ 9%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/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, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 16%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 10%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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(); @@ -889,9 +822,9 @@ /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(); | ^ -[ 17%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o +[ 11%] Building C object globalplatform/src/CMakeFiles/scp03Test.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 18%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o +[ 12%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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] @@ -904,14 +837,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(); | ^ -[ 19%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 20%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 23%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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); @@ -949,10 +874,16 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 24%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o +[ 13%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 15%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 16%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 17%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 18%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -990,6 +921,10 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 19%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 20%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1027,8 +962,6 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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); @@ -1066,24 +999,24 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 27%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o +[ 22%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 29%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 31%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o +[ 23%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 32%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 33%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o +[ 24%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 25%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 34%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o +[ 26%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 36%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o +[ 27%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 37%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o +[ 29%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 30%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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); @@ -1094,20 +1027,12 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 38%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 39%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o +[ 32%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 40%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/scp03Test.dir/loadfile.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 44%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 34%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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); @@ -1118,20 +1043,20 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 46%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o +[ 36%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 37%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 47%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 48%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 50%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 51%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 52%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o +[ 38%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 53%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o +[ 39%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 40%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 41%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 43%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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); @@ -1142,19 +1067,7 @@ /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, - | ^~~~~~~~~~~~~~~~ -[ 54%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 55%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o +[ 44%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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=] @@ -1166,25 +1079,98 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 56%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o +[ 45%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 46%] 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' -[ 58%] Built target globalplatformStatic +[ 46%] Built target globalplatformStatic +make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.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/cryptoTest.dir/DependInfo.cmake "--color=" +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 +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 47%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +/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, + | ^~~~~~~~~~~~~~~~~~ +[ 48%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 50%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +/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(); + | ^ +[ 51%] 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 +[ 52%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 52%] Built target scp02Test 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=" +[ 53%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 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 +[ 54%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 55%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 56%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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(); @@ -1196,14 +1182,60 @@ /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 +[ 58%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/statusTest.dir/stringify.c.o +/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, + | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 59%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 63%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o +[ 60%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 61%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 62%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 65%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 63%] 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 +[ 65%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' /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); @@ -1241,54 +1273,43 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 66%] 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 -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so -[ 67%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 67%] Built target scp02Test +[ 65%] Built target scp01Test make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/depend +[ 65%] Built target scp03Test 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=" +[ 66%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 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' -[ 68%] Creating man page ... +[ 67%] 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 -[ 69%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 70%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so -[ 72%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 72%] Built target scp01Test +[ 67%] Built target gpshell_manpage 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' -[ 73%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o +[ 68%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 73%] Built target scp03Test -[ 74%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o +[ 69%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 70%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 76%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o +[ 72%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 73%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 74%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/globalplatform.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 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 79%] Built target gpshell_manpage +[ 75%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 76%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 /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); @@ -1326,28 +1347,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, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 80%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 81%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 81%] Built target cryptoTest -[ 82%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 83%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 84%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 86%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 87%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 88%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -[ 89%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -[ 90%] 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 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 77%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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); @@ -1358,8 +1359,16 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 79%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o +[ 80%] 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 -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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 81%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 82%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 83%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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); @@ -1370,12 +1379,41 @@ /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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip -[ 94%] Linking C executable statusTest +[ 84%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 86%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 87%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 88%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 89%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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, + | ^~~~~~~~~~~~~~~~ +[ 90%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 91%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 91%] Built target statusTest +[ 93%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/libz.so -ldl -lminizip /usr/lib/arm-linux-gnueabihf/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 93%] Built target cryptoTest +[ 94%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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/arm-linux-gnueabihf/libssl.so /usr/lib/arm-linux-gnueabihf/libcrypto.so /usr/lib/arm-linux-gnueabihf/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 @@ -1383,14 +1421,12 @@ 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[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%] Built target statusTest -[ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 +[ 95%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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%] 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 [ 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 -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -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 @@ -1414,10 +1450,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 -j5 test ARGS\+=--verbose ARGS\+=-j5 + make -j4 test ARGS\+=--verbose ARGS\+=-j4 make[1]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j5 +/usr/bin/ctest --force-new-ctest-process --verbose -j4 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 @@ -1451,12 +1487,6 @@ 4: Test command: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest 4: Working Directory: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src 4: Test timeout computed to be: 10000000 -test 5 - Start 5: statusTest - -5: Test command: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest -5: Working Directory: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -5: Test timeout computed to be: 10000000 1: [==========] SCP03: Running 5 test(s). 1: [ RUN ] delete_application 1: [ OK ] delete_application @@ -1472,25 +1502,22 @@ 1: [ PASSED ] 5 test(s). 2: [==========] SCP02: Running 2 test(s). 2: [ RUN ] get_status_mac_only -3: [==========] SCP01: Running 4 test(s). -3: [ RUN ] mutual_auth_visa2 -1/5 Test #1: scp03Test ........................ Passed 0.05 sec 2: [ OK ] get_status_mac_only 2: [ RUN ] install_mac_enc -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). -4: [==========] crypto: Running 3 test(s). -4: [ RUN ] test_aes_cmac_128 -2/5 Test #5: statusTest ....................... Passed 0.02 sec +1/5 Test #1: scp03Test ........................ Passed 0.02 sec +test 5 + Start 5: statusTest + +5: Test command: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest +5: Working Directory: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src +5: Test timeout computed to be: 10000000 2: [ OK ] install_mac_enc 2: [==========] SCP02: 2 test(s) run. 2: [ PASSED ] 2 test(s). +3: [==========] SCP01: Running 4 test(s). +3: [ RUN ] mutual_auth_visa2 3: [ OK ] mutual_auth_visa2 3: [ RUN ] install -3/5 Test #2: scp02Test ........................ Passed 0.05 sec 3: [ OK ] install 3: [ RUN ] get_status 3: [ OK ] get_status @@ -1498,25 +1525,34 @@ 3: [ OK ] get_status_mac_enc 3: [==========] SCP01: 4 test(s) run. 3: [ PASSED ] 4 test(s). -4/5 Test #3: scp01Test ........................ Passed 0.05 sec +4: [==========] crypto: Running 3 test(s). +4: [ RUN ] test_aes_cmac_128 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 +2/5 Test #2: scp02Test ........................ Passed 0.03 sec +3/5 Test #3: scp01Test ........................ Passed 0.03 sec 4: [ OK ] test_read_public_rsa_key 4: [==========] crypto: 3 test(s) run. 4: [ PASSED ] 3 test(s). -5/5 Test #4: cryptoTest ....................... Passed 0.05 sec +4/5 Test #4: cryptoTest ....................... Passed 0.02 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.02 sec 100% tests passed, 0 tests failed out of 5 -Total Test time (real) = 0.08 sec +Total Test time (real) = 0.05 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 -j5 install DESTDIR=/build/reproducible-path/globalplatform-2.4.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j4 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 @@ -1662,10 +1698,10 @@ dh_gencontrol -O--builddirectory=. dh_md5sums -O--builddirectory=. dh_builddeb -O--builddirectory=. -dpkg-deb: building package 'libglobalplatform-dev' in '../libglobalplatform-dev_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'gpshell' in '../gpshell_2.4.0+dfsg-3_armhf.deb'. -dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_armhf.deb'. +dpkg-deb: building package 'libglobalplatform-dev' in '../libglobalplatform-dev_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'libgppcscconnectionplugin1-dbgsym' in '../libgppcscconnectionplugin1-dbgsym_2.4.0+dfsg-3_armhf.deb'. +dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'gpshell-dbgsym' in '../gpshell-dbgsym_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'libgppcscconnectionplugin1' in '../libgppcscconnectionplugin1_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'libglobalplatform7' in '../libglobalplatform7_2.4.0+dfsg-3_armhf.deb'. @@ -1677,12 +1713,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/18215/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/18215/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/28155 and its subdirectories -I: Current time: Sat Oct 19 09:08:28 -12 2024 -I: pbuilder-time-stamp: 1729372108 +I: removing directory /srv/workspace/pbuilder/18215 and its subdirectories +I: Current time: Sun Oct 20 11:14:29 +14 2024 +I: pbuilder-time-stamp: 1729372469