Diff of the two buildlogs: -- --- b1/build.log 2023-05-08 08:15:51.082778179 +0000 +++ b2/build.log 2023-05-08 08:16:44.768427393 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sun May 7 20:14:55 -12 2023 -I: pbuilder-time-stamp: 1683533695 +I: Current time: Mon Jun 10 04:38:54 +14 2024 +I: pbuilder-time-stamp: 1717943934 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./convlit_1.8.orig.tar.gz] I: copying [./convlit_1.8-4.debian.tar.xz] I: Extracting source -gpgv: Signature made Mon May 16 10:20:11 2022 -12 +gpgv: Signature made Tue May 17 12:20:11 2022 +14 gpgv: using EDDSA key 658073613BFCC5C7E2E45D45DC518FC87F9716AA gpgv: issuer "vagrant@reproducible-builds.org" gpgv: Can't check signature: No public key @@ -30,52 +30,84 @@ dpkg-source: info: applying clit18makefile-make-one-plain-gcc-call-s.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/5396/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/29312/tmp/hooks/D01_modify_environment starting +debug: Running on codethink9-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 10 04:39 /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/29312/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/29312/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=8' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='5396' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-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=29312 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.i1tSQXxS/pbuilderrc_xuuz --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.i1tSQXxS/b1 --logfile b1/build.log convlit_1.8-4.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.i1tSQXxS/pbuilderrc_FoH1 --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.i1tSQXxS/b2 --logfile b2/build.log --extrapackages usrmerge convlit_1.8-4.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink16-arm64 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-210-generic #221-Ubuntu SMP Tue Apr 18 08:32:48 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 4 22:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/5396/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 8 06:49 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/29312/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -145,7 +177,7 @@ Get: 30 http://deb.debian.org/debian bookworm/main arm64 debhelper all 13.11.4 [942 kB] Get: 31 http://deb.debian.org/debian bookworm/main arm64 libtommath1 arm64 1.2.0-6 [65.6 kB] Get: 32 http://deb.debian.org/debian bookworm/main arm64 libtommath-dev arm64 1.2.0-6 [79.8 kB] -Fetched 18.5 MB in 1s (33.7 MB/s) +Fetched 18.5 MB in 2s (9003 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package sensible-utils. (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 ... 19616 files and directories currently installed.) @@ -287,8 +319,17 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +usrmerge is already the newest version (35). +0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/convlit-1.8/ && 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 > ../convlit_1.8-4_source.changes +I: user script /srv/workspace/pbuilder/29312/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/29312/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/convlit-1.8/ && 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 > ../convlit_1.8-4_source.changes dpkg-buildpackage: info: source package convlit dpkg-buildpackage: info: source version 1.8-4 dpkg-buildpackage: info: source distribution unstable @@ -329,16 +370,6 @@ cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litmetatags.o litmetatags.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litmanifest.o litmanifest.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litdirectory.o litdirectory.c -litdrm.c: In function 'lit_i_read_drm': -litdrm.c:135:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 135 | if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { - | ^~~ - | | - | U8 * {aka unsigned char *} -In file included from litdrm.c:25: -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ litatom.c: In function 'lit_read_atoms': litatom.c:123:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 123 | strncpy(s,p + 1, len); @@ -352,16 +383,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -litdrm.c: In function 'lit_change_drm_level': -litdrm.c:250:72: warning: pointer targets in passing argument 2 of 'lit_i_encrypt_section' differ in signedness [-Wpointer-sign] - 250 | status = lit_i_encrypt_section(litfile,litfile->sections[i].name, - | ~~~~~~~~~~~~~~~~~~~~^~~~~ - | | - | U8 * {aka unsigned char *} -In file included from litdrm.c:28: -litinternal.h:52:38: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 52 | int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); - | ^~~~~~ litatom.c:186:19: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 186 | strncpy(s,p, len); | ^ @@ -370,39 +391,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ -cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litsections.o litsections.c -litmanifest.c: In function 'lit_lookup_mapping': -litmanifest.c:242:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 242 | if (strncmp(s, map->sInternal, size) == 0) - | ^ - | | - | U8 * {aka unsigned char *} -In file included from litmanifest.c:28: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -litmanifest.c:242:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] - 242 | if (strncmp(s, map->sInternal, size) == 0) - | ~~~^~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -litmanifest.c:243:27: warning: pointer targets in returning 'U8 *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] - 243 | return map->sOriginal; - | ~~~^~~~~~~~~~~ -litlib.c: In function 'lit_write_to_file': -litlib.c:189:47: warning: pointer targets in passing argument 2 of 'lit_get_file' differ in signedness [-Wpointer-sign] - 189 | status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from litlib.c:26: -litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); - | ~~~~~~~~~~~~~^~~~ -cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litheaders.o litheaders.c litembiggen.c: In function 'lit_reconstitute_html': litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ @@ -446,17 +434,6 @@ litembiggen.c:304:17: note: in expansion of macro 'WRITE_CHAR' 304 | WRITE_CHAR('<'); | ^~~~~~~~~~ -litlib.c: In function 'lit_get_file': -litlib.c:235:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] - 235 | match = strncasecmp(&entry->name, name, entry->namelen); - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from /usr/include/string.h:462, - from litlib.c:25: -/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ litembiggen.c:340:30: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 340 | WRITE_STRING(tag_name); | ^~~~~~~~ @@ -611,36 +588,6 @@ litembiggen.c:429:21: note: in expansion of macro 'WRITE_CHAR' 429 | WRITE_CHAR('>'); | ^~~~~~~~~~ -litlib.c: In function 'lit_remove_files': -litlib.c:361:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] - 361 | match = strncasecmp(&entry->name,prefix, strlen(prefix)); - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -litlib.c: In function 'lit_put_file': -litlib.c:400:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] - 400 | match = strncasecmp(&entry->name, name, entry->namelen); - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -litlib.c:429:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 429 | strcpy(&new->name, name); - | ^~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from /usr/include/features.h:489, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from litlib.c:23: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ @@ -697,6 +644,7 @@ litembiggen.c:69:35: note: in definition of macro 'WRITE_STRING' 69 | status = htmlwrite(write_data,s,strlen(s));\ | ^ +cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litsections.o litsections.c litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ @@ -719,12 +667,22 @@ litembiggen.c:508:17: note: in expansion of macro 'WRITE_CHAR' 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ +litdrm.c: In function 'lit_i_read_drm': +litdrm.c:135:33: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 135 | if (strncmp(msreader_string,ptr,strlen(msreader_string)) != 0) { + | ^~~ + | | + | U8 * {aka unsigned char *} litembiggen.c:64:35: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ litembiggen.c:508:17: note: in expansion of macro 'WRITE_CHAR' 508 | WRITE_CHAR('\"'); | ^~~~~~~~~~ +In file included from litdrm.c:25: +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ litembiggen.c:64:35: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 64 | status = htmlwrite(write_data,&ch,1);\ | ^~~ @@ -888,6 +846,16 @@ litembiggen.c:639:17: note: in expansion of macro 'WRITE_CHAR' 639 | WRITE_CHAR('\"'); | ^~~~~~~~~~ +litdrm.c: In function 'lit_change_drm_level': +litdrm.c:250:72: warning: pointer targets in passing argument 2 of 'lit_i_encrypt_section' differ in signedness [-Wpointer-sign] + 250 | status = lit_i_encrypt_section(litfile,litfile->sections[i].name, + | ~~~~~~~~~~~~~~~~~~~~^~~~~ + | | + | U8 * {aka unsigned char *} +In file included from litdrm.c:28: +litinternal.h:52:38: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 52 | int lit_i_encrypt_section(lit_file *,char *, U8 * new_key); + | ^~~~~~ litembiggen.c: In function 'write_entity': litembiggen.c:690:39: warning: pointer targets in passing argument 2 of 'htmlwrite' differ in signedness [-Wpointer-sign] 690 | status = htmlwrite(write_data,&ch, 1); @@ -913,6 +881,80 @@ | | | char * litembiggen.c:712:37: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' +cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litheaders.o litheaders.c +litlib.c: In function 'lit_write_to_file': +litlib.c:189:47: warning: pointer targets in passing argument 2 of 'lit_get_file' differ in signedness [-Wpointer-sign] + 189 | status = lit_get_file(litfile,&entry->name,&ptr,&nbytes); + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from litlib.c:26: +litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); + | ~~~~~~~~~~~~~^~~~ +litmanifest.c: In function 'lit_lookup_mapping': +litlib.c: In function 'lit_get_file': +litmanifest.c:242:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 242 | if (strncmp(s, map->sInternal, size) == 0) + | ^ + | | + | U8 * {aka unsigned char *} +litlib.c:235:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] + 235 | match = strncasecmp(&entry->name, name, entry->namelen); + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from litmanifest.c:28: +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +In file included from /usr/include/string.h:462, + from litlib.c:25: +/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +litmanifest.c:242:31: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] + 242 | if (strncmp(s, map->sInternal, size) == 0) + | ~~~^~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +litmanifest.c:243:27: warning: pointer targets in returning 'U8 *' {aka 'unsigned char *'} from a function with return type 'char *' differ in signedness [-Wpointer-sign] + 243 | return map->sOriginal; + | ~~~^~~~~~~~~~~ +litlib.c: In function 'lit_remove_files': +litlib.c:361:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] + 361 | match = strncasecmp(&entry->name,prefix, strlen(prefix)); + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +litlib.c: In function 'lit_put_file': +litlib.c:400:29: warning: pointer targets in passing argument 1 of 'strncasecmp' differ in signedness [-Wpointer-sign] + 400 | match = strncasecmp(&entry->name, name, entry->namelen); + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/strings.h:120:37: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +litlib.c:429:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 429 | strcpy(&new->name, name); + | ^~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from /usr/include/features.h:489, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from litlib.c:23: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litutil.o litutil.c litsections.c: In function 'lit_i_cache_section': litsections.c:189:58: warning: pointer targets in passing argument 2 of 'decompress_section' differ in signedness [-Wpointer-sign] 189 | status = decompress_section(litfile, pSection->name, @@ -944,7 +986,6 @@ /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ -cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o litutil.o litutil.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o sha/mssha1.o sha/mssha1.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o des/des.o des/des.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Ides -Isha -Inewlzx -I. -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o newlzx/lzxglue.o newlzx/lzxglue.c @@ -1008,284 +1049,6 @@ cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -funsigned-char -Wall -I ../lib -I ../lib/des -I . -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o display.o display.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -funsigned-char -Wall -I ../lib -I ../lib/des -I . -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o utils.o utils.c cc -g -O2 -ffile-prefix-map=/build/convlit-1.8=. -fstack-protector-strong -Wformat -Werror=format-security -fPIE -fstack-protector-strong -Wformat -Werror=format-security -funsigned-char -Wall -I ../lib -I ../lib/des -I . -Wdate-time -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 -c -o manifest.o manifest.c -transmute.c: In function 'transmute_lit': -transmute.c:53:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] - 53 | drm_size = 2*(strlen(inscription)+1); - | ^~~~~~ -transmute.c:26:1: note: include '' or provide a declaration of 'strlen' - 25 | #include "litlib.h" - +++ |+#include - 26 | -transmute.c:53:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] - 53 | drm_size = 2*(strlen(inscription)+1); - | ^~~~~~ -transmute.c:53:23: note: include '' or provide a declaration of 'strlen' -transmute.c:59:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] - 59 | memset(drm_data, 0, drm_size); - | ^~~~~~ -transmute.c:59:9: note: include '' or provide a declaration of 'memset' -transmute.c:59:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] -transmute.c:59:9: note: include '' or provide a declaration of 'memset' -utils.c: In function 'utf8_strlen': -utils.c:100:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 100 | bytes = strlen(p)+1; - | ^ - | | - | U8 * {aka unsigned char *} -In file included from utils.c:25: -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -utils.c: In function 'utf8_strmatch': -utils.c:119:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 119 | bytes1 = strlen(s1)+1; - | ^~ - | | - | U8 * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -utils.c:120:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 120 | bytes2 = strlen(s2)+1; - | ^~ - | | - | U8 * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -utils.c: In function 'utf8_start': -utils.c:146:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 146 | iter->bytes = strlen(string); - | ^~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 407 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -display.c: In function 'display_lit': -display.c:50:33: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] - 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) - | ^~~~~~ -display.c:26:1: note: include '' or provide a declaration of 'strcmp' - 25 | #include "litlib.h" - +++ |+#include - 26 | -display.c:50:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -display.c:50:40: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} -display.c:52:40: warning: pointer targets in passing argument 2 of 'lit_get_file' differ in signedness [-Wpointer-sign] - 52 | err = lit_get_file(lit,&entry->name,&p,&real_size); - | ^~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from display.c:25: -../lib/litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); - | ~~~~~~~~~~~~~^~~~ -hexdump.c: In function 'hexdump': -hexdump.c:37:17: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] - 37 | memset( strbuffer, ' ', numBytesInString ); - | ^~~~~~ -hexdump.c:19:1: note: include '' or provide a declaration of 'memset' - 18 | #include - +++ |+#include - 19 | -hexdump.c:37:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] - 37 | memset( strbuffer, ' ', numBytesInString ); - | ^~~~~~ -hexdump.c:37:17: note: include '' or provide a declaration of 'memset' -drm5.c: In function 'get_next_key': -drm5.c:116:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 116 | s = strmerge(dir_program, sKeysFile, NULL); - | ^ -drm5.c:117:48: warning: pointer targets in passing argument 1 of 'read_whole_file' differ in signedness [-Wpointer-sign] - 117 | if (s) pFile = read_whole_file(s, &remaining); - | ^ - | | - | U8 * {aka unsigned char *} -drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 44 | U8 * read_whole_file(char * filename, int * size_ptr) - | ~~~~~~~^~~~~~~~ -drm5.c:122:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 122 | s = strmerge(dir_lit_file, sKeysFile, NULL); - | ^ -drm5.c:123:48: warning: pointer targets in passing argument 1 of 'read_whole_file' differ in signedness [-Wpointer-sign] - 123 | if (s) pFile = read_whole_file(s, &remaining); - | ^ - | | - | U8 * {aka unsigned char *} -drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 44 | U8 * read_whole_file(char * filename, int * size_ptr) - | ~~~~~~~^~~~~~~~ -drm5.c:144:49: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 144 | strcpy(private_key_ptr, pKey); - | ^~~~ - | | - | U8 * {aka unsigned char *} -In file included from /usr/include/features.h:489, - from /usr/include/aarch64-linux-gnu/sys/types.h:25, - from drm5.c:29: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -drm5.c:145:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 145 | strcpy(modulus_ptr, pModulus); - | ^~~~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -drm5.c:168:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 168 | strcpy(modulus_ptr, pModulus); - | ^~~~~~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -drm5.c:169:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 169 | strcpy(private_key_ptr, pKey); - | ^~~~ - | | - | U8 * {aka unsigned char *} -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} - 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -drm5.c: In function 'ms_base64_decode': -drm5.c:185:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 185 | ocp = buff; - | ^ -drm5.c: In function 'get_element': -drm5.c:267:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] - 267 | if (!isalnum(start[len + 1])) - | ^~~~~~~ -drm5.c:39:1: note: include '' or provide a declaration of 'isalnum' - 38 | #include - +++ |+#include - 39 | -drm5.c: In function 'drm5_handle_key': -drm5.c:382:9: warning: 'mp_read_unsigned_bin' is deprecated: replaced by mp_from_ubin [-Wdeprecated-declarations] - 382 | if (!res) res = mp_read_unsigned_bin(&c, keyData, keySize); - | ^~ -In file included from drm5.c:38: -/usr/include/tommath.h:732:36: note: declared here - 732 | MP_DEPRECATED(mp_from_ubin) mp_err mp_read_unsigned_bin(mp_int *a, const unsigned char *b, int c) MP_WUR; - | ^~~~~~~~~~~~~~~~~~~~ -drm5.c:384:51: warning: pointer targets in passing argument 2 of 'my_mp_to_unsigned_bin' differ in signedness [-Wpointer-sign] - 384 | if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key)); - | ^~~~~~~ - | | - | char * -drm5.c:295:55: note: expected 'unsigned char *' but argument is of type 'char *' - 295 | int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len) - | ~~~~~~~~~~~~~~~~^ -drm5.c:426:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 426 | if (strncmp(pValidation,"MSReader",8) != 0) { - | ^~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from drm5.c:32: -/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ -clit.c: In function 'main': -clit.c:244:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] - 244 | fprintf(stderr,"Malloc(%d) failed!\n", strlen(output) + 1); - | ~^ ~~~~~~~~~~~~~~~~~~ - | | | - | int size_t {aka long unsigned int} - | %ld -manifest.c: In function 'mapping_init': -manifest.c:33:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] - 33 | memset(m, 0, sizeof(mapping_state)); - | ^~~~~~ -manifest.c:29:1: note: include '' or provide a declaration of 'memset' - 28 | #include "utils.h" - +++ |+#include - 29 | -clit.c: In function 'lit_error': -clit.c:369:29: warning: variable 'w32err' set but not used [-Wunused-but-set-variable] - 369 | unsigned long int w32err; - | ^~~~~~ -manifest.c:33:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] - 33 | memset(m, 0, sizeof(mapping_state)); - | ^~~~~~ -manifest.c:33:5: note: include '' or provide a declaration of 'memset' -manifest.c: In function 'duplicate_manifest': -manifest.c:75:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] - 75 | memset(pDest, 0, sizeof(manifest_type)); - | ^~~~~~ -manifest.c:75:5: note: include '' or provide a declaration of 'memset' -manifest.c:94:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 94 | s = strmerge((char *)mapSrc->sOriginal, NULL, NULL); - | ^ -manifest.c:98:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 98 | s = strmerge((char *)mapSrc->sInternal, NULL, NULL); - | ^ -manifest.c:102:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 102 | s = strmerge((char *)mapSrc->sType, NULL, NULL); - | ^ -manifest.c: In function 'make_relative_manifest': -manifest.c:175:40: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] - 175 | s = strmerge("../",sRelative, NULL); - | ^~~~~~~~~ - | | - | U8 * {aka unsigned char *} -In file included from manifest.c:28: -utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 38 | char * strmerge(char * head, char * body, char * tail); - | ~~~~~~~^~~~ -manifest.c:175:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 175 | s = strmerge("../",sRelative, NULL); - | ^ -manifest.c:176:44: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] - 176 | } else s = strmerge("..\\",sRelative, NULL); - | ^~~~~~~~~ - | | - | U8 * {aka unsigned char *} -utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 38 | char * strmerge(char * head, char * body, char * tail); - | ~~~~~~~^~~~ -manifest.c:176:26: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 176 | } else s = strmerge("..\\",sRelative, NULL); - | ^ -manifest.c:182:26: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] - 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); - | ^~~~~~~~~ - | | - | U8 * {aka unsigned char *} -utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 38 | char * strmerge(char * head, char * body, char * tail); - | ~~~~~~~^~~~ -manifest.c:182:36: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] - 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); - | ^~~~~~~~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 38 | char * strmerge(char * head, char * body, char * tail); - | ~~~~~~~^~~~ -manifest.c:182:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); - | ^ -manifest.c:185:34: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] - 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); - | ^~~~~~~~~~~~~~~~~~ - | | - | U8 * {aka unsigned char *} -utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} - 38 | char * strmerge(char * head, char * body, char * tail); - | ~~~~~~~^~~~ -manifest.c:185:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); - | ^ -manifest.c:135:22: warning: variable 'slashMe' set but not used [-Wunused-but-set-variable] - 135 | U8 *slashMe, *slashYou, *sRelative, *s; - | ^~~~~~~ explode.c: In function 'create_file_path': explode.c:195:30: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] 195 | sFiltered = strmerge(pathFile, NULL,NULL); @@ -1466,6 +1229,284 @@ manifest.h:36:28: note: expected 'U8 *' {aka 'unsigned char *'} but argument is of type 'char *' 36 | int make_relative_manifest(U8 * , manifest_type * , manifest_type * ); | ^~~~ +transmute.c: In function 'transmute_lit': +transmute.c:53:23: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] + 53 | drm_size = 2*(strlen(inscription)+1); + | ^~~~~~ +transmute.c:26:1: note: include '' or provide a declaration of 'strlen' + 25 | #include "litlib.h" + +++ |+#include + 26 | +transmute.c:53:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] + 53 | drm_size = 2*(strlen(inscription)+1); + | ^~~~~~ +transmute.c:53:23: note: include '' or provide a declaration of 'strlen' +transmute.c:59:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] + 59 | memset(drm_data, 0, drm_size); + | ^~~~~~ +transmute.c:59:9: note: include '' or provide a declaration of 'memset' +transmute.c:59:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] +transmute.c:59:9: note: include '' or provide a declaration of 'memset' +clit.c: In function 'main': +clit.c:244:45: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] + 244 | fprintf(stderr,"Malloc(%d) failed!\n", strlen(output) + 1); + | ~^ ~~~~~~~~~~~~~~~~~~ + | | | + | int size_t {aka long unsigned int} + | %ld +clit.c: In function 'lit_error': +clit.c:369:29: warning: variable 'w32err' set but not used [-Wunused-but-set-variable] + 369 | unsigned long int w32err; + | ^~~~~~ +manifest.c: In function 'mapping_init': +manifest.c:33:5: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] + 33 | memset(m, 0, sizeof(mapping_state)); + | ^~~~~~ +manifest.c:29:1: note: include '' or provide a declaration of 'memset' + 28 | #include "utils.h" + +++ |+#include + 29 | +manifest.c:33:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] + 33 | memset(m, 0, sizeof(mapping_state)); + | ^~~~~~ +manifest.c:33:5: note: include '' or provide a declaration of 'memset' +manifest.c: In function 'duplicate_manifest': +manifest.c:75:5: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] + 75 | memset(pDest, 0, sizeof(manifest_type)); + | ^~~~~~ +manifest.c:75:5: note: include '' or provide a declaration of 'memset' +manifest.c:94:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 94 | s = strmerge((char *)mapSrc->sOriginal, NULL, NULL); + | ^ +manifest.c:98:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 98 | s = strmerge((char *)mapSrc->sInternal, NULL, NULL); + | ^ +manifest.c:102:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 102 | s = strmerge((char *)mapSrc->sType, NULL, NULL); + | ^ +manifest.c: In function 'make_relative_manifest': +manifest.c:175:40: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] + 175 | s = strmerge("../",sRelative, NULL); + | ^~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from manifest.c:28: +utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 38 | char * strmerge(char * head, char * body, char * tail); + | ~~~~~~~^~~~ +manifest.c:175:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 175 | s = strmerge("../",sRelative, NULL); + | ^ +manifest.c:176:44: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] + 176 | } else s = strmerge("..\\",sRelative, NULL); + | ^~~~~~~~~ + | | + | U8 * {aka unsigned char *} +utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 38 | char * strmerge(char * head, char * body, char * tail); + | ~~~~~~~^~~~ +manifest.c:176:26: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 176 | } else s = strmerge("..\\",sRelative, NULL); + | ^ +manifest.c:182:26: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] + 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); + | ^~~~~~~~~ + | | + | U8 * {aka unsigned char *} +utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 38 | char * strmerge(char * head, char * body, char * tail); + | ~~~~~~~^~~~ +manifest.c:182:36: warning: pointer targets in passing argument 2 of 'strmerge' differ in signedness [-Wpointer-sign] + 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); + | ^~~~~~~~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +utils.h:38:37: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 38 | char * strmerge(char * head, char * body, char * tail); + | ~~~~~~~^~~~ +manifest.c:182:15: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 182 | s = strmerge(sRelative,utf8_ptr(&iterYou),NULL); + | ^ +manifest.c:185:34: warning: pointer targets in passing argument 1 of 'strmerge' differ in signedness [-Wpointer-sign] + 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); + | ^~~~~~~~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +utils.h:38:24: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 38 | char * strmerge(char * head, char * body, char * tail); + | ~~~~~~~^~~~ +manifest.c:185:23: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 185 | sRelative = strmerge(utf8_ptr(&iterYou), NULL, NULL); + | ^ +manifest.c:135:22: warning: variable 'slashMe' set but not used [-Wunused-but-set-variable] + 135 | U8 *slashMe, *slashYou, *sRelative, *s; + | ^~~~~~~ +drm5.c: In function 'get_next_key': +drm5.c:116:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 116 | s = strmerge(dir_program, sKeysFile, NULL); + | ^ +hexdump.c: In function 'hexdump': +hexdump.c:37:17: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] + 37 | memset( strbuffer, ' ', numBytesInString ); + | ^~~~~~ +hexdump.c:19:1: note: include '' or provide a declaration of 'memset' + 18 | #include + +++ |+#include + 19 | +hexdump.c:37:17: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] + 37 | memset( strbuffer, ' ', numBytesInString ); + | ^~~~~~ +hexdump.c:37:17: note: include '' or provide a declaration of 'memset' +drm5.c:117:48: warning: pointer targets in passing argument 1 of 'read_whole_file' differ in signedness [-Wpointer-sign] + 117 | if (s) pFile = read_whole_file(s, &remaining); + | ^ + | | + | U8 * {aka unsigned char *} +drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 44 | U8 * read_whole_file(char * filename, int * size_ptr) + | ~~~~~~~^~~~~~~~ +drm5.c:122:19: warning: pointer targets in assignment from 'char *' to 'U8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 122 | s = strmerge(dir_lit_file, sKeysFile, NULL); + | ^ +drm5.c:123:48: warning: pointer targets in passing argument 1 of 'read_whole_file' differ in signedness [-Wpointer-sign] + 123 | if (s) pFile = read_whole_file(s, &remaining); + | ^ + | | + | U8 * {aka unsigned char *} +drm5.c:44:29: note: expected 'char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 44 | U8 * read_whole_file(char * filename, int * size_ptr) + | ~~~~~~~^~~~~~~~ +drm5.c:144:49: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 144 | strcpy(private_key_ptr, pKey); + | ^~~~ + | | + | U8 * {aka unsigned char *} +In file included from /usr/include/features.h:489, + from /usr/include/aarch64-linux-gnu/sys/types.h:25, + from drm5.c:29: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +drm5.c:145:45: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 145 | strcpy(modulus_ptr, pModulus); + | ^~~~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +drm5.c:168:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 168 | strcpy(modulus_ptr, pModulus); + | ^~~~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +drm5.c:169:37: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 169 | strcpy(private_key_ptr, pKey); + | ^~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'U8 *' {aka 'unsigned char *'} + 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +drm5.c: In function 'ms_base64_decode': +drm5.c:185:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 185 | ocp = buff; + | ^ +utils.c: In function 'utf8_strlen': +utils.c:100:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 100 | bytes = strlen(p)+1; + | ^ + | | + | U8 * {aka unsigned char *} +In file included from utils.c:25: +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +utils.c: In function 'utf8_strmatch': +utils.c:119:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 119 | bytes1 = strlen(s1)+1; + | ^~ + | | + | U8 * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +utils.c:120:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 120 | bytes2 = strlen(s2)+1; + | ^~ + | | + | U8 * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +utils.c: In function 'utf8_start': +utils.c:146:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 146 | iter->bytes = strlen(string); + | ^~~~~~ + | | + | U8 * {aka unsigned char *} +/usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 407 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +drm5.c: In function 'get_element': +drm5.c:267:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] + 267 | if (!isalnum(start[len + 1])) + | ^~~~~~~ +drm5.c:39:1: note: include '' or provide a declaration of 'isalnum' + 38 | #include + +++ |+#include + 39 | +drm5.c: In function 'drm5_handle_key': +drm5.c:382:9: warning: 'mp_read_unsigned_bin' is deprecated: replaced by mp_from_ubin [-Wdeprecated-declarations] + 382 | if (!res) res = mp_read_unsigned_bin(&c, keyData, keySize); + | ^~ +In file included from drm5.c:38: +/usr/include/tommath.h:732:36: note: declared here + 732 | MP_DEPRECATED(mp_from_ubin) mp_err mp_read_unsigned_bin(mp_int *a, const unsigned char *b, int c) MP_WUR; + | ^~~~~~~~~~~~~~~~~~~~ +drm5.c:384:51: warning: pointer targets in passing argument 2 of 'my_mp_to_unsigned_bin' differ in signedness [-Wpointer-sign] + 384 | if (!res) res = my_mp_to_unsigned_bin(&d, des_key, sizeof(des_key)); + | ^~~~~~~ + | | + | char * +drm5.c:295:55: note: expected 'unsigned char *' but argument is of type 'char *' + 295 | int my_mp_to_unsigned_bin(mp_int * a, unsigned char * b, int len) + | ~~~~~~~~~~~~~~~~^ +drm5.c:426:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 426 | if (strncmp(pValidation,"MSReader",8) != 0) { + | ^~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from drm5.c:32: +/usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +display.c: In function 'display_lit': +display.c:50:33: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] + 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) + | ^~~~~~ +display.c:26:1: note: include '' or provide a declaration of 'strcmp' + 25 | #include "litlib.h" + +++ |+#include + 26 | +display.c:50:40: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 50 | ((entry->size) && (strcmp(&entry->name,"/") != 0)) ) + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +display.c:50:40: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} +display.c:52:40: warning: pointer targets in passing argument 2 of 'lit_get_file' differ in signedness [-Wpointer-sign] + 52 | err = lit_get_file(lit,&entry->name,&p,&real_size); + | ^~~~~~~~~~~~ + | | + | U8 * {aka unsigned char *} +In file included from display.c:25: +../lib/litlib.h:232:51: note: expected 'const char *' but argument is of type 'U8 *' {aka 'unsigned char *'} + 232 | int lit_get_file(lit_file * litfile, const char * name, U8 ** ptr, int * psize); + | ~~~~~~~~~~~~~^~~~ clit.c: In function 'main': clit.c:122:16: warning: array subscript 4096 is above array bounds of 'char[4096]' [-Warray-bounds] 122 | dir_program[MAX_PATH] = '\0'; @@ -1500,8 +1541,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'convlit' in '../convlit_1.8-4_arm64.deb'. dpkg-deb: building package 'convlit-dbgsym' in '../convlit-dbgsym_1.8-4_arm64.deb'. +dpkg-deb: building package 'convlit' in '../convlit_1.8-4_arm64.deb'. dpkg-genbuildinfo --build=binary -O../convlit_1.8-4_arm64.buildinfo dpkg-genchanges --build=binary -O../convlit_1.8-4_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1509,12 +1550,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/29312/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/29312/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/5396 and its subdirectories -I: Current time: Sun May 7 20:15:50 -12 2023 -I: pbuilder-time-stamp: 1683533750 +I: removing directory /srv/workspace/pbuilder/29312 and its subdirectories +I: Current time: Mon Jun 10 04:39:43 +14 2024 +I: pbuilder-time-stamp: 1717943983