Diff of the two buildlogs: -- --- b1/build.log 2023-05-10 22:20:28.066704063 +0000 +++ b2/build.log 2023-05-10 22:21:14.940650641 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 11 16:41:23 -12 2024 -I: pbuilder-time-stamp: 1718167283 +I: Current time: Thu May 11 12:20:30 +14 2023 +I: pbuilder-time-stamp: 1683757230 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 [./arj_3.10.22.orig.tar.gz] I: copying [./arj_3.10.22-26.debian.tar.xz] I: Extracting source -gpgv: Signature made Tue Jan 17 10:58:29 2023 -12 +gpgv: Signature made Wed Jan 18 12:58:29 2023 +14 gpgv: using RSA key 4F3E74F436050C10F5696574B972BF3EA4AE57A3 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./arj_3.10.22-26.dsc: no acceptable signature found @@ -49,135 +49,167 @@ dpkg-source: info: applying gnu_build_fix_autoreconf.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3357897/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2912925/tmp/hooks/D01_modify_environment starting +debug: Running on ionos1-amd64. +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 May 11 12:20 /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/2912925/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2912925/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' - DISTRIBUTION='bookworm' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=15' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='debfde8f190a40c3ba665eb769ee4df4' - 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='3357897' - PS1='# ' - PS2='> ' + INVOCATION_ID=6cc33b416f1a4caeabfa394d7eacbd42 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-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=2912925 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.McDbGaXQ/pbuilderrc_cVdm --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.McDbGaXQ/b1 --logfile b1/build.log arj_3.10.22-26.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://85.184.249.68: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.McDbGaXQ/pbuilderrc_AWyR --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.McDbGaXQ/b2 --logfile b2/build.log --extrapackages usrmerge arj_3.10.22-26.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://78.137.99.97:3128 I: uname -a - Linux ionos15-amd64 6.1.0-0.deb11.6-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.15-1~bpo11+1 (2023-03-16) x86_64 GNU/Linux + Linux i-capture-the-hostname 5.10.0-22-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 2023 bash - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bunzip2 - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzcat - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Sep 18 2022 bzdiff - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4893 Nov 27 2021 bzexe - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Sep 18 2022 bzgrep - -rwxr-xr-x 3 root root 39224 Sep 18 2022 bzip2 - -rwxr-xr-x 1 root root 14568 Sep 18 2022 bzip2recover - lrwxrwxrwx 1 root root 6 Sep 18 2022 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Sep 18 2022 bzmore - -rwxr-xr-x 1 root root 44016 Sep 20 2022 cat - -rwxr-xr-x 1 root root 68656 Sep 20 2022 chgrp - -rwxr-xr-x 1 root root 64496 Sep 20 2022 chmod - -rwxr-xr-x 1 root root 72752 Sep 20 2022 chown - -rwxr-xr-x 1 root root 151152 Sep 20 2022 cp - -rwxr-xr-x 1 root root 125640 Jan 5 2023 dash - -rwxr-xr-x 1 root root 121904 Sep 20 2022 date - -rwxr-xr-x 1 root root 89240 Sep 20 2022 dd - -rwxr-xr-x 1 root root 102200 Sep 20 2022 df - -rwxr-xr-x 1 root root 151344 Sep 20 2022 dir - -rwxr-xr-x 1 root root 88656 Mar 22 2023 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 2022 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 2022 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 2023 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 2023 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 2023 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 2023 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 2023 grep - -rwxr-xr-x 2 root root 2346 Apr 9 2022 gunzip - -rwxr-xr-x 1 root root 6447 Apr 9 2022 gzexe - -rwxr-xr-x 1 root root 98136 Apr 9 2022 gzip - -rwxr-xr-x 1 root root 22680 Dec 19 2022 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 2023 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 2023 lsblk - -rwxr-xr-x 1 root root 97552 Sep 20 2022 mkdir - -rwxr-xr-x 1 root root 72912 Sep 20 2022 mknod - -rwxr-xr-x 1 root root 43952 Sep 20 2022 mktemp - -rwxr-xr-x 1 root root 59712 Mar 22 2023 more - -rwsr-xr-x 1 root root 59704 Mar 22 2023 mount - -rwxr-xr-x 1 root root 18744 Mar 22 2023 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 2022 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 2023 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Apr 23 2023 rbash -> bash - -rwxr-xr-x 1 root root 52112 Sep 20 2022 readlink - -rwxr-xr-x 1 root root 72752 Sep 20 2022 rm - -rwxr-xr-x 1 root root 56240 Sep 20 2022 rmdir - -rwxr-xr-x 1 root root 27560 Nov 2 2022 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 2023 sed - lrwxrwxrwx 1 root root 4 Jan 5 2023 sh -> dash - -rwxr-xr-x 1 root root 43888 Sep 20 2022 sleep - -rwxr-xr-x 1 root root 85008 Sep 20 2022 stty - -rwsr-xr-x 1 root root 72000 Mar 22 2023 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 2023 tar - -rwxr-xr-x 1 root root 14520 Nov 2 2022 tempfile - -rwxr-xr-x 1 root root 109616 Sep 20 2022 touch - -rwxr-xr-x 1 root root 35664 Sep 20 2022 true - -rwxr-xr-x 1 root root 14568 Mar 22 2023 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 2023 umount - -rwxr-xr-x 1 root root 43888 Sep 20 2022 uname - -rwxr-xr-x 2 root root 2346 Apr 9 2022 uncompress - -rwxr-xr-x 1 root root 151344 Sep 20 2022 vdir - -rwxr-xr-x 1 root root 72024 Mar 22 2023 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 2022 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Apr 9 2022 zcat - -rwxr-xr-x 1 root root 1678 Apr 9 2022 zcmp - -rwxr-xr-x 1 root root 6460 Apr 9 2022 zdiff - -rwxr-xr-x 1 root root 29 Apr 9 2022 zegrep - -rwxr-xr-x 1 root root 29 Apr 9 2022 zfgrep - -rwxr-xr-x 1 root root 2081 Apr 9 2022 zforce - -rwxr-xr-x 1 root root 8103 Apr 9 2022 zgrep - -rwxr-xr-x 1 root root 2206 Apr 9 2022 zless - -rwxr-xr-x 1 root root 1842 Apr 9 2022 zmore - -rwxr-xr-x 1 root root 4577 Apr 9 2022 znew -I: user script /srv/workspace/pbuilder/3357897/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 11:23 bash + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bunzip2 + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzcat + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Sep 19 2022 bzdiff + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4893 Nov 28 2021 bzexe + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Sep 19 2022 bzgrep + -rwxr-xr-x 3 root root 39224 Sep 19 2022 bzip2 + -rwxr-xr-x 1 root root 14568 Sep 19 2022 bzip2recover + lrwxrwxrwx 1 root root 6 Sep 19 2022 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Sep 19 2022 bzmore + -rwxr-xr-x 1 root root 44016 Sep 21 2022 cat + -rwxr-xr-x 1 root root 68656 Sep 21 2022 chgrp + -rwxr-xr-x 1 root root 64496 Sep 21 2022 chmod + -rwxr-xr-x 1 root root 72752 Sep 21 2022 chown + -rwxr-xr-x 1 root root 151152 Sep 21 2022 cp + -rwxr-xr-x 1 root root 125640 Jan 6 03:20 dash + -rwxr-xr-x 1 root root 121904 Sep 21 2022 date + -rwxr-xr-x 1 root root 89240 Sep 21 2022 dd + -rwxr-xr-x 1 root root 102200 Sep 21 2022 df + -rwxr-xr-x 1 root root 151344 Sep 21 2022 dir + -rwxr-xr-x 1 root root 88656 Mar 24 00:02 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 03:33 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 03:33 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 04:43 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 04:43 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 00:02 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 22:35 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 04:43 grep + -rwxr-xr-x 2 root root 2346 Apr 10 2022 gunzip + -rwxr-xr-x 1 root root 6447 Apr 10 2022 gzexe + -rwxr-xr-x 1 root root 98136 Apr 10 2022 gzip + -rwxr-xr-x 1 root root 22680 Dec 20 03:33 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 02:40 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 00:02 lsblk + -rwxr-xr-x 1 root root 97552 Sep 21 2022 mkdir + -rwxr-xr-x 1 root root 72912 Sep 21 2022 mknod + -rwxr-xr-x 1 root root 43952 Sep 21 2022 mktemp + -rwxr-xr-x 1 root root 59712 Mar 24 00:02 more + -rwsr-xr-x 1 root root 59704 Mar 24 00:02 mount + -rwxr-xr-x 1 root root 18744 Mar 24 00:02 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 03:33 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 20:25 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Apr 24 11:23 rbash -> bash + -rwxr-xr-x 1 root root 52112 Sep 21 2022 readlink + -rwxr-xr-x 1 root root 72752 Sep 21 2022 rm + -rwxr-xr-x 1 root root 56240 Sep 21 2022 rmdir + -rwxr-xr-x 1 root root 27560 Nov 3 2022 run-parts + -rwxr-xr-x 1 root root 126424 Jan 6 09:55 sed + lrwxrwxrwx 1 root root 9 May 11 12:20 sh -> /bin/bash + -rwxr-xr-x 1 root root 43888 Sep 21 2022 sleep + -rwxr-xr-x 1 root root 85008 Sep 21 2022 stty + -rwsr-xr-x 1 root root 72000 Mar 24 00:02 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 04:25 tar + -rwxr-xr-x 1 root root 14520 Nov 3 2022 tempfile + -rwxr-xr-x 1 root root 109616 Sep 21 2022 touch + -rwxr-xr-x 1 root root 35664 Sep 21 2022 true + -rwxr-xr-x 1 root root 14568 Mar 23 22:35 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 00:02 umount + -rwxr-xr-x 1 root root 43888 Sep 21 2022 uname + -rwxr-xr-x 2 root root 2346 Apr 10 2022 uncompress + -rwxr-xr-x 1 root root 151344 Sep 21 2022 vdir + -rwxr-xr-x 1 root root 72024 Mar 24 00:02 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 03:33 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Apr 10 2022 zcat + -rwxr-xr-x 1 root root 1678 Apr 10 2022 zcmp + -rwxr-xr-x 1 root root 6460 Apr 10 2022 zdiff + -rwxr-xr-x 1 root root 29 Apr 10 2022 zegrep + -rwxr-xr-x 1 root root 29 Apr 10 2022 zfgrep + -rwxr-xr-x 1 root root 2081 Apr 10 2022 zforce + -rwxr-xr-x 1 root root 8103 Apr 10 2022 zgrep + -rwxr-xr-x 1 root root 2206 Apr 10 2022 zless + -rwxr-xr-x 1 root root 1842 Apr 10 2022 zmore + -rwxr-xr-x 1 root root 4577 Apr 10 2022 znew +I: user script /srv/workspace/pbuilder/2912925/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -245,7 +277,7 @@ Get: 28 http://deb.debian.org/debian bookworm/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 29 http://deb.debian.org/debian bookworm/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 30 http://deb.debian.org/debian bookworm/main amd64 debhelper all 13.11.4 [942 kB] -Fetched 18.7 MB in 0s (42.9 MB/s) +Fetched 18.7 MB in 3s (5754 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 ... 19596 files and directories currently installed.) @@ -379,8 +411,19 @@ 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/arj-3.10.22/ && 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 > ../arj_3.10.22-26_source.changes +I: user script /srv/workspace/pbuilder/2912925/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +removed '/etc/unsupported-skip-usrmerge-conversion' +The system has been successfully converted. +I: user script /srv/workspace/pbuilder/2912925/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/arj-3.10.22/ && 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 > ../arj_3.10.22-26_source.changes dpkg-buildpackage: info: source package arj dpkg-buildpackage: info: source version 3.10.22-26 dpkg-buildpackage: info: source distribution unstable @@ -445,8 +488,8 @@ checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes @@ -488,7 +531,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/arj-3.10.22' dh_auto_build -- "BUILD_STRIP=1" - make -j16 "INSTALL=install --strip-program=true" BUILD_STRIP=1 + make -j15 "INSTALL=install --strip-program=true" BUILD_STRIP=1 make[2]: Entering directory '/build/arj-3.10.22' mkdir -p ./linux-gnu/en/rs mkdir -p ./linux-gnu/en/rs/tools @@ -521,29 +564,29 @@ gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/msgbind ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/msgbind.o ./linux-gnu/en/rs/tools/arjdata.o ./linux-gnu/en/rs/tools/crc32.o ./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_crp UNIX s en ./linux-gnu/en/rs ./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_stb UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfv UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfx UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfj UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfv UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_arj UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfx UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_rej UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_reg UNIX s en ./linux-gnu/en/rs +./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_adi UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! ARJDATA: unknown tag <@!_"> ARJDATA: unknown tag <@: display program option\np: match with Pathname !: execute command option\n"> -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_sfj UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_arj UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_rej UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_reg UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! -./linux-gnu/en/rs/tools/msgbind ./resource/resource.txt msg_adi UNIX s en ./linux-gnu/en/rs MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! MSGBIND v 1.65 [14/12/2002] Not a part of any binary package! @@ -607,13 +650,9 @@ make do-all make[3]: Entering directory '/build/arj-3.10.22' gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall sfx_id.c -MM > .deps/sfx_id.d -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall postproc.c -MM > .deps/postproc.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall packager.c -MM > .deps/packager.d -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ntstream.c -MM > .deps/ntstream.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall msgbind.c -MM > .deps/msgbind.d -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall misc.c -MM > .deps/misc.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall makestub.c -MM > .deps/makestub.d -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall make_key.c -MM > .deps/make_key.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall join.c -MM > .deps/join.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall integr.c -MM > .deps/integr.d gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall gost_t.c -MM > .deps/gost_t.d @@ -668,8 +707,6 @@ gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/misc.o misc.c gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/debug.o debug.c gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arj_proc.o arj_proc.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/environ.o environ.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ea_mgr.o ea_mgr.c decode.c: In function 'fillbuf': decode.c:73:19: warning: pointer targets in passing argument 1 of 'garble_decode' differ in signedness [-Wpointer-sign] 73 | garble_decode(&byte_buf, 1); @@ -681,6 +718,18 @@ garble.h:15:26: note: expected 'char *' but argument is of type 'unsigned char *' 15 | void garble_decode(char *data, int len); | ~~~~~~^~~~ +file_reg.c: In function 'hot_reg': +file_reg.c:57:17: warning: pointer targets in passing argument 1 of 'alltrim' differ in signedness [-Wpointer-sign] + 57 | alltrim(regdata+REG_KEY1_SHIFT); +In file included from arj.h:34, + from file_reg.c:8: +arj_proc.h:58:20: note: expected 'char *' but argument is of type 'unsigned char *' + 58 | void alltrim(char *cmd); + | ~~~~~~^~~ +file_reg.c: In function 'parse_reg_key': +file_reg.c:64:8: warning: unused variable 'nptr' [-Wunused-variable] + 64 | char *nptr; + | ^~~~ decode.c: In function 'decode': decode.c:445:25: warning: pointer targets in passing argument 1 of 'extraction_stub' differ in signedness [-Wpointer-sign] 445 | if(extraction_stub(dec_text, DICSIZ, action)) @@ -691,7 +740,6 @@ arj_file.h:29:27: note: expected 'char *' but argument is of type 'unsigned char *' 29 | int extraction_stub(char *block, int block_len, int action); | ~~~~~~^~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/uxspec.o uxspec.c decode.c:473:27: warning: pointer targets in passing argument 1 of 'extraction_stub' differ in signedness [-Wpointer-sign] 473 | if(extraction_stub(dec_text, DICSIZ, action)) | ^~~~~~~~ @@ -733,6 +781,7 @@ arj_file.h:29:27: note: expected 'char *' but argument is of type 'unsigned char *' 29 | int extraction_stub(char *block, int block_len, int action); | ~~~~~~^~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/environ.o environ.c encode.c: In function 'huf_encode': encode.c:1030:30: warning: pointer targets in passing argument 1 of 'fetch_uncomp' differ in signedness [-Wpointer-sign] 1030 | if((fetch=fetch_uncomp(tree+tree_el, fetch))==0) @@ -742,6 +791,10 @@ encode.c:244:24: note: expected 'char *' but argument is of type 'unsigned char *' 244 | int fetch_uncomp(char *dest, int n) | ~~~~~~^~~~ +fardata.c: In function 'error_proc': +fardata.c:48:8: warning: unused variable 'tmp_errmsg' [-Wunused-variable] + 48 | char *tmp_errmsg; + | ^~~~~~~~~~ encode.c: In function 'huf_encode_m3': encode.c:1218:30: warning: pointer targets in passing argument 1 of 'fetch_uncomp' differ in signedness [-Wpointer-sign] 1218 | if((fetch=fetch_uncomp(tree+tree_el, fetch))==0) @@ -760,19 +813,16 @@ encode.c:244:24: note: expected 'char *' but argument is of type 'unsigned char *' 244 | int fetch_uncomp(char *dest, int n) | ~~~~~~^~~~ -file_reg.c: In function 'hot_reg': -file_reg.c:57:17: warning: pointer targets in passing argument 1 of 'alltrim' differ in signedness [-Wpointer-sign] - 57 | alltrim(regdata+REG_KEY1_SHIFT); -In file included from arj.h:34, - from file_reg.c:8: -arj_proc.h:58:20: note: expected 'char *' but argument is of type 'unsigned char *' - 58 | void alltrim(char *cmd); - | ~~~~~~^~~ -file_reg.c: In function 'parse_reg_key': -file_reg.c:64:8: warning: unused variable 'nptr' [-Wunused-variable] - 64 | char *nptr; - | ^~~~ +fardata.c: In function 'vcprintf': +fardata.c:454:6: warning: unused variable 'far_str' [-Wunused-variable] + 454 | int far_str; /* Far string qualifier */ + | ^~~~~~~ +fardata.c: In function 'error_proc': +fardata.c:61:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 61 | freopen(dev_con, m_w, stdout); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arj.c: In function 'final_cleanup': +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ea_mgr.o ea_mgr.c arj.c:594:3: warning: implicit declaration of function 'fcloseall'; did you mean 'fclose'? [-Wimplicit-function-declaration] 594 | fcloseall(); | ^~~~~~~~~ @@ -819,7 +869,30 @@ arj.c:559:2: note: in expansion of macro 'system_cmd' 559 | system_cmd(cmd); | ^~~~~~~~~~ +arj.c: In function 'final_cleanup': +arj.c:641:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 641 | freopen(dev_con, m_w, stdout); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/uxspec.o uxspec.c +arj_arcv.c: In function 'pack_file': +arj_arcv.c:1425:22: warning: unused variable 'p_eh' [-Wunused-variable] + 1425 | struct ext_hdr FAR *p_eh; + | ^~~~ +arj_arcv.c:1413:6: warning: variable 'lfn' set but not used [-Wunused-but-set-variable] + 1413 | int lfn; + | ^~~ +misc.c: In function 'strupper': +misc.c:480:15: warning: pointer targets in passing argument 1 of 'toupper_loc' differ in signedness [-Wpointer-sign] + 480 | toupper_loc(s, strlen(s)); + | ^ + | | + | char * arj_file.c: In function 't_search_stub': +In file included from arj.h:13, + from misc.c:9: +environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' + 900 | void toupper_loc(unsigned char *ptr, int length); + | ~~~~~~~~~~~~~~~^~~ arj_file.c:1177:48: warning: pointer targets in passing argument 1 of 'display_found_text' differ in signedness [-Wpointer-sign] 1177 | search_offset=t_offset+display_found_text(block, t_offset, block_len)-len; | ^~~~~ @@ -847,41 +920,6 @@ environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' 900 | void toupper_loc(unsigned char *ptr, int length); | ~~~~~~~~~~~~~~~^~~ -arj_arcv.c: In function 'pack_file': -fardata.c: In function 'error_proc': -fardata.c:48:8: warning: unused variable 'tmp_errmsg' [-Wunused-variable] - 48 | char *tmp_errmsg; - | ^~~~~~~~~~ -arj_arcv.c:1425:22: warning: unused variable 'p_eh' [-Wunused-variable] - 1425 | struct ext_hdr FAR *p_eh; - | ^~~~ -arj_arcv.c:1413:6: warning: variable 'lfn' set but not used [-Wunused-but-set-variable] - 1413 | int lfn; - | ^~~ -arj.c: In function 'final_cleanup': -arj.c:641:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 641 | freopen(dev_con, m_w, stdout); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -fardata.c: In function 'vcprintf': -fardata.c:454:6: warning: unused variable 'far_str' [-Wunused-variable] - 454 | int far_str; /* Far string qualifier */ - | ^~~~~~~ -fardata.c: In function 'error_proc': -fardata.c:61:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | freopen(dev_con, m_w, stdout); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ext_hdr.o ext_hdr.c -misc.c: In function 'strupper': -misc.c:480:15: warning: pointer targets in passing argument 1 of 'toupper_loc' differ in signedness [-Wpointer-sign] - 480 | toupper_loc(s, strlen(s)); - | ^ - | | - | char * -In file included from arj.h:13, - from misc.c:9: -environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' - 900 | void toupper_loc(unsigned char *ptr, int length); - | ~~~~~~~~~~~~~~~^~~ misc.c: In function 'flist_add': misc.c:661:13: warning: unused variable 'i' [-Wunused-variable] 661 | FILE_COUNT i; @@ -894,6 +932,7 @@ misc.c:859:4: warning: operation on '*p' may be undefined [-Wsequence-point] 859 | *p=(*p&=~bit_mask)|value_bits; | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ext_hdr.o ext_hdr.c In file included from arj.h:13, from arj_arcv.c:9: arj_arcv.c: In function 'arjdisp_scrn': @@ -903,6 +942,8 @@ arj_arcv.c:1124:4: note: in expansion of macro 'system_cmd' 1124 | system_cmd(misc_buf); | ^~~~~~~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjtypes.o arjtypes.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/exe_sear.o exe_sear.c arj_proc.c: In function 'stoul': arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] 1155 | *rp++; @@ -916,7 +957,7 @@ arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] 1170 | *rp++; | ^~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjtypes.o arjtypes.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/chk_fmsg.o chk_fmsg.c environ.c: In function 'file_open': environ.c:1954:7: warning: unused variable 'shflag' [-Wunused-variable] 1954 | int shflag; @@ -925,8 +966,10 @@ environ.c:2318:7: warning: unused variable 'u' [-Wunused-variable] 2318 | int u; | ^ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/exe_sear.o exe_sear.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/chk_fmsg.o chk_fmsg.c +arj_proc.c: In function 'file_seek': +arj_proc.c:2499:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 2499 | fread(buffer, 1, (int)offset, stream); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ environ.c: At top level: environ.c:250:14: warning: 'drive_c' defined but not used [-Wunused-variable] 250 | static char drive_c[]="C:"; /* Although it's incorrect... */ @@ -934,12 +977,7 @@ environ.c:244:14: warning: 'attrib_buf' defined but not used [-Wunused-variable] 244 | static char attrib_buf[]="---W"; /* ASHR if all set */ | ^~~~~~~~~~ -arj_proc.c: In function 'file_seek': -arj_proc.c:2499:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 2499 | fread(buffer, 1, (int)offset, stream); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/filelist.o filelist.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjsec_h.o arjsec_h.c arjtypes.c: In function 'mk_unixtime': arjtypes.c:158:9: warning: unused variable 'tt' [-Wunused-variable] 158 | time_t tt, ts; @@ -957,6 +995,18 @@ exe_sear.c:132:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fread(&shdr, 1, sizeof(shdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjsec_h.o arjsec_h.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjsec_l.o arjsec_l.c +In file included from arj.h:13, + from arj_proc.c:11: +environ.h: In function 'check_multivolume': +environ.h:274:32: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] + 274 | #define min(a, b) ((a)<(b)?(a):(b)) + | ^ +arj_proc.c:620:20: note: 'rc' was declared here + 620 | unsigned int inc, rc; + | ^~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/garble.o garble.c arjsec_h.c: In function 'get_arjsec_signature': arjsec_h.c:43:18: warning: pointer targets in passing argument 1 of 'crc32_for_block' differ in signedness [-Wpointer-sign] 43 | crc32_for_block(tail, ARJSEC_RECORD_SIZE-4); @@ -968,9 +1018,8 @@ crc32.h:32:28: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void crc32_for_block(char *block, unsigned int size); | ~~~~~~^~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/arjsec_l.o arjsec_l.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/garble.o garble.c gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/scrnio.o scrnio.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ansi.o ansi.c arjsec_l.c: In function 'arjsec_read': arjsec_l.c:253:19: warning: pointer targets in passing argument 1 of 'crc32_for_block' differ in signedness [-Wpointer-sign] 253 | crc32_for_block(tmp_block, bytes_read); @@ -982,10 +1031,7 @@ crc32.h:32:28: note: expected 'char *' but argument is of type 'unsigned char *' 32 | void crc32_for_block(char *block, unsigned int size); | ~~~~~~^~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/ansi.o ansi.c gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/crc16tab.o crc16tab.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/recovery.o recovery.c -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/gost.o gost.c garble.c: In function 'arjcrypt_init': garble.c:114:8: warning: unused variable 'tmp_cryptmem' [-Wunused-variable] 114 | char *tmp_cryptmem; /* Temporary storage for ARJCRYPT */ @@ -1000,7 +1046,19 @@ garble.c:91:13: warning: 'remove_arjcrypt' defined but not used [-Wunused-function] 91 | static void remove_arjcrypt() | ^~~~~~~~~~~~~~~ +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/recovery.o recovery.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/gost.o gost.c gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/gost40.o gost40.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/gost_t.o gost_t.c +gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/externs.o externs.c +arj_file.c: In function 'display_indicator': +arj_file.c:924:10: warning: 'pct' may be used uninitialized [-Wmaybe-uninitialized] + 924 | prev_pct=pct; + | ~~~~~~~~^~~~ +arj_file.c:823:6: note: 'pct' was declared here + 823 | int pct; + | ^~~ +gcc -DARJUTIL -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/tools/join.o join.c recovery.c: In function 'recover_file': recovery.c:377:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); @@ -1032,6 +1090,7 @@ recovery.c:606:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 606 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DARJUTIL -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/tools/postproc.o postproc.c recovery.c:812:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 812 | fread(single_pad, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1044,21 +1103,15 @@ recovery.c:867:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 867 | fread(protpad_r, 1, DEFAULT_PROTPAD_SIZE, xstream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/gost_t.o gost_t.c -In file included from arj.h:13, - from arj_proc.c:11: -environ.h: In function 'check_multivolume': -environ.h:274:32: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] - 274 | #define min(a, b) ((a)<(b)?(a):(b)) - | ^ -arj_proc.c:620:20: note: 'rc' was declared here - 620 | unsigned int inc, rc; - | ^~ -gcc -DSFL=4 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arj/externs.o externs.c -gcc -DARJUTIL -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/tools/join.o join.c -gcc -DARJUTIL -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/tools/postproc.o postproc.c gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/sfxstub/nmsg_stb.o linux-gnu/en/rs/nmsg_stb.c gcc -DSFXSTUB -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/sfxstub/sfxstub.o sfxstub.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/sfx_id.o sfx_id.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/filemode.o filemode.c +sfx_id.c:8:13: warning: 'sfx_id' defined but not used [-Wunused-variable] + 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; + | ^~~~~~ +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/fmsg_sfv.o linux-gnu/en/rs/fmsg_sfv.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/imsg_sfv.o linux-gnu/en/rs/imsg_sfv.c postproc.c: In function 'pp_arjsfx': postproc.c:124:6: warning: unused variable 'sig_found' [-Wunused-variable] 124 | int sig_found; @@ -1080,89 +1133,14 @@ postproc.c:29:22: warning: 'reg_crc_pattern' defined but not used [-Wunused-variable] 29 | static unsigned char reg_crc_pattern[]={0xB0, 0x01, 0xB0, 0x02, 0xB0, 0x03, 0xB0, | ^~~~~~~~~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/sfx_id.o sfx_id.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/filemode.o filemode.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/fmsg_sfv.o linux-gnu/en/rs/fmsg_sfv.c -sfx_id.c:8:13: warning: 'sfx_id' defined but not used [-Wunused-variable] - 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; - | ^~~~~~ -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/imsg_sfv.o linux-gnu/en/rs/imsg_sfv.c gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/nmsg_sfv.o linux-gnu/en/rs/nmsg_sfv.c -arj_file.c: In function 'display_indicator': -arj_file.c:924:10: warning: 'pct' may be used uninitialized [-Wmaybe-uninitialized] - 924 | prev_pct=pct; - | ~~~~~~~~^~~~ -arj_file.c:823:6: note: 'pct' was declared here - 823 | int pct; - | ^~~ gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/decode.o decode.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjsfx.o arjsfx.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/fardata.o fardata.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arj_user.o arj_user.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arj_arcv.o arj_arcv.c -fardata.c: In function 'error_proc': -fardata.c:61:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 61 | freopen(dev_con, m_w, stdout); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arj_file.o arj_file.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/crc32.o crc32.c -arj_user.c: In function 'list_cmd': -arj_user.c:271:15: warning: variable 'entry' set but not used [-Wunused-but-set-variable] - 271 | unsigned int entry; - | ^~~~~ -arj_user.c:264:23: warning: unused variable 'p_eh' [-Wunused-variable] - 264 | struct ext_hdr FAR *p_eh; - | ^~~~ -arj_user.c:263:16: warning: unused variable 'raw_ea_size' [-Wunused-variable] - 263 | unsigned int raw_ea_size; - | ^~~~~~~~~~~ -arj_user.c:262:13: warning: unused variable 'raw_ea' [-Wunused-variable] - 262 | char FAR *raw_ea; - | ^~~~~~ -arj_user.c: In function 'process_archive': -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/misc.o misc.c -arj_user.c:2082:7: warning: unused variable 'enc_version' [-Wunused-variable] - 2082 | int enc_version; - | ^~~~~~~~~~~ -arj_user.c:2074:23: warning: variable 't_buf' set but not used [-Wunused-but-set-variable] - 2074 | static unsigned int t_buf, v_buf; - | ^~~~~ -arj_user.c: In function 'perform_cmd': -arj_user.c:2777:1: warning: label 'all_volumes_done' defined but not used [-Wunused-label] - 2777 | all_volumes_done: - | ^~~~~~~~~~~~~~~~ -arj_user.c:2547:16: warning: unused variable 'arch_time' [-Wunused-variable] - 2547 | unsigned long arch_time; - | ^~~~~~~~~ -arj_user.c:2546:6: warning: unused variable 'vol_num' [-Wunused-variable] - 2546 | int vol_num; - | ^~~~~~~ -arj_user.c:2545:8: warning: unused variable 'syscmd' [-Wunused-variable] - 2545 | char *syscmd; - | ^~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/debug.o debug.c -arj_user.c:2544:8: warning: unused variable 'tmp_ptr' [-Wunused-variable] - 2544 | char *tmp_ptr; - | ^~~~~~~ -arj_user.c: At top level: -arj_user.c:85:22: warning: 'first_file_offset' defined but not used [-Wunused-variable] - 85 | static unsigned long first_file_offset; /* Offset of first file within arch. */ - | ^~~~~~~~~~~~~~~~~ -arj_user.c:79:22: warning: 'saved_timestamp' defined but not used [-Wunused-variable] - 79 | static unsigned long saved_timestamp; - | ^~~~~~~~~~~~~~~ -arj_user.c:78:19: warning: 'vol_file_num' defined but not used [-Wunused-variable] - 78 | static FILE_COUNT vol_file_num; - | ^~~~~~~~~~~~ -arj_user.c:77:19: warning: 'order_fcount' defined but not used [-Wunused-variable] - 77 | static FILE_COUNT order_fcount; /* # of files in order array */ - | ^~~~~~~~~~~~ -arj_user.c:76:19: warning: 'order_fcap' defined but not used [-Wunused-variable] - 76 | static FILE_COUNT order_fcap; /* Size of order array */ - | ^~~~~~~~~~ -arj_user.c:72:27: warning: 'order_list' defined but not used [-Wunused-variable] - 72 | static unsigned long FAR *order_list; /* List of files to order */ - | ^~~~~~~~~~ decode.c: In function 'fillbuf': decode.c:73:19: warning: pointer targets in passing argument 1 of 'garble_decode' differ in signedness [-Wpointer-sign] 73 | garble_decode(&byte_buf, 1); @@ -1174,7 +1152,7 @@ garble.h:15:26: note: expected 'char *' but argument is of type 'unsigned char *' 15 | void garble_decode(char *data, int len); | ~~~~~~^~~~ -arjsfx.c: In function 'file_arg_cleanup': +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/misc.o misc.c decode.c: In function 'decode': decode.c:445:25: warning: pointer targets in passing argument 1 of 'extraction_stub' differ in signedness [-Wpointer-sign] 445 | if(extraction_stub(dec_text, DICSIZ, action)) @@ -1201,6 +1179,13 @@ arj_file.h:29:27: note: expected 'char *' but argument is of type 'unsigned char *' 29 | int extraction_stub(char *block, int block_len, int action); | ~~~~~~^~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/debug.o debug.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arj_proc.o arj_proc.c +fardata.c: In function 'error_proc': +fardata.c:61:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 61 | freopen(dev_con, m_w, stdout); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arjsfx.c: In function 'file_arg_cleanup': arjsfx.c:32:8: warning: unused variable 'tmp_name' [-Wunused-variable] 32 | char *tmp_name; | ^~~~~~~~ @@ -1289,17 +1274,101 @@ arjsfx.c:281:3: note: in expansion of macro 'system_cmd' 281 | system_cmd(cmd); | ^~~~~~~~~~ -arj_arcv.c: In function 'read_header': arjsfx.c: In function 'sfx_setup': arjsfx.c:489:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 489 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arj_file.c: In function 'query_action_proc': +arj_file.c:450:8: warning: unused variable 'sel_ptr' [-Wunused-variable] + 450 | char *sel_ptr, *rt_ptr; + | ^~~~~~~ +arj_file.c:449:16: warning: unused variable 'ukey' [-Wunused-variable] + 449 | int sel, key, ukey; + | ^~~~ +arj_file.c:449:11: warning: unused variable 'key' [-Wunused-variable] + 449 | int sel, key, ukey; + | ^~~ +arj_file.c:449:6: warning: unused variable 'sel' [-Wunused-variable] + 449 | int sel, key, ukey; + | ^~~ +arj_file.c: In function 'display_indicator': +arj_file.c:827:23: warning: unused variable 'ind_sizes' [-Wunused-variable] + 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; + | ^~~~~~~~~ +arj_user.c: In function 'list_cmd': +arj_file.c: At top level: +arj_user.c:271:15: warning: variable 'entry' set but not used [-Wunused-but-set-variable] + 271 | unsigned int entry; + | ^~~~~ +arj_file.c:56:12: warning: 'display_block' declared 'static' but never defined [-Wunused-function] + 56 | static int display_block(char *str, int len); + | ^~~~~~~~~~~~~ +arj_file.c:57:12: warning: 'block_op' declared 'static' but never defined [-Wunused-function] + 57 | static int block_op(int action, char *block, int len); + | ^~~~~~~~ +arj_user.c:264:23: warning: unused variable 'p_eh' [-Wunused-variable] + 264 | struct ext_hdr FAR *p_eh; + | ^~~~ +arj_user.c:263:16: warning: unused variable 'raw_ea_size' [-Wunused-variable] + 263 | unsigned int raw_ea_size; + | ^~~~~~~~~~~ +arj_user.c:262:13: warning: unused variable 'raw_ea' [-Wunused-variable] + 262 | char FAR *raw_ea; + | ^~~~~~ +arj_file.c:827:23: warning: 'ind_sizes' defined but not used [-Wunused-variable] + 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; + | ^~~~~~~~~ +arj_user.c: In function 'process_archive': +arj_user.c:2082:7: warning: unused variable 'enc_version' [-Wunused-variable] + 2082 | int enc_version; + | ^~~~~~~~~~~ +arj_user.c:2074:23: warning: variable 't_buf' set but not used [-Wunused-but-set-variable] + 2074 | static unsigned int t_buf, v_buf; + | ^~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/environ.o environ.c +arj_user.c: In function 'perform_cmd': +arj_user.c:2777:1: warning: label 'all_volumes_done' defined but not used [-Wunused-label] + 2777 | all_volumes_done: + | ^~~~~~~~~~~~~~~~ +arj_user.c:2547:16: warning: unused variable 'arch_time' [-Wunused-variable] + 2547 | unsigned long arch_time; + | ^~~~~~~~~ +arj_user.c:2546:6: warning: unused variable 'vol_num' [-Wunused-variable] + 2546 | int vol_num; + | ^~~~~~~ +arj_user.c:2545:8: warning: unused variable 'syscmd' [-Wunused-variable] + 2545 | char *syscmd; + | ^~~~~~ +arj_user.c:2544:8: warning: unused variable 'tmp_ptr' [-Wunused-variable] + 2544 | char *tmp_ptr; + | ^~~~~~~ +arj_user.c: At top level: +arj_user.c:85:22: warning: 'first_file_offset' defined but not used [-Wunused-variable] + 85 | static unsigned long first_file_offset; /* Offset of first file within arch. */ + | ^~~~~~~~~~~~~~~~~ +arj_user.c:79:22: warning: 'saved_timestamp' defined but not used [-Wunused-variable] + 79 | static unsigned long saved_timestamp; + | ^~~~~~~~~~~~~~~ +arj_user.c:78:19: warning: 'vol_file_num' defined but not used [-Wunused-variable] + 78 | static FILE_COUNT vol_file_num; + | ^~~~~~~~~~~~ +arj_user.c:77:19: warning: 'order_fcount' defined but not used [-Wunused-variable] + 77 | static FILE_COUNT order_fcount; /* # of files in order array */ + | ^~~~~~~~~~~~ +arj_user.c:76:19: warning: 'order_fcap' defined but not used [-Wunused-variable] + 76 | static FILE_COUNT order_fcap; /* Size of order array */ + | ^~~~~~~~~~ +arj_user.c:72:27: warning: 'order_list' defined but not used [-Wunused-variable] + 72 | static unsigned long FAR *order_list; /* List of files to order */ + | ^~~~~~~~~~ +arj_arcv.c: In function 'read_header': arj_arcv.c:61:35: warning: value computed is not used [-Wunused-value] 61 | #define hget_byte() (*(tmp_hptr++)&0xFF) | ~~~~~~~~~~~~~~^~~~~~ arj_arcv.c:370:6: note: in expansion of macro 'hget_byte' 370 | hget_byte(); | ^~~~~~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ea_mgr.o ea_mgr.c arj_arcv.c: In function 'test_unpack_condition': arj_arcv.c:2099:6: warning: unused variable 'volume_file' [-Wunused-variable] 2099 | int volume_file; @@ -1348,35 +1417,49 @@ arj_arcv.c:2811:16: warning: unused variable 'tmp_compsize' [-Wunused-variable] 2811 | unsigned long tmp_compsize; | ^~~~~~~~~~~~ +misc.c: In function 'strupper': +misc.c:480:15: warning: pointer targets in passing argument 1 of 'toupper_loc' differ in signedness [-Wpointer-sign] + 480 | toupper_loc(s, strlen(s)); + | ^ + | | + | char * +In file included from arj.h:13, + from misc.c:9: +environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' + 900 | void toupper_loc(unsigned char *ptr, int length); + | ~~~~~~~~~~~~~~~^~~ arj_arcv.c:2810:8: warning: unused variable 'fname' [-Wunused-variable] 2810 | char *fname; /* Formatted filename */ | ^~~~~ +misc.c: In function 'cfa_get_index': +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ntstream.o ntstream.c +misc.c:809:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] + 809 | flist_array[fblock]=(char FAR *)farmalloc_msg((CFA_BLOCK_SIZE+3)>>2); + | ^ arj_arcv.c: In function 'flist_lookup': +misc.c: In function 'cfa_store': +misc.c:859:4: warning: operation on '*p' may be undefined [-Wsequence-point] + 859 | *p=(*p&=~bit_mask)|value_bits; + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ arj_arcv.c:3394:19: warning: unused variable 'ubound' [-Wunused-variable] 3394 | FILE_COUNT num, ubound; /* For by-number tagging */ | ^~~~~~ +misc.c: At top level: +misc.c:26:12: warning: 'xwild_propagate' declared 'static' but never defined [-Wunused-function] + 26 | static int xwild_propagate(char *wcstr, char *str); + | ^~~~~~~~~~~~~~~ arj_arcv.c:3394:14: warning: unused variable 'num' [-Wunused-variable] 3394 | FILE_COUNT num, ubound; /* For by-number tagging */ | ^~~ +misc.c:22:13: warning: 'xwild_symbols' defined but not used [-Wunused-variable] + 22 | static char xwild_symbols[]="?*[]^"; + | ^~~~~~~~~~~~~ arj_arcv.c:3392:7: warning: unused variable 'lp_entry' [-Wunused-variable] 3392 | int lp_entry, st_entry; | ^~~~~~~~ arj_arcv.c:3391:9: warning: unused variable 'nptr' [-Wunused-variable] 3391 | char *nptr; | ^~~~ -arj_file.c: In function 'query_action_proc': -arj_file.c:450:8: warning: unused variable 'sel_ptr' [-Wunused-variable] - 450 | char *sel_ptr, *rt_ptr; - | ^~~~~~~ -arj_file.c:449:16: warning: unused variable 'ukey' [-Wunused-variable] - 449 | int sel, key, ukey; - | ^~~~ -arj_file.c:449:11: warning: unused variable 'key' [-Wunused-variable] - 449 | int sel, key, ukey; - | ^~~ -arj_file.c:449:6: warning: unused variable 'sel' [-Wunused-variable] - 449 | int sel, key, ukey; - | ^~~ In file included from arj.h:13, from arj_arcv.c:9: arj_arcv.c: In function 'arjdisp_scrn': @@ -1386,55 +1469,10 @@ arj_arcv.c:1124:4: note: in expansion of macro 'system_cmd' 1124 | system_cmd(misc_buf); | ^~~~~~~~~~ -arj_file.c: In function 'display_indicator': -arj_file.c:827:23: warning: unused variable 'ind_sizes' [-Wunused-variable] - 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; - | ^~~~~~~~~ -arj_file.c: At top level: -arj_file.c:56:12: warning: 'display_block' declared 'static' but never defined [-Wunused-function] - 56 | static int display_block(char *str, int len); - | ^~~~~~~~~~~~~ -arj_file.c:57:12: warning: 'block_op' declared 'static' but never defined [-Wunused-function] - 57 | static int block_op(int action, char *block, int len); - | ^~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arj_proc.o arj_proc.c -arj_file.c:827:23: warning: 'ind_sizes' defined but not used [-Wunused-variable] - 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; - | ^~~~~~~~~ arj_arcv.c: At top level: arj_arcv.c:27:14: warning: 'tmp_comment' defined but not used [-Wunused-variable] 27 | static char *tmp_comment=NULL; /* Temporary comment storage */ | ^~~~~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/environ.o environ.c -misc.c: In function 'strupper': -misc.c:480:15: warning: pointer targets in passing argument 1 of 'toupper_loc' differ in signedness [-Wpointer-sign] - 480 | toupper_loc(s, strlen(s)); - | ^ - | | - | char * -In file included from arj.h:13, - from misc.c:9: -environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' - 900 | void toupper_loc(unsigned char *ptr, int length); - | ~~~~~~~~~~~~~~~^~~ -misc.c: In function 'cfa_get_index': -misc.c:809:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] - 809 | flist_array[fblock]=(char FAR *)farmalloc_msg((CFA_BLOCK_SIZE+3)>>2); - | ^ -misc.c: In function 'cfa_store': -misc.c:859:4: warning: operation on '*p' may be undefined [-Wsequence-point] - 859 | *p=(*p&=~bit_mask)|value_bits; - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -misc.c: At top level: -misc.c:26:12: warning: 'xwild_propagate' declared 'static' but never defined [-Wunused-function] - 26 | static int xwild_propagate(char *wcstr, char *str); - | ^~~~~~~~~~~~~~~ -misc.c:22:13: warning: 'xwild_symbols' defined but not used [-Wunused-variable] - 22 | static char xwild_symbols[]="?*[]^"; - | ^~~~~~~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ea_mgr.o ea_mgr.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ntstream.o ntstream.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/uxspec.o uxspec.c arj_proc.c: In function 'stoul': arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] 1155 | *rp++; @@ -1452,10 +1490,14 @@ arj_proc.c:2499:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2499 | fread(buffer, 1, (int)offset, stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/uxspec.o uxspec.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ext_hdr.o ext_hdr.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjtypes.o arjtypes.c environ.c: In function 'file_open': environ.c:1954:7: warning: unused variable 'shflag' [-Wunused-variable] 1954 | int shflag; | ^~~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/exe_sear.o exe_sear.c environ.c: In function 'file_getcwd': environ.c:2183:2: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2183 | getcwd(buf, len); @@ -1471,16 +1513,11 @@ environ.c:244:14: warning: 'attrib_buf' defined but not used [-Wunused-variable] 244 | static char attrib_buf[]="---W"; /* ASHR if all set */ | ^~~~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ext_hdr.o ext_hdr.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjtypes.o arjtypes.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/exe_sear.o exe_sear.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/chk_fmsg.o chk_fmsg.c uxspec.c:59:18: warning: 'fill_hdr_size' defined but not used [-Wunused-function] 59 | static char FAR *fill_hdr_size(char FAR *dest, int type, int size) | ^~~~~~~~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/chk_fmsg.o chk_fmsg.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/filelist.o filelist.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjsec_h.o arjsec_h.c -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjsec_l.o arjsec_l.c arjtypes.c: In function 'mk_unixtime': arjtypes.c:158:9: warning: unused variable 'tt' [-Wunused-variable] 158 | time_t tt, ts; @@ -1488,26 +1525,59 @@ arjtypes.c:152:18: warning: unused variable 'v' [-Wunused-variable] 152 | unsigned int i, v; | ^ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/garble.o garble.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjsec_h.o arjsec_h.c exe_sear.c: In function 'get_exe_size': exe_sear.c:112:17: warning: variable 'cur_pos' set but not used [-Wunused-but-set-variable] 112 | unsigned long cur_pos; | ^~~~~~~ -gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/scrnio.o scrnio.c exe_sear.c:123:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 123 | fread(&ehdr, 1, sizeof(ehdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ exe_sear.c:132:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fread(&shdr, 1, sizeof(shdr), stream); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/string.h:535, + from environ.h:99: +In function 'strcat', + inlined from 'parse_arj_sw' at arj_proc.c:397:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 514 or more bytes at offsets 513 and 1026 may overlap 1 byte at offset 1026 [-Wrestrict] + 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strcat', + inlined from 'parse_arj_sw' at arj_proc.c:374:5: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 512 or more bytes at offsets 513 and 2 may overlap 1 byte at offset 513 [-Wrestrict] + 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'strcat', + inlined from 'parse_arj_sw' at arj_proc.c:397:3: +/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 514 or more bytes at offsets 513 and 1026 may overlap 1 byte at offset 1026 [-Wrestrict] + 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/arjsec_l.o arjsec_l.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/garble.o garble.c +gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/scrnio.o scrnio.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/ansi.o ansi.c gcc -DSFL=3 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxv/externs.o externs.c +arj_arcv.c: In function 'unpack_file_proc': +arj_arcv.c:2960:24: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] + 2960 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); + | ^~~~ +arj_arcv.c:2960:23: note: directive argument in the range [0, 2147483647] + 2960 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); + | ^~~~~~~~ +In file included from /usr/include/stdio.h:906, + from environ.h:101: +In function 'sprintf', + inlined from 'unpack_file_proc' at arj_arcv.c:2960:7: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 12 bytes into a destination of size 8 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/sfx_id.o sfx_id.c -sfx_id.c:8:13: warning: 'sfx_id' defined but not used [-Wunused-variable] - 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; - | ^~~~~~ gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/filemode.o filemode.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/fmsg_sfx.o linux-gnu/en/rs/fmsg_sfx.c garble.c: In function 'arjcrypt_init': garble.c:114:8: warning: unused variable 'tmp_cryptmem' [-Wunused-variable] 114 | char *tmp_cryptmem; /* Temporary storage for ARJCRYPT */ @@ -1518,11 +1588,19 @@ garble.c:112:8: warning: unused variable 'stream' [-Wunused-variable] 112 | FILE *stream; | ^~~~~~ -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/imsg_sfx.o linux-gnu/en/rs/imsg_sfx.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/fmsg_sfx.o linux-gnu/en/rs/fmsg_sfx.c garble.c: At top level: garble.c:91:13: warning: 'remove_arjcrypt' defined but not used [-Wunused-function] 91 | static void remove_arjcrypt() | ^~~~~~~~~~~~~~~ +sfx_id.c:8:13: warning: 'sfx_id' defined but not used [-Wunused-variable] + 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; + | ^~~~~~ +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/imsg_sfx.o linux-gnu/en/rs/imsg_sfx.c +arj_proc.c: In function 'append_curtime_proc': +arj_proc.c:204:3: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] + 204 | strncpy(ext, ext_pos, sizeof(ext)); + | ^ gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/nmsg_sfx.o linux-gnu/en/rs/nmsg_sfx.c gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/decode.o decode.c gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arjsfx.o arjsfx.c @@ -1533,6 +1611,8 @@ gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/crc32.o crc32.c gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/misc.o misc.c gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/debug.o debug.c +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arj_proc.o arj_proc.c +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/environ.o environ.c decode.c: In function 'fillbuf': decode.c:73:19: warning: pointer targets in passing argument 1 of 'garble_decode' differ in signedness [-Wpointer-sign] 73 | garble_decode(&byte_buf, 1); @@ -1570,26 +1650,6 @@ arj_file.h:29:27: note: expected 'char *' but argument is of type 'unsigned char *' 29 | int extraction_stub(char *block, int block_len, int action); | ~~~~~~^~~~~ -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arj_proc.o arj_proc.c -arjsfx.c: In function 'final_cleanup': -arjsfx.c:214:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] - 214 | freopen(dev_con, m_w, stdout); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from arj.h:13, - from arjsfx.c:11: -arjsfx.c: In function 'exec_command': -environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 936 | #define system_cmd(cmd) system(cmd) - | ^~~~~~~~~~~ -arjsfx.c:273:3: note: in expansion of macro 'system_cmd' - 273 | system_cmd(cmd); - | ^~~~~~~~~~ -environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 936 | #define system_cmd(cmd) system(cmd) - | ^~~~~~~~~~~ -arjsfx.c:281:3: note: in expansion of macro 'system_cmd' - 281 | system_cmd(cmd); - | ^~~~~~~~~~ arj_user.c: In function 'list_cmd': arj_user.c:274:8: warning: unused variable 'tmp_ptr' [-Wunused-variable] 274 | char *tmp_ptr; /* Either from the host_os_names list or @@ -1597,12 +1657,25 @@ arj_user.c:271:15: warning: unused variable 'entry' [-Wunused-variable] 271 | unsigned int entry; | ^~~~~ -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/environ.o environ.c +arj_arcv.c: In function 'find_header': +arj_arcv.c:162:7: warning: unused variable 'end_pos' [-Wunused-variable] + 162 | long end_pos; + | ^~~~~~~ arj_user.c: In function 'process_archive': +arj_arcv.c: In function 'test_unpack_condition': arj_user.c:2297:4: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 2297 | freopen(dev_null, m_w, stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +arj_arcv.c:2100:16: warning: unused variable 'append_pos' [-Wunused-variable] + 2100 | unsigned long append_pos; + | ^~~~~~~~~~ +arj_arcv.c:2099:6: warning: unused variable 'volume_file' [-Wunused-variable] + 2099 | int volume_file; + | ^~~~~~~~~~~ arj_user.c: At top level: +arj_arcv.c:2098:16: warning: unused variable 'fsize' [-Wunused-variable] + 2098 | unsigned long fsize; + | ^~~~~ arj_user.c:85:22: warning: 'first_file_offset' defined but not used [-Wunused-variable] 85 | static unsigned long first_file_offset; /* Offset of first file within arch. */ | ^~~~~~~~~~~~~~~~~ @@ -1639,94 +1712,61 @@ arj_user.c:63:13: warning: 'volfmt_2digit' defined but not used [-Wunused-variable] 63 | static char volfmt_2digit[]="%s%02d"; | ^~~~~~~~~~~~~ -arj_arcv.c: In function 'unpack_file_proc': -arj_arcv.c:2960:24: warning: '%03d' directive writing between 3 and 10 bytes into a region of size 8 [-Wformat-overflow=] - 2960 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); - | ^~~~ -arj_arcv.c:2960:23: note: directive argument in the range [0, 2147483647] - 2960 | sprintf(subdir, "%03d%c", dir_num, PATHSEP_DEFAULT); - | ^~~~~~~~ -In file included from /usr/include/stdio.h:906, - from environ.h:101: -In function 'sprintf', - inlined from 'unpack_file_proc' at arj_arcv.c:2960:7: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 5 and 12 bytes into a destination of size 8 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -In file included from /usr/include/string.h:535, - from environ.h:99: -In function 'strcat', - inlined from 'parse_arj_sw' at arj_proc.c:397:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 514 or more bytes at offsets 513 and 1026 may overlap 1 byte at offset 1026 [-Wrestrict] - 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strcat', - inlined from 'parse_arj_sw' at arj_proc.c:374:5: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 512 or more bytes at offsets 513 and 2 may overlap 1 byte at offset 513 [-Wrestrict] - 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'strcat', - inlined from 'parse_arj_sw' at arj_proc.c:397:3: -/usr/include/x86_64-linux-gnu/bits/string_fortified.h:130:10: warning: '__builtin_strcat' accessing 514 or more bytes at offsets 513 and 1026 may overlap 1 byte at offset 1026 [-Wrestrict] - 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arjtypes.o arjtypes.c -arj_arcv.c: In function 'find_header': -arj_arcv.c:162:7: warning: unused variable 'end_pos' [-Wunused-variable] - 162 | long end_pos; - | ^~~~~~~ -misc.c:26:12: warning: 'xwild_propagate' declared 'static' but never defined [-Wunused-function] - 26 | static int xwild_propagate(char *wcstr, char *str); - | ^~~~~~~~~~~~~~~ -misc.c:22:13: warning: 'xwild_symbols' defined but not used [-Wunused-variable] - 22 | static char xwild_symbols[]="?*[]^"; - | ^~~~~~~~~~~~~ -arj_arcv.c: In function 'test_unpack_condition': -arj_arcv.c:2100:16: warning: unused variable 'append_pos' [-Wunused-variable] - 2100 | unsigned long append_pos; - | ^~~~~~~~~~ -arj_arcv.c:2099:6: warning: unused variable 'volume_file' [-Wunused-variable] - 2099 | int volume_file; - | ^~~~~~~~~~~ -arj_arcv.c:2098:16: warning: unused variable 'fsize' [-Wunused-variable] - 2098 | unsigned long fsize; - | ^~~~~ arj_arcv.c:2096:6: warning: unused variable 'fr' [-Wunused-variable] 2096 | int fr; | ^~ arj_arcv.c:2095:6: warning: unused variable 'answer' [-Wunused-variable] 2095 | int answer; /* Reply to overwrite/append queries */ | ^~~~~~ -arj_proc.c: In function 'stoul': -arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] - 1155 | *rp++; - | ^~~~~ -arj_proc.c:1160:3: warning: value computed is not used [-Wunused-value] - 1160 | *rp++; - | ^~~~~ -arj_proc.c:1165:3: warning: value computed is not used [-Wunused-value] - 1165 | *rp++; - | ^~~~~ arj_arcv.c: In function 'unpack_file': -arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] - 1170 | *rp++; - | ^~~~~ arj_arcv.c:2422:16: warning: unused variable 'st_ticks' [-Wunused-variable] 2422 | unsigned long st_ticks=0; | ^~~~~~~~ -arj_proc.c: In function 'unstore': -arj_proc.c:2670:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] - 2670 | fetch=dec_text; - | ^ -arj_file.c: In function 'display_indicator': arj_arcv.c: In function 'unpack_file_proc': arj_arcv.c:2819:12: warning: unused variable 'raw_eh' [-Wunused-variable] 2819 | char FAR *raw_eh; | ^~~~~~ +In file included from arj.h:13, + from arj_arcv.c:9: +arj_arcv.c: In function 'arjdisp_scrn': +environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 936 | #define system_cmd(cmd) system(cmd) + | ^~~~~~~~~~~ +arj_arcv.c:1127:4: note: in expansion of macro 'system_cmd' + 1127 | system_cmd(cmd_buf); + | ^~~~~~~~~~ +arj_arcv.c: At top level: +arj_arcv.c:27:14: warning: 'tmp_comment' defined but not used [-Wunused-variable] + 27 | static char *tmp_comment=NULL; /* Temporary comment storage */ + | ^~~~~~~~~~~ +misc.c:26:12: warning: 'xwild_propagate' declared 'static' but never defined [-Wunused-function] + 26 | static int xwild_propagate(char *wcstr, char *str); + | ^~~~~~~~~~~~~~~ +misc.c:22:13: warning: 'xwild_symbols' defined but not used [-Wunused-variable] + 22 | static char xwild_symbols[]="?*[]^"; + | ^~~~~~~~~~~~~ +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arjtypes.o arjtypes.c +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/exe_sear.o exe_sear.c +arjsfx.c: In function 'final_cleanup': +arjsfx.c:214:3: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] + 214 | freopen(dev_con, m_w, stdout); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from arj.h:13, + from arjsfx.c:11: +arjsfx.c: In function 'exec_command': +environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 936 | #define system_cmd(cmd) system(cmd) + | ^~~~~~~~~~~ +arjsfx.c:273:3: note: in expansion of macro 'system_cmd' + 273 | system_cmd(cmd); + | ^~~~~~~~~~ +environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 936 | #define system_cmd(cmd) system(cmd) + | ^~~~~~~~~~~ +arjsfx.c:281:3: note: in expansion of macro 'system_cmd' + 281 | system_cmd(cmd); + | ^~~~~~~~~~ +arj_file.c: In function 'display_indicator': arj_file.c:827:23: warning: unused variable 'ind_sizes' [-Wunused-variable] 827 | static unsigned char ind_sizes[]={5, 0, 11, 5, 8, 11, 11}; | ^~~~~~~~~ @@ -1746,22 +1786,33 @@ arj_file.c:23:13: warning: 'reply_help' defined but not used [-Wunused-variable] 23 | static char reply_help[]="?"; /* Request for help */ | ^~~~~~~~~~ -In file included from arj.h:13, - from arj_arcv.c:9: -arj_arcv.c: In function 'arjdisp_scrn': -environ.h:936:26: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 936 | #define system_cmd(cmd) system(cmd) - | ^~~~~~~~~~~ -arj_arcv.c:1127:4: note: in expansion of macro 'system_cmd' - 1127 | system_cmd(cmd_buf); - | ^~~~~~~~~~ -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/exe_sear.o exe_sear.c -arj_arcv.c: At top level: -arj_arcv.c:27:14: warning: 'tmp_comment' defined but not used [-Wunused-variable] - 27 | static char *tmp_comment=NULL; /* Temporary comment storage */ - | ^~~~~~~~~~~ gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/chk_fmsg.o chk_fmsg.c gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arjsec_h.o arjsec_h.c +arj_proc.c: In function 'stoul': +arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] + 1155 | *rp++; + | ^~~~~ +arj_proc.c:1160:3: warning: value computed is not used [-Wunused-value] + 1160 | *rp++; + | ^~~~~ +arj_proc.c:1165:3: warning: value computed is not used [-Wunused-value] + 1165 | *rp++; + | ^~~~~ +arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] + 1170 | *rp++; + | ^~~~~ +arj_proc.c: In function 'unstore': +arj_proc.c:2670:8: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] + 2670 | fetch=dec_text; + | ^ +arj_arcv.c: In function 'read_header': +arj_arcv.c:422:3: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] + 422 | strncpy(comment, hdr_comment, COMMENT_MAX); + | ^ +arj_arcv.c:422:3: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] +arj_arcv.c:430:4: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] + 430 | strncpy(filename, hdr_comment, FILENAME_MAX); + | ^ arjtypes.c: In function 'mk_unixtime': arjtypes.c:158:9: warning: unused variable 'tt' [-Wunused-variable] 158 | time_t tt, ts; @@ -1769,19 +1820,29 @@ arjtypes.c:152:18: warning: unused variable 'v' [-Wunused-variable] 152 | unsigned int i, v; | ^ +exe_sear.c: In function 'get_exe_size': +exe_sear.c:112:17: warning: variable 'cur_pos' set but not used [-Wunused-but-set-variable] + 112 | unsigned long cur_pos; + | ^~~~~~~ gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/arjsec_l.o arjsec_l.c +exe_sear.c:123:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 123 | fread(&ehdr, 1, sizeof(ehdr), stream); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +exe_sear.c:132:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 132 | fread(&shdr, 1, sizeof(shdr), stream); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/garble.o garble.c +gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/externs.o externs.c environ.c: In function 'file_getcwd': environ.c:2183:2: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2183 | getcwd(buf, len); | ^~~~~~~~~~~~~~~~ +gcc -DSFL=1 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/sfx_id.o sfx_id.c environ.c: In function 'file_chdir': -exe_sear.c: In function 'get_exe_size': environ.c:3890:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 3890 | chdir(dir); | ^~~~~~~~~~ -exe_sear.c:112:17: warning: variable 'cur_pos' set but not used [-Wunused-but-set-variable] - 112 | unsigned long cur_pos; - | ^~~~~~~ +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/fmsg_sfj.o linux-gnu/en/rs/fmsg_sfj.c environ.c: At top level: environ.c:250:14: warning: 'drive_c' defined but not used [-Wunused-variable] 250 | static char drive_c[]="C:"; /* Although it's incorrect... */ @@ -1789,31 +1850,9 @@ environ.c:244:14: warning: 'attrib_buf' defined but not used [-Wunused-variable] 244 | static char attrib_buf[]="---W"; /* ASHR if all set */ | ^~~~~~~~~~ -exe_sear.c:123:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 123 | fread(&ehdr, 1, sizeof(ehdr), stream); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -exe_sear.c:132:4: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 132 | fread(&shdr, 1, sizeof(shdr), stream); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/garble.o garble.c -gcc -DSFL=2 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfx/externs.o externs.c -gcc -DSFL=1 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/sfx_id.o sfx_id.c -arj_proc.c: In function 'append_curtime_proc': -arj_proc.c:204:3: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] - 204 | strncpy(ext, ext_pos, sizeof(ext)); - | ^ -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/fmsg_sfj.o linux-gnu/en/rs/fmsg_sfj.c sfx_id.c:8:13: warning: 'sfx_id' defined but not used [-Wunused-variable] 8 | static char sfx_id[]="zyxwbaaRJsfXaRJsfX"; | ^~~~~~ -arj_arcv.c: In function 'read_header': -arj_arcv.c:422:3: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] - 422 | strncpy(comment, hdr_comment, COMMENT_MAX); - | ^ -arj_arcv.c:422:3: warning: '__builtin_strncpy' specified bound 2048 equals destination size [-Wstringop-truncation] -arj_arcv.c:430:4: warning: '__builtin_strncpy' specified bound 512 equals destination size [-Wstringop-truncation] - 430 | strncpy(filename, hdr_comment, FILENAME_MAX); - | ^ gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/nmsg_sfj.o linux-gnu/en/rs/nmsg_sfj.c gcc -DSFL=1 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/arjsfxjr.o arjsfxjr.c gcc -DSFL=1 -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjsfxjr/debug.o debug.c @@ -1822,6 +1861,12 @@ gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/integr.o integr.c gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/gost.o gost.c gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/gost_t.o gost_t.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/nmsg_crp.o linux-gnu/en/rs/nmsg_crp.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/arjcrypt.o arjcrypt.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/integr.o integr.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/filemode.o filemode.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/fmsg_rej.o linux-gnu/en/rs/fmsg_rej.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/nmsg_rej.o linux-gnu/en/rs/nmsg_rej.c arjsfxjr.c: In function 'unstore': arjsfxjr.c:482:14: warning: pointer targets in passing argument 1 of 'fwrite_crc' differ in signedness [-Wpointer-sign] 482 | fwrite_crc(dec_text, fetch_size); @@ -1853,6 +1898,7 @@ | ^~~~~~~~ | | | unsigned char * +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/file_reg.o file_reg.c arjsfxjr.c:367:30: note: expected 'char *' but argument is of type 'unsigned char *' 367 | static void fwrite_crc(char *buffer, int count) | ~~~~~~^~~~~~ @@ -1875,17 +1921,11 @@ arjsfxjr.c:146:2: note: in expansion of macro '_write' 146 | _write(1, &s_crlf, 2); | ^~~~~~ -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/nmsg_crp.o linux-gnu/en/rs/nmsg_crp.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fPIC -olinux-gnu/en/rs/arjcrypt/arjcrypt.o arjcrypt.c -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/integr.o integr.c -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/filemode.o filemode.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/fmsg_rej.o linux-gnu/en/rs/fmsg_rej.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/nmsg_rej.o linux-gnu/en/rs/nmsg_rej.c -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/file_reg.o file_reg.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/rearj.o rearj.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/fardata.o fardata.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arj_file.o arj_file.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/crc32.o crc32.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/misc.o misc.c arjcrypt.c: In function 'entry': arjcrypt.c:392:34: warning: pointer targets in passing argument 1 of 'gost_encode' differ in signedness [-Wpointer-sign] 392 | codec(gost_encode, exblock_ptr->data, exblock_ptr->len); @@ -1957,10 +1997,37 @@ arjcrypt.c:31:13: warning: 'id' defined but not used [-Wunused-variable] 31 | static char id[]="NortheastXXXXXXXX"; /* Currently unused */ | ^~ -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/misc.o misc.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/debug.o debug.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arj_proc.o arj_proc.c +file_reg.c: In function 'hot_reg': +file_reg.c:57:17: warning: pointer targets in passing argument 1 of 'alltrim' differ in signedness [-Wpointer-sign] + 57 | alltrim(regdata+REG_KEY1_SHIFT); +In file included from arj.h:34, + from file_reg.c:8: +arj_proc.h:58:20: note: expected 'char *' but argument is of type 'unsigned char *' + 58 | void alltrim(char *cmd); + | ~~~~~~^~~ +file_reg.c: In function 'parse_reg_key': +file_reg.c:64:8: warning: unused variable 'nptr' [-Wunused-variable] + 64 | char *nptr; + | ^~~~ gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/environ.o environ.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arjtypes.o arjtypes.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/filelist.o filelist.c +arj_file.c:56:12: warning: 'display_block' declared 'static' but never defined [-Wunused-function] + 56 | static int display_block(char *str, int len); + | ^~~~~~~~~~~~~ +arj_file.c:57:12: warning: 'block_op' declared 'static' but never defined [-Wunused-function] + 57 | static int block_op(int action, char *block, int len); + | ^~~~~~~~ +arj_file.c:51:13: warning: 'sfmt_sfx' defined but not used [-Wunused-variable] + 51 | static char sfmt_sfx[]="%4d%%\b\b\b\b\b"; + | ^~~~~~~~ +arj_file.c:23:13: warning: 'reply_help' defined but not used [-Wunused-variable] + 23 | static char reply_help[]="?"; /* Request for help */ + | ^~~~~~~~~~ +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/scrnio.o scrnio.c +gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arjsec_h.o arjsec_h.c rearj.c: In function 'main': rearj.c:1362:38: warning: pointer targets in passing argument 1 of 'reg_validation' differ in signedness [-Wpointer-sign] 1362 | is_registered=reg_validation(regdata+REG_KEY1_SHIFT, regdata+REG_KEY2_SHIFT, regdata+REG_NAME_SHIFT, regdata+REG_HDR_SHIFT); @@ -1989,50 +2056,6 @@ file_reg.h:11:62: note: expected 'char *' but argument is of type 'unsigned char *' 11 | int reg_validation(char *key1, char *key2, char *name, char *validation); | ~~~~~~^~~~~~~~~~ -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arjtypes.o arjtypes.c -file_reg.c: In function 'hot_reg': -file_reg.c:57:17: warning: pointer targets in passing argument 1 of 'alltrim' differ in signedness [-Wpointer-sign] - 57 | alltrim(regdata+REG_KEY1_SHIFT); -In file included from arj.h:34, - from file_reg.c:8: -arj_proc.h:58:20: note: expected 'char *' but argument is of type 'unsigned char *' - 58 | void alltrim(char *cmd); - | ~~~~~~^~~ -file_reg.c: In function 'parse_reg_key': -file_reg.c:64:8: warning: unused variable 'nptr' [-Wunused-variable] - 64 | char *nptr; - | ^~~~ -rearj.c: At top level: -rearj.c:108:12: warning: 'exclusion_assigned' defined but not used [-Wunused-variable] - 108 | static int exclusion_assigned; /* Never used but implemented (/x) */ - | ^~~~~~~~~~~~~~~~~~ -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/filelist.o filelist.c -arj_file.c:56:12: warning: 'display_block' declared 'static' but never defined [-Wunused-function] - 56 | static int display_block(char *str, int len); - | ^~~~~~~~~~~~~ -arj_file.c:57:12: warning: 'block_op' declared 'static' but never defined [-Wunused-function] - 57 | static int block_op(int action, char *block, int len); - | ^~~~~~~~ -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/scrnio.o scrnio.c -arj_file.c:51:13: warning: 'sfmt_sfx' defined but not used [-Wunused-variable] - 51 | static char sfmt_sfx[]="%4d%%\b\b\b\b\b"; - | ^~~~~~~~ -arj_file.c:23:13: warning: 'reply_help' defined but not used [-Wunused-variable] - 23 | static char reply_help[]="?"; /* Request for help */ - | ^~~~~~~~~~ -arj_proc.c: In function 'stoul': -arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] - 1155 | *rp++; - | ^~~~~ -arj_proc.c:1160:3: warning: value computed is not used [-Wunused-value] - 1160 | *rp++; - | ^~~~~ -arj_proc.c:1165:3: warning: value computed is not used [-Wunused-value] - 1165 | *rp++; - | ^~~~~ -arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] - 1170 | *rp++; - | ^~~~~ misc.c: In function 'strupper': misc.c:480:15: warning: pointer targets in passing argument 1 of 'toupper_loc' differ in signedness [-Wpointer-sign] 480 | toupper_loc(s, strlen(s)); @@ -2044,7 +2067,6 @@ environ.h:900:33: note: expected 'unsigned char *' but argument is of type 'char *' 900 | void toupper_loc(unsigned char *ptr, int length); | ~~~~~~~~~~~~~~~^~~ -gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arjsec_h.o arjsec_h.c misc.c: At top level: misc.c:26:12: warning: 'xwild_propagate' declared 'static' but never defined [-Wunused-function] 26 | static int xwild_propagate(char *wcstr, char *str); @@ -2052,8 +2074,28 @@ misc.c:22:13: warning: 'xwild_symbols' defined but not used [-Wunused-variable] 22 | static char xwild_symbols[]="?*[]^"; | ^~~~~~~~~~~~~ +arj_proc.c: In function 'stoul': +arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] + 1155 | *rp++; + | ^~~~~ +arj_proc.c:1160:3: warning: value computed is not used [-Wunused-value] + 1160 | *rp++; + | ^~~~~ +arj_proc.c:1165:3: warning: value computed is not used [-Wunused-value] + 1165 | *rp++; + | ^~~~~ +arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] + 1170 | *rp++; + | ^~~~~ +rearj.c: At top level: +rearj.c:108:12: warning: 'exclusion_assigned' defined but not used [-Wunused-variable] + 108 | static int exclusion_assigned; /* Never used but implemented (/x) */ + | ^~~~~~~~~~~~~~~~~~ gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/arjsec_l.o arjsec_l.c gcc -DREARJ -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/rearj/externs.o externs.c +gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/filemode.o filemode.c +gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/integr.o integr.c +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/fmsg_reg.o linux-gnu/en/rs/fmsg_reg.c arjtypes.c: In function 'mk_unixtime': arjtypes.c:158:9: warning: unused variable 'tt' [-Wunused-variable] 158 | time_t tt, ts; @@ -2061,6 +2103,16 @@ arjtypes.c:152:18: warning: unused variable 'v' [-Wunused-variable] 152 | unsigned int i, v; | ^ +gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/nmsg_reg.o linux-gnu/en/rs/nmsg_reg.c +environ.c: In function 'exec_pgm': +environ.c:2859:9: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] + 2859 | rc=waitpid(pid, &status, 0); + | ^~~~~~~ +environ.c: At top level: +environ.c:250:14: warning: 'drive_c' defined but not used [-Wunused-variable] + 250 | static char drive_c[]="C:"; /* Although it's incorrect... */ + | ^~~~~~~ +gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/register.o register.c In function 'fget_dword', inlined from 'read_header' at arjsfxjr.c:441:17: arjsfxjr.c:266:24: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'char[4]' [-Warray-bounds] @@ -2073,9 +2125,8 @@ arjsfxjr.c:286:7: note: object 'b' of size 4 286 | char b[4]; | ^ -gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/filemode.o filemode.c -gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/integr.o integr.c -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/fmsg_reg.o linux-gnu/en/rs/fmsg_reg.c +gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/fardata.o fardata.c +gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/crc32.o crc32.c arjsfxjr.c: In function 'fget_dword': arjsfxjr.c:266:24: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'char[4]' [-Warray-bounds] 266 | #define mget_dword(p) (*(unsigned long *)(p)) @@ -2086,18 +2137,6 @@ arjsfxjr.c:286:7: note: object 'b' of size 4 286 | char b[4]; | ^ -gcc -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/nmsg_reg.o linux-gnu/en/rs/nmsg_reg.c -environ.c: In function 'exec_pgm': -gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/register.o register.c -environ.c:2859:9: warning: implicit declaration of function 'waitpid' [-Wimplicit-function-declaration] - 2859 | rc=waitpid(pid, &status, 0); - | ^~~~~~~ -gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/fardata.o fardata.c -environ.c: At top level: -environ.c:250:14: warning: 'drive_c' defined but not used [-Wunused-variable] - 250 | static char drive_c[]="C:"; /* Although it's incorrect... */ - | ^~~~~~~ -gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/crc32.o crc32.c gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/debug.o debug.c gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/arj_proc.o arj_proc.c gcc -DREGISTER -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/register/environ.o environ.c @@ -2105,6 +2144,13 @@ gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/arjdisp.o arjdisp.c gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/fardata.o fardata.c gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/debug.o debug.c +gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/arj_proc.o arj_proc.c +arjdisp.c: In function 'main': +arjdisp.c:193:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 193 | system("arj t arj*" EXE_EXTENSION " -hep -*"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/environ.o environ.c +gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/scrnio.o scrnio.c arj_proc.c: In function 'stoul': arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] 1155 | *rp++; @@ -2118,16 +2164,8 @@ arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] 1170 | *rp++; | ^~~~~ -gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/arj_proc.o arj_proc.c -gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/environ.o environ.c -gcc -DARJDISP -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/arjdisp/scrnio.o scrnio.c gcc -DARJUTIL -c -Ilinux-gnu -I./linux-gnu/en/rs -I. -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -olinux-gnu/en/rs/tools/packager.o packager.c gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/join ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/join.o -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/postproc ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/postproc.o ./linux-gnu/en/rs/tools/crc32.o -arjdisp.c: In function 'main': -arjdisp.c:193:4: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 193 | system("arj t arj*" EXE_EXTENSION " -hep -*"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arj_proc.c: In function 'stoul': arj_proc.c:1155:3: warning: value computed is not used [-Wunused-value] 1155 | *rp++; @@ -2141,15 +2179,11 @@ arj_proc.c:1170:3: warning: value computed is not used [-Wunused-value] 1170 | *rp++; | ^~~~~ -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/sfxstub/sfxstub ./linux-gnu/en/rs/sfxstub/nmsg_stb.o ./linux-gnu/en/rs/sfxstub/sfxstub.o -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfxv/arjsfxv ./linux-gnu/en/rs/arjsfxv/sfx_id.o ./linux-gnu/en/rs/arjsfxv/filemode.o ./linux-gnu/en/rs/arjsfxv/fmsg_sfv.o ./linux-gnu/en/rs/arjsfxv/imsg_sfv.o ./linux-gnu/en/rs/arjsfxv/nmsg_sfv.o ./linux-gnu/en/rs/arjsfxv/decode.o ./linux-gnu/en/rs/arjsfxv/arjsfx.o ./linux-gnu/en/rs/arjsfxv/fardata.o ./linux-gnu/en/rs/arjsfxv/arj_user.o ./linux-gnu/en/rs/arjsfxv/arj_arcv.o ./linux-gnu/en/rs/arjsfxv/arj_file.o ./linux-gnu/en/rs/arjsfxv/crc32.o ./linux-gnu/en/rs/arjsfxv/misc.o ./linux-gnu/en/rs/arjsfxv/debug.o ./linux-gnu/en/rs/arjsfxv/arj_proc.o ./linux-gnu/en/rs/arjsfxv/environ.o ./linux-gnu/en/rs/arjsfxv/ea_mgr.o ./linux-gnu/en/rs/arjsfxv/ntstream.o ./linux-gnu/en/rs/arjsfxv/uxspec.o ./linux-gnu/en/rs/arjsfxv/ext_hdr.o ./linux-gnu/en/rs/arjsfxv/arjtypes.o ./linux-gnu/en/rs/arjsfxv/exe_sear.o ./linux-gnu/en/rs/arjsfxv/chk_fmsg.o ./linux-gnu/en/rs/arjsfxv/filelist.o ./linux-gnu/en/rs/arjsfxv/arjsec_h.o ./linux-gnu/en/rs/arjsfxv/arjsec_l.o ./linux-gnu/en/rs/arjsfxv/garble.o ./linux-gnu/en/rs/arjsfxv/scrnio.o ./linux-gnu/en/rs/arjsfxv/ansi.o ./linux-gnu/en/rs/arjsfxv/externs.o -ldl -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfx/arjsfx ./linux-gnu/en/rs/arjsfx/sfx_id.o ./linux-gnu/en/rs/arjsfx/filemode.o ./linux-gnu/en/rs/arjsfx/fmsg_sfx.o ./linux-gnu/en/rs/arjsfx/imsg_sfx.o ./linux-gnu/en/rs/arjsfx/nmsg_sfx.o ./linux-gnu/en/rs/arjsfx/decode.o ./linux-gnu/en/rs/arjsfx/arjsfx.o ./linux-gnu/en/rs/arjsfx/fardata.o ./linux-gnu/en/rs/arjsfx/arj_user.o ./linux-gnu/en/rs/arjsfx/arj_arcv.o ./linux-gnu/en/rs/arjsfx/arj_file.o ./linux-gnu/en/rs/arjsfx/crc32.o ./linux-gnu/en/rs/arjsfx/misc.o ./linux-gnu/en/rs/arjsfx/debug.o ./linux-gnu/en/rs/arjsfx/arj_proc.o ./linux-gnu/en/rs/arjsfx/environ.o ./linux-gnu/en/rs/arjsfx/arjtypes.o ./linux-gnu/en/rs/arjsfx/exe_sear.o ./linux-gnu/en/rs/arjsfx/chk_fmsg.o ./linux-gnu/en/rs/arjsfx/arjsec_h.o ./linux-gnu/en/rs/arjsfx/arjsec_l.o ./linux-gnu/en/rs/arjsfx/garble.o ./linux-gnu/en/rs/arjsfx/externs.o -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -shared -fPIC -o linux-gnu/en/rs/arjcrypt/arjcrypt.so ./linux-gnu/en/rs/arjcrypt/integr.o ./linux-gnu/en/rs/arjcrypt/gost.o ./linux-gnu/en/rs/arjcrypt/gost_t.o ./linux-gnu/en/rs/arjcrypt/nmsg_crp.o ./linux-gnu/en/rs/arjcrypt/arjcrypt.o +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/postproc ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/postproc.o ./linux-gnu/en/rs/tools/crc32.o packager.c: In function 'package_txt': packager.c:135:8: warning: unused variable 'p' [-Wunused-variable] 135 | char *p; | ^ -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/register/arj-register ./linux-gnu/en/rs/register/filemode.o ./linux-gnu/en/rs/register/integr.o ./linux-gnu/en/rs/register/fmsg_reg.o ./linux-gnu/en/rs/register/nmsg_reg.o ./linux-gnu/en/rs/register/register.o ./linux-gnu/en/rs/register/fardata.o ./linux-gnu/en/rs/register/crc32.o ./linux-gnu/en/rs/register/debug.o ./linux-gnu/en/rs/register/arj_proc.o ./linux-gnu/en/rs/register/environ.o packager.c: In function 'main': packager.c:330:20: warning: unused variable 'ppath' [-Wunused-variable] 330 | char *p, *pname, *ppath; @@ -2164,74 +2198,48 @@ packager.c:34:13: warning: 'l_nullstr' defined but not used [-Wunused-variable] 34 | static char l_nullstr[]=""; | ^~~~~~~~~ -In function 'fget_dword', - inlined from 'find_sfx_header' at arjsfxjr.c:416:29, - inlined from 'process_archive' at arjsfxjr.c:686:2, - inlined from 'main' at arjsfxjr.c:766:2: -arjsfxjr.c:266:24: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'char[4]' [-Warray-bounds] - 266 | #define mget_dword(p) (*(unsigned long *)(p)) - | ~^~~~~~~~~~~~~~~~~~~~~~ -arjsfxjr.c:293:9: note: in expansion of macro 'mget_dword' - 293 | return mget_dword(b); - | ^~~~~~~~~~ -arjsfxjr.c: In function 'main': -arjsfxjr.c:286:7: note: object 'b' of size 4 - 286 | char b[4]; - | ^ -rearj.c: In function 'main': -rearj.c:663:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] - 663 | sprintf(cmd_buffer, "%s %s", preunpack_cmd_text, full_name); - | ^~ ~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from rearj.c:8: -In function 'sprintf', - inlined from 'convert_archive' at rearj.c:663:3, - inlined from 'main' at rearj.c:1575:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 400 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rearj.c: In function 'main': +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/sfxstub/sfxstub ./linux-gnu/en/rs/sfxstub/nmsg_stb.o ./linux-gnu/en/rs/sfxstub/sfxstub.o +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfxv/arjsfxv ./linux-gnu/en/rs/arjsfxv/sfx_id.o ./linux-gnu/en/rs/arjsfxv/filemode.o ./linux-gnu/en/rs/arjsfxv/fmsg_sfv.o ./linux-gnu/en/rs/arjsfxv/imsg_sfv.o ./linux-gnu/en/rs/arjsfxv/nmsg_sfv.o ./linux-gnu/en/rs/arjsfxv/decode.o ./linux-gnu/en/rs/arjsfxv/arjsfx.o ./linux-gnu/en/rs/arjsfxv/fardata.o ./linux-gnu/en/rs/arjsfxv/arj_user.o ./linux-gnu/en/rs/arjsfxv/arj_arcv.o ./linux-gnu/en/rs/arjsfxv/arj_file.o ./linux-gnu/en/rs/arjsfxv/crc32.o ./linux-gnu/en/rs/arjsfxv/misc.o ./linux-gnu/en/rs/arjsfxv/debug.o ./linux-gnu/en/rs/arjsfxv/arj_proc.o ./linux-gnu/en/rs/arjsfxv/environ.o ./linux-gnu/en/rs/arjsfxv/ea_mgr.o ./linux-gnu/en/rs/arjsfxv/ntstream.o ./linux-gnu/en/rs/arjsfxv/uxspec.o ./linux-gnu/en/rs/arjsfxv/ext_hdr.o ./linux-gnu/en/rs/arjsfxv/arjtypes.o ./linux-gnu/en/rs/arjsfxv/exe_sear.o ./linux-gnu/en/rs/arjsfxv/chk_fmsg.o ./linux-gnu/en/rs/arjsfxv/filelist.o ./linux-gnu/en/rs/arjsfxv/arjsec_h.o ./linux-gnu/en/rs/arjsfxv/arjsec_l.o ./linux-gnu/en/rs/arjsfxv/garble.o ./linux-gnu/en/rs/arjsfxv/scrnio.o ./linux-gnu/en/rs/arjsfxv/ansi.o ./linux-gnu/en/rs/arjsfxv/externs.o -ldl +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfx/arjsfx ./linux-gnu/en/rs/arjsfx/sfx_id.o ./linux-gnu/en/rs/arjsfx/filemode.o ./linux-gnu/en/rs/arjsfx/fmsg_sfx.o ./linux-gnu/en/rs/arjsfx/imsg_sfx.o ./linux-gnu/en/rs/arjsfx/nmsg_sfx.o ./linux-gnu/en/rs/arjsfx/decode.o ./linux-gnu/en/rs/arjsfx/arjsfx.o ./linux-gnu/en/rs/arjsfx/fardata.o ./linux-gnu/en/rs/arjsfx/arj_user.o ./linux-gnu/en/rs/arjsfx/arj_arcv.o ./linux-gnu/en/rs/arjsfx/arj_file.o ./linux-gnu/en/rs/arjsfx/crc32.o ./linux-gnu/en/rs/arjsfx/misc.o ./linux-gnu/en/rs/arjsfx/debug.o ./linux-gnu/en/rs/arjsfx/arj_proc.o ./linux-gnu/en/rs/arjsfx/environ.o ./linux-gnu/en/rs/arjsfx/arjtypes.o ./linux-gnu/en/rs/arjsfx/exe_sear.o ./linux-gnu/en/rs/arjsfx/chk_fmsg.o ./linux-gnu/en/rs/arjsfx/arjsec_h.o ./linux-gnu/en/rs/arjsfx/arjsec_l.o ./linux-gnu/en/rs/arjsfx/garble.o ./linux-gnu/en/rs/arjsfx/externs.o +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -shared -fPIC -o linux-gnu/en/rs/arjcrypt/arjcrypt.so ./linux-gnu/en/rs/arjcrypt/integr.o ./linux-gnu/en/rs/arjcrypt/gost.o ./linux-gnu/en/rs/arjcrypt/gost_t.o ./linux-gnu/en/rs/arjcrypt/nmsg_crp.o ./linux-gnu/en/rs/arjcrypt/arjcrypt.o +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/register/arj-register ./linux-gnu/en/rs/register/filemode.o ./linux-gnu/en/rs/register/integr.o ./linux-gnu/en/rs/register/fmsg_reg.o ./linux-gnu/en/rs/register/nmsg_reg.o ./linux-gnu/en/rs/register/register.o ./linux-gnu/en/rs/register/fardata.o ./linux-gnu/en/rs/register/crc32.o ./linux-gnu/en/rs/register/debug.o ./linux-gnu/en/rs/register/arj_proc.o ./linux-gnu/en/rs/register/environ.o strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/sfxstub/sfxstub -rearj.c:690:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] - 690 | sprintf(cmd_buffer, "%s %s", precount_cmd_text, full_name); - | ^~ ~~~~~~~~~ -In function 'sprintf', - inlined from 'convert_archive' at rearj.c:690:3, - inlined from 'main' at rearj.c:1575:11: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 400 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ +strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/register/arj-register ./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/sfxstub/sfxstub -sfx +strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjcrypt/arjcrypt.so +./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/register/arj-register -sfx POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! -strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/register/arj-register -./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/register/arj-register -sfx POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! -strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjcrypt/arjcrypt.so ./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjcrypt/arjcrypt.so -strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjsfxv/arjsfxv POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! Done +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjdisp/arjdisp ./linux-gnu/en/rs/arjdisp/nmsg_adi.o ./linux-gnu/en/rs/arjdisp/arjdisp.o ./linux-gnu/en/rs/arjdisp/fardata.o ./linux-gnu/en/rs/arjdisp/debug.o ./linux-gnu/en/rs/arjdisp/arj_proc.o ./linux-gnu/en/rs/arjdisp/environ.o ./linux-gnu/en/rs/arjdisp/scrnio.o strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjsfx/arjsfx -./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjsfxv/arjsfxv -sfx +./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjsfx/arjsfx -sfx POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! -./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjsfx/arjsfx -sfx +strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjsfxv/arjsfxv +./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjsfxv/arjsfxv -sfx POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjdisp/arjdisp ./linux-gnu/en/rs/arjdisp/nmsg_adi.o ./linux-gnu/en/rs/arjdisp/arjdisp.o ./linux-gnu/en/rs/arjdisp/fardata.o ./linux-gnu/en/rs/arjdisp/debug.o ./linux-gnu/en/rs/arjdisp/arj_proc.o ./linux-gnu/en/rs/arjdisp/environ.o ./linux-gnu/en/rs/arjdisp/scrnio.o +In function 'fget_dword', + inlined from 'find_sfx_header' at arjsfxjr.c:416:29, + inlined from 'process_archive' at arjsfxjr.c:686:2, + inlined from 'main' at arjsfxjr.c:766:2: +arjsfxjr.c:266:24: warning: array subscript 'long unsigned int[0]' is partly outside array bounds of 'char[4]' [-Warray-bounds] + 266 | #define mget_dword(p) (*(unsigned long *)(p)) + | ~^~~~~~~~~~~~~~~~~~~~~~ +arjsfxjr.c:293:9: note: in expansion of macro 'mget_dword' + 293 | return mget_dword(b); + | ^~~~~~~~~~ +arjsfxjr.c: In function 'main': +arjsfxjr.c:286:7: note: object 'b' of size 4 + 286 | char b[4]; + | ^ packager.c: In function 'main': -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfxjr/arjsfxjr ./linux-gnu/en/rs/arjsfxjr/sfx_id.o ./linux-gnu/en/rs/arjsfxjr/fmsg_sfj.o ./linux-gnu/en/rs/arjsfxjr/nmsg_sfj.o ./linux-gnu/en/rs/arjsfxjr/arjsfxjr.o ./linux-gnu/en/rs/arjsfxjr/debug.o ./linux-gnu/en/rs/arjsfxjr/crc32.o ./linux-gnu/en/rs/arjsfxjr/environ.o packager.c:199:26: warning: '%s' directive writing up to 127 bytes into a region of size 122 [-Wformat-overflow=] 199 | sprintf(out_str, "@{c40}%s@{_}\n", tmp_str); | ^~ ~~~~~~~ @@ -2278,12 +2286,43 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjsfxjr/arjsfxjr strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjdisp/arjdisp +rearj.c: In function 'main': +rearj.c:663:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] + 663 | sprintf(cmd_buffer, "%s %s", preunpack_cmd_text, full_name); + | ^~ ~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from rearj.c:8: +In function 'sprintf', + inlined from 'convert_archive' at rearj.c:663:3, + inlined from 'main' at rearj.c:1575:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 400 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +rearj.c: In function 'main': +rearj.c:690:27: warning: '%s' directive writing up to 511 bytes into a region of size 399 [-Wformat-overflow=] + 690 | sprintf(cmd_buffer, "%s %s", precount_cmd_text, full_name); + | ^~ ~~~~~~~~~ +In function 'sprintf', + inlined from 'convert_archive' at rearj.c:690:3, + inlined from 'main' at rearj.c:1575:11: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 513) into a destination of size 400 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/packager ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/packager.o ./linux-gnu/en/rs/tools/arjdata.o +gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arjsfxjr/arjsfxjr ./linux-gnu/en/rs/arjsfxjr/sfx_id.o ./linux-gnu/en/rs/arjsfxjr/fmsg_sfj.o ./linux-gnu/en/rs/arjsfxjr/nmsg_sfj.o ./linux-gnu/en/rs/arjsfxjr/arjsfxjr.o ./linux-gnu/en/rs/arjsfxjr/debug.o ./linux-gnu/en/rs/arjsfxjr/crc32.o ./linux-gnu/en/rs/arjsfxjr/environ.o +strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arjsfxjr/arjsfxjr ./linux-gnu/en/rs/tools/postproc linux-gnu/en/rs/arjsfxjr/arjsfxjr -sfx POSTPROC v 1.30 [17/01/2003] Not a part of any binary package! -gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/tools/packager ./linux-gnu/en/rs/tools/filemode.o ./linux-gnu/en/rs/tools/packager.o ./linux-gnu/en/rs/tools/arjdata.o gcc -DLOCALE=LANG_en -DLOCALE_DESC="\"en\"" -DPKGLIBDIR="\"/usr/lib/x86_64-linux-gnu/arj\"" -D_UNIX -Wdate-time -D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -O2 -ffile-prefix-map=/build/arj-3.10.22=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wl,-z,now -o linux-gnu/en/rs/arj/arj ./linux-gnu/en/rs/arj/filemode.o ./linux-gnu/en/rs/arj/fmsg_arj.o ./linux-gnu/en/rs/arj/imsg_arj.o ./linux-gnu/en/rs/arj/nmsg_arj.o ./linux-gnu/en/rs/arj/integr.o ./linux-gnu/en/rs/arj/file_reg.o ./linux-gnu/en/rs/arj/decode.o ./linux-gnu/en/rs/arj/encode.o ./linux-gnu/en/rs/arj/arj.o ./linux-gnu/en/rs/arj/enc_gwy.o ./linux-gnu/en/rs/arj/fardata.o ./linux-gnu/en/rs/arj/arj_user.o ./linux-gnu/en/rs/arj/arj_arcv.o ./linux-gnu/en/rs/arj/arj_file.o ./linux-gnu/en/rs/arj/crc32.o ./linux-gnu/en/rs/arj/misc.o ./linux-gnu/en/rs/arj/debug.o ./linux-gnu/en/rs/arj/arj_proc.o ./linux-gnu/en/rs/arj/environ.o ./linux-gnu/en/rs/arj/ea_mgr.o ./linux-gnu/en/rs/arj/uxspec.o ./linux-gnu/en/rs/arj/ext_hdr.o ./linux-gnu/en/rs/arj/arjtypes.o ./linux-gnu/en/rs/arj/exe_sear.o ./linux-gnu/en/rs/arj/chk_fmsg.o ./linux-gnu/en/rs/arj/filelist.o ./linux-gnu/en/rs/arj/arjsec_h.o ./linux-gnu/en/rs/arj/arjsec_l.o ./linux-gnu/en/rs/arj/garble.o ./linux-gnu/en/rs/arj/scrnio.o ./linux-gnu/en/rs/arj/ansi.o ./linux-gnu/en/rs/arj/crc16tab.o ./linux-gnu/en/rs/arj/recovery.o ./linux-gnu/en/rs/arj/gost.o ./linux-gnu/en/rs/arj/gost40.o ./linux-gnu/en/rs/arj/gost_t.o ./linux-gnu/en/rs/arj/externs.o -ldl strip --strip-unneeded --remove-section=.comment --remove-section=.note linux-gnu/en/rs/arj/arj ./linux-gnu/en/rs/tools/join ./linux-gnu/en/rs/arj/arj ./linux-gnu/en/rs/arjsfxjr/arjsfxjr @@ -2334,7 +2373,7 @@ dh_prep dh_installdirs dh_auto_install --destdir=debian/arj/ - make -j16 install DESTDIR=/build/arj-3.10.22/debian/arj AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j15 install DESTDIR=/build/arj-3.10.22/debian/arj AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/arj-3.10.22' mkdir -p ./linux-gnu/en/rs mkdir -p ./linux-gnu/en/rs/tools @@ -2427,12 +2466,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/2912925/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2912925/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/3357897 and its subdirectories -I: Current time: Tue Jun 11 16:43:28 -12 2024 -I: pbuilder-time-stamp: 1718167408 +I: removing directory /srv/workspace/pbuilder/2912925 and its subdirectories +I: Current time: Thu May 11 12:21:14 +14 2023 +I: pbuilder-time-stamp: 1683757274