Diff of the two buildlogs: -- --- b1/build.log 2024-11-12 14:08:38.756340842 +0000 +++ b2/build.log 2024-11-12 14:11:47.453603437 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Dec 15 08:30:57 -12 2025 -I: pbuilder-time-stamp: 1765830657 +I: Current time: Wed Nov 13 04:08:42 +14 2024 +I: pbuilder-time-stamp: 1731420522 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -32,54 +32,86 @@ 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/68929/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3458/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Nov 12 14:09 /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/3458/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3458/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='i386' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="i686-pc-linux-gnu") + BASH_VERSION='5.2.32(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='27f6b15c825944a4995d7b06576246b5' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='68929' - PS1='# ' - PS2='> ' + INVOCATION_ID=dff4f084c1f549358d6da4d83846d5e2 + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3458 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.QcFDfZ3d/pbuilderrc_1Hfp --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.QcFDfZ3d/b1 --logfile b1/build.log globalplatform_2.4.0+dfsg-3.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.QcFDfZ3d/pbuilderrc_cBfs --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.QcFDfZ3d/b2 --logfile b2/build.log globalplatform_2.4.0+dfsg-3.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-27-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 4 2024 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/68929/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 4 21:30 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3458/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -209,7 +241,7 @@ Get: 74 http://deb.debian.org/debian unstable/main i386 pkgconf-bin i386 1.8.1-4 [30.6 kB] Get: 75 http://deb.debian.org/debian unstable/main i386 pkgconf i386 1.8.1-4 [26.2 kB] Get: 76 http://deb.debian.org/debian unstable/main i386 zlib1g-dev i386 1:1.3.dfsg+really1.3.1-1+b1 [916 kB] -Fetched 150 MB in 2s (70.3 MB/s) +Fetched 150 MB in 6s (25.4 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libproc2-0:i386. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19955 files and directories currently installed.) @@ -528,7 +560,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/3458/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3458/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 @@ -578,7 +614,7 @@ -- Found GLOBALPLATFORM: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/libglobalplatform.so -- Checking for pandoc -- Found pandoc --- Configuring done (1.2s) +-- Configuring done (8.3s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: @@ -595,98 +631,158 @@ -- 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 -j22 "INSTALL=install --strip-program=true" VERBOSE=1 + make -j10 "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 make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/depend -make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/depend -make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/depend -make -f globalplatform/src/CMakeFiles/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/depend -make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/globalplatformStatic.dir/DependInfo.cmake "--color=" -make -f globalplatform/src/CMakeFiles/statusTest.dir/build.make globalplatform/src/CMakeFiles/statusTest.dir/depend +make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f gpshell/src/CMakeFiles/gpshell_manpage.dir/build.make gpshell/src/CMakeFiles/gpshell_manpage.dir/depend +make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.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/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/depend +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' 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 -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -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 -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/depend +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/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=" +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]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/build cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/statusTest.dir/DependInfo.cmake "--color=" +make[3]: Entering 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/depend make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make -f globalplatform/src/CMakeFiles/globalplatformStatic.dir/build.make globalplatform/src/CMakeFiles/globalplatformStatic.dir/build -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/scp03Test.dir/build.make globalplatform/src/CMakeFiles/scp03Test.dir/build -make -f globalplatform/src/CMakeFiles/scp02Test.dir/build.make globalplatform/src/CMakeFiles/scp02Test.dir/build +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]: 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o -MF CMakeFiles/scp02Test.dir/scp02Test.c.o.d -o CMakeFiles/scp02Test.dir/scp02Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 2%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/scp01Test.dir/build.make globalplatform/src/CMakeFiles/scp01Test.dir/build +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -MF CMakeFiles/globalplatformStatic.dir/connection.c.o.d -o CMakeFiles/globalplatformStatic.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 3%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o -MF CMakeFiles/scp02Test.dir/testUtil.c.o.d -o CMakeFiles/scp02Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c 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 +[ 4%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 5%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o +make -f globalplatform/src/CMakeFiles/cryptoTest.dir/build.make globalplatform/src/CMakeFiles/cryptoTest.dir/build +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/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 +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -MF CMakeFiles/scp02Test.dir/connection.c.o.d -o CMakeFiles/scp02Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c 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[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' +[ 6%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -MF CMakeFiles/scp03Test.dir/scp03Test.c.o.d -o CMakeFiles/scp03Test.dir/scp03Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c +[ 8%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -MF CMakeFiles/statusTest.dir/statusTest.c.o.d -o CMakeFiles/statusTest.dir/statusTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest.c +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' -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]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 1%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/scp03Test.c.o -[ 2%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -MF CMakeFiles/scp01Test.dir/testUtil.c.o.d -o CMakeFiles/scp01Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -[ 4%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o -[ 4%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -[ 5%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o -[ 8%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -[ 8%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -[ 10%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o -[ 12%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -[ 10%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o -MF CMakeFiles/scp03Test.dir/testUtil.c.o.d -o CMakeFiles/scp03Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/scp02Test.c.o -MF CMakeFiles/scp02Test.dir/scp02Test.c.o.d -o CMakeFiles/scp02Test.dir/scp02Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c -[ 16%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o -[ 16%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -MF CMakeFiles/globalplatformStatic.dir/crypto.c.o.d -o CMakeFiles/globalplatformStatic.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 17%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/connection.c.o -MF CMakeFiles/globalplatformStatic.dir/connection.c.o.d -o CMakeFiles/globalplatformStatic.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -MF CMakeFiles/scp03Test.dir/connection.c.o.d -o CMakeFiles/scp03Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 22%] Building C object globalplatform/src/CMakeFiles/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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o -MF CMakeFiles/scp01Test.dir/connection.c.o.d -o CMakeFiles/scp01Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 22%] 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 -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/connection.c.o -MF CMakeFiles/scp02Test.dir/connection.c.o.d -o CMakeFiles/scp02Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -MF CMakeFiles/scp03Test.dir/crypto.c.o.d -o CMakeFiles/scp03Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o -MF CMakeFiles/scp03Test.dir/stringify.c.o.d -o CMakeFiles/scp03Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 22%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/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 -[ 22%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o -[ 23%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o -[ 25%] 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o -MF CMakeFiles/globalplatformStatic.dir/loadfile.c.o.d -o CMakeFiles/globalplatformStatic.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/testUtil.c.o -MF CMakeFiles/scp02Test.dir/testUtil.c.o.d -o CMakeFiles/scp02Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -[ 25%] Creating man page ... -[ 25%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o -MF CMakeFiles/cryptoTest.dir/testUtil.c.o.d -o CMakeFiles/cryptoTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c +[ 9%] 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/scp01Test.c.o -MF CMakeFiles/scp01Test.dir/scp01Test.c.o.d -o CMakeFiles/scp01Test.dir/scp01Test.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/stringify.c.o -MF CMakeFiles/globalplatformStatic.dir/stringify.c.o.d -o CMakeFiles/globalplatformStatic.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 10%] 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/cryptoTest.c.o -MF CMakeFiles/cryptoTest.dir/cryptoTest.c.o.d -o CMakeFiles/cryptoTest.dir/cryptoTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c +[ 11%] 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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -MF CMakeFiles/scp02Test.dir/stringify.c.o.d -o CMakeFiles/scp02Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o -MF CMakeFiles/globalplatformStatic.dir/util.c.o.d -o CMakeFiles/globalplatformStatic.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/statusTest.c.o -MF CMakeFiles/statusTest.dir/statusTest.c.o.d -o CMakeFiles/statusTest.dir/statusTest.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest.c +/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(); + | ^ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'install_mac_enc': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 163 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 164 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 165 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, + from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:17: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' + 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c: In function 'get_status_mac_only': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 84 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 85 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 86 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_MAC, 0, &securityInfo211); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' + 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_192': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] + 69 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:22: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] + 73 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:73:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c: In function 'test_aes_cmac_128': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 45 | status = calculate_CMAC_aes(key, sizeof(key), message1, sizeof(message1), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:45:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: warning: 'calculate_CMAC_aes' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] + 49 | status = calculate_CMAC_aes(key, sizeof(key), message2, sizeof(message2), NULL, mac); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 1 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:49:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:57:19: note: in a call to function 'calculate_CMAC_aes' + 57 | OPGP_ERROR_STATUS calculate_CMAC_aes(BYTE sMacKey[32], DWORD keyLength, BYTE *message, + | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c: In function 'get_status_aes_192': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:483:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 24 [-Wstringop-overflow=] 483 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, key, key, key, sizeof(key), 0, 0, @@ -731,6 +827,7 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c: In function 'get_status_mac_enc': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c: In function 'mutual_auth': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:219:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] 219 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, sEnc, sMac, dek, 16, 0, 0, @@ -751,7 +848,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | GP211_SCP03, GP211_SCP03_IMPL_i70, GP211_SCP03_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp01Test.c: In function 'get_status_mac_enc': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:90:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:90:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp03Test.c:90:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} @@ -777,6 +873,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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +[ 12%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -MF CMakeFiles/statusTest.dir/testUtil.c.o.d -o CMakeFiles/statusTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c +[ 13%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/testUtil.c.o -MF CMakeFiles/cryptoTest.dir/testUtil.c.o.d -o CMakeFiles/cryptoTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c /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(); @@ -788,6 +888,14 @@ /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(); | ^ +[ 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/stringify.c.o -MF CMakeFiles/scp02Test.dir/stringify.c.o.d -o CMakeFiles/scp02Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 16%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o +[ 17%] 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 -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o -MF CMakeFiles/scp02Test.dir/crypto.c.o.d -o CMakeFiles/scp02Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/crypto.c.o -MF CMakeFiles/globalplatformStatic.dir/crypto.c.o.d -o CMakeFiles/globalplatformStatic.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 18%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/loadfile.c.o -MF CMakeFiles/globalplatformStatic.dir/loadfile.c.o.d -o CMakeFiles/globalplatformStatic.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c /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(); @@ -799,150 +907,16 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c:53:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 53 | PDWORD __rapduLength = (PDWORD) mock(); | ^ -/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(); - | ^ -/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/scp02Test.c: In function 'install_mac_enc': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 163 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 164 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 165 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_DEC_C_MAC, 0, &securityInfo211); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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/scp02Test.c:163:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:163:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/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(); - | ^ -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.h:49, - from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:17: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' - 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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/scp02Test.c: In function 'get_status_mac_only': -/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/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] - 84 | status = GP211_mutual_authentication(cardContext, cardInfo, NULL, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, (PBYTE)OPGP_VISA_DEFAULT_KEY, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 85 | sizeof(OPGP_VISA_DEFAULT_KEY), 0, 0, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 86 | GP211_SCP02, GP211_SCP02_IMPL_i15, GP211_SCP02_SECURITY_LEVEL_C_MAC, 0, &securityInfo211); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 5 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/cryptoTest.c:69:18: note: referencing argument 6 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -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/scp02Test.c:84:18: note: referencing argument 5 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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/scp02Test.c:84:18: warning: 'GP211_mutual_authentication' accessing 32 bytes in a region of size 16 [-Wstringop-overflow=] -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/scp02Test.c:84:18: note: referencing argument 6 of type 'BYTE[32]' {aka 'unsigned char[32]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform/globalplatform.h:437:19: note: in a call to function 'GP211_mutual_authentication' - 437 | OPGP_ERROR_STATUS GP211_mutual_authentication(OPGP_CARD_CONTEXT cardContext, OPGP_CARD_INFO cardInfo, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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, - | ^~~~~~~~~~~~~~~~~~ -[ 26%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/testUtil.c.o -MF CMakeFiles/statusTest.dir/testUtil.c.o.d -o CMakeFiles/statusTest.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c -[ 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o -MF CMakeFiles/globalplatformStatic.dir/debug.c.o.d -o CMakeFiles/globalplatformStatic.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 30%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o -[ 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o -MF CMakeFiles/scp03Test.dir/loadfile.c.o.d -o CMakeFiles/scp03Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 18%] Built target gpshell_manpage +[ 19%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -MF CMakeFiles/statusTest.dir/connection.c.o.d -o CMakeFiles/statusTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 20%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/connection.c.o -MF CMakeFiles/cryptoTest.dir/connection.c.o.d -o CMakeFiles/cryptoTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 31%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -[ 32%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o -[ 33%] 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 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -MF CMakeFiles/cryptoTest.dir/stringify.c.o.d -o CMakeFiles/cryptoTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o -MF CMakeFiles/scp01Test.dir/crypto.c.o.d -o CMakeFiles/scp01Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o -MF CMakeFiles/scp01Test.dir/loadfile.c.o.d -o CMakeFiles/scp01Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -/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(); - | ^ -[ 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o -MF CMakeFiles/scp01Test.dir/util.c.o.d -o CMakeFiles/scp01Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 36%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -[ 37%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/crypto.c.o -MF CMakeFiles/scp02Test.dir/crypto.c.o.d -o CMakeFiles/scp02Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -MF CMakeFiles/scp03Test.dir/util.c.o.d -o CMakeFiles/scp03Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 38%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -MF CMakeFiles/globalplatformStatic.dir/init.c.o.d -o CMakeFiles/globalplatformStatic.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 39%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -MF CMakeFiles/scp01Test.dir/debug.c.o.d -o CMakeFiles/scp01Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 40%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -MF CMakeFiles/globalplatformStatic.dir/globalplatform.c.o.d -o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -[ 41%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -MF CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -/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, - | ^~~~~~~~~~~~~~~~ +[ 22%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -MF CMakeFiles/scp02Test.dir/loadfile.c.o.d -o CMakeFiles/scp02Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': +[ 23%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o /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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -960,9 +934,7 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 43%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_load_receipt': -[ 44%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o /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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -971,16 +943,7 @@ /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': -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o -MF CMakeFiles/scp01Test.dir/init.c.o.d -o CMakeFiles/scp01Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -/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, - | ^~~~~~~~~~~~~~~~ +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/testUtil.c.o -MF CMakeFiles/scp01Test.dir/testUtil.c.o.d -o CMakeFiles/scp01Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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, @@ -988,10 +951,34 @@ 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: In function 'validate_load_receipt': /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/util.c.o +[ 25%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/stringify.c.o -MF CMakeFiles/cryptoTest.dir/stringify.c.o.d -o CMakeFiles/cryptoTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 26%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1244:19: note: in a call to function 'validate_receipt' + 1244 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -MF CMakeFiles/scp02Test.dir/util.c.o.d -o CMakeFiles/scp02Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_install_receipt': +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/testUtil.c.o -MF CMakeFiles/scp03Test.dir/testUtil.c.o.d -o CMakeFiles/scp03Test.dir/testUtil.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/testUtil.c +/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1010,31 +997,49 @@ /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o -MF CMakeFiles/scp03Test.dir/debug.c.o.d -o CMakeFiles/scp03Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 44%] Built target gpshell_manpage -[ 45%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -MF CMakeFiles/scp03Test.dir/init.c.o.d -o CMakeFiles/scp03Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 46%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/connection.c.o -MF CMakeFiles/statusTest.dir/connection.c.o.d -o CMakeFiles/statusTest.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c -[ 47%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o +/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(); + | ^ +/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(); + | ^ +[ 27%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/stringify.c.o -MF CMakeFiles/statusTest.dir/stringify.c.o.d -o CMakeFiles/statusTest.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 48%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o +[ 29%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o -MF CMakeFiles/scp02Test.dir/debug.c.o.d -o CMakeFiles/scp02Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 30%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o +[ 31%] 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 -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/connection.c.o -MF CMakeFiles/scp01Test.dir/connection.c.o.d -o CMakeFiles/scp01Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/crypto.c.o -MF CMakeFiles/cryptoTest.dir/crypto.c.o.d -o CMakeFiles/cryptoTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 50%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o -[ 51%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/loadfile.c.o -MF CMakeFiles/scp02Test.dir/loadfile.c.o.d -o CMakeFiles/scp02Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 52%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o -[ 53%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o -MF CMakeFiles/scp01Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp01Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 32%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o -MF CMakeFiles/cryptoTest.dir/loadfile.c.o.d -o CMakeFiles/cryptoTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 33%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/connection.c.o -MF CMakeFiles/scp03Test.dir/connection.c.o.d -o CMakeFiles/scp03Test.dir/connection.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/connection.c +[ 34%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -MF CMakeFiles/statusTest.dir/crypto.c.o.d -o CMakeFiles/statusTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 36%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o -MF CMakeFiles/scp02Test.dir/init.c.o.d -o CMakeFiles/scp02Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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]'} -[ 54%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o /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, @@ -1048,7 +1053,6 @@ /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, | ^~~~~~~~~~~~~~~~ -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/util.c.o -MF CMakeFiles/scp02Test.dir/util.c.o.d -o CMakeFiles/scp02Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c /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); @@ -1068,22 +1072,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, | ^~~~~~~~~~~~~~~~~~~~~~~ -[ 55%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o -MF CMakeFiles/scp03Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp03Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 58%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o -[ 58%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/loadfile.c.o -MF CMakeFiles/cryptoTest.dir/loadfile.c.o.d -o CMakeFiles/cryptoTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/debug.c.o -MF CMakeFiles/scp02Test.dir/debug.c.o.d -o CMakeFiles/scp02Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -/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, - | ^~~~~~~~~~~~~~~~ +[ 37%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/stringify.c.o -MF CMakeFiles/scp01Test.dir/stringify.c.o.d -o CMakeFiles/scp01Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 38%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/util.c.o -MF CMakeFiles/globalplatformStatic.dir/util.c.o.d -o CMakeFiles/globalplatformStatic.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 39%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -MF CMakeFiles/scp02Test.dir/globalplatform.c.o.d -o CMakeFiles/scp02Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 40%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/stringify.c.o -MF CMakeFiles/scp03Test.dir/stringify.c.o.d -o CMakeFiles/scp03Test.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:1302:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 1302 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1112,7 +1108,6 @@ 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': -[ 59%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o /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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1122,21 +1117,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, | ^~~~~~~~~~~~~~~~~~~~~~~ -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/init.c.o -MF CMakeFiles/scp02Test.dir/init.c.o.d -o CMakeFiles/scp02Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 60%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -MF CMakeFiles/cryptoTest.dir/util.c.o.d -o CMakeFiles/cryptoTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 61%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o -MF CMakeFiles/cryptoTest.dir/debug.c.o.d -o CMakeFiles/cryptoTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -/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, - | ^~~~~~~~~~~~~~~~ +[ 41%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/debug.c.o -MF CMakeFiles/globalplatformStatic.dir/debug.c.o.d -o CMakeFiles/globalplatformStatic.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c /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); @@ -1147,19 +1129,19 @@ /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, | ^~~~~~~~~~~~~~~~ -[ 62%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -MF CMakeFiles/cryptoTest.dir/init.c.o.d -o CMakeFiles/cryptoTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 63%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/globalplatform.c.o -MF CMakeFiles/scp02Test.dir/globalplatform.c.o.d -o CMakeFiles/scp02Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -[ 65%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -[ 66%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o +[ 43%] Building C object globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp02Test.dir/dyn_unix.c.o -MF CMakeFiles/scp02Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp02Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/crypto.c.o -MF CMakeFiles/statusTest.dir/crypto.c.o.d -o CMakeFiles/statusTest.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 67%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -MF CMakeFiles/statusTest.dir/loadfile.c.o.d -o CMakeFiles/statusTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c -[ 68%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o +[ 44%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o +[ 45%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/crypto.c.o -MF CMakeFiles/scp01Test.dir/crypto.c.o.d -o CMakeFiles/scp01Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/crypto.c.o -MF CMakeFiles/scp03Test.dir/crypto.c.o.d -o CMakeFiles/scp03Test.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 46%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/util.c.o -MF CMakeFiles/cryptoTest.dir/util.c.o.d -o CMakeFiles/cryptoTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 47%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/init.c.o -MF CMakeFiles/globalplatformStatic.dir/init.c.o.d -o CMakeFiles/globalplatformStatic.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 48%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/loadfile.c.o -MF CMakeFiles/scp01Test.dir/loadfile.c.o.d -o CMakeFiles/scp01Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c: In function 'validate_delete_receipt': -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o -MF CMakeFiles/cryptoTest.dir/globalplatform.c.o.d -o CMakeFiles/cryptoTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1193,41 +1175,11 @@ 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]'} -[ 69%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c:389:19: note: in a call to function 'calculate_dec_cbc_SCP03' 389 | OPGP_ERROR_STATUS calculate_dec_cbc_SCP03(BYTE key[32], DWORD keyLength, BYTE *message, DWORD messageLength, | ^~~~~~~~~~~~~~~~~~~~~~~ -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o -MF CMakeFiles/cryptoTest.dir/dyn_unix.c.o.d -o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -[ 70%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -MF CMakeFiles/statusTest.dir/util.c.o.d -o CMakeFiles/statusTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c -[ 72%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -MF CMakeFiles/statusTest.dir/debug.c.o.d -o CMakeFiles/statusTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c -[ 73%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -MF CMakeFiles/statusTest.dir/init.c.o.d -o CMakeFiles/statusTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 74%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -MF CMakeFiles/statusTest.dir/globalplatform.c.o.d -o CMakeFiles/statusTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c -/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, - | ^~~~~~~~~~~~~~~~ -[ 75%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -MF CMakeFiles/statusTest.dir/dyn_unix.c.o.d -o CMakeFiles/statusTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' - 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ +[ 50%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/debug.c.o -MF CMakeFiles/cryptoTest.dir/debug.c.o.d -o CMakeFiles/cryptoTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c /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); @@ -1265,6 +1217,26 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ +[ 51%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -MF CMakeFiles/globalplatformStatic.dir/globalplatform.c.o.d -o CMakeFiles/globalplatformStatic.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 52%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/init.c.o -MF CMakeFiles/cryptoTest.dir/init.c.o.d -o CMakeFiles/cryptoTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +/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, + | ^~~~~~~~~~~~~~~~ +[ 53%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/globalplatform.c.o -MF CMakeFiles/cryptoTest.dir/globalplatform.c.o.d -o CMakeFiles/cryptoTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 54%] Building C object globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -MD -MT globalplatform/src/CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -MF CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatformStatic.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 55%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/util.c.o -MF CMakeFiles/scp01Test.dir/util.c.o.d -o CMakeFiles/scp01Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); @@ -1275,63 +1247,108 @@ /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%] Linking C static library libglobalplatform.a +[ 56%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/debug.c.o -MF CMakeFiles/scp01Test.dir/debug.c.o.d -o CMakeFiles/scp01Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 58%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/init.c.o -MF CMakeFiles/scp01Test.dir/init.c.o.d -o CMakeFiles/scp01Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 59%] Building C object globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/globalplatform.c.o -MF CMakeFiles/scp01Test.dir/globalplatform.c.o.d -o CMakeFiles/scp01Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp01Test.dir/dyn_unix.c.o -MF CMakeFiles/scp01Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp01Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +/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, + | ^~~~~~~~~~~~~~~~ +[ 61%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/loadfile.c.o -MF CMakeFiles/scp03Test.dir/loadfile.c.o.d -o CMakeFiles/scp03Test.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 62%] Building C object globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/cryptoTest.dir/dyn_unix.c.o -MF CMakeFiles/cryptoTest.dir/dyn_unix.c.o.d -o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +[ 63%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/util.c.o -MF CMakeFiles/scp03Test.dir/util.c.o.d -o CMakeFiles/scp03Test.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 65%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/loadfile.c.o -MF CMakeFiles/statusTest.dir/loadfile.c.o.d -o CMakeFiles/statusTest.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 66%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/debug.c.o -MF CMakeFiles/scp03Test.dir/debug.c.o.d -o CMakeFiles/scp03Test.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 67%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/init.c.o -MF CMakeFiles/scp03Test.dir/init.c.o.d -o CMakeFiles/scp03Test.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 68%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o +[ 69%] Building C object globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/dyn_unix.c.o -MF CMakeFiles/scp03Test.dir/dyn_unix.c.o.d -o CMakeFiles/scp03Test.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -I/build/reproducible-path/globalplatform-2.4.0+dfsg/src -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include/PCSC -fno-lto -I/usr/include -MD -MT globalplatform/src/CMakeFiles/scp03Test.dir/globalplatform.c.o -MF CMakeFiles/scp03Test.dir/globalplatform.c.o.d -o CMakeFiles/scp03Test.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 70%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/util.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/util.c.o -MF CMakeFiles/statusTest.dir/util.c.o.d -o CMakeFiles/statusTest.dir/util.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/util.c +[ 72%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/debug.c.o -MF CMakeFiles/statusTest.dir/debug.c.o.d -o CMakeFiles/statusTest.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +/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, + | ^~~~~~~~~~~~~~~~ +[ 73%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/init.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/init.c.o -MF CMakeFiles/statusTest.dir/init.c.o.d -o CMakeFiles/statusTest.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c +[ 74%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/globalplatform.c.o -MF CMakeFiles/statusTest.dir/globalplatform.c.o.d -o CMakeFiles/statusTest.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c +[ 75%] Building C object globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -I/usr/include -MD -MT globalplatform/src/CMakeFiles/statusTest.dir/dyn_unix.c.o -MF CMakeFiles/statusTest.dir/dyn_unix.c.o.d -o CMakeFiles/statusTest.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' + 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +[ 76%] Linking C executable cryptoTest +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/cryptoTest.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/cryptoTest.dir/cryptoTest.c.o CMakeFiles/cryptoTest.dir/testUtil.c.o CMakeFiles/cryptoTest.dir/connection.c.o CMakeFiles/cryptoTest.dir/stringify.c.o CMakeFiles/cryptoTest.dir/crypto.c.o CMakeFiles/cryptoTest.dir/loadfile.c.o CMakeFiles/cryptoTest.dir/util.c.o CMakeFiles/cryptoTest.dir/debug.c.o CMakeFiles/cryptoTest.dir/init.c.o CMakeFiles/cryptoTest.dir/globalplatform.c.o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -o cryptoTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +[ 77%] 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 +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' /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 +[ 77%] Built target cryptoTest /usr/bin/ranlib libglobalplatform.a make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 76%] Built target globalplatformStatic +[ 77%] Built target globalplatformStatic make -f globalplatform/src/CMakeFiles/globalplatform.dir/build.make globalplatform/src/CMakeFiles/globalplatform.dir/depend make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' cd /build/reproducible-path/globalplatform-2.4.0+dfsg && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/CMakeFiles/globalplatform.dir/DependInfo.cmake "--color=" make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' make -f globalplatform/src/CMakeFiles/globalplatform.dir/build.make globalplatform/src/CMakeFiles/globalplatform.dir/build make[3]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 77%] 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 -[ 79%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o +[ 79%] 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 [ 80%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/connection.c.o -[ 81%] 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -MF CMakeFiles/globalplatform.dir/crypto.c.o.d -o CMakeFiles/globalplatform.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c -[ 82%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o -[ 83%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/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 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp02Test.dir/scp02Test.c.o CMakeFiles/scp02Test.dir/testUtil.c.o CMakeFiles/scp02Test.dir/connection.c.o CMakeFiles/scp02Test.dir/stringify.c.o CMakeFiles/scp02Test.dir/crypto.c.o CMakeFiles/scp02Test.dir/loadfile.c.o CMakeFiles/scp02Test.dir/util.c.o CMakeFiles/scp02Test.dir/debug.c.o CMakeFiles/scp02Test.dir/init.c.o CMakeFiles/scp02Test.dir/globalplatform.c.o CMakeFiles/scp02Test.dir/dyn_unix.c.o -o scp02Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +[ 81%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o -MF CMakeFiles/globalplatform.dir/stringify.c.o.d -o CMakeFiles/globalplatform.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c +[ 82%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/crypto.c.o -MF CMakeFiles/globalplatform.dir/crypto.c.o.d -o CMakeFiles/globalplatform.dir/crypto.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.c +[ 83%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o +[ 84%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/loadfile.c.o -MF CMakeFiles/globalplatform.dir/loadfile.c.o.d -o CMakeFiles/globalplatform.dir/loadfile.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/loadfile.c +[ 86%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/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 cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/debug.c.o -MF CMakeFiles/globalplatform.dir/debug.c.o.d -o CMakeFiles/globalplatform.dir/debug.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/debug.c +[ 87%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/init.c.o -MF CMakeFiles/globalplatform.dir/init.c.o.d -o CMakeFiles/globalplatform.dir/init.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/init.c -[ 86%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/util.c.o -[ 86%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/stringify.c.o -MF CMakeFiles/globalplatform.dir/stringify.c.o.d -o CMakeFiles/globalplatform.dir/stringify.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/stringify.c -[ 87%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o -[ 88%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/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 -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -MF CMakeFiles/globalplatform.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatform.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp01Test.dir/scp01Test.c.o CMakeFiles/scp01Test.dir/testUtil.c.o CMakeFiles/scp01Test.dir/connection.c.o CMakeFiles/scp01Test.dir/stringify.c.o CMakeFiles/scp01Test.dir/crypto.c.o CMakeFiles/scp01Test.dir/loadfile.c.o CMakeFiles/scp01Test.dir/util.c.o CMakeFiles/scp01Test.dir/debug.c.o CMakeFiles/scp01Test.dir/init.c.o CMakeFiles/scp01Test.dir/globalplatform.c.o CMakeFiles/scp01Test.dir/dyn_unix.c.o -o scp01Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -[ 89%] Linking C executable statusTest -cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/statusTest.dir/link.txt --verbose=1 -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/statusTest.dir/statusTest.c.o CMakeFiles/statusTest.dir/testUtil.c.o CMakeFiles/statusTest.dir/connection.c.o CMakeFiles/statusTest.dir/stringify.c.o CMakeFiles/statusTest.dir/crypto.c.o CMakeFiles/statusTest.dir/loadfile.c.o CMakeFiles/statusTest.dir/util.c.o CMakeFiles/statusTest.dir/debug.c.o CMakeFiles/statusTest.dir/init.c.o CMakeFiles/statusTest.dir/globalplatform.c.o CMakeFiles/statusTest.dir/dyn_unix.c.o -o statusTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -[ 90%] 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 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp02Test.dir/scp02Test.c.o CMakeFiles/scp02Test.dir/testUtil.c.o CMakeFiles/scp02Test.dir/connection.c.o CMakeFiles/scp02Test.dir/stringify.c.o CMakeFiles/scp02Test.dir/crypto.c.o CMakeFiles/scp02Test.dir/loadfile.c.o CMakeFiles/scp02Test.dir/util.c.o CMakeFiles/scp02Test.dir/debug.c.o CMakeFiles/scp02Test.dir/init.c.o CMakeFiles/scp02Test.dir/globalplatform.c.o CMakeFiles/scp02Test.dir/dyn_unix.c.o -o scp02Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 90%] Built target scp01Test -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] - 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} -In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: -/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' - 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, - | ^~~~~~~~~~~~~~~~ -[ 90%] Built target statusTest -[ 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 +[ 88%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/globalplatform.c.o -MF CMakeFiles/globalplatform.dir/globalplatform.c.o.d -o CMakeFiles/globalplatform.dir/globalplatform.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c /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); @@ -1369,14 +1386,33 @@ /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, | ^~~~~~~~~~~~~~~~~~~~~~~ -/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/cryptoTest.dir/cryptoTest.c.o CMakeFiles/cryptoTest.dir/testUtil.c.o CMakeFiles/cryptoTest.dir/connection.c.o CMakeFiles/cryptoTest.dir/stringify.c.o CMakeFiles/cryptoTest.dir/crypto.c.o CMakeFiles/cryptoTest.dir/loadfile.c.o CMakeFiles/cryptoTest.dir/util.c.o CMakeFiles/cryptoTest.dir/debug.c.o CMakeFiles/cryptoTest.dir/init.c.o CMakeFiles/cryptoTest.dir/globalplatform.c.o CMakeFiles/cryptoTest.dir/dyn_unix.c.o -o cryptoTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so -[ 91%] Built target scp02Test +[ 88%] Built target scp02Test +[ 89%] Building C object globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cc -DHAVE_DLFCN_H -DHAVE_VSYSLOG -DOPGP_DEBUG -Dglobalplatform_EXPORTS -I/usr/include/PCSC -I/usr/include/minizip -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -fPIC -MD -MT globalplatform/src/CMakeFiles/globalplatform.dir/dyn_unix.c.o -MF CMakeFiles/globalplatform.dir/dyn_unix.c.o.d -o CMakeFiles/globalplatform.dir/dyn_unix.c.o -c /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/dyn_unix.c +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c: In function 'GP211_validate_extradition_receipt': +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: warning: 'validate_receipt' accessing 16 bytes in a region of size 8 [-Wstringop-overflow=] + 3928 | status = validate_receipt(validationData, validationDataLength, receiptData.receipt, receiptKey, keyLength, secureChannelProtocol); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 3 of type 'BYTE[16]' {aka 'unsigned char[16]'} +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:3928:18: note: referencing argument 4 of type 'BYTE[32]' {aka 'unsigned char[32]'} +In file included from /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/globalplatform.c:54: +/build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/crypto.h:175:19: note: in a call to function 'validate_receipt' + 175 | OPGP_ERROR_STATUS validate_receipt(PBYTE validationData, DWORD validationDataLength, + | ^~~~~~~~~~~~~~~~ +[ 90%] Linking C executable scp01Test +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp01Test.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp01Test.dir/scp01Test.c.o CMakeFiles/scp01Test.dir/testUtil.c.o CMakeFiles/scp01Test.dir/connection.c.o CMakeFiles/scp01Test.dir/stringify.c.o CMakeFiles/scp01Test.dir/crypto.c.o CMakeFiles/scp01Test.dir/loadfile.c.o CMakeFiles/scp01Test.dir/util.c.o CMakeFiles/scp01Test.dir/debug.c.o CMakeFiles/scp01Test.dir/init.c.o CMakeFiles/scp01Test.dir/globalplatform.c.o CMakeFiles/scp01Test.dir/dyn_unix.c.o -o scp01Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +[ 91%] Linking C executable statusTest +cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/statusTest.dir/link.txt --verbose=1 +/usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now CMakeFiles/statusTest.dir/statusTest.c.o CMakeFiles/statusTest.dir/testUtil.c.o CMakeFiles/statusTest.dir/connection.c.o CMakeFiles/statusTest.dir/stringify.c.o CMakeFiles/statusTest.dir/crypto.c.o CMakeFiles/statusTest.dir/loadfile.c.o CMakeFiles/statusTest.dir/util.c.o CMakeFiles/statusTest.dir/debug.c.o CMakeFiles/statusTest.dir/init.c.o CMakeFiles/statusTest.dir/globalplatform.c.o CMakeFiles/statusTest.dir/dyn_unix.c.o -o statusTest -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 91%] Built target scp01Test +make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' +[ 91%] Built target statusTest [ 93%] Linking C executable scp03Test cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/scp03Test.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/globalplatform-2.4.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG -Wl,-z,relro -Wl,-z,now -Wl,--wrap=RAND_bytes CMakeFiles/scp03Test.dir/scp03Test.c.o CMakeFiles/scp03Test.dir/testUtil.c.o CMakeFiles/scp03Test.dir/connection.c.o CMakeFiles/scp03Test.dir/stringify.c.o CMakeFiles/scp03Test.dir/crypto.c.o CMakeFiles/scp03Test.dir/loadfile.c.o CMakeFiles/scp03Test.dir/util.c.o CMakeFiles/scp03Test.dir/debug.c.o CMakeFiles/scp03Test.dir/init.c.o CMakeFiles/scp03Test.dir/globalplatform.c.o CMakeFiles/scp03Test.dir/dyn_unix.c.o -o scp03Test -lpcsclite /usr/lib/i386-linux-gnu/libssl.so /usr/lib/i386-linux-gnu/libcrypto.so /usr/lib/i386-linux-gnu/libz.so -ldl -lminizip /usr/lib/i386-linux-gnu/libcmocka.so make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' -[ 93%] Built target cryptoTest -make[3]: Leaving directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' [ 93%] Built target scp03Test [ 94%] Linking C shared library libglobalplatform.so cd /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src && /usr/bin/cmake -E cmake_link_script CMakeFiles/globalplatform.dir/link.txt --verbose=1 @@ -1417,10 +1453,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 -j22 test ARGS\+=--verbose ARGS\+=-j22 + make -j10 test ARGS\+=--verbose ARGS\+=-j10 make[1]: Entering directory '/build/reproducible-path/globalplatform-2.4.0+dfsg' Running tests... -/usr/bin/ctest --force-new-ctest-process --verbose -j22 +/usr/bin/ctest --force-new-ctest-process --verbose -j10 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 @@ -1460,8 +1496,35 @@ 5: Test command: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src/statusTest 5: Working Directory: /build/reproducible-path/globalplatform-2.4.0+dfsg/globalplatform/src 5: Test timeout computed to be: 10000000 +2: [==========] SCP02: Running 2 test(s). +2: [ RUN ] get_status_mac_only +3: [==========] SCP01: Running 4 test(s). +3: [ RUN ] mutual_auth_visa2 +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). 1: [==========] SCP03: Running 5 test(s). 1: [ RUN ] delete_application +4: [==========] crypto: Running 3 test(s). +4: [ RUN ] test_aes_cmac_128 +1/5 Test #5: statusTest ....................... Passed 0.04 sec +2: [ OK ] get_status_mac_only +2: [ RUN ] install_mac_enc +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 ] mutual_auth_visa2 +3: [ RUN ] install +3: [ OK ] install +3: [ RUN ] get_status +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). 1: [ OK ] delete_application 1: [ RUN ] mutual_auth 1: [ OK ] mutual_auth @@ -1473,53 +1536,26 @@ 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 -3: [==========] SCP01: Running 4 test(s). -3: [ RUN ] mutual_auth_visa2 -1/5 Test #1: scp03Test ........................ Passed 0.01 sec 2: [ OK ] install_mac_enc 2: [==========] SCP02: 2 test(s) run. 2: [ PASSED ] 2 test(s). -4: [==========] crypto: Running 3 test(s). -4: [ RUN ] test_aes_cmac_128 -3: [ OK ] mutual_auth_visa2 -3: [ RUN ] install -2/5 Test #2: scp02Test ........................ Passed 0.01 sec -3: [ OK ] install -3: [ RUN ] get_status -3: [ OK ] get_status -3: [ RUN ] get_status_mac_enc -5: [==========] status: Running 1 test(s). -5: [ RUN ] app_status -5: [ OK ] app_status -5: [==========] status: 1 test(s) run. -5: [ PASSED ] 1 test(s). -3: [ OK ] get_status_mac_enc -3: [==========] SCP01: 4 test(s) run. -3: [ PASSED ] 4 test(s). -3/5 Test #5: statusTest ....................... Passed 0.00 sec -4: [ OK ] test_aes_cmac_128 -4: [ RUN ] test_aes_cmac_192 -4/5 Test #3: scp01Test ........................ Passed 0.01 sec -4: [ OK ] test_aes_cmac_192 -4: [ RUN ] test_read_public_rsa_key +2/5 Test #1: scp03Test ........................ Passed 0.13 sec +3/5 Test #2: scp02Test ........................ Passed 0.11 sec +4/5 Test #3: scp01Test ........................ Passed 0.10 sec 4: [ OK ] test_read_public_rsa_key 4: [==========] crypto: 3 test(s) run. 4: [ PASSED ] 3 test(s). -5/5 Test #4: cryptoTest ....................... Passed 0.01 sec +5/5 Test #4: cryptoTest ....................... Passed 0.08 sec 100% tests passed, 0 tests failed out of 5 -Total Test time (real) = 0.01 sec +Total Test time (real) = 0.17 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 -j22 install DESTDIR=/build/reproducible-path/globalplatform-2.4.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j10 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 @@ -1653,13 +1689,13 @@ dh_gencontrol -O--builddirectory=. dh_md5sums -O--builddirectory=. dh_builddeb -O--builddirectory=. +dpkg-deb: building package 'libgppcscconnectionplugin1-dbgsym' in '../libgppcscconnectionplugin1-dbgsym_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'gpshell' in '../gpshell_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'gpshell-dbgsym' in '../gpshell-dbgsym_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'libglobalplatform-dev' in '../libglobalplatform-dev_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'libglobalplatform7' in '../libglobalplatform7_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'gpshell-dbgsym' in '../gpshell-dbgsym_2.4.0+dfsg-3_i386.deb'. dpkg-deb: building package 'libgppcscconnectionplugin1' in '../libgppcscconnectionplugin1_2.4.0+dfsg-3_i386.deb'. -dpkg-deb: building package 'libgppcscconnectionplugin1-dbgsym' in '../libgppcscconnectionplugin1-dbgsym_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'libglobalplatform7-dbgsym' in '../libglobalplatform7-dbgsym_2.4.0+dfsg-3_i386.deb'. +dpkg-deb: building package 'libglobalplatform7' in '../libglobalplatform7_2.4.0+dfsg-3_i386.deb'. dpkg-genbuildinfo --build=binary -O../globalplatform_2.4.0+dfsg-3_i386.buildinfo dpkg-genchanges --build=binary -O../globalplatform_2.4.0+dfsg-3_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1668,12 +1704,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/3458/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3458/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/68929 and its subdirectories -I: Current time: Mon Dec 15 08:31:37 -12 2025 -I: pbuilder-time-stamp: 1765830697 +I: removing directory /srv/workspace/pbuilder/3458 and its subdirectories +I: Current time: Wed Nov 13 04:11:46 +14 2024 +I: pbuilder-time-stamp: 1731420706