Diff of the two buildlogs: -- --- b1/build.log 2021-09-22 10:37:29.653669236 +0000 +++ b2/build.log 2021-09-22 10:39:14.113925865 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Oct 25 04:58:55 -12 2022 -I: pbuilder-time-stamp: 1666717135 +I: Current time: Thu Sep 23 00:37:33 +14 2021 +I: pbuilder-time-stamp: 1632307053 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bullseye-reproducible-base.tgz] I: copying local configuration @@ -16,8 +16,8 @@ I: copying [./epson-inkjet-printer-escpr_1.7.8-1.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.SbeQBxjL/trustedkeys.kbx': General error -gpgv: Signature made Tue Nov 24 19:32:26 2020 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.a5abqmJG/trustedkeys.kbx': General error +gpgv: Signature made Wed Nov 25 21:32:26 2020 +14 gpgv: using RSA key 27793BAC0D180A9964C78819A9C6FAC60D630169 gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./epson-inkjet-printer-escpr_1.7.8-1.dsc @@ -30,135 +30,169 @@ dpkg-source: info: applying 0003-Fix-suc-c-essful-typo-in-debug-message.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/17691/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/11490/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/11490/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/11490/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:hostcomplete:interactive_comments:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="1" [2]="4" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.1.4(1)-release' + BUILDDIR=/build + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all,-fixfilepath parallel=8' - DISTRIBUTION='' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION= + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='17691' - PS1='# ' - PS2='> ' + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=11490 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/tmp.OasTJg68rq/pbuilderrc_8ZV8 --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.OasTJg68rq/b1 --logfile b1/build.log epson-inkjet-printer-escpr_1.7.8-1.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/tmp.OasTJg68rq/pbuilderrc_pqUE --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.OasTJg68rq/b2 --logfile b2/build.log epson-inkjet-printer-escpr_1.7.8-1.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:36 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-156-generic #163-Ubuntu SMP Thu Aug 19 23:31:36 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Aug 4 2021 bash - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bunzip2 - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzcat - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzcmp -> bzdiff - -rwxr-xr-x 1 root root 2225 Jul 20 2020 bzdiff - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzegrep -> bzgrep - -rwxr-xr-x 1 root root 4877 Sep 4 2019 bzexe - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzfgrep -> bzgrep - -rwxr-xr-x 1 root root 3775 Jul 20 2020 bzgrep - -rwxr-xr-x 3 root root 34808 Jul 20 2020 bzip2 - -rwxr-xr-x 1 root root 14264 Jul 20 2020 bzip2recover - lrwxrwxrwx 1 root root 6 Jul 20 2020 bzless -> bzmore - -rwxr-xr-x 1 root root 1297 Jul 20 2020 bzmore - -rwxr-xr-x 1 root root 39832 Sep 22 2020 cat - -rwxr-xr-x 1 root root 64512 Sep 22 2020 chgrp - -rwxr-xr-x 1 root root 60368 Sep 22 2020 chmod - -rwxr-xr-x 1 root root 64528 Sep 22 2020 chown - -rwxr-xr-x 1 root root 138896 Sep 22 2020 cp - -rwxr-xr-x 1 root root 129544 Dec 10 2020 dash - -rwxr-xr-x 1 root root 101384 Sep 22 2020 date - -rwxr-xr-x 1 root root 80984 Sep 22 2020 dd - -rwxr-xr-x 1 root root 89824 Sep 22 2020 df - -rwxr-xr-x 1 root root 143088 Sep 22 2020 dir - -rwxr-xr-x 1 root root 76152 Jul 28 2021 dmesg - lrwxrwxrwx 1 root root 8 Nov 6 2019 dnsdomainname -> hostname - lrwxrwxrwx 1 root root 8 Nov 6 2019 domainname -> hostname - -rwxr-xr-x 1 root root 35632 Sep 22 2020 echo - -rwxr-xr-x 1 root root 28 Nov 9 2020 egrep - -rwxr-xr-x 1 root root 31512 Sep 22 2020 false - -rwxr-xr-x 1 root root 28 Nov 9 2020 fgrep - -rwxr-xr-x 1 root root 64856 Jul 28 2021 findmnt - -rwsr-xr-x 1 root root 34824 Feb 26 2021 fusermount - -rwxr-xr-x 1 root root 178400 Nov 9 2020 grep - -rwxr-xr-x 2 root root 2346 Mar 2 2021 gunzip - -rwxr-xr-x 1 root root 6376 Mar 2 2021 gzexe - -rwxr-xr-x 1 root root 93744 Mar 2 2021 gzip - -rwxr-xr-x 1 root root 18440 Nov 6 2019 hostname - -rwxr-xr-x 1 root root 68720 Sep 22 2020 ln - -rwxr-xr-x 1 root root 52720 Feb 7 2020 login - -rwxr-xr-x 1 root root 143088 Sep 22 2020 ls - -rwxr-xr-x 1 root root 161960 Jul 28 2021 lsblk - -rwxr-xr-x 1 root root 85200 Sep 22 2020 mkdir - -rwxr-xr-x 1 root root 68744 Sep 22 2020 mknod - -rwxr-xr-x 1 root root 43976 Sep 22 2020 mktemp - -rwxr-xr-x 1 root root 51368 Jul 28 2021 more - -rwsr-xr-x 1 root root 51360 Jul 28 2021 mount - -rwxr-xr-x 1 root root 14496 Jul 28 2021 mountpoint - -rwxr-xr-x 1 root root 134808 Sep 22 2020 mv - lrwxrwxrwx 1 root root 8 Nov 6 2019 nisdomainname -> hostname - lrwxrwxrwx 1 root root 14 Apr 18 2021 pidof -> /sbin/killall5 - -rwxr-xr-x 1 root root 35720 Sep 22 2020 pwd - lrwxrwxrwx 1 root root 4 Aug 4 2021 rbash -> bash - -rwxr-xr-x 1 root root 43872 Sep 22 2020 readlink - -rwxr-xr-x 1 root root 68592 Sep 22 2020 rm - -rwxr-xr-x 1 root root 43880 Sep 22 2020 rmdir - -rwxr-xr-x 1 root root 19208 Sep 27 2020 run-parts - -rwxr-xr-x 1 root root 114016 Dec 22 2018 sed - lrwxrwxrwx 1 root root 4 Oct 24 03:49 sh -> dash - -rwxr-xr-x 1 root root 35656 Sep 22 2020 sleep - -rwxr-xr-x 1 root root 72640 Sep 22 2020 stty - -rwsr-xr-x 1 root root 67776 Jul 28 2021 su - -rwxr-xr-x 1 root root 35672 Sep 22 2020 sync - -rwxr-xr-x 1 root root 535768 Feb 16 2021 tar - -rwxr-xr-x 1 root root 10568 Sep 27 2020 tempfile - -rwxr-xr-x 1 root root 89120 Sep 22 2020 touch - -rwxr-xr-x 1 root root 31512 Sep 22 2020 true - -rwxr-xr-x 1 root root 14264 Feb 26 2021 ulockmgr_server - -rwsr-xr-x 1 root root 30880 Jul 28 2021 umount - -rwxr-xr-x 1 root root 35640 Sep 22 2020 uname - -rwxr-xr-x 2 root root 2346 Mar 2 2021 uncompress - -rwxr-xr-x 1 root root 143088 Sep 22 2020 vdir - -rwxr-xr-x 1 root root 59584 Jul 28 2021 wdctl - lrwxrwxrwx 1 root root 8 Nov 6 2019 ypdomainname -> hostname - -rwxr-xr-x 1 root root 1984 Mar 2 2021 zcat - -rwxr-xr-x 1 root root 1678 Mar 2 2021 zcmp - -rwxr-xr-x 1 root root 5880 Mar 2 2021 zdiff - -rwxr-xr-x 1 root root 29 Mar 2 2021 zegrep - -rwxr-xr-x 1 root root 29 Mar 2 2021 zfgrep - -rwxr-xr-x 1 root root 2081 Mar 2 2021 zforce - -rwxr-xr-x 1 root root 7585 Mar 2 2021 zgrep - -rwxr-xr-x 1 root root 2206 Mar 2 2021 zless - -rwxr-xr-x 1 root root 1842 Mar 2 2021 zmore - -rwxr-xr-x 1 root root 4553 Mar 2 2021 znew -I: user script /srv/workspace/pbuilder/17691/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Aug 5 10:25 bash + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bunzip2 + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzcat + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzcmp -> bzdiff + -rwxr-xr-x 1 root root 2225 Jul 21 2020 bzdiff + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzegrep -> bzgrep + -rwxr-xr-x 1 root root 4877 Sep 5 2019 bzexe + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzfgrep -> bzgrep + -rwxr-xr-x 1 root root 3775 Jul 21 2020 bzgrep + -rwxr-xr-x 3 root root 34808 Jul 21 2020 bzip2 + -rwxr-xr-x 1 root root 14264 Jul 21 2020 bzip2recover + lrwxrwxrwx 1 root root 6 Jul 21 2020 bzless -> bzmore + -rwxr-xr-x 1 root root 1297 Jul 21 2020 bzmore + -rwxr-xr-x 1 root root 39832 Sep 23 2020 cat + -rwxr-xr-x 1 root root 64512 Sep 23 2020 chgrp + -rwxr-xr-x 1 root root 60368 Sep 23 2020 chmod + -rwxr-xr-x 1 root root 64528 Sep 23 2020 chown + -rwxr-xr-x 1 root root 138896 Sep 23 2020 cp + -rwxr-xr-x 1 root root 129544 Dec 11 2020 dash + -rwxr-xr-x 1 root root 101384 Sep 23 2020 date + -rwxr-xr-x 1 root root 80984 Sep 23 2020 dd + -rwxr-xr-x 1 root root 89824 Sep 23 2020 df + -rwxr-xr-x 1 root root 143088 Sep 23 2020 dir + -rwxr-xr-x 1 root root 76152 Jul 29 09:09 dmesg + lrwxrwxrwx 1 root root 8 Nov 8 2019 dnsdomainname -> hostname + lrwxrwxrwx 1 root root 8 Nov 8 2019 domainname -> hostname + -rwxr-xr-x 1 root root 35632 Sep 23 2020 echo + -rwxr-xr-x 1 root root 28 Nov 10 2020 egrep + -rwxr-xr-x 1 root root 31512 Sep 23 2020 false + -rwxr-xr-x 1 root root 28 Nov 10 2020 fgrep + -rwxr-xr-x 1 root root 64856 Jul 29 09:09 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 2021 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 2021 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 2021 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 2021 gzip + -rwxr-xr-x 1 root root 18440 Nov 8 2019 hostname + -rwxr-xr-x 1 root root 68720 Sep 23 2020 ln + -rwxr-xr-x 1 root root 52720 Feb 8 2020 login + -rwxr-xr-x 1 root root 143088 Sep 23 2020 ls + -rwxr-xr-x 1 root root 161960 Jul 29 09:09 lsblk + -rwxr-xr-x 1 root root 85200 Sep 23 2020 mkdir + -rwxr-xr-x 1 root root 68744 Sep 23 2020 mknod + -rwxr-xr-x 1 root root 43976 Sep 23 2020 mktemp + -rwxr-xr-x 1 root root 51368 Jul 29 09:09 more + -rwsr-xr-x 1 root root 51360 Jul 29 09:09 mount + -rwxr-xr-x 1 root root 14496 Jul 29 09:09 mountpoint + -rwxr-xr-x 1 root root 134808 Sep 23 2020 mv + lrwxrwxrwx 1 root root 8 Nov 8 2019 nisdomainname -> hostname + lrwxrwxrwx 1 root root 14 Apr 19 05:38 pidof -> /sbin/killall5 + -rwxr-xr-x 1 root root 35720 Sep 23 2020 pwd + lrwxrwxrwx 1 root root 4 Aug 5 10:25 rbash -> bash + -rwxr-xr-x 1 root root 43872 Sep 23 2020 readlink + -rwxr-xr-x 1 root root 68592 Sep 23 2020 rm + -rwxr-xr-x 1 root root 43880 Sep 23 2020 rmdir + -rwxr-xr-x 1 root root 19208 Sep 28 2020 run-parts + -rwxr-xr-x 1 root root 114016 Dec 23 2018 sed + lrwxrwxrwx 1 root root 4 Sep 23 00:37 sh -> bash + lrwxrwxrwx 1 root root 4 Sep 21 23:25 sh.distrib -> dash + -rwxr-xr-x 1 root root 35656 Sep 23 2020 sleep + -rwxr-xr-x 1 root root 72640 Sep 23 2020 stty + -rwsr-xr-x 1 root root 67776 Jul 29 09:09 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 2021 tar + -rwxr-xr-x 1 root root 10568 Sep 28 2020 tempfile + -rwxr-xr-x 1 root root 89120 Sep 23 2020 touch + -rwxr-xr-x 1 root root 31512 Sep 23 2020 true + -rwxr-xr-x 1 root root 14264 Feb 27 2021 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Jul 29 09:09 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 2021 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Jul 29 09:09 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 2021 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 2021 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 2021 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 2021 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 2021 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 2021 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 2021 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 2021 zless + -rwxr-xr-x 1 root root 1842 Mar 3 2021 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 2021 znew +I: user script /srv/workspace/pbuilder/11490/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -267,7 +301,7 @@ Get: 65 http://deb.debian.org/debian bullseye/main arm64 libcupsimage2-dev arm64 2.3.3op2-3+deb11u1 [6660 B] Get: 66 http://deb.debian.org/debian bullseye/main arm64 libcups2-dev arm64 2.3.3op2-3+deb11u1 [390 kB] Get: 67 http://deb.debian.org/debian bullseye/main arm64 pyppd all 1.1.0-1 [16.7 kB] -Fetched 27.2 MB in 1s (33.8 MB/s) +Fetched 27.2 MB in 1s (36.6 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package bsdextrautils. (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 ... 19646 files and directories currently installed.) @@ -558,7 +592,8 @@ fakeroot is already the newest version (1.25.3-1.1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/epson-inkjet-printer-escpr-1.7.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../epson-inkjet-printer-escpr_1.7.8-1_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/epson-inkjet-printer-escpr-1.7.8/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../epson-inkjet-printer-escpr_1.7.8-1_source.changes dpkg-buildpackage: info: source package epson-inkjet-printer-escpr dpkg-buildpackage: info: source version 1.7.8-1 dpkg-buildpackage: info: source distribution unstable @@ -759,22 +794,50 @@ rm m4-macros.tmp Making all in lib make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.8/lib' -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-cbt.lo `test -f 'epson-cbt.c' || echo './'`epson-cbt.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage.lo `test -f 'epson-escpage.c' || echo './'`epson-escpage.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-color.lo `test -f 'epson-escpage-color.c' || echo './'`epson-escpage-color.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-comp.lo `test -f 'epson-escpage-comp.c' || echo './'`epson-escpage-comp.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-mono.lo `test -f 'epson-escpage-mono.c' || echo './'`epson-escpage-mono.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-api.lo `test -f 'epson-escpr-api.c' || echo './'`epson-escpr-api.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-dbg.lo `test -f 'epson-escpr-dbg.c' || echo './'`epson-escpr-dbg.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-mem.lo `test -f 'epson-escpr-mem.c' || echo './'`epson-escpr-mem.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-comp.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-comp.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-cbt.lo `test -f 'epson-cbt.c' || echo './'`epson-cbt.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage.lo `test -f 'epson-escpage.c' || echo './'`epson-escpage.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-color.lo `test -f 'epson-escpage-color.c' || echo './'`epson-escpage-color.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-comp.lo `test -f 'epson-escpage-comp.c' || echo './'`epson-escpage-comp.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpage-mono.lo `test -f 'epson-escpage-mono.c' || echo './'`epson-escpage-mono.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-api.lo `test -f 'epson-escpr-api.c' || echo './'`epson-escpr-api.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-dbg.lo `test -f 'epson-escpr-dbg.c' || echo './'`epson-escpr-dbg.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-mem.lo `test -f 'epson-escpr-mem.c' || echo './'`epson-escpr-mem.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-color.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-color.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-mono.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-mono.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-api.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-api.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-cbt.c -fPIC -DPIC -o .libs/libescpr_la-epson-cbt.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpage-comp.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpage-comp.o +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-api.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-api.o +In file included from epson-escpage-color.c:22: +epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-dbg.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-dbg.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-mem.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-mem.o In file included from epson-escpage-mono.c:22: epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, @@ -872,35 +935,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -In file included from epson-escpage-color.c:22: -epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') epson-escpage-color.c: In function 'RegisterPalette': epson-escpage-color.c:830:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 830 | sprintf(p, sbplrBE, entryNum*4); /* 4 = RGBA */ @@ -945,6 +979,10 @@ 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ epson-escpage-color.c: In function 'BandEmit': +epson-cbt.c: In function 'commClose': +epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] + 654 | EPS_INT32 closePtlState = 0; + | ^~~~~~~~~~~~~ epson-escpage-color.c:980:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 980 | strcpy(p, "\x1D""0X"); | ^ @@ -1165,6 +1203,7 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-mem.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-mem.o In file included from epson-escpage.c:29: epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, @@ -1226,10 +1265,6 @@ 80 | { EPS_MPID_FRONT4, "LC4" } | ^~~~~ epson-escpage.c:80:22: note: (near initialization for 'pagePaperSource[6].name') -epson-cbt.c: In function 'commClose': -epson-cbt.c:654:15: warning: variable 'closePtlState' set but not used [-Wunused-but-set-variable] - 654 | EPS_INT32 closePtlState = 0; - | ^~~~~~~~~~~~~ epson-escpage.c: In function 'ejlStart': epson-escpage.c:1001:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1001 | sprintf(p, "%s%s \x0A%s\x0A%s %s", @@ -1473,36 +1508,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -In file included from epson-escpr-api.c:72: -epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') -epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-pm.lo `test -f 'epson-escpr-pm.c' || echo './'`epson-escpr-pm.c -epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') epson-escpage.c:1061:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1061 | EJLStart_ADDSTR(p, "BD", ( printJob.attr.duplex == EPS_DUPLEX_LONG )?"LE":"SE"); | ^ @@ -1596,6 +1601,7 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-pm.lo `test -f 'epson-escpr-pm.c' || echo './'`epson-escpr-pm.c epson-escpage.c:1069:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1069 | EJLStart_ADDSTR(p, "ZO", "OFF"); | ^ @@ -1858,46 +1864,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c: In function 'memStrStr': -epson-escpr-mem.c:149:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:189:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c:190:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-escpr-mem.c: In function 'memStrStrWithLen': -epson-escpr-mem.c:234:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -1906,12 +1872,6 @@ epson-escpage.c:983:11: note: in definition of macro 'EJLStart_ADDSTR' 983 | sprintf(b, " %s=%s", p, v); \ | ^ -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ In file included from /usr/include/features.h:461, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -1921,17 +1881,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-escpr-mem.c:273:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ - | ^~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-def.h:29, - from epson-escpr-mem.c:34: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-escpage.c:1117:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1117 | EJLStart_ADDSTR(p, "SL", "YES"); | ^ @@ -2270,6 +2219,92 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ +In file included from epson-escpr-api.c:72: +epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') +epson-escpr-mem.c: In function 'memStrStr': +epson-escpr-mem.c:149:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 149 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:189:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 189 | nFindStrLen = (EPS_UINT32)strlen(strFind); + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:190:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 190 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c: In function 'memStrStrWithLen': +epson-escpr-mem.c:234:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 234 | if(NULL == strSrc || 64 <= strlen(strFind)){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-escpr-mem.c:273:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 273 | if(0 <= nFindedTop && (EPS_INT32)strlen(strFind) == nFindPos){ + | ^~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-def.h:29, + from epson-escpr-mem.c:34: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ epson-escpr-api.c:4477:16: warning: 'MakePageNumCmd' defined but not used [-Wunused-function] 4477 | static void MakePageNumCmd ( | ^~~~~~~~~~~~~~ @@ -2279,9 +2314,7 @@ epson-escpr-api.c:234:24: warning: 'PrintNumCmd' defined but not used [-Wunused-const-variable=] 234 | static const EPS_UINT8 PrintNumCmd[] = { | ^~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-services.lo `test -f 'epson-escpr-services.c' || echo './'`epson-escpr-services.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-pm.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-pm.o -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-layout.lo `test -f 'epson-layout.c' || echo './'`epson-layout.c epson-escpr-pm.c: In function '_SP_ChangeSpec_UpdatePMReply': epson-escpr-pm.c:957:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 957 | if( (strcmp(printer->modelName, "E-300" ) == 0) ){ @@ -2393,7 +2426,11 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-escpr-services.lo `test -f 'epson-escpr-services.c' || echo './'`epson-escpr-services.c +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-layout.lo `test -f 'epson-layout.c' || echo './'`epson-layout.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-escpr-services.c -fPIC -DPIC -o .libs/libescpr_la-epson-escpr-services.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o epson-escpr-services.c: In function 'serParseDeviceID': epson-escpr-services.c:149:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 149 | if((i = strstr(deviceIDString, "MFG:")) != NULL) { @@ -3008,7 +3045,6 @@ /usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 330 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-layout.c -fPIC -DPIC -o .libs/libescpr_la-epson-layout.o epson-escpr-services.c: In function 'obsGetPageMode': epson-escpr-services.c:1324:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1324 | if( (strcmp(modelName, "EP-801A" ) == 0) || @@ -3054,6 +3090,7 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-lpr.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-lpr.o epson-escpr-services.c:1328:15: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1328 | (strcmp(modelName, "EP-901F" ) == 0) || | ^~~~~~~~~ @@ -3288,14 +3325,7 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-lpr.lo `test -f 'epson-net-lpr.c' || echo './'`epson-net-lpr.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c -/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-usb.lo `test -f 'epson-usb.c' || echo './'`epson-usb.c -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-lpr.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-lpr.o -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-snmp.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-snmp.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-raw.lo `test -f 'epson-net-raw.c' || echo './'`epson-net-raw.c epson-net-lpr.c: In function 'StartDataSession': epson-net-lpr.c:860:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 860 | sprintf(buffer, "\x02%s\n", pqueue); @@ -3480,7 +3510,10 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-net-snmp.lo `test -f 'epson-net-snmp.c' || echo './'`epson-net-snmp.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-raw.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-raw.o +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-protocol.lo `test -f 'epson-protocol.c' || echo './'`epson-protocol.c +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-net-snmp.c -fPIC -DPIC -o .libs/libescpr_la-epson-net-snmp.o epson-net-snmp.c: In function 'snmpFindStart': epson-net-snmp.c:68:29: warning: pointer targets in passing argument 3 of 'CreateCommand' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" @@ -3615,7 +3648,6 @@ epson-net-snmp.h:122:39: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 122 | const EPS_INT8*, EPS_UINT8, const EPS_INT8*, | ^~~~~~~~~~~~~~~ -libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o epson-net-snmp.c: In function 'snmpGetStatus_Page': epson-net-snmp.c:68:29: warning: pointer targets in passing argument 6 of 'snmpTransactS' differ in signedness [-Wpointer-sign] 68 | #define SNMP_COMMUNITY_STR "public" @@ -3927,6 +3959,7 @@ 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ epson-net-snmp.c: In function 'snmpMechCommand': +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-protocol.c -fPIC -DPIC -o .libs/libescpr_la-epson-protocol.o epson-net-snmp.c:1507:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1507 | sprintf(cOid, "%s.1.%d.%d.%d.%d.%d", s_oidPrvCtrl, 'p', 'e', 0x01, 0x00, 0x01); | ^~~~ @@ -4312,112 +4345,6 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c: In function 'usbFind': -epson-usb.c:252:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-usb.c:105:63: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, - | ^~~~~~~~~~~~~~~ -epson-usb.c:252:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-usb.c:106:12: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, - | ^~~~~~~~~~~~~~~ -epson-usb.c:252:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); - | ^~ - | | - | char * -epson-usb.c:106:29: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, - | ^~~~~~~~~~~~~~~ -epson-usb.c: In function 'usbProbePrinterByID': -epson-usb.c:311:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] - 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) - | ~~~~~~~~~~~~~~~~~^~~ -epson-usb.c:311:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); - | ^ -epson-usb.c:316:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] - 316 | sscanf(pPos, "%x", &nTmp); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 399 | extern int sscanf (const char *__restrict __s, - | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -epson-usb.c:324:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 324 | strcpy(modelNameTgt, pPos); - | ^~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:324:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 324 | strcpy(modelNameTgt, pPos); - | ^~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:328:8: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 328 | pPos = strtok(NULL, EPS_USBID_SEP); - | ^ -epson-usb.c:364:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:105:63: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, - | ^~~~~~~~~~~~~~~ -epson-usb.c:364:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:106:12: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, - | ^~~~~~~~~~~~~~~ -epson-usb.c:364:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] - 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); - | ^~ - | | - | char * -epson-usb.c:106:29: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, - | ^~~~~~~~~~~~~~~ epson-net-snmp.c:3091:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3091 | sprintf(&(*pDst)[nDstLen], "%d.", *(pSrc++)); | ^~~~~~~~~~~~~~~~~ @@ -4459,21 +4386,6 @@ /usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 385 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'usbResetPrinter': -epson-usb.c:804:14: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { - | ^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] - 712 | EPS_INT32 retBufSize; /* Size of buffer written */ - | ^~~~~~~~~~ epson-net-snmp.c:3139:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3139 | strcpy(pTmp, pSrc); | ^~~~ @@ -4530,47 +4442,6 @@ /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 361 | __NTH (atoi (const char *__nptr)) | ^~~~~ -In file included from epson-protocol.c:45: -epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, - | ^~~~ -epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') -epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, - | ^~~~ -epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') -epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, - | ^~~~ -epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') -epson-usb.c: In function 'usbMechCommand': -epson-usb.c:1212:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 1212 | if (strstr(Reply,"OK") == NULL){ - | ^~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, - | ^~~~ -epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') -epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, - | ^~~~ -epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') -epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, - | ^~~~~ -epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') -epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } - | ^~~~ -epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') epson-net-snmp.c:3148:4: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 3148 | p = strtok(NULL, "."); | ^ @@ -4608,143 +4479,6 @@ epson-net-snmp.c:3182:5: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 3182 | p = strtok(NULL, "."); | ^ -epson-usb.c: In function 'CreatePrinterInfo': -epson-usb.c:1466:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1466 | strcpy( (*printer)->location, EPS_USB_NAME ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1467:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); - | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1467:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); - | ^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1468:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1468 | strcpy( (*printer)->modelName, modelName ); - | ~~~~~~~~~~^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1468:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1468 | strcpy( (*printer)->modelName, modelName ); - | ^~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1469:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1469 | strcpy( (*printer)->serialNo, serialNo ); - | ~~~~~~~~~~^~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1469:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] - 1469 | strcpy( (*printer)->serialNo, serialNo ); - | ^~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ -epson-usb.c:1483:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] - 1483 | sprintf(usbIDString, EPS_USB_IDPRM_STR, usbInfo->dev.vid, usbInfo->dev.pid, modelName); - | ^~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) - | ^~~~~ -epson-usb.c: In function 'PortResolution': -epson-usb.c:1541:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c:1541:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ - | ~~~~~~~^~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c: In function 'ProbePrinterByName': epson-net-snmp.c: In function 'GetColorID': epson-net-snmp.c:3317:22: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] 3317 | if( memStrStr(name, "Black", FALSE) ){ @@ -4782,6 +4516,135 @@ epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3325:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3325 | } else if( memStrStr(name, "Red", FALSE) ){ + | ^~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3327:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ + | ^~~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3329:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3331:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ + | ^~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3333:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ + | ^~~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o libescpr_la-epson-usb.lo `test -f 'epson-usb.c' || echo './'`epson-usb.c +epson-net-snmp.c:3335:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3335 | } else if( memStrStr(name, "Green", FALSE) ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3339:27: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3347:21: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3347 | if( memStrStr(p, "Light", FALSE) ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3354:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3358:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ + | ^~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +epson-net-snmp.c:3362:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] + 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ + | ^~~~~~~ + | | + | char * +In file included from epson-net-snmp.c:40: +epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); + | ^~~~~~~~~~~~~~~ +In file included from epson-protocol.c:45: +epson-escpage.h:58:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 58 | { EPS_MSID_A4, 4960, 7016, 4720, 6776, "A4" }, + | ^~~~ +epson-escpage.h:58:42: note: (near initialization for 'pageMediaSize[0].name') +epson-escpage.h:59:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 59 | { EPS_MSID_A3, 7016, 9920, 6776, 9680, "A3" }, + | ^~~~ +epson-escpage.h:59:42: note: (near initialization for 'pageMediaSize[1].name') +epson-escpage.h:60:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 60 | { EPS_MSID_B4, 6072, 8600, 5832, 8360, "B4" }, + | ^~~~ +epson-escpage.h:60:42: note: (near initialization for 'pageMediaSize[2].name') +epson-escpage.h:61:42: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 61 | { EPS_MSID_B5, 4300, 6072, 4060, 5832, "B5" }, + | ^~~~ +epson-escpage.h:61:42: note: (near initialization for 'pageMediaSize[3].name') +epson-escpage.h:62:45: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 62 | { EPS_MSID_LETTER, 5100, 6600, 4860, 6360, "LT" }, + | ^~~~ +epson-escpage.h:62:45: note: (near initialization for 'pageMediaSize[4].name') +epson-escpage.h:63:44: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 63 | { EPS_MSID_LEGAL, 5100, 8400, 4860, 8160, "LGL"}, + | ^~~~~ +epson-escpage.h:63:44: note: (near initialization for 'pageMediaSize[5].name') +epson-escpage.h:64:46: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 64 | { EPS_MSID_POSTCARD,2362, 3496, 2122, 3256, "PC" } + | ^~~~ +epson-escpage.h:64:46: note: (near initialization for 'pageMediaSize[6].name') epson-protocol.c: In function 'prtProbePrinterByID': epson-protocol.c:542:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 542 | strcpy(sParse, probeParam->dsc.identify); @@ -4797,15 +4660,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3325:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3325 | } else if( memStrStr(name, "Red", FALSE) ){ - | ^~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:542:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 542 | strcpy(sParse, probeParam->dsc.identify); | ~~~~~~~~~~~~~~~^~~~~~~~~ @@ -4850,21 +4704,12 @@ | ^~~~ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3327:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3327 | } else if( memStrStr(name, "Violet", FALSE) ){ - | ^~~~~~~~ - | | - | char * In file included from epson-typedefs.h:29, from epson-escpr-pvt.h:32, from epson-protocol.c:39: /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:562:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 562 | if( 0 != strcmp(pPos, EPS_PID_DEF) ){ | ^~~~ @@ -4907,38 +4752,6 @@ epson-protocol.c:572:8: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] 572 | pPos = strtok(NULL, EPS_PID_SEP); | ^ -epson-net-snmp.c:3329:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3329 | } else if( memStrStr(name, "Clear", FALSE) ){ - | ^~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-usb.c:1636:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] - 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ - | ^~~~~~~~~~~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c:1636:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] - 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ - | ^~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 137 | extern int strcmp (const char *__s1, const char *__s2) - | ~~~~~~~~~~~~^~~~ -epson-usb.c: In function 'RmtInfoCommand': epson-protocol.c: In function 'prtRegPrinter': epson-protocol.c:921:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 921 | if( 0 == strcmp(printer->location, current->printer->location)){ @@ -4951,9 +4764,6 @@ /usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:1831:27: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] - 1831 | const EPS_INT8 *rsp = "@BDC PI\x0D\x0A"; - | ^~~~~~~~~~~~~~~~~ epson-protocol.c:921:55: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 921 | if( 0 == strcmp(printer->location, current->printer->location)){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~ @@ -4987,40 +4797,12 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:1886:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); - | ^~~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ epson-protocol.c: In function 'prtIsRegistered': -epson-usb.c:1891:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] - 1891 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); - | ^~~~~~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} epson-protocol.c:1021:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1021 | if( 0 == strcmp(current->printer->location, Address) ){ | ~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -In file included from /usr/include/features.h:461, - from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, - from /usr/include/stdio.h:27, - from epson-typedefs.h:29, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) - | ^~~~~ In file included from epson-typedefs.h:30, from epson-escpr-pvt.h:32, from epson-protocol.c:39: @@ -5060,45 +4842,7 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:1920:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ epson-protocol.c: In function 'prtAddUsrPrinter': -epson-net-snmp.c:3331:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3331 | } else if( memStrStr(name, "Gray", FALSE) ){ - | ^~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3333:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3333 | } else if( memStrStr(name, "Orange", FALSE) ){ - | ^~~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-net-snmp.c:3335:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3335 | } else if( memStrStr(name, "Green", FALSE) ){ - | ^~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:1100:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1100 | if( EPS_ADDR_BUFFSIZE < strlen(usrPrinter->location) ){ | ~~~~~~~~~~^~~~~~~~~~ @@ -5168,11 +4912,6 @@ | ~~~~~~~~~~~~^~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -epson-net-snmp.c:3339:27: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3339 | if( (p = memStrStr(name, "Light", TRUE)) != NULL ){ - | ^~~~~~~ - | | - | char * In file included from /usr/include/features.h:461, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5182,10 +4921,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:1154:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1154 | strcpy(innerPrinter->location, address); | ^~~~~~~ @@ -5219,11 +4954,6 @@ | ~~~~~~~~~~^~~~~~~~~~~ | | | const EPS_INT8 * {aka const signed char *} -epson-net-snmp.c:3347:21: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3347 | if( memStrStr(p, "Light", FALSE) ){ - | ^~~~~~~ - | | - | char * In file included from /usr/include/features.h:461, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5233,33 +4963,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ -epson-usb.c:1962:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] - 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ - | ^~~ - | | - | const EPS_INT8 * {aka const signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} - 385 | extern size_t strlen (const char *__s) - | ~~~~~~~~~~~~^~~ -epson-usb.c: In function 'nd4ReadPortal': -epson-usb.c:2095:42: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2095 | if( (dataSizePos = (EPS_UINT8*)strstr((EPS_INT8*)buff, "\x0D\x0A")) != NULL ){ - | ^~~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ epson-protocol.c: In function 'prtGetInnerPrinter': epson-protocol.c:1202:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1202 | if(0 == strcmp(printer->modelName, pCur->printer->modelName) @@ -5283,7 +4986,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c: In function 'ParseUsbProtocol': epson-protocol.c:1203:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1203 | && 0 == strcmp(printer->location, pCur->printer->location) ){ | ~~~~~~~^~~~~~~~~~ @@ -5306,20 +5008,6 @@ /usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 137 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ -epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^~~~~~~~~~~~~~ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-usb.c:2250:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { - | ^ epson-protocol.c: In function 'prtSetIdStr': epson-protocol.c:1334:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1334 | sprintf(printer->printerID, EPS_PRINTER_ID_STR, @@ -5335,30 +5023,7 @@ /usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ -epson-usb.c:2255:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2255 | if((j = strstr(i, ";")) == NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ -epson-usb.c:2255:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 2255 | if((j = strstr(i, ";")) == NULL) { - | ^ epson-protocol.c: In function 'FindNetPrinter': -epson-net-snmp.c:3354:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3354 | } else if( memStrStr(name, "Matte", FALSE) ){ - | ^~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:1510:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1510 | strcpy(pFncs->address, EPSNET_UDP_BROADCAST_ADDR); | ~~~~~^~~~~~~~~ @@ -5387,15 +5052,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3358:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3358 | } else if( memStrStr(name, "Dark", FALSE) ){ - | ^~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:1512:28: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1512 | strcpy(pFncs->address, address); | ^~~~~~~ @@ -5424,15 +5080,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-net-snmp.c:3362:29: warning: pointer targets in passing argument 2 of 'memStrStr' differ in signedness [-Wpointer-sign] - 3362 | } else if( memStrStr(name, "Photo", FALSE) ){ - | ^~~~~~~ - | | - | char * -In file included from epson-net-snmp.c:40: -epson-escpr-mem.h:112:42: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' - 112 | extern EPS_INT8* memStrStr (EPS_INT8*, const EPS_INT8*, EPS_BOOL ); - | ^~~~~~~~~~~~~~~ epson-protocol.c:1529:17: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1529 | strcpy(pFncs->address, address); | ~~~~~^~~~~~~~~ @@ -5490,17 +5137,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:2261:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] - 2261 | if((k = strstr(i, ",")) != NULL) { - | ^ - | | - | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 330 | extern char *strstr (const char *__haystack, const char *__needle) - | ~~~~~~~~~~~~^~~~~~~~~~ epson-protocol.c:1692:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1692 | strcpy(dst->macAddress, src->macAddress); | ~~~^~~~~~~~~~~~ @@ -5529,9 +5165,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:2261:9: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] - 2261 | if((k = strstr(i, ",")) != NULL) { - | ^ epson-protocol.c:1693:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1693 | strcpy(dst->manufacturerName, src->manufacturerName); | ~~~^~~~~~~~~~~~~~~~~~ @@ -5546,22 +5179,11 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:2270:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] - 2270 | if( strncmp(i, "END4", 4) == 0 ){ - | ^ - | | - | EPS_INT8 * {aka signed char *} epson-protocol.c:1693:35: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 1693 | strcpy(dst->manufacturerName, src->manufacturerName); | ~~~^~~~~~~~~~~~~~~~~~ | | | EPS_INT8 * {aka signed char *} -In file included from epson-typedefs.h:30, - from epson-escpr-pvt.h:32, - from epson-usb.c:37: -/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} - 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) - | ~~~~~~~~~~~~^~~~ In file included from /usr/include/features.h:461, from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, @@ -5571,7 +5193,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c: In function 'GetSerialNumber': epson-protocol.c:1694:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1694 | strcpy(dst->modelName, src->modelName); | ~~~^~~~~~~~~~~ @@ -5600,9 +5221,6 @@ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ -epson-usb.c:2328:10: warning: pointer targets in assignment from 'EPS_INT8 *' {aka 'signed char *'} to 'EPS_UINT8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] - 2328 | tmpBuff = (EPS_INT8*)EPS_ALLOC(tmpBuffSize); - | ^ epson-protocol.c:1695:12: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 1695 | strcpy(dst->friendlyName, src->friendlyName); | ~~~^~~~~~~~~~~~~~ @@ -5699,7 +5317,424 @@ /usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} 399 | extern int sscanf (const char *__restrict __s, | ~~~~~~~~~~~~~~~~~~~~~~~^~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -version-info 1:0:0 -Wl,-z,relro -Wl,-z,now -o libescpr.la -rpath /usr/lib/printer-driver-escpr libescpr_la-epson-cbt.lo libescpr_la-epson-escpage.lo libescpr_la-epson-escpage-color.lo libescpr_la-epson-escpage-comp.lo libescpr_la-epson-escpage-mono.lo libescpr_la-epson-escpr-api.lo libescpr_la-epson-escpr-dbg.lo libescpr_la-epson-escpr-mem.lo libescpr_la-epson-escpr-pm.lo libescpr_la-epson-escpr-services.lo libescpr_la-epson-layout.lo libescpr_la-epson-net-lpr.lo libescpr_la-epson-net-raw.lo libescpr_la-epson-net-snmp.lo libescpr_la-epson-protocol.lo libescpr_la-epson-usb.lo -lcupsimage -lcups +libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c epson-usb.c -fPIC -DPIC -o .libs/libescpr_la-epson-usb.o +epson-usb.c: In function 'usbFind': +epson-usb.c:252:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-usb.c:105:63: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, + | ^~~~~~~~~~~~~~~ +epson-usb.c:252:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-usb.c:106:12: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +epson-usb.c:252:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 252 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, &printer); + | ^~ + | | + | char * +epson-usb.c:106:29: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +epson-usb.c: In function 'usbProbePrinterByID': +epson-usb.c:311:16: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] + 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:336:39: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 336 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) + | ~~~~~~~~~~~~~~~~~^~~ +epson-usb.c:311:7: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 311 | pPos = strtok(printerUUID, EPS_USBID_SEP); + | ^ +epson-usb.c:316:11: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] + 316 | sscanf(pPos, "%x", &nTmp); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/stdio.h:399:43: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 399 | extern int sscanf (const char *__restrict __s, + | ~~~~~~~~~~~~~~~~~~~~~~~^~~ +epson-usb.c:324:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 324 | strcpy(modelNameTgt, pPos); + | ^~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:324:25: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 324 | strcpy(modelNameTgt, pPos); + | ^~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:328:8: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 328 | pPos = strtok(NULL, EPS_USBID_SEP); + | ^ +epson-usb.c:364:38: warning: pointer targets in passing argument 2 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:105:63: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 105 | static EPS_ERR_CODE CreatePrinterInfo (EPS_USB_PRINTER_INFO*, const EPS_INT8*, + | ^~~~~~~~~~~~~~~ +epson-usb.c:364:42: warning: pointer targets in passing argument 3 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:106:12: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +epson-usb.c:364:46: warning: pointer targets in passing argument 4 of 'CreatePrinterInfo' differ in signedness [-Wpointer-sign] + 364 | ret = CreatePrinterInfo(&usbInfo, "", "", "", 0, 0, printer); + | ^~ + | | + | char * +epson-usb.c:106:29: note: expected 'const EPS_INT8 *' {aka 'const signed char *'} but argument is of type 'char *' + 106 | const EPS_INT8*, const EPS_INT8*, EPS_INT32, + | ^~~~~~~~~~~~~~~ +epson-usb.c: In function 'usbResetPrinter': +epson-usb.c:804:14: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 804 | if (strstr((EPS_INT8*)pResult, "rj:OK;") == NULL) { + | ^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c:712:21: warning: variable 'retBufSize' set but not used [-Wunused-but-set-variable] + 712 | EPS_INT32 retBufSize; /* Size of buffer written */ + | ^~~~~~~~~~ +epson-usb.c: In function 'usbMechCommand': +epson-usb.c:1212:16: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 1212 | if (strstr(Reply,"OK") == NULL){ + | ^~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c: In function 'CreatePrinterInfo': +epson-usb.c:1466:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1466 | strcpy( (*printer)->location, EPS_USB_NAME ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1467:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1467:40: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1467 | strcpy( (*printer)->manufacturerName, manufacturer ); + | ^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1468:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1468 | strcpy( (*printer)->modelName, modelName ); + | ~~~~~~~~~~^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1468:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1468 | strcpy( (*printer)->modelName, modelName ); + | ^~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1469:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1469 | strcpy( (*printer)->serialNo, serialNo ); + | ~~~~~~~~~~^~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1469:32: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] + 1469 | strcpy( (*printer)->serialNo, serialNo ); + | ^~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1483:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] + 1483 | sprintf(usbIDString, EPS_USB_IDPRM_STR, usbInfo->dev.vid, usbInfo->dev.pid, modelName); + | ^~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:34:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 34 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) + | ^~~~~ +epson-usb.c: In function 'PortResolution': +epson-usb.c:1541:19: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c:1541:37: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1541 | if( 0 == strcmp(modelName, printer->modelName) ){ + | ~~~~~~~^~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'ProbePrinterByName': +epson-usb.c:1636:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] + 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ + | ^~~~~~~~~~~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:32: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c:1636:35: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] + 1636 | if( 0 == strcmp(modelNameTgt, modelName) ){ + | ^~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:137:50: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 137 | extern int strcmp (const char *__s1, const char *__s2) + | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'RmtInfoCommand': +epson-usb.c:1831:27: warning: pointer targets in initialization of 'const EPS_INT8 *' {aka 'const signed char *'} from 'char *' differ in signedness [-Wpointer-sign] + 1831 | const EPS_INT8 *rsp = "@BDC PI\x0D\x0A"; + | ^~~~~~~~~~~~~~~~~ +epson-usb.c:1886:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1886 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); + | ^~~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1891:10: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] + 1891 | strcpy((EPS_INT8*)*pResult, "@BDC PM\x0D\x0A"); + | ^~~~~~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from /usr/include/features.h:461, + from /usr/include/aarch64-linux-gnu/bits/libc-header-start.h:33, + from /usr/include/stdio.h:27, + from epson-typedefs.h:29, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/aarch64-linux-gnu/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 88 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) + | ^~~~~ +epson-usb.c:1920:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1920 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c:1962:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] + 1962 | if( 0 == memcmp(rsp, rspBuff, strlen(rsp)) ){ + | ^~~ + | | + | const EPS_INT8 * {aka const signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:385:35: note: expected 'const char *' but argument is of type 'const EPS_INT8 *' {aka 'const signed char *'} + 385 | extern size_t strlen (const char *__s) + | ~~~~~~~~~~~~^~~ +epson-usb.c: In function 'nd4ReadPortal': +epson-usb.c:2095:42: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2095 | if( (dataSizePos = (EPS_UINT8*)strstr((EPS_INT8*)buff, "\x0D\x0A")) != NULL ){ + | ^~~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c: In function 'ParseUsbProtocol': +epson-usb.c:2250:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^~~~~~~~~~~~~~ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c:2250:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 2250 | if((i = strstr(deviceIDString, "CMD:")) == NULL) { + | ^ +epson-usb.c:2255:20: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2255 | if((j = strstr(i, ";")) == NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c:2255:11: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 2255 | if((j = strstr(i, ";")) == NULL) { + | ^ +epson-usb.c:2261:18: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] + 2261 | if((k = strstr(i, ",")) != NULL) { + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:330:34: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 330 | extern char *strstr (const char *__haystack, const char *__needle) + | ~~~~~~~~~~~~^~~~~~~~~~ +epson-usb.c:2261:9: warning: pointer targets in assignment from 'char *' to 'EPS_INT8 *' {aka 'signed char *'} differ in signedness [-Wpointer-sign] + 2261 | if((k = strstr(i, ",")) != NULL) { + | ^ +epson-usb.c:2270:15: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] + 2270 | if( strncmp(i, "END4", 4) == 0 ){ + | ^ + | | + | EPS_INT8 * {aka signed char *} +In file included from epson-typedefs.h:30, + from epson-escpr-pvt.h:32, + from epson-usb.c:37: +/usr/include/string.h:140:33: note: expected 'const char *' but argument is of type 'EPS_INT8 *' {aka 'signed char *'} + 140 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) + | ~~~~~~~~~~~~^~~~ +epson-usb.c: In function 'GetSerialNumber': +epson-usb.c:2328:10: warning: pointer targets in assignment from 'EPS_INT8 *' {aka 'signed char *'} to 'EPS_UINT8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] + 2328 | tmpBuff = (EPS_INT8*)EPS_ALLOC(tmpBuffSize); + | ^ +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DGCOMSW_PRT_USE_USB -DGCOMSW_PRT_USE_LPR -DGCOMSW_PRT_USE_RAW -DGCOMSW_CMD_ESCPAGE -DGCOMSW_EL_CDLABEL -DGCOMSW_EF_MAINTE -DGCOMSW_CMD_ESCPAGE -DEPS_FILTER -DGCOMSW_ASYNCJOB_SUPPORT -DGCOMSW_RAWFILE_SUPPORT -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -O2 -version-info 1:0:0 -Wl,-z,relro -Wl,-z,now -o libescpr.la -rpath /usr/lib/printer-driver-escpr libescpr_la-epson-cbt.lo libescpr_la-epson-escpage.lo libescpr_la-epson-escpage-color.lo libescpr_la-epson-escpage-comp.lo libescpr_la-epson-escpage-mono.lo libescpr_la-epson-escpr-api.lo libescpr_la-epson-escpr-dbg.lo libescpr_la-epson-escpr-mem.lo libescpr_la-epson-escpr-pm.lo libescpr_la-epson-escpr-services.lo libescpr_la-epson-layout.lo libescpr_la-epson-net-lpr.lo libescpr_la-epson-net-raw.lo libescpr_la-epson-net-snmp.lo libescpr_la-epson-protocol.lo libescpr_la-epson-usb.lo -lcupsimage -lcups libtool: link: gcc -shared -fPIC -DPIC .libs/libescpr_la-epson-cbt.o .libs/libescpr_la-epson-escpage.o .libs/libescpr_la-epson-escpage-color.o .libs/libescpr_la-epson-escpage-comp.o .libs/libescpr_la-epson-escpage-mono.o .libs/libescpr_la-epson-escpr-api.o .libs/libescpr_la-epson-escpr-dbg.o .libs/libescpr_la-epson-escpr-mem.o .libs/libescpr_la-epson-escpr-pm.o .libs/libescpr_la-epson-escpr-services.o .libs/libescpr_la-epson-layout.o .libs/libescpr_la-epson-net-lpr.o .libs/libescpr_la-epson-net-raw.o .libs/libescpr_la-epson-net-snmp.o .libs/libescpr_la-epson-protocol.o .libs/libescpr_la-epson-usb.o -lcupsimage -lcups -g -O2 -fstack-protector-strong -O2 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,libescpr.so.1 -o .libs/libescpr.so.1.0.0 libtool: link: (cd ".libs" && rm -f "libescpr.so.1" && ln -s "libescpr.so.1.0.0" "libescpr.so.1") libtool: link: (cd ".libs" && rm -f "libescpr.so" && ln -s "libescpr.so.1.0.0" "libescpr.so") @@ -5719,11 +5754,6 @@ gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o epson_escpr-linux_cmn.o `test -f 'linux_cmn.c' || echo './'`linux_cmn.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -I../lib -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o epson_escpr-xfifo.o `test -f 'xfifo.c' || echo './'`xfifo.c gcc -DHAVE_CONFIG_H -I. -I.. -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -c -o epson_escpr_wrapper-wrapper.o `test -f 'wrapper.c' || echo './'`wrapper.c -mem.c: In function 'mem_malloc': -mem.c:34:3: warning: implicit declaration of function 'err_system'; did you mean 'system'? [-Wimplicit-function-declaration] - 34 | err_system ("mem_malloc"); - | ^~~~~~~~~~ - | system filter.c: In function 'epsInitJob': filter.c:132:2: warning: implicit declaration of function 'obsClear' [-Wimplicit-function-declaration] 132 | obsClear(); @@ -5747,6 +5777,11 @@ filter.c:833:2: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 833 | read (STDIN_FILENO, &page_num, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +mem.c: In function 'mem_malloc': +mem.c:34:3: warning: implicit declaration of function 'err_system'; did you mean 'system'? [-Wimplicit-function-declaration] + 34 | err_system ("mem_malloc"); + | ^~~~~~~~~~ + | system wrapper.c: In function 'main': wrapper.c:189:3: warning: 'cupsRasterReadHeader' is deprecated: Use cupsRasterReadHeader2 instead. [-Wdeprecated-declarations] 189 | ret = cupsRasterReadHeader (ras, &header); @@ -5800,9 +5835,9 @@ wrapper.c:357:2: warning: 'page_raw' may be used uninitialized in this function [-Wmaybe-uninitialized] 357 | free (page_raw); | ^~~~~~~~~~~~~~~ -/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lcupsimage -lcups +/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lcupsimage -lcups libtool: link: gcc -Wall -DCUPS_FILTER_NAME=\"epson-escpr\" -DCUPS_FILTER_PATH=\"/usr/lib/cups/filter\" -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o epson-escpr-wrapper epson_escpr_wrapper-wrapper.o -lpthread -lcupsimage -lcups -/bin/bash ../libtool --tag=CC --mode=link gcc -I../lib -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o ../lib/libescpr.la -lcupsimage -lcups +/bin/sh ../libtool --tag=CC --mode=link gcc -I../lib -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -lpthread -Wl,-z,relro -Wl,-z,now -o epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o ../lib/libescpr.la -lcupsimage -lcups libtool: link: gcc -I../lib -g -O2 -fdebug-prefix-map=/build/epson-inkjet-printer-escpr-1.7.8=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/epson-escpr epson_escpr-filter.o epson_escpr-debug.o epson_escpr-str.o epson_escpr-err.o epson_escpr-mem.o epson_escpr-linux_cmn.o epson_escpr-xfifo.o -lpthread ../lib/.libs/libescpr.so -lcupsimage -lcups -Wl,-rpath -Wl,/usr/lib/printer-driver-escpr make[3]: Leaving directory '/build/epson-inkjet-printer-escpr-1.7.8/src' make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.8' @@ -5853,7 +5888,7 @@ make[3]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.8/lib' make[4]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.8/lib' /bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr' - /bin/bash ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr' + /bin/sh ../libtool --mode=install /usr/bin/install -c libescpr.la '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/libescpr.so.1.0.0 /build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr/libescpr.so.1.0.0 libtool: install: (cd /build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so.1 || { rm -f libescpr.so.1 && ln -s libescpr.so.1.0.0 libescpr.so.1; }; }) libtool: install: (cd /build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/printer-driver-escpr && { ln -s -f libescpr.so.1.0.0 libescpr.so || { rm -f libescpr.so && ln -s libescpr.so.1.0.0 libescpr.so; }; }) @@ -5893,7 +5928,7 @@ make[4]: Entering directory '/build/epson-inkjet-printer-escpr-1.7.8/src' make[4]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/cups/filter' - /bin/bash ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/cups/filter' + /bin/sh ../libtool --mode=install /usr/bin/install -c epson-escpr epson-escpr-wrapper '/build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/cups/filter' libtool: warning: '../lib/libescpr.la' has not been installed in '/usr/lib/printer-driver-escpr' libtool: install: /usr/bin/install -c .libs/epson-escpr /build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/cups/filter/epson-escpr libtool: install: /usr/bin/install -c epson-escpr-wrapper /build/epson-inkjet-printer-escpr-1.7.8/debian/tmp/usr/lib/cups/filter/epson-escpr-wrapper @@ -5943,12 +5978,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/11490/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/11490/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/17691 and its subdirectories -I: Current time: Tue Oct 25 05:00:28 -12 2022 -I: pbuilder-time-stamp: 1666717228 +I: removing directory /srv/workspace/pbuilder/11490 and its subdirectories +I: Current time: Thu Sep 23 00:39:13 +14 2021 +I: pbuilder-time-stamp: 1632307153