Diff of the two buildlogs: -- --- b1/build.log 2024-10-19 15:59:57.071091670 +0000 +++ b2/build.log 2024-10-19 16:02:33.009544134 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Oct 19 03:50:21 -12 2024 -I: pbuilder-time-stamp: 1729353021 +I: Current time: Sun Oct 20 06:00:07 +14 2024 +I: pbuilder-time-stamp: 1729353607 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/32173/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/5030/tmp/hooks/D01_modify_environment starting +debug: Running on virt32c. +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 16:00 /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/5030/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/5030/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='unstable' - 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=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='f193e25ab76847b6bf4bdb9f23746e25' - 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='32173' - PS1='# ' - PS2='> ' + INVOCATION_ID=ba18f283ca644d1e9742f574816a3b37 + 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=5030 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.oIKlzJG5/pbuilderrc_CYyZ --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oIKlzJG5/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.oIKlzJG5/pbuilderrc_c7wK --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oIKlzJG5/b2 --logfile b2/build.log globalplatform_2.4.0+dfsg-3.dsc' + SUDO_GID=113 + SUDO_UID=107 + 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/32173/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/5030/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 unstable/main armhf pkgconf-bin armhf 1.8.1-3 [29.1 kB] Get: 75 http://deb.debian.org/debian unstable/main armhf pkgconf armhf 1.8.1-3 [26.1 kB] Get: 76 http://deb.debian.org/debian unstable/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1 [904 kB] -Fetched 120 MB in 6s (19.0 MB/s) +Fetched 120 MB in 2s (49.0 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 ... 19665 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/5030/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/5030/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 (16.1s) --- Generating done (0.9s) +-- Configuring done (2.7s) +-- 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 @@ -601,82 +637,35 @@ make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/depend make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/depend make -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[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' -make -f globalplatform/src/CMakeFiles/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/depend 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/scp02Test.dir/DependInfo.cmake "--color=" -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/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 +make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/build 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 -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.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/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/build make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/build make[3]: Entering 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]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -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 -[ 2%] 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 -[ 3%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o +[ 1%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.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 -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 -[ 4%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o +[ 2%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o +[ 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/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 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/scp01Test.dir/scp01Test.c.o +[ 4%] 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 -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 -/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, - | ^~~~~~~~~~~~~~~~~~ /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, @@ -801,25 +790,10 @@ /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 -/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(); - | ^ -[ 8%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o +[ 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 -[ 9%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o +[ 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 -[ 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 /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(); @@ -831,10 +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(); | ^ -[ 11%] 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 -[ 12%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o +[ 8%] 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 +[ 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 +[ 10%] 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 /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(); @@ -846,11 +822,7 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ -[ 13%] 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 -[ 15%] 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 -[ 16%] 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 /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] @@ -863,9 +835,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/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 -[ 18%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o +[ 13%] 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 /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=] @@ -876,6 +848,8 @@ /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, | ^~~~~~~~~~~~~~~~ +[ 15%] 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 /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); @@ -904,57 +878,14 @@ /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/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 -[ 20%] 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 -[ 22%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o +[ 16%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o +[ 17%] 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 -[ 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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, - | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 24%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o +[ 18%] 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 -[ 25%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o +[ 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 -[ 26%] 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); @@ -992,6 +923,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, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 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); @@ -1066,37 +999,29 @@ /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/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 -[ 29%] 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 -[ 30%] 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 -[ 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 +[ 24%] 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 +[ 25%] 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/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 -[ 34%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o +[ 26%] 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 -[ 36%] 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 -[ 37%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o +[ 27%] 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 -[ 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 -[ 39%] 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 -[ 40%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o +[ 29%] 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 -[ 41%] 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 -[ 43%] 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 -[ 44%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o +[ 30%] 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 +[ 31%] 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 -[ 45%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o +[ 32%] 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 +[ 33%] 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 +[ 34%] 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 /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=] @@ -1108,32 +1033,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, | ^~~~~~~~~~~~~~~~ -[ 47%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -[ 46%] 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 -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 -[ 48%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o +[ 36%] 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 +[ 37%] 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 +[ 38%] 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 -/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, - | ^~~~~~~~~~~~~~~~ -[ 50%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o +[ 39%] 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 +[ 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/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 -[ 51%] 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 -[ 52%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o +[ 43%] 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 -[ 53%] 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 -[ 54%] 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 /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); @@ -1144,8 +1057,6 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, | ^~~~~~~~~~~~~~~~ -[ 55%] 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); @@ -1156,6 +1067,8 @@ /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, | ^~~~~~~~~~~~~~~~ +[ 44%] 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 /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); @@ -1166,52 +1079,117 @@ /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/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 -[ 58%] Building C object globalplatform/src/CMakeFiles/scp03Test.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 +[ 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' +[ 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 +[ 48%] 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 -[ 59%] 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 -[ 60%] Linking C executable scp03Test +/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, + | ^~~~~~~~~~~~~~~~~~ +[ 50%] 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 +[ 51%] 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 +[ 52%] 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 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 +/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(); + | ^ +[ 53%] 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/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/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 +[ 54%] 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 make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 60%] Built target scp03Test +[ 54%] Built target scp03Test 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=" -[ 60%] Built target cryptoTest -make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/depend -make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src/CMakeFiles/gpshell_manpage.dir/DependInfo.cmake "--color=" +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make[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' +[ 54%] Built target scp02Test +make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/depend +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src /build/reproducible-path/globalplatform-2.4.0+dfsg/gpshell/src/CMakeFiles/gpshell_manpage.dir/DependInfo.cmake "--color=" +[ 55%] 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 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' -[ 61%] 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 -[ 62%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o -[ 63%] 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/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 -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 -[ 65%] Creating man page ... +[ 56%] 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 -[ 66%] 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 -[ 67%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o +[ 58%] 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 +[ 59%] 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 -[ 68%] 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 -[ 69%] Linking C executable scp02Test +[ 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 /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(); | ^ -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 /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(); @@ -1219,41 +1197,70 @@ /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(); | ^ -/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 -/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 -[ 70%] 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 +[ 61%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -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/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 make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 62%] Built target gpshell_manpage +[ 63%] 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 +[ 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/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 +[ 66%] 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 make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 70%] Built target globalplatformStatic +/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, + | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 66%] Built target scp01Test 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=" -[ 72%] 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 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' -[ 72%] Built target scp02Test -[ 73%] 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 -[ 74%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o +[ 67%] 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' -[ 74%] Built target scp01Test -[ 75%] 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 -[ 76%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o +[ 68%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -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 -[ 77%] 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 -[ 79%] 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 -[ 80%] 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 +[ 69%] 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 /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); @@ -1291,6 +1298,14 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 70%] 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 +[ 72%] 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 +[ 73%] 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 +[ 74%] 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 /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); @@ -1328,20 +1343,36 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 80%] Built target gpshell_manpage -[ 81%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o +[ 75%] 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); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/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, + | ^~~~~~~~~~~~~~~~ +[ 76%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -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 +[ 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%] 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 +[ 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 -[ 82%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o +[ 81%] 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 -[ 83%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o +[ 82%] 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 -[ 84%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o +[ 83%] 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 -[ 86%] 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 -[ 87%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o +[ 84%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -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 +[ 86%] 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 /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); @@ -1352,13 +1383,11 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 88%] 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 -[ 89%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/init.c.o +[ 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 -[ 90%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o +[ 88%] 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 -[ 91%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o +[ 89%] 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=] @@ -1370,6 +1399,13 @@ /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/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 +[ 91%] 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' +[ 91%] Built target cryptoTest [ 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 @@ -1382,12 +1418,12 @@ make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/build.make gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 94%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o +[ 94%] 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 +[ 96%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/gppcscconnectionplugin.c.o +[ 96%] Building C object gppcscconnectionplugin/src/CMakeFiles/gppcscconnectionplugin.dir/__/__/globalplatform/src/util.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/src && /usr/bin/cc -DOPGP_DEBUG -Dgppcscconnectionplugin_EXPORTS -I/usr/include/PCSC -I/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src -I/build/reproducible-path/globalplatform-2.4.0+dfsg/gppcscconnectionplugin/../globalplatform/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -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 -[ 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%] 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' [ 96%] Built target statusTest @@ -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,72 +1487,72 @@ 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 +1: [==========] SCP03: Running 5 test(s). +1: [ RUN ] delete_application +1: [ OK ] delete_application +1: [ RUN ] mutual_auth +1: [ OK ] mutual_auth +1: [ RUN ] get_status +1: [ OK ] get_status +1: [ RUN ] get_status_enc_mac +1: [ OK ] get_status_enc_mac +1: [ RUN ] get_status_aes_192 +1: [ OK ] get_status_aes_192 +1: [==========] SCP03: 5 test(s) run. +1: [ PASSED ] 5 test(s). +2: [==========] SCP02: Running 2 test(s). +2: [ RUN ] get_status_mac_only +2: [ OK ] get_status_mac_only +2: [ RUN ] install_mac_enc +2: [ OK ] install_mac_enc +2: [==========] SCP02: 2 test(s) run. +2: [ PASSED ] 2 test(s). +1/5 Test #1: scp03Test ........................ Passed 0.02 sec +2/5 Test #2: scp02Test ........................ 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 -1: [==========] SCP03: Running 5 test(s). -1: [ RUN ] delete_application -2: [==========] SCP02: Running 2 test(s). -2: [ RUN ] get_status_mac_only 3: [==========] SCP01: Running 4 test(s). 3: [ RUN ] mutual_auth_visa2 -4: [==========] crypto: Running 3 test(s). -4: [ RUN ] test_aes_cmac_128 3: [ OK ] mutual_auth_visa2 3: [ RUN ] install -2: [ OK ] get_status_mac_only -2: [ RUN ] install_mac_enc -5: [==========] status: Running 1 test(s). -1: [ OK ] delete_application -1: [ RUN ] mutual_auth -1: [ OK ] mutual_auth -1: [ RUN ] get_status -1: [ OK ] get_status -1: [ RUN ] get_status_enc_mac -5: [ RUN ] app_status -5: [ OK ] app_status -5: [==========] status: 1 test(s) run. -5: [ PASSED ] 1 test(s). 3: [ OK ] install 3: [ RUN ] get_status -1/5 Test #5: statusTest ....................... Passed 0.08 sec -4: [ OK ] test_aes_cmac_128 -4: [ RUN ] test_aes_cmac_192 -4: [ OK ] test_aes_cmac_192 -4: [ RUN ] test_read_public_rsa_key 3: [ OK ] get_status 3: [ RUN ] get_status_mac_enc 3: [ OK ] get_status_mac_enc 3: [==========] SCP01: 4 test(s) run. 3: [ PASSED ] 4 test(s). -2: [ OK ] install_mac_enc -2: [==========] SCP02: 2 test(s) run. -2: [ PASSED ] 2 test(s). -1: [ OK ] get_status_enc_mac -1: [ RUN ] get_status_aes_192 -1: [ OK ] get_status_aes_192 -1: [==========] SCP03: 5 test(s) run. -1: [ PASSED ] 5 test(s). -2/5 Test #3: scp01Test ........................ Passed 0.16 sec -3/5 Test #1: scp03Test ........................ Passed 0.24 sec -4/5 Test #2: scp02Test ........................ Passed 0.20 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 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.16 sec +3/5 Test #3: scp01Test ........................ Passed 0.03 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.01 sec 100% tests passed, 0 tests failed out of 5 -Total Test time (real) = 0.29 sec +Total Test time (real) = 0.04 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 @@ -1647,7 +1683,6 @@ dh_makeshlibs -a -O--builddirectory=. dh_shlibdeps -a -O--builddirectory=. dpkg-shlibdeps: warning: diversions involved - output may be incorrect -dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged @@ -1655,6 +1690,7 @@ diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged +dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 from: /lib/ld-linux-armhf.so.3 dpkg-shlibdeps: warning: diversions involved - output may be incorrect diversion by libc6 to: /lib/ld-linux-armhf.so.3.usr-is-merged @@ -1662,12 +1698,12 @@ dh_gencontrol -O--builddirectory=. dh_md5sums -O--builddirectory=. dh_builddeb -O--builddirectory=. -dpkg-deb: building package 'gpshell' in '../gpshell_2.4.0+dfsg-3_armhf.deb'. 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 '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 'gpshell-dbgsym' in '../gpshell-dbgsym_2.4.0+dfsg-3_armhf.deb'. dpkg-deb: building package 'libglobalplatform7' in '../libglobalplatform7_2.4.0+dfsg-3_armhf.deb'. dpkg-genbuildinfo --build=binary -O../globalplatform_2.4.0+dfsg-3_armhf.buildinfo dpkg-genchanges --build=binary -O../globalplatform_2.4.0+dfsg-3_armhf.changes @@ -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/5030/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/5030/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/32173 and its subdirectories -I: Current time: Sat Oct 19 03:59:52 -12 2024 -I: pbuilder-time-stamp: 1729353592 +I: removing directory /srv/workspace/pbuilder/5030 and its subdirectories +I: Current time: Sun Oct 20 06:02:27 +14 2024 +I: pbuilder-time-stamp: 1729353747