Diff of the two buildlogs: -- --- b1/build.log 2023-04-14 17:59:10.650385019 +0000 +++ b2/build.log 2023-04-14 18:00:22.003217642 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Fri Apr 14 05:56:19 -12 2023 -I: pbuilder-time-stamp: 1681494979 +I: Current time: Fri May 17 14:22:14 +14 2024 +I: pbuilder-time-stamp: 1715905334 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 [./gman_0.9.3.orig.tar.gz] I: copying [./gman_0.9.3-5.3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sat Dec 14 03:58:20 2019 -12 +gpgv: Signature made Sun Dec 15 05:58:20 2019 +14 gpgv: using RSA key 7E7729476D87D6F11D91ACCBC293E7B461825ACE gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./gman_0.9.3-5.3.dsc: no acceptable signature found @@ -34,135 +34,144 @@ dpkg-source: info: applying 0008-Makefile-Take-DESTDIR-into-consideration.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1088868/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/151197/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-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 +lrwxrwxrwx 1 root root 4 Jan 6 2023 /bin/sh -> dash +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/151197/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/151197/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' + 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' + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=16' DISTRIBUTION='bookworm' HOME='/root' HOST_ARCH='amd64' IFS=' ' - INVOCATION_ID='3fa63bbfc83645d69fbae42023a05092' + INVOCATION_ID='b45bdfdec6d94e1f8dc6e705bc72bcd9' LANG='C' - LANGUAGE='en_US:en' + LANGUAGE='et_EE:et' LC_ALL='C' MAIL='/var/mail/root' OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' + 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' - PPID='1088868' + PPID='151197' PS1='# ' PS2='> ' 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.aBLWWNZg/pbuilderrc_7uaA --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.aBLWWNZg/b1 --logfile b1/build.log gman_0.9.3-5.3.dsc' + 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.aBLWWNZg/pbuilderrc_fOzz --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.aBLWWNZg/b2 --logfile b2/build.log --extrapackages usrmerge gman_0.9.3-5.3.dsc' SUDO_GID='111' SUDO_UID='106' SUDO_USER='jenkins' TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' + TZ='/usr/share/zoneinfo/Etc/GMT-14' USER='root' _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97:3128' + http_proxy='http://85.184.249.68:3128' I: uname -a - Linux ionos11-amd64 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.12-1~bpo11+1 (2023-03-05) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Feb 12 08:05 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 01:20 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 22:02 dmesg - lrwxrwxrwx 1 root root 8 Dec 19 01:33 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Dec 19 01:33 domainname -> hostname - -rwxr-xr-x 1 root root 43856 Sep 20 2022 echo - -rwxr-xr-x 1 root root 41 Jan 24 02:43 egrep - -rwxr-xr-x 1 root root 35664 Sep 20 2022 false - -rwxr-xr-x 1 root root 41 Jan 24 02:43 fgrep - -rwxr-xr-x 1 root root 85600 Mar 22 22:02 findmnt - -rwsr-xr-x 1 root root 35128 Mar 22 20:35 fusermount - -rwxr-xr-x 1 root root 203152 Jan 24 02:43 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 01:33 hostname - -rwxr-xr-x 1 root root 72824 Sep 20 2022 ln - -rwxr-xr-x 1 root root 53024 Mar 23 00:40 login - -rwxr-xr-x 1 root root 151344 Sep 20 2022 ls - -rwxr-xr-x 1 root root 207168 Mar 22 22:02 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 22:02 more - -rwsr-xr-x 1 root root 59704 Mar 22 22:02 mount - -rwxr-xr-x 1 root root 18744 Mar 22 22:02 mountpoint - -rwxr-xr-x 1 root root 142968 Sep 20 2022 mv - lrwxrwxrwx 1 root root 8 Dec 19 01:33 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 2 18:25 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 43952 Sep 20 2022 pwd - lrwxrwxrwx 1 root root 4 Feb 12 08:05 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 04:31 run-parts - -rwxr-xr-x 1 root root 126424 Jan 5 07:55 sed - lrwxrwxrwx 1 root root 4 Jan 5 01:20 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 22:02 su - -rwxr-xr-x 1 root root 39824 Sep 20 2022 sync - -rwxr-xr-x 1 root root 531984 Apr 6 02:25 tar - -rwxr-xr-x 1 root root 14520 Nov 2 04:31 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 20:35 ulockmgr_server - -rwsr-xr-x 1 root root 35128 Mar 22 22:02 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 22:02 wdctl - lrwxrwxrwx 1 root root 8 Dec 19 01:33 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/1088868/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Feb 13 2023 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 2023 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 2023 dmesg + lrwxrwxrwx 1 root root 8 Dec 20 2022 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Dec 20 2022 domainname -> hostname + -rwxr-xr-x 1 root root 43856 Sep 21 2022 echo + -rwxr-xr-x 1 root root 41 Jan 25 2023 egrep + -rwxr-xr-x 1 root root 35664 Sep 21 2022 false + -rwxr-xr-x 1 root root 41 Jan 25 2023 fgrep + -rwxr-xr-x 1 root root 85600 Mar 24 2023 findmnt + -rwsr-xr-x 1 root root 35128 Mar 23 2023 fusermount + -rwxr-xr-x 1 root root 203152 Jan 25 2023 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 2022 hostname + -rwxr-xr-x 1 root root 72824 Sep 21 2022 ln + -rwxr-xr-x 1 root root 53024 Mar 24 2023 login + -rwxr-xr-x 1 root root 151344 Sep 21 2022 ls + -rwxr-xr-x 1 root root 207168 Mar 24 2023 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 2023 more + -rwsr-xr-x 1 root root 59704 Mar 24 2023 mount + -rwxr-xr-x 1 root root 18744 Mar 24 2023 mountpoint + -rwxr-xr-x 1 root root 142968 Sep 21 2022 mv + lrwxrwxrwx 1 root root 8 Dec 20 2022 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 3 2023 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 43952 Sep 21 2022 pwd + lrwxrwxrwx 1 root root 4 Feb 13 2023 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 2023 sed + lrwxrwxrwx 1 root root 4 Jan 6 2023 sh -> dash + -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 2023 su + -rwxr-xr-x 1 root root 39824 Sep 21 2022 sync + -rwxr-xr-x 1 root root 531984 Apr 7 2023 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 2023 ulockmgr_server + -rwsr-xr-x 1 root root 35128 Mar 24 2023 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 2023 wdctl + lrwxrwxrwx 1 root root 8 Dec 20 2022 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/151197/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -396,7 +405,7 @@ Get: 192 http://deb.debian.org/debian bookworm/main amd64 libxdamage-dev amd64 1:1.1.6-1 [15.0 kB] Get: 193 http://deb.debian.org/debian bookworm/main amd64 libxml2-utils amd64 2.9.14+dfsg-1.1+b3 [99.0 kB] Get: 194 http://deb.debian.org/debian bookworm/main amd64 libgtk2.0-dev amd64 2.24.33-2 [827 kB] -Fetched 83.8 MB in 4s (21.5 MB/s) +Fetched 83.8 MB in 1s (83.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:amd64. (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.) @@ -1193,8 +1202,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/gman-0.9.3/ && 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 > ../gman_0.9.3-5.3_source.changes +I: user script /srv/workspace/pbuilder/151197/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/151197/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/gman-0.9.3/ && 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 > ../gman_0.9.3-5.3_source.changes dpkg-buildpackage: info: source package gman dpkg-buildpackage: info: source version 0.9.3-5.3 dpkg-buildpackage: info: source distribution unstable @@ -1205,7 +1225,7 @@ debian/rules clean dh clean dh_auto_clean - make -j15 distclean + make -j16 distclean make[1]: Entering directory '/build/gman-0.9.3' rm -f menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o gman rm -f *.o *~ @@ -1217,11 +1237,13 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j15 "INSTALL=install --strip-program=true" + make -j16 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gman-0.9.3' g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o menu.o menu.c g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o mandata.o mandata.c g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o util.o util.c +g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o gman.o gman.c +g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o list.o list.c In file included from mandata.c:23: mandatadef.h:11:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 11 | {"1",1}, @@ -1283,109 +1305,63 @@ mandatadef.h:35:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 35 | {".Y",2}, | ^~~~ -g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o gman.o gman.c -mandata.c: In member function 'ManItem* ManPath::search_man_item(char*, char*)': -mandata.c:178:12: warning: the address of 'ManPath::section' will never be NULL [-Waddress] - 178 | if(section) { - | ^~~~~~~ -In file included from mandata.c:22: -mandata.h:18:17: note: 'ManPath::section' declared here - 18 | List * section[MAX_MAN_SECTION]; //1:2:3:4:5:6:7:8:9:tcl:n:l:p:o - | ^~~~~~~ -mandata.c:173:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] - 173 | int len; - | ^~~ -mandata.c: In member function 'void ManItem::active_man_page()': -mandata.c:242:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 242 | switch ((long)context->get_value("show_mode")) { - | ^~~~~~~~~~~ -mandata.c:245:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 245 | (char*)context->get_value("xterm_command"), - | ^~~~~~~~~~~~~~~ -mandata.c:265:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 265 | strcat(buffer,(char*)context->get_value("gv_command")); - | ^~~~~~~~~~~~ -mandata.c:285:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 285 | strcat(buffer,(char*)context->get_value("evince_command")); - | ^~~~~~~~~~~~~~~~ -mandata.c:337:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 337 | strcat(buffer,(char*)context->get_value("browser_command")); - | ^~~~~~~~~~~~~~~~~ -mandata.c:352:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 352 | sprintf(buffer,(char*)context->get_value("browser_command")); - | ^~~~~~~~~~~~~~~~~ -mandata.c:352:24: warning: format not a string literal and no format arguments [-Wformat-security] - 352 | sprintf(buffer,(char*)context->get_value("browser_command")); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -mandata.c:355:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 355 | strcat(buffer,(char*)context->get_value("cgi_host")); - | ^~~~~~~~~~ -mandata.c:356:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 356 | strcat(buffer,(char*)context->get_value("cgi_location")); - | ^~~~~~~~~~~~~~ -mandata.c:372:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 372 | if(context->get_value("show_warning")) - | ^~~~~~~~~~~~~~ -mandata.c:373:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 373 | g_print("unexpected \'show_mode\' : %ld ",(long)context->get_value("show_mode")); - | ^~~~~~~~~~~ -mandata.c:253:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 253 | system(buffer); - | ~~~~~~^~~~~~~~ -mandata.c:273:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 273 | system(buffer); - | ~~~~~~^~~~~~~~ -mandata.c:293:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 293 | system(buffer); - | ~~~~~~^~~~~~~~ -mandata.c:347:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 347 | system(buffer); - | ~~~~~~^~~~~~~~ -mandata.c:367:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] - 367 | system(buffer); - | ~~~~~~^~~~~~~~ -g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o list.o list.c -mandata.c:327:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 327 | sprintf(loc_name," ~/.gman.%s.html ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from mandata.c:4: -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void ManItem::active_man_page()' at mandata.c:327:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 16 and 215 bytes into a destination of size 200 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -mandata.c: In member function 'void ManItem::active_man_page()': -mandata.c:278:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 278 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void ManItem::active_man_page()' at mandata.c:278:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -mandata.c: In member function 'void ManItem::active_man_page()': -mandata.c:258:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] - 258 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'int sprintf(char*, const char*, ...)', - inlined from 'void ManItem::active_man_page()' at mandata.c:258:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o context.o context.c +util.c: In function 'int is_newer(char*, char*)': +util.c:65:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 65 | register int fa_stat; + | ^~~~~~~ +util.c:66:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 66 | register int fb_stat; + | ^~~~~~~ +util.c:67:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] + 67 | register int status = 0; + | ^~~~~~ +util.c: In function 'int system0(char*)': +util.c:122:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 122 | argv[0] = "sh"; + | ^~~~ +util.c:123:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 123 | argv[1] = "-c"; + | ^~~~ +util.c: In function 'void no_privileges()': +util.c:98:19: warning: ignoring return value of 'int setreuid(__uid_t, __uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 98 | setreuid(ruid, ruid); + | ~~~~~~~~^~~~~~~~~~~~ +util.c:99:19: warning: ignoring return value of 'int setregid(__gid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 99 | setregid(rgid, rgid); + | ~~~~~~~~^~~~~~~~~~~~ +util.c: In function 'FILE* my_popen(const char*, const char*)': +util.c:212:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 212 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:213:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 213 | setgid(rgid); + | ~~~~~~^~~~~~ +util.c:215:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 215 | setuid(euid); + | ~~~~~~^~~~~~ +util.c:216:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 216 | setgid(egid); + | ~~~~~~^~~~~~ +util.c: In function 'int my_system(char*)': +util.c:171:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 171 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:172:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 172 | setgid(rgid); + | ~~~~~~^~~~~~ +util.c:174:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 174 | setuid(euid); + | ~~~~~~^~~~~~ +util.c:175:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 175 | setgid(egid); + | ~~~~~~^~~~~~ +util.c:186:17: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 186 | setuid(ruid); + | ~~~~~~^~~~~~ +util.c:187:17: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] + 187 | setgid(rgid); + | ~~~~~~^~~~~~ g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o task.o task.c context.c: In constructor 'AppContext::AppContext()': context.c:17:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] @@ -1529,68 +1505,68 @@ | | | | int void* | %p +mandata.c: In member function 'ManItem* ManPath::search_man_item(char*, char*)': +mandata.c:178:12: warning: the address of 'ManPath::section' will never be NULL [-Waddress] + 178 | if(section) { + | ^~~~~~~ +In file included from mandata.c:22: +mandata.h:18:17: note: 'ManPath::section' declared here + 18 | List * section[MAX_MAN_SECTION]; //1:2:3:4:5:6:7:8:9:tcl:n:l:p:o + | ^~~~~~~ +mandata.c:173:13: warning: variable 'len' set but not used [-Wunused-but-set-variable] + 173 | int len; + | ^~~ +mandata.c: In member function 'void ManItem::active_man_page()': +mandata.c:242:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 242 | switch ((long)context->get_value("show_mode")) { + | ^~~~~~~~~~~ +mandata.c:245:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 245 | (char*)context->get_value("xterm_command"), + | ^~~~~~~~~~~~~~~ +mandata.c:265:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 265 | strcat(buffer,(char*)context->get_value("gv_command")); + | ^~~~~~~~~~~~ +mandata.c:285:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 285 | strcat(buffer,(char*)context->get_value("evince_command")); + | ^~~~~~~~~~~~~~~~ +mandata.c:337:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 337 | strcat(buffer,(char*)context->get_value("browser_command")); + | ^~~~~~~~~~~~~~~~~ +mandata.c:352:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 352 | sprintf(buffer,(char*)context->get_value("browser_command")); + | ^~~~~~~~~~~~~~~~~ +mandata.c:352:24: warning: format not a string literal and no format arguments [-Wformat-security] + 352 | sprintf(buffer,(char*)context->get_value("browser_command")); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mandata.c:355:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 355 | strcat(buffer,(char*)context->get_value("cgi_host")); + | ^~~~~~~~~~ +mandata.c:356:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 356 | strcat(buffer,(char*)context->get_value("cgi_location")); + | ^~~~~~~~~~~~~~ +mandata.c:372:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 372 | if(context->get_value("show_warning")) + | ^~~~~~~~~~~~~~ +mandata.c:373:92: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 373 | g_print("unexpected \'show_mode\' : %ld ",(long)context->get_value("show_mode")); + | ^~~~~~~~~~~ +mandata.c:253:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 253 | system(buffer); + | ~~~~~~^~~~~~~~ +mandata.c:273:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 273 | system(buffer); + | ~~~~~~^~~~~~~~ +mandata.c:293:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 293 | system(buffer); + | ~~~~~~^~~~~~~~ +mandata.c:347:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 347 | system(buffer); + | ~~~~~~^~~~~~~~ +mandata.c:367:31: warning: ignoring return value of 'int system(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] + 367 | system(buffer); + | ~~~~~~^~~~~~~~ g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o taskfunc.o taskfunc.c g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -g -O2 -ffile-prefix-map=/build/gman-0.9.3=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wno-error -Wno-error=format-security -c -o window2.o window2.c -task.c: In function 'void task_signal_send(Task*, int)': -task.c:74:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 74 | task->signals[signal&1]->add_item((void*)signal); - | ^~~~~~~~~~~~~ -util.c: In function 'int is_newer(char*, char*)': -util.c:65:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 65 | register int fa_stat; - | ^~~~~~~ -util.c:66:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 66 | register int fb_stat; - | ^~~~~~~ -util.c:67:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] - 67 | register int status = 0; - | ^~~~~~ -util.c: In function 'int system0(char*)': -util.c:122:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 122 | argv[0] = "sh"; - | ^~~~ -util.c:123:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 123 | argv[1] = "-c"; - | ^~~~ -util.c: In function 'void no_privileges()': -util.c:98:19: warning: ignoring return value of 'int setreuid(__uid_t, __uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 98 | setreuid(ruid, ruid); - | ~~~~~~~~^~~~~~~~~~~~ -util.c:99:19: warning: ignoring return value of 'int setregid(__gid_t, __gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 99 | setregid(rgid, rgid); - | ~~~~~~~~^~~~~~~~~~~~ -util.c: In function 'FILE* my_popen(const char*, const char*)': -util.c:212:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 212 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:213:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 213 | setgid(rgid); - | ~~~~~~^~~~~~ -util.c:215:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 215 | setuid(euid); - | ~~~~~~^~~~~~ -util.c:216:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 216 | setgid(egid); - | ~~~~~~^~~~~~ -util.c: In function 'int my_system(char*)': -util.c:171:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 171 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:172:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 172 | setgid(rgid); - | ~~~~~~^~~~~~ -util.c:174:12: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 174 | setuid(euid); - | ~~~~~~^~~~~~ -util.c:175:12: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 175 | setgid(egid); - | ~~~~~~^~~~~~ -util.c:186:17: warning: ignoring return value of 'int setuid(__uid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 186 | setuid(ruid); - | ~~~~~~^~~~~~ -util.c:187:17: warning: ignoring return value of 'int setgid(__gid_t)' declared with attribute 'warn_unused_result' [-Wunused-result] - 187 | setgid(rgid); - | ~~~~~~^~~~~~ list.c: In member function 'void Dictionary::display_items()': list.c:200:26: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'void*' [-Wformat=] 200 | printf("%s\n",names->get_item(i)); @@ -1598,6 +1574,50 @@ | | | | char* void* | %p +mandata.c:327:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 327 | sprintf(loc_name," ~/.gman.%s.html ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from mandata.c:4: +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void ManItem::active_man_page()' at mandata.c:327:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 16 and 215 bytes into a destination of size 200 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +mandata.c: In member function 'void ManItem::active_man_page()': +mandata.c:278:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 278 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void ManItem::active_man_page()' at mandata.c:278:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +mandata.c: In member function 'void ManItem::active_man_page()': +mandata.c:258:44: warning: '%s' directive writing up to 199 bytes into a region of size 191 [-Wformat-overflow=] + 258 | sprintf(loc_name," ~/.gman.%s.ps ",get_display_name(buffer1)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'int sprintf(char*, const char*, ...)', + inlined from 'void ManItem::active_man_page()' at mandata.c:258:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: '__builtin___sprintf_chk' output between 14 and 213 bytes into a destination of size 200 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +task.c: In function 'void task_signal_send(Task*, int)': +task.c:74:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 74 | task->signals[signal&1]->add_item((void*)signal); + | ^~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2002,31 +2022,6 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from menu.h:6, - from taskfunc.c:3: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here - 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; - | ^~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2153,6 +2148,31 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, + from menu.h:6, + from taskfunc.c:3: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here + 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; + | ^~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, from window2.c:6: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:64: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -2178,12 +2198,58 @@ | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here + 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); + | ^~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, from task.h:7, from taskfunc.h:3, from taskfunc.c:2: /usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); | ^~~~~~~~ +window2.c: In function 'GtkWidget* create_window2()': +window2.c:43:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 43 | gchar *titles[3] = { "a", "Path", "Items" }; + | ^~~ +window2.c:43:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 43 | gchar *titles[3] = { "a", "Path", "Items" }; + | ^~~~~~ +window2.c:43:43: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 43 | gchar *titles[3] = { "a", "Path", "Items" }; + | ^~~~~~~ +window2.c: In function 'void load_clist2()': +window2.c:176:55: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 176 | if (p->active) clist_item[0] ="o"; + | ^~~ +window2.c:177:46: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 177 | else clist_item[0] = ""; + | ^~ +window2.c:183:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 183 | clist_item[0] = "o"; + | ^~~ +window2.c:185:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 185 | clist_item[2] = "???"; + | ^~~~~ +window2.c: In function 'int window2_button_callback(GtkWidget*, gpointer)': +window2.c:250:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 250 | clist_item[0] = "o"; + | ^~~ +window2.c:252:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] + 252 | clist_item[2] = "???"; + | ^~~~~ +window2.c:223:39: warning: variable 'add_new_button' set but not used [-Wunused-but-set-variable] + 223 | GtkWidget * x, *apply_button,*add_new_button; + | ^~~~~~~~~~~~~~ taskfunc.c: In function 'int init_man_data()': taskfunc.c:24:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 24 | path_name = my_strdup((char*)context->get_value("man_paths")); @@ -2243,52 +2309,6 @@ | | | char* | %p -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:12: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:574:26: note: declared here - 574 | typedef struct _GTimeVal GTimeVal GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); - | ^~~~~~~~ -window2.c: In function 'GtkWidget* create_window2()': -window2.c:43:30: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 43 | gchar *titles[3] = { "a", "Path", "Items" }; - | ^~~ -window2.c:43:35: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 43 | gchar *titles[3] = { "a", "Path", "Items" }; - | ^~~~~~ -window2.c:43:43: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 43 | gchar *titles[3] = { "a", "Path", "Items" }; - | ^~~~~~~ -window2.c: In function 'void load_clist2()': -window2.c:176:55: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 176 | if (p->active) clist_item[0] ="o"; - | ^~~ -window2.c:177:46: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 177 | else clist_item[0] = ""; - | ^~ -window2.c:183:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 183 | clist_item[0] = "o"; - | ^~~ -window2.c:185:41: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 185 | clist_item[2] = "???"; - | ^~~~~ -window2.c: In function 'int window2_button_callback(GtkWidget*, gpointer)': -window2.c:250:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 250 | clist_item[0] = "o"; - | ^~~ -window2.c:252:33: warning: ISO C++ forbids converting a string constant to 'gchar*' {aka 'char*'} [-Wwrite-strings] - 252 | clist_item[2] = "???"; - | ^~~~~ -window2.c:223:39: warning: variable 'add_new_button' set but not used [-Wunused-but-set-variable] - 223 | GtkWidget * x, *apply_button,*add_new_button; - | ^~~~~~~~~~~~~~ g++ -DVERSION=\"0.9.3\" -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/x86_64-linux-gnu -I/usr/include/atk-1.0 -pthread -O2 -Wall -rdynamic menu.o mandata.o util.o gman.o list.o context.o task.o taskfunc.o window2.o -o gman -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype make[1]: Leaving directory '/build/gman-0.9.3' debian/rules override_dh_auto_test @@ -2298,7 +2318,7 @@ create-stamp debian/debhelper-build-stamp dh_prep dh_auto_install --destdir=debian/gman/ - make -j15 install DESTDIR=/build/gman-0.9.3/debian/gman AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j16 install DESTDIR=/build/gman-0.9.3/debian/gman AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/gman-0.9.3' test -d /build/gman-0.9.3/debian/gman//usr/bin || mkdir -p /build/gman-0.9.3/debian/gman//usr/bin test -d /build/gman-0.9.3/debian/gman//usr/share/man/man1 || mkdir -p /build/gman-0.9.3/debian/gman//usr/share/man/man1 @@ -2330,8 +2350,8 @@ dpkg-gencontrol: warning: package gman: substitution variable ${perl:Depends} unused, but is defined dh_md5sums dh_builddeb -dpkg-deb: building package 'gman-dbgsym' in '../gman-dbgsym_0.9.3-5.3_amd64.deb'. dpkg-deb: building package 'gman' in '../gman_0.9.3-5.3_amd64.deb'. +dpkg-deb: building package 'gman-dbgsym' in '../gman-dbgsym_0.9.3-5.3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../gman_0.9.3-5.3_amd64.buildinfo dpkg-genchanges --build=binary -O../gman_0.9.3-5.3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2340,12 +2360,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/151197/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/151197/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/1088868 and its subdirectories -I: Current time: Fri Apr 14 05:59:09 -12 2023 -I: pbuilder-time-stamp: 1681495149 +I: removing directory /srv/workspace/pbuilder/151197 and its subdirectories +I: Current time: Fri May 17 14:23:21 +14 2024 +I: pbuilder-time-stamp: 1715905401