Diff of the two buildlogs: -- --- b1/build.log 2023-06-02 07:46:48.442184867 +0000 +++ b2/build.log 2023-06-02 07:59:50.019986179 +0000 @@ -1,8 +1,49 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 1 19:30:35 -12 2023 -I: pbuilder-time-stamp: 1685691035 +I: Current time: Fri Jul 5 04:09:51 +14 2024 +I: pbuilder-time-stamp: 1720102191 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples/skel: time stamp 2025-08-05 10:27:02 is 34237025.799584994 s in the future +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples/skel.other: time stamp 2025-08-05 10:27:02 is 34237025.799401579 s in the future +tar: ./usr/share/doc/adduser/examples/adduser.local.conf.examples: time stamp 2025-08-05 10:27:02 is 34237025.799371511 s in the future +tar: ./usr/share/doc/adduser/examples: time stamp 2025-08-05 10:27:02 is 34237025.799343537 s in the future +tar: ./usr/share/doc/adduser: time stamp 2025-08-05 10:27:02 is 34237025.799311201 s in the future +tar: ./usr/share/locale/ca/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.741430792 s in the future +tar: ./usr/share/locale/cs/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.72604922 s in the future +tar: ./usr/share/locale/da/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.710535135 s in the future +tar: ./usr/share/locale/de/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.693187524 s in the future +tar: ./usr/share/locale/es/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.659428802 s in the future +tar: ./usr/share/locale/eu/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.655657867 s in the future +tar: ./usr/share/locale/fr/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.607264395 s in the future +tar: ./usr/share/locale/gl/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.601871558 s in the future +tar: ./usr/share/locale/hu/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.591974132 s in the future +tar: ./usr/share/locale/it/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.57817411 s in the future +tar: ./usr/share/locale/ja/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.560750553 s in the future +tar: ./usr/share/locale/ko/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.547366001 s in the future +tar: ./usr/share/locale/nb/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.531486932 s in the future +tar: ./usr/share/locale/nl/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.512692972 s in the future +tar: ./usr/share/locale/pl/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.496591186 s in the future +tar: ./usr/share/locale/pt/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.476921054 s in the future +tar: ./usr/share/locale/pt_BR/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.462663072 s in the future +tar: ./usr/share/locale/ru/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.417998533 s in the future +tar: ./usr/share/locale/sk/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.409512397 s in the future +tar: ./usr/share/locale/sv/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.377614172 s in the future +tar: ./usr/share/locale/uk/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.324001145 s in the future +tar: ./usr/share/locale/vi/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.306023268 s in the future +tar: ./usr/share/locale/zh_CN/LC_MESSAGES: time stamp 2025-08-05 10:27:02 is 34237025.289348109 s in the future +tar: ./usr/share/man/de/man5: time stamp 2025-08-05 10:27:02 is 34237025.188526291 s in the future +tar: ./usr/share/man/fr/man5: time stamp 2025-08-05 10:27:02 is 34237025.181997214 s in the future +tar: ./usr/share/man/man5: time stamp 2025-08-05 10:27:02 is 34237025.160562398 s in the future +tar: ./usr/share/man/nl/man5: time stamp 2025-08-05 10:27:02 is 34237025.151749981 s in the future +tar: ./usr/share/man/nl/man8: time stamp 2025-08-05 10:27:02 is 34237025.150941401 s in the future +tar: ./usr/share/man/pt/man5: time stamp 2025-08-05 10:27:02 is 34237025.146611646 s in the future +tar: ./usr/share/man/pt/man8: time stamp 2025-08-05 10:27:02 is 34237025.145712033 s in the future +tar: ./usr/share/perl5/Debian: time stamp 2025-08-05 10:27:02 is 34237025.119559643 s in the future +tar: ./var/lib/dpkg/info/adduser.list: time stamp 2025-08-05 10:27:02 is 34237023.527265513 s in the future +tar: ./usr/sbin: time stamp 2025-08-05 10:27:02 is 34237023.380191505 s in the future +tar: ./usr/share/man/man8: time stamp 2025-08-05 10:27:02 is 34237023.379464025 s in the future +tar: ./usr/share/man/fr/man8: time stamp 2025-08-05 10:27:02 is 34237023.379293012 s in the future +tar: ./usr/share/man/de/man8: time stamp 2025-08-05 10:27:02 is 34237023.379176219 s in the future I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem @@ -17,7 +58,7 @@ I: copying [./sioyek_2.0.0+dfsg.orig.tar.xz] I: copying [./sioyek_2.0.0+dfsg-3.debian.tar.xz] I: Extracting source -gpgv: Signature made Sun Jan 22 09:46:57 2023 -12 +gpgv: Signature made Mon Jan 23 11:46:57 2023 +14 gpgv: using RSA key 406220C8B8552802378CCE411F5C7A8B45564314 gpgv: issuer "bage@debian.org" gpgv: Can't check signature: No public key @@ -35,135 +76,167 @@ dpkg-source: info: applying 0006-Define-fallback-for-GL_CLAMP.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/3274130/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/884017/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-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 Jul 5 04:09 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/884017/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/884017/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=15 ' - 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=16 ' + 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='4549ec22c43442efa6ca1931a39aaf51' - 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='3274130' - PS1='# ' - PS2='> ' + INVOCATION_ID=55ee613c5f26462d8490c2f1440d6b74 + 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=884017 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.HjowvMLV/pbuilderrc_L5Eo --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.HjowvMLV/b1 --logfile b1/build.log sioyek_2.0.0+dfsg-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://78.137.99.97: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.HjowvMLV/pbuilderrc_Swgx --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.HjowvMLV/b2 --logfile b2/build.log --extrapackages usrmerge sioyek_2.0.0+dfsg-3.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://85.184.249.68:3128 I: uname -a - Linux ionos1-amd64 5.10.0-23-amd64 #1 SMP Debian 5.10.179-1 (2023-05-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-0.deb11.7-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.20-2~bpo11+1 (2023-04-23) x86_64 GNU/Linux I: ls -l /bin total 5632 - -rwxr-xr-x 1 root root 1265648 Apr 23 09:23 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 Apr 23 09:23 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 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 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 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/3274130/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1265648 Apr 24 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 Apr 24 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 9 Jul 5 04:09 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 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/884017/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -530,7 +603,7 @@ Get: 294 http://deb.debian.org/debian bookworm/main amd64 qt3d5-dev amd64 5.15.8+dfsg-2 [98.4 kB] Get: 295 http://deb.debian.org/debian bookworm/main amd64 texlive-pictures all 2022.20230122-3 [15.8 MB] Get: 296 http://deb.debian.org/debian bookworm/main amd64 texlive-latex-extra all 2022.20230122-4 [19.2 MB] -Fetched 287 MB in 15s (19.0 MB/s) +Fetched 287 MB in 3s (93.1 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package fonts-lato. (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 ... 19591 files and directories currently installed.) @@ -1761,8 +1834,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/sioyek-2.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../sioyek_2.0.0+dfsg-3_source.changes +I: user script /srv/workspace/pbuilder/884017/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/884017/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/sioyek-2.0.0+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../sioyek_2.0.0+dfsg-3_source.changes dpkg-buildpackage: info: source package sioyek dpkg-buildpackage: info: source version 2.0.0+dfsg-3 dpkg-buildpackage: info: source distribution unstable @@ -1781,7 +1865,7 @@ qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now" QMAKE_STRIP=: PREFIX=/usr Info: creating stash file /build/sioyek-2.0.0+dfsg/.qmake.stash dh_auto_build - make -j15 + make -j16 make[1]: Entering directory '/build/sioyek-2.0.0+dfsg' g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o book.o pdf_viewer/book.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o config.o pdf_viewer/config.cpp @@ -1798,28 +1882,28 @@ g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o coordinates.o pdf_viewer/coordinates.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o ui.o pdf_viewer/ui.cpp g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o path.o pdf_viewer/path.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp pdf_viewer/database.cpp:408:1: warning: multi-line comment [-Wcomment] 408 | // const char* insert_books_sql = ""\ | ^ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp pdf_viewer/main_widget.cpp:2956:5: warning: multi-line comment [-Wcomment] 2956 | //std::optional> generic_pair =\ | ^ -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o utils.o pdf_viewer/utils.cpp -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o RunGuard.o pdf_viewer/RunGuard.cpp In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/path.h:5, - from pdf_viewer/path.cpp:2: + from pdf_viewer/database.h:9, + from pdf_viewer/database.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_algobase.h:65, - from /usr/include/c++/12/algorithm:60, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:142, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:43, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, - from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, - from pdf_viewer/path.cpp:1: +In file included from /usr/include/c++/12/string:45, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from pdf_viewer/database.h:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1830,6 +1914,67 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/database.cpp: In function 'int null_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:30:32: warning: unused parameter 'notused' [-Wunused-parameter] + 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { + | ~~~~~~^~~~~~~ +pdf_viewer/database.cpp:30:45: warning: unused parameter 'argc' [-Wunused-parameter] + 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { + | ~~~~^~~~ +pdf_viewer/database.cpp:30:58: warning: unused parameter 'argv' [-Wunused-parameter] + 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~ +pdf_viewer/database.cpp:30:71: warning: unused parameter 'col_name' [-Wunused-parameter] + 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int opened_book_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:34:81: warning: unused parameter 'col_name' [-Wunused-parameter] + 34 | static int opened_book_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int prev_doc_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:49:78: warning: unused parameter 'col_name' [-Wunused-parameter] + 49 | static int prev_doc_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int mark_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:60:81: warning: unused parameter 'col_name' [-Wunused-parameter] + 60 | static int mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int global_mark_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:72:88: warning: unused parameter 'col_name' [-Wunused-parameter] + 72 | static int global_mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int global_bookmark_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:85:92: warning: unused parameter 'col_name' [-Wunused-parameter] + 85 | static int global_bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int global_highlight_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:101:93: warning: unused parameter 'col_name' [-Wunused-parameter] + 101 | static int global_highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int bookmark_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:126:85: warning: unused parameter 'col_name' [-Wunused-parameter] + 126 | static int bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int wstring_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:138:84: warning: unused parameter 'col_name' [-Wunused-parameter] + 138 | static int wstring_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int string_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:149:83: warning: unused parameter 'col_name' [-Wunused-parameter] + 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int wstring_pair_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:160:89: warning: unused parameter 'col_name' [-Wunused-parameter] + 160 | static int wstring_pair_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int highlight_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:172:86: warning: unused parameter 'col_name' [-Wunused-parameter] + 172 | static int highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ +pdf_viewer/database.cpp: In function 'int link_select_callback(void*, int, char**, char**)': +pdf_viewer/database.cpp:194:81: warning: unused parameter 'col_name' [-Wunused-parameter] + 194 | static int link_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ~~~~~~~^~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, from pdf_viewer/input.h:12, @@ -1854,6 +1999,30 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/path.h:5, + from pdf_viewer/path.cpp:2: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/12/bits/stl_algobase.h:65, + from /usr/include/c++/12/algorithm:60, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:142, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qchar.h:43, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:49, + from /usr/include/x86_64-linux-gnu/qt5/QtCore/qdir.h:43, + from pdf_viewer/path.cpp:1: +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ pdf_viewer/input.cpp: In constructor 'CommandManager::CommandManager(ConfigManager*)': pdf_viewer/input.cpp:176:35: warning: missing initializer for member 'Command::special_symbols' [-Wmissing-field-initializers] 176 | commands.push_back({ utf8_encode(command_name) , false, false, false, false, true}); @@ -1866,18 +2035,13 @@ from pdf_viewer/database.h:9, from pdf_viewer/document.h:22, from pdf_viewer/document_view.h:22, - from pdf_viewer/pdf_view_opengl_widget.h:40, - from pdf_viewer/pdf_view_opengl_widget.cpp:1: + from pdf_viewer/document_view.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/12/string:45, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from pdf_viewer/pdf_view_opengl_widget.h:3: +In file included from /usr/include/c++/12/bits/stl_algobase.h:65, + from /usr/include/c++/12/vector:60, + from pdf_viewer/document_view.h:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1890,15 +2054,13 @@ | ^~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/path.h:5, - from pdf_viewer/config.h:9, - from pdf_viewer/config.cpp:1: + from pdf_viewer/ui.h:39, + from pdf_viewer/ui.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_algobase.h:65, - from /usr/include/c++/12/vector:60, - from pdf_viewer/config.h:3: +In file included from /usr/include/c++/12/string:45, + from pdf_viewer/ui.h:2: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1909,24 +2071,26 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -pdf_viewer/config.cpp: In constructor 'ConfigManager::ConfigManager(const Path&, const Path&, const std::vector&)': -pdf_viewer/config.cpp:294:14: warning: unused variable 'vec3_deserializer' [-Wunused-variable] - 294 | auto vec3_deserializer = vec_n_deserializer<3, float>; - | ^~~~~~~~~~~~~~~~~ -pdf_viewer/config.cpp:295:14: warning: unused variable 'vec4_deserializer' [-Wunused-variable] - 295 | auto vec4_deserializer = vec_n_deserializer<4, float>; - | ^~~~~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:643:18: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document.cpp:1: + from pdf_viewer/pdf_renderer.cpp:2: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, - from pdf_viewer/document.h:2: + from pdf_viewer/pdf_renderer.h:3, + from pdf_viewer/pdf_renderer.cpp:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1939,14 +2103,21 @@ | ^~~~~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/utils.cpp:6: + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document_view.h:22, + from pdf_viewer/pdf_view_opengl_widget.h:40, + from pdf_viewer/pdf_view_opengl_widget.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_algobase.h:65, - from /usr/include/c++/12/bits/specfun.h:45, - from /usr/include/c++/12/cmath:1935, - from pdf_viewer/utils.cpp:4: +In file included from /usr/include/c++/12/string:45, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from pdf_viewer/pdf_view_opengl_widget.h:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1957,21 +2128,48 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] + 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { + | ^~~~~~~~~~~~~~~~~~ g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o OpenWithApplication.o pdf_viewer/OpenWithApplication.cpp +g++ -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/database.cpp:1: + from pdf_viewer/utils.cpp:6: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ -In file included from /usr/include/c++/12/string:45, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from pdf_viewer/database.h:3: +In file included from /usr/include/c++/12/bits/stl_algobase.h:65, + from /usr/include/c++/12/bits/specfun.h:45, + from /usr/include/c++/12/cmath:1935, + from pdf_viewer/utils.cpp:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -1982,6 +2180,11 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/document_view.cpp: In member function 'std::optional DocumentView::find_closest_bookmark()': +pdf_viewer/document_view.cpp:149:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 149 | if ((bookmark_index >= 0) && (bookmark_index < bookmarks.size())) { + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::render_overview(OverviewState)': pdf_viewer/pdf_view_opengl_widget.cpp:567:17: warning: variable 'page_rect' set but not used [-Wunused-but-set-variable] 567 | fz_rect page_rect; @@ -1990,66 +2193,17 @@ pdf_viewer/pdf_view_opengl_widget.cpp:747:32: warning: unused variable 'texture' [-Wunused-variable] 747 | GLuint texture = pdf_renderer->find_rendered_page(document_view->get_document()->get_path(), | ^~~~~~~ -pdf_viewer/document.cpp: In member function 'void Document::delete_highlight(Highlight)': -pdf_viewer/document.cpp:195:50: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] - 195 | for (size_t i = (highlights.size()-1); i >= 0; i--) { - | ~~^~~~ -pdf_viewer/document.cpp: In member function 'float Document::get_page_height(int)': -pdf_viewer/document.cpp:360:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 360 | if ((page_index >= 0) && (page_index < page_heights.size())) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'float Document::get_page_width(int)': -pdf_viewer/document.cpp:369:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 369 | if ((page_index >= 0) && (page_index < page_widths.size())) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'float Document::get_accum_page_height(int)': -pdf_viewer/document.cpp:449:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 449 | if (page_index < 0 || (page_index >= accum_page_heights.size())) { - | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'fz_rect Document::get_page_absolute_rect(int)': -pdf_viewer/document.cpp:760:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 760 | if (page >= page_widths.size()) { - | ~~~~~^~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'DocumentPos Document::absolute_to_page_pos(AbsoluteDocumentPos)': -pdf_viewer/document.cpp:906:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 906 | if (i < accum_page_heights.size()) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'std::optional, std::__cxx11::basic_string > > Document::get_generic_link_name_at_position(const std::vector&, float, float)': -pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' - 1166 | std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' -g++ -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -dM -E -o moc_predefs.h /usr/lib/x86_64-linux-gnu/qt5/mkspecs/features/data/dummy.cpp -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/pdf_renderer.h -o moc_pdf_renderer.cpp -pdf_viewer/document.cpp: In member function 'float Document::document_to_absolute_y(int, float)': -pdf_viewer/document.cpp:1947:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1947 | if ((page < accum_page_heights.size()) && (page >= 0)) { - | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'AbsoluteDocumentPos Document::document_to_absolute_pos(DocumentPos, bool)': -pdf_viewer/document.cpp:1956:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1956 | if (center_mid && (doc_pos.page < page_widths.size())) { - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document.cpp: In member function 'const std::vector& Document::get_page_lines(int, std::vector >*)': -pdf_viewer/document.cpp:2152:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2152 | for (int i = 0; i < line_rects.size(); i++) { - | ~~^~~~~~~~~~~~~~~~~~~ -pdf_viewer/pdf_view_opengl_widget.cpp:943:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 943 | for (int j = i+1; j < all_visible_links.size(); j++) { - | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/utils.cpp: In function 'void install_app(const char*)': -pdf_viewer/utils.cpp:174:30: warning: unused parameter 'argv0' [-Wunused-parameter] - 174 | void install_app(const char *argv0) - | ~~~~~~~~~~~~^~~~~ In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, - from pdf_viewer/pdf_renderer.cpp:2: + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document.cpp:1: pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 268 | class iterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, - from pdf_viewer/pdf_renderer.h:3, - from pdf_viewer/pdf_renderer.cpp:1: + from pdf_viewer/document.h:2: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ @@ -2060,23 +2214,33 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -pdf_viewer/database.cpp: In function 'int null_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:30:32: warning: unused parameter 'notused' [-Wunused-parameter] - 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { - | ~~~~~~^~~~~~~ -pdf_viewer/database.cpp:30:45: warning: unused parameter 'argc' [-Wunused-parameter] - 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { - | ~~~~^~~~ -pdf_viewer/database.cpp:30:58: warning: unused parameter 'argv' [-Wunused-parameter] - 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~ -pdf_viewer/database.cpp:30:71: warning: unused parameter 'col_name' [-Wunused-parameter] - 30 | static int null_callback(void* notused, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int opened_book_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:34:81: warning: unused parameter 'col_name' [-Wunused-parameter] - 34 | static int opened_book_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ +pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_line_index_of_pos(DocumentPos)': +pdf_viewer/document_view.cpp:1068:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1068 | for (int i = 0; i < rects.size(); i++) { + | ~~^~~~~~~~~~~~~~ +pdf_viewer/document_view.cpp:1071:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1071 | for (int i = 0; i < rects.size(); i++) { + | ~~^~~~~~~~~~~~~~ +pdf_viewer/document_view.cpp:1066:13: warning: unused variable 'page_width' [-Wunused-variable] + 1066 | int page_width = current_document->get_page_width(line_doc_pos.page); + | ^~~~~~~~~~ +pdf_viewer/document_view.cpp: In member function 'std::vector DocumentView::find_line_definitions()': +pdf_viewer/document_view.cpp:1110:49: warning: unknown escape sequence: '\.' + 1110 | std::wstring item_regex(L"[a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/pdf_view_opengl_widget.cpp:943:45: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 943 | for (int j = i+1; j < all_visible_links.size(); j++) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp +pdf_viewer/document_view.cpp:1159:49: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] + 1159 | if (vec->size() > max_size) { + | ~~~~~~~~~~~~^~~~~~~~~~ +pdf_viewer/document_view.cpp:1166:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1166 | if (i < vec->size()) { + | ~~^~~~~~~~~~~~~ +pdf_viewer/document_view.cpp:1155:29: warning: unused variable 'index' [-Wunused-variable] + 1155 | int index = 0; + | ^~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'void PdfViewOpenGLWidget::draw_empty_helper_message(QPainter*)': pdf_viewer/pdf_view_opengl_widget.cpp:1232:37: warning: 'int QFontMetrics::width(const QString&, int) const' is deprecated: Use QFontMetrics::horizontalAdvance [-Wdeprecated-declarations] 1232 | int message_width = fm.width(message); @@ -2088,70 +2252,10 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qfontmetrics.h:106:9: note: declared here 106 | int width(const QString &, int len = -1) const; | ^~~~~ -pdf_viewer/database.cpp: In function 'int prev_doc_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:49:78: warning: unused parameter 'col_name' [-Wunused-parameter] - 49 | static int prev_doc_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int mark_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:60:81: warning: unused parameter 'col_name' [-Wunused-parameter] - 60 | static int mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int global_mark_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:72:88: warning: unused parameter 'col_name' [-Wunused-parameter] - 72 | static int global_mark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int global_bookmark_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:85:92: warning: unused parameter 'col_name' [-Wunused-parameter] - 85 | static int global_bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int global_highlight_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:101:93: warning: unused parameter 'col_name' [-Wunused-parameter] - 101 | static int global_highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int bookmark_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:126:85: warning: unused parameter 'col_name' [-Wunused-parameter] - 126 | static int bookmark_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int wstring_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:138:84: warning: unused parameter 'col_name' [-Wunused-parameter] - 138 | static int wstring_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int string_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:149:83: warning: unused parameter 'col_name' [-Wunused-parameter] - 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int wstring_pair_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:160:89: warning: unused parameter 'col_name' [-Wunused-parameter] - 160 | static int wstring_pair_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int highlight_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:172:86: warning: unused parameter 'col_name' [-Wunused-parameter] - 172 | static int highlight_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -pdf_viewer/database.cpp: In function 'int link_select_callback(void*, int, char**, char**)': -pdf_viewer/database.cpp:194:81: warning: unused parameter 'col_name' [-Wunused-parameter] - 194 | static int link_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ~~~~~~~^~~~~~~~ -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/RunGuard.h -o moc_RunGuard.cpp -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/ui.h:39, - from pdf_viewer/ui.cpp:1: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/12/string:45, - from pdf_viewer/ui.h:2: -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +pdf_viewer/utils.cpp: In function 'void install_app(const char*)': +pdf_viewer/utils.cpp:174:30: warning: unused parameter 'argv0' [-Wunused-parameter] + 174 | void install_app(const char *argv0) + | ~~~~~~~~~~~~^~~~~ pdf_viewer/utils.cpp: In lambda function: pdf_viewer/utils.cpp:844:94: warning: unused parameter 'error' [-Wunused-parameter] 844 | QObject::connect(process, &QProcess::errorOccurred, [process](QProcess::ProcessError error) { @@ -2167,14 +2271,44 @@ pdf_viewer/utils.cpp:1058:37: warning: unknown escape sequence: '\.' 1058 | std::wregex index_dst_regex(L"(^|\n)[A-Z][a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/path.h:5, + from pdf_viewer/config.h:9, + from pdf_viewer/config.cpp:1: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/12/bits/stl_algobase.h:65, + from /usr/include/c++/12/vector:60, + from pdf_viewer/config.h:3: +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ pdf_viewer/utils.cpp: In function 'std::wstring lowercase(const std::wstring&)': pdf_viewer/utils.cpp:1746:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1746 | for (int i = 0; i < input.size(); i++) { | ~~^~~~~~~~~~~~~~ +/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/OpenWithApplication.h -o moc_OpenWithApplication.cpp +pdf_viewer/config.cpp: In constructor 'ConfigManager::ConfigManager(const Path&, const Path&, const std::vector&)': +pdf_viewer/config.cpp:294:14: warning: unused variable 'vec3_deserializer' [-Wunused-variable] + 294 | auto vec3_deserializer = vec_n_deserializer<3, float>; + | ^~~~~~~~~~~~~~~~~ +pdf_viewer/config.cpp:295:14: warning: unused variable 'vec4_deserializer' [-Wunused-variable] + 295 | auto vec4_deserializer = vec_n_deserializer<4, float>; + | ^~~~~~~~~~~~~~~~~ pdf_viewer/utils.cpp: In function 'float line_num_penalty(int)': pdf_viewer/utils.cpp:1901:28: warning: unused parameter 'num' [-Wunused-parameter] 1901 | float line_num_penalty(int num) { | ~~~~^~~ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp pdf_viewer/utils.cpp: In function 'bool command_requires_text(const std::wstring&)': pdf_viewer/utils.cpp:2120:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2120 | if ((command.find(L"%5") != -1) || (command.find(L"command_text") != -1)) { @@ -2186,10 +2320,30 @@ pdf_viewer/utils.cpp:2127:47: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 2127 | if (command.find(L"%{selected_rect}") != -1) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ -pdf_viewer/utils.cpp: In function 'void flat_char_prism(std::vector, int, std::wstring&, std::vector&, std::vector&)': -pdf_viewer/utils.cpp:2173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 2173 | for (int j = 0; j < chars.size(); j++) { - | ~~^~~~~~~~~~~~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/database.h:9, + from pdf_viewer/document.h:22, + from pdf_viewer/document_view.h:22, + from pdf_viewer/main_widget.h:17, + from pdf_viewer/new_file_checker.h:3, + from pdf_viewer/new_file_checker.cpp:1: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/12/string:45, + from pdf_viewer/main_widget.h:3: +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:569:32: required from here @@ -2200,7 +2354,6 @@ pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:643:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -/usr/lib/qt5/bin/moc -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include /build/sioyek-2.0.0+dfsg/moc_predefs.h -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -I/build/sioyek-2.0.0+dfsg -I/build/sioyek-2.0.0+dfsg/pdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/12 -I/usr/include/x86_64-linux-gnu/c++/12 -I/usr/include/c++/12/backward -I/usr/lib/gcc/x86_64-linux-gnu/12/include -I/usr/local/include -I/usr/include/x86_64-linux-gnu -I/usr/include pdf_viewer/OpenWithApplication.h -o moc_OpenWithApplication.cpp In file included from pdf_viewer/document_view.h:25: pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' @@ -2208,24 +2361,12 @@ pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] 141 | virtual bool on_text_change(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:643:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_pdf_renderer.o moc_pdf_renderer.cpp +g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_OpenWithApplication.o moc_OpenWithApplication.cpp In file included from pdf_viewer/utf8.h:31, from pdf_viewer/utils.h:21, from pdf_viewer/input.h:12, @@ -2250,6 +2391,51 @@ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ +pdf_viewer/utils.cpp: In function 'void flat_char_prism(std::vector, int, std::wstring&, std::vector&, std::vector&)': +pdf_viewer/utils.cpp:2173:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2173 | for (int j = 0; j < chars.size(); j++) { + | ~~^~~~~~~~~~~~~~ +pdf_viewer/database.cpp: At global scope: +pdf_viewer/database.cpp:149:12: warning: 'int string_select_callback(void*, int, char**, char**)' defined but not used [-Wunused-function] + 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { + | ^~~~~~~~~~~~~~~~~~~~~~ +In file included from pdf_viewer/utf8.h:31, + from pdf_viewer/utils.h:21, + from pdf_viewer/input.h:12, + from pdf_viewer/main.cpp:53: +pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 268 | class iterator : public std::iterator { + | ^~~~~~~~ +In file included from /usr/include/c++/12/string:45, + from /usr/include/c++/12/bits/locale_classes.h:40, + from /usr/include/c++/12/bits/ios_base.h:41, + from /usr/include/c++/12/ios:42, + from /usr/include/c++/12/ostream:38, + from /usr/include/c++/12/iostream:39, + from pdf_viewer/main.cpp:1: +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +In file included from pdf_viewer/utf8.h:32: +pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] + 179 | class iterator : public std::iterator { + | ^~~~~~~~ +/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here + 127 | struct _GLIBCXX17_DEPRECATED iterator + | ^~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:132:15: required from here +pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] + 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:134:15: required from here +pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] + 134 | virtual void on_return_no_select(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2263,33 +2449,19 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/document.cpp: In member function 'void Document::delete_highlight(Highlight)': +pdf_viewer/document.cpp:195:50: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] + 195 | for (size_t i = (highlights.size()-1); i >= 0; i--) { + | ~~^~~~ +pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)': +pdf_viewer/document_view.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type] + 351 | } + | ^ In file included from pdf_viewer/ui.h:36: +pdf_viewer/fts_fuzzy_match.h: At global scope: pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { | ^~~~~~~~~~~~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document_view.h:22, - from pdf_viewer/main_widget.h:17, - from pdf_viewer/new_file_checker.h:3, - from pdf_viewer/new_file_checker.cpp:1: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/12/string:45, - from pdf_viewer/main_widget.h:3: -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2316,52 +2488,26 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/input.h:12, - from pdf_viewer/main.cpp:53: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/12/string:45, - from /usr/include/c++/12/bits/locale_classes.h:40, - from /usr/include/c++/12/bits/ios_base.h:41, - from /usr/include/c++/12/ios:42, - from /usr/include/c++/12/ostream:38, - from /usr/include/c++/12/iostream:39, - from pdf_viewer/main.cpp:1: -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:31, - from pdf_viewer/utils.h:21, - from pdf_viewer/database.h:9, - from pdf_viewer/document.h:22, - from pdf_viewer/document_view.h:22, - from pdf_viewer/document_view.cpp:1: -pdf_viewer/utf8/checked.h:268:34: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 268 | class iterator : public std::iterator { - | ^~~~~~~~ -In file included from /usr/include/c++/12/bits/stl_algobase.h:65, - from /usr/include/c++/12/vector:60, - from pdf_viewer/document_view.h:3: -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ -In file included from pdf_viewer/utf8.h:32: -pdf_viewer/utf8/unchecked.h:179:40: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] - 179 | class iterator : public std::iterator { - | ^~~~~~~~ -/usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here - 127 | struct _GLIBCXX17_DEPRECATED iterator - | ^~~~~~~~ +pdf_viewer/document.cpp: In member function 'float Document::get_page_height(int)': +pdf_viewer/document.cpp:360:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 360 | if ((page_index >= 0) && (page_index < page_heights.size())) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'float Document::get_page_width(int)': +pdf_viewer/document.cpp:369:46: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 369 | if ((page_index >= 0) && (page_index < page_widths.size())) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'float Document::get_accum_page_height(int)': +pdf_viewer/document.cpp:449:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 449 | if (page_index < 0 || (page_index >= accum_page_heights.size())) { + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'fz_rect Document::get_page_absolute_rect(int)': +pdf_viewer/document.cpp:760:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 760 | if (page >= page_widths.size()) { + | ~~~~~^~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'DocumentPos Document::absolute_to_page_pos(AbsoluteDocumentPos)': +pdf_viewer/document.cpp:906:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 906 | if (i < accum_page_heights.size()) { + | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ pdf_viewer/pdf_view_opengl_widget.cpp: In member function 'float PdfViewOpenGLWidget::get_overview_side_pos(int)': pdf_viewer/pdf_view_opengl_widget.cpp:1365:1: warning: control reaches end of non-void function [-Wreturn-type] 1365 | } @@ -2371,11 +2517,23 @@ pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { | ^~~~~~~~~~~~~~~~~~ -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_RunGuard.o moc_RunGuard.cpp -pdf_viewer/database.cpp: At global scope: -pdf_viewer/database.cpp:149:12: warning: 'int string_select_callback(void*, int, char**, char**)' defined but not used [-Wunused-function] - 149 | static int string_select_callback(void* res_vector, int argc, char** argv, char** col_name) { - | ^~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'std::optional, std::__cxx11::basic_string > > Document::get_generic_link_name_at_position(const std::vector&, float, float)': +pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' + 1166 | std::wregex regex(L"[a-zA-Z]{3,}(\.){0,1}[ \t]+[0-9]+(\.[0-9]+)*"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp:1166:27: warning: unknown escape sequence: '\.' +pdf_viewer/document.cpp: In member function 'float Document::document_to_absolute_y(int, float)': +pdf_viewer/document.cpp:1947:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1947 | if ((page < accum_page_heights.size()) && (page >= 0)) { + | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'AbsoluteDocumentPos Document::document_to_absolute_pos(DocumentPos, bool)': +pdf_viewer/document.cpp:1956:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 1956 | if (center_mid && (doc_pos.page < page_widths.size())) { + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +pdf_viewer/document.cpp: In member function 'const std::vector& Document::get_page_lines(int, std::vector >*)': +pdf_viewer/document.cpp:2152:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 2152 | for (int i = 0; i < line_rects.size(); i++) { + | ~~^~~~~~~~~~~~~~~~~~~ pdf_viewer/new_file_checker.cpp: In lambda function: pdf_viewer/new_file_checker.cpp:80:128: warning: unused parameter 'path' [-Wunused-parameter] 80 | QObject::connect(&paper_folder_watcher, &QFileSystemWatcher::directoryChanged, [&, main_widget](const QString& path) { @@ -2384,10 +2542,6 @@ pdf_viewer/main_widget.cpp:165:23: warning: unused variable 'page_height' [-Wunused-variable] 165 | float page_height = main_document_view->get_document()->get_page_height(page); | ^~~~~~~~~~~ -pdf_viewer/document_view.cpp: In member function 'std::optional DocumentView::find_closest_bookmark()': -pdf_viewer/document_view.cpp:149:62: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 149 | if ((bookmark_index >= 0) && (bookmark_index < bookmarks.size())) { - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::closeEvent(QCloseEvent*)': pdf_viewer/main_widget.cpp:311:42: warning: unused parameter 'close_event' [-Wunused-parameter] 311 | void MainWidget::closeEvent(QCloseEvent* close_event) { @@ -2407,37 +2561,6 @@ pdf_viewer/main_widget.cpp:474:78: warning: unused parameter 'action' [-Wunused-parameter] 474 | scroll_bar->connect(scroll_bar, &QScrollBar::actionTriggered, [this](int action) { | ~~~~^~~~~~ -pdf_viewer/document_view.cpp: In member function 'int DocumentView::get_line_index_of_pos(DocumentPos)': -pdf_viewer/document_view.cpp:1068:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1068 | for (int i = 0; i < rects.size(); i++) { - | ~~^~~~~~~~~~~~~~ -pdf_viewer/document_view.cpp:1071:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1071 | for (int i = 0; i < rects.size(); i++) { - | ~~^~~~~~~~~~~~~~ -pdf_viewer/document_view.cpp:1066:13: warning: unused variable 'page_width' [-Wunused-variable] - 1066 | int page_width = current_document->get_page_width(line_doc_pos.page); - | ^~~~~~~~~~ -pdf_viewer/document_view.cpp: In member function 'std::vector DocumentView::find_line_definitions()': -pdf_viewer/document_view.cpp:1110:49: warning: unknown escape sequence: '\.' - 1110 | std::wstring item_regex(L"[a-zA-Z]{2,}[ \t]+[0-9]+(\.[0-9]+)*"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/document_view.cpp:1159:49: warning: comparison of integer expressions of different signedness: 'std::vector::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare] - 1159 | if (vec->size() > max_size) { - | ~~~~~~~~~~~~^~~~~~~~~~ -pdf_viewer/document_view.cpp:1166:47: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 1166 | if (i < vec->size()) { - | ~~^~~~~~~~~~~~~ -pdf_viewer/document_view.cpp:1155:29: warning: unused variable 'index' [-Wunused-variable] - 1155 | int index = 0; - | ^~~~~ -pdf_viewer/main_widget.cpp: In member function 'std::wstring MainWidget::get_status_string()': -pdf_viewer/main_widget.cpp:627:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] - 627 | if (index == location_string.size()) { - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ -pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': -pdf_viewer/main_widget.cpp:845:56: warning: unused parameter 'new_config' [-Wunused-parameter] - 845 | void MainWidget::on_config_file_changed(ConfigManager* new_config) { - | ~~~~~~~~~~~~~~~^~~~~~~~~~ pdf_viewer/main.cpp: In function 'void focus_on_widget(QWidget*)': pdf_viewer/main.cpp:657:54: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] 657 | widget->setWindowState(widget->windowState() & ~Qt::WindowMinimized | Qt::WindowActive); @@ -2446,6 +2569,25 @@ pdf_viewer/main.cpp:695:14: warning: variable 'use_single_instance' set but not used [-Wunused-but-set-variable] 695 | bool use_single_instance = (!SHOULD_LAUNCH_NEW_INSTANCE) && (!SHOULD_LAUNCH_NEW_WINDOW); | ^~~~~~~~~~~~~~~~~~~ +pdf_viewer/main_widget.cpp: In member function 'std::wstring MainWidget::get_status_string()': +pdf_viewer/main_widget.cpp:627:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] + 627 | if (index == location_string.size()) { + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::on_config_file_changed(ConfigManager*)': +pdf_viewer/main_widget.cpp:845:56: warning: unused parameter 'new_config' [-Wunused-parameter] + 845 | void MainWidget::on_config_file_changed(ConfigManager* new_config) { + | ~~~~~~~~~~~~~~~^~~~~~~~~~ +In file included from pdf_viewer/document_view.h:25: +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:643:18: required from here +pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] pdf_viewer/main_widget.cpp: In member function 'void MainWidget::next_state()': pdf_viewer/main_widget.cpp:1535:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1535 | if (current_history_index + 1 < history.size()) { @@ -2458,20 +2600,6 @@ pdf_viewer/main_widget.cpp:1588:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 1588 | if (index_to_update < history.size()-1) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ -In file included from pdf_viewer/document_view.h:25: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -In file included from pdf_viewer/document_view.h:25: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/main_widget.cpp: In member function 'virtual void MainWidget::wheelEvent(QWheelEvent*)': pdf_viewer/main_widget.cpp:1806:24: warning: 'QPoint QWheelEvent::pos() const' is deprecated: Use position() [-Wdeprecated-declarations] 1806 | int x = wevent->pos().x(); @@ -2500,15 +2628,21 @@ /usr/include/x86_64-linux-gnu/qt5/QtGui/qevent.h:219:16: note: declared here 219 | inline int delta() const { return qt4D; } | ^~~~~ -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:643:18: required from here +pdf_viewer/pdf_renderer.cpp: In member function 'fz_document* PdfRenderer::get_document_with_path(int, fz_context*, std::wstring)': +pdf_viewer/pdf_renderer.cpp:379:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] + 379 | fz_document* ret_val = nullptr; + | ^~~~~~~ +In file included from pdf_viewer/main.cpp:57: +pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': +pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' +pdf_viewer/ui.h:569:32: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] + 141 | virtual bool on_text_change(const QString& text) { + | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' pdf_viewer/ui.h:643:18: required from here pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -g++ -c -pipe -std=c++17 -g -O2 -ffile-prefix-map=/build/sioyek-2.0.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_3DINPUT_LIB -DQT_OPENGL_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_WIDGETS_LIB -DNON_PORTABLE -DLINUX_STANDARD_PATHS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_3DINPUT_LIB -DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Ipdf_viewer -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGL -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/Qt3DInput -I/usr/include/x86_64-linux-gnu/qt5/Qt3DCore -I/usr/include/x86_64-linux-gnu/qt5/QtOpenGLExtensions -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o moc_OpenWithApplication.o moc_OpenWithApplication.cpp pdf_viewer/main_widget.cpp: In member function 'void MainWidget::handle_command(const Command*, int)': pdf_viewer/main_widget.cpp:2368:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long unsigned int'} [-Wsign-compare] 2368 | for (int i = 0; i < windows.size(); i++) { @@ -2530,32 +2664,6 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:132:15: required from here -pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ -pdf_viewer/ui.h:132:84: warning: unused parameter 'selected_index' [-Wunused-parameter] - 132 | virtual void on_delete(const QModelIndex& source_index, const QModelIndex& selected_index) {} - | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ -pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_return_no_select(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:134:15: required from here -pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] - 134 | virtual void on_return_no_select(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -2569,26 +2677,6 @@ pdf_viewer/ui.h:134:57: warning: unused parameter 'text' [-Wunused-parameter] 134 | virtual void on_return_no_select(const QString& text) { | ~~~~~~~~~~~~~~~^~~~ -In file included from pdf_viewer/main.cpp:57: -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QTableView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:569:32: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] - 141 | virtual bool on_text_change(const QString& text) { - | ~~~~~~~~~~~~~~~^~~~ -pdf_viewer/ui.h: In instantiation of 'bool BaseSelectorWidget::on_text_change(const QString&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': -pdf_viewer/ui.h:111:9: required from 'BaseSelectorWidget::BaseSelectorWidget(QStandardItemModel*, QWidget*) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]' -pdf_viewer/ui.h:643:18: required from here -pdf_viewer/ui.h:141:52: warning: unused parameter 'text' [-Wunused-parameter] -pdf_viewer/document_view.cpp: In member function 'NormalizedWindowPos DocumentView::document_to_window_pos(DocumentPos)': -pdf_viewer/document_view.cpp:351:1: warning: control reaches end of non-void function [-Wreturn-type] - 351 | } - | ^ -In file included from pdf_viewer/ui.h:36: -pdf_viewer/fts_fuzzy_match.h: At global scope: -pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] - 59 | static bool fuzzy_match_simple(char const * pattern, char const * str) { - | ^~~~~~~~~~~~~~~~~~ In file included from pdf_viewer/ui.h:36: pdf_viewer/fts_fuzzy_match.h: At global scope: pdf_viewer/fts_fuzzy_match.h:59:17: warning: 'bool fts::fuzzy_match_simple(const char*, const char*)' defined but not used [-Wunused-function] @@ -2702,10 +2790,6 @@ pdf_viewer/main_widget.cpp:4302:37: warning: variable 'srect_' set but not used [-Wunused-but-set-variable] 4302 | std::optional srect_ = get_tag_window_rect(parts.at(0).toStdString(), &schar_rects); | ^~~~~~ -pdf_viewer/pdf_renderer.cpp: In member function 'fz_document* PdfRenderer::get_document_with_path(int, fz_context*, std::wstring)': -pdf_viewer/pdf_renderer.cpp:379:22: warning: variable 'ret_val' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] - 379 | fz_document* ret_val = nullptr; - | ^~~~~~~ pdf_viewer/ui.h: In instantiation of 'void BaseSelectorWidget::on_delete(const QModelIndex&, const QModelIndex&) [with T = std::__cxx11::basic_string; ViewType = QListView; ProxyModelType = QSortFilterProxyModel]': pdf_viewer/ui.h:132:15: required from here pdf_viewer/ui.h:132:51: warning: unused parameter 'source_index' [-Wunused-parameter] @@ -3587,11 +3671,11 @@ dumping object inventory... done ====================== slowest reading durations ======================= -0.396 commands -0.376 configuration -0.334 usage -0.231 scripting -0.061 installation +0.408 usage +0.389 commands +0.359 configuration +0.270 scripting +0.072 installation build succeeded. The HTML pages are in docs/docs/html. @@ -3602,11 +3686,11 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/sioyek-2.0.0+dfsg' dh_auto_install --destdir debian/tmp - make -j15 install DESTDIR=/build/sioyek-2.0.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/sioyek-2.0.0\+dfsg/debian/tmp + make -j16 install DESTDIR=/build/sioyek-2.0.0\+dfsg/debian/tmp AM_UPDATE_INFO_DIR=no INSTALL_ROOT=/build/sioyek-2.0.0\+dfsg/debian/tmp make[2]: Entering directory '/build/sioyek-2.0.0+dfsg' +/usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/resources/sioyek-icon-linux.png /build/sioyek-2.0.0+dfsg/debian/tmp/usr/share/pixmaps/sioyek-icon-linux.png /usr/lib/qt5/bin/qmake -install qinstall -exe sioyek /build/sioyek-2.0.0+dfsg/debian/tmp/usr/bin/sioyek /usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/resources/sioyek.desktop /build/sioyek-2.0.0+dfsg/debian/tmp/usr/share/applications/sioyek.desktop -/usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/resources/sioyek-icon-linux.png /build/sioyek-2.0.0+dfsg/debian/tmp/usr/share/pixmaps/sioyek-icon-linux.png /usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/pdf_viewer/shaders /build/sioyek-2.0.0+dfsg/debian/tmp/usr/share/sioyek/shaders /usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/tutorial.pdf /build/sioyek-2.0.0+dfsg/debian/tmp/usr/share/sioyek/tutorial.pdf /usr/lib/qt5/bin/qmake -install qinstall /build/sioyek-2.0.0+dfsg/pdf_viewer/keys.config /build/sioyek-2.0.0+dfsg/debian/tmp/usr/etc/sioyek/keys.config @@ -3637,8 +3721,8 @@ make[1]: Leaving directory '/build/sioyek-2.0.0+dfsg' dh_md5sums dh_builddeb -dpkg-deb: building package 'sioyek' in '../sioyek_2.0.0+dfsg-3_amd64.deb'. dpkg-deb: building package 'sioyek-dbgsym' in '../sioyek-dbgsym_2.0.0+dfsg-3_amd64.deb'. +dpkg-deb: building package 'sioyek' in '../sioyek_2.0.0+dfsg-3_amd64.deb'. dpkg-genbuildinfo --build=binary -O../sioyek_2.0.0+dfsg-3_amd64.buildinfo dpkg-genchanges --build=binary -O../sioyek_2.0.0+dfsg-3_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -3646,12 +3730,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/884017/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/884017/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/3274130 and its subdirectories -I: Current time: Thu Jun 1 19:46:47 -12 2023 -I: pbuilder-time-stamp: 1685692007 +I: removing directory /srv/workspace/pbuilder/884017 and its subdirectories +I: Current time: Fri Jul 5 04:22:50 +14 2024 +I: pbuilder-time-stamp: 1720102970