Diff of the two buildlogs: -- --- b1/build.log 2021-07-17 00:10:06.327570720 +0000 +++ b2/build.log 2021-07-17 00:11:55.979425538 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Aug 18 18:31:27 -12 2022 -I: pbuilder-time-stamp: 1660890687 +I: Current time: Sat Jul 17 14:10:34 +14 2021 +I: pbuilder-time-stamp: 1626480634 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 [./transcalc_0.14-7.debian.tar.xz] I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' -gpgv: keyblock resource '/tmp/dpkg-verify-sig.5Tu7WkXW/trustedkeys.kbx': General error -gpgv: Signature made Sat Jan 2 10:51:13 2021 -12 +gpgv: keyblock resource '/tmp/dpkg-verify-sig.DsH8ghRh/trustedkeys.kbx': General error +gpgv: Signature made Sun Jan 3 12:51:13 2021 +14 gpgv: using RSA key 9236557B170C87F8821C0AC3C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./transcalc_0.14-7.dsc @@ -35,135 +35,169 @@ dpkg-source: info: applying 080_fix_ftbfs_gcc10.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/9065/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/28469/tmp/hooks/D01_modify_environment starting +debug: Running on codethink12-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/28469/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/28469/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='9065' - 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=28469 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.fLQsUAVqPg/pbuilderrc_o0RL --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.fLQsUAVqPg/b1 --logfile b1/build.log transcalc_0.14-7.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.fLQsUAVqPg/pbuilderrc_JVsd --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bullseye-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/tmp.fLQsUAVqPg/b2 --logfile b2/build.log --extrapackages usrmerge transcalc_0.14-7.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 codethink11-arm64 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-147-generic #151-Ubuntu SMP Fri Jun 18 19:18:37 UTC 2021 aarch64 GNU/Linux I: ls -l /bin total 5252 - -rwxr-xr-x 1 root root 1282512 Jun 21 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 Feb 7 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 Feb 7 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 Feb 7 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 Feb 7 2021 more - -rwsr-xr-x 1 root root 51360 Feb 7 2021 mount - -rwxr-xr-x 1 root root 14496 Feb 7 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 Jun 21 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 Aug 18 03:47 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 Feb 7 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 Feb 7 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 Feb 7 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/9065/tmp/hooks/D02_print_environment finished + -rwxr-xr-x 1 root root 1282512 Jun 22 16:26 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 Feb 8 04:38 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 Feb 8 04:38 findmnt + -rwsr-xr-x 1 root root 34824 Feb 27 06:12 fusermount + -rwxr-xr-x 1 root root 178400 Nov 10 2020 grep + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 gunzip + -rwxr-xr-x 1 root root 6376 Mar 3 13:30 gzexe + -rwxr-xr-x 1 root root 93744 Mar 3 13:30 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 Feb 8 04:38 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 Feb 8 04:38 more + -rwsr-xr-x 1 root root 51360 Feb 8 04:38 mount + -rwxr-xr-x 1 root root 14496 Feb 8 04:38 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 Jun 22 16:26 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 Jul 17 14:10 sh -> bash + lrwxrwxrwx 1 root root 4 Jul 15 23:26 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 Feb 8 04:38 su + -rwxr-xr-x 1 root root 35672 Sep 23 2020 sync + -rwxr-xr-x 1 root root 535768 Feb 17 23:55 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 06:12 ulockmgr_server + -rwsr-xr-x 1 root root 30880 Feb 8 04:38 umount + -rwxr-xr-x 1 root root 35640 Sep 23 2020 uname + -rwxr-xr-x 2 root root 2346 Mar 3 13:30 uncompress + -rwxr-xr-x 1 root root 143088 Sep 23 2020 vdir + -rwxr-xr-x 1 root root 59584 Feb 8 04:38 wdctl + lrwxrwxrwx 1 root root 8 Nov 8 2019 ypdomainname -> hostname + -rwxr-xr-x 1 root root 1984 Mar 3 13:30 zcat + -rwxr-xr-x 1 root root 1678 Mar 3 13:30 zcmp + -rwxr-xr-x 1 root root 5880 Mar 3 13:30 zdiff + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zegrep + -rwxr-xr-x 1 root root 29 Mar 3 13:30 zfgrep + -rwxr-xr-x 1 root root 2081 Mar 3 13:30 zforce + -rwxr-xr-x 1 root root 7585 Mar 3 13:30 zgrep + -rwxr-xr-x 1 root root 2206 Mar 3 13:30 zless + -rwxr-xr-x 1 root root 1842 Mar 3 13:30 zmore + -rwxr-xr-x 1 root root 4553 Mar 3 13:30 znew +I: user script /srv/workspace/pbuilder/28469/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -402,7 +436,7 @@ Get: 195 http://deb.debian.org/debian bullseye/main arm64 libxdamage-dev arm64 1:1.1.5-2 [15.7 kB] Get: 196 http://deb.debian.org/debian bullseye/main arm64 libxml2-utils arm64 2.9.10+dfsg-6.7 [107 kB] Get: 197 http://deb.debian.org/debian bullseye/main arm64 libgtk2.0-dev arm64 2.24.33-2 [827 kB] -Fetched 83.0 MB in 2s (50.8 MB/s) +Fetched 83.0 MB in 2s (51.3 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.) @@ -1216,8 +1250,45 @@ Writing extended state information... Building tag database... -> Finished parsing the build-deps +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 157 kB of additional disk space will be used. +Get:1 http://deb.debian.org/debian bullseye/main arm64 libnumber-compare-perl all 0.03-1.1 [6956 B] +Get:2 http://deb.debian.org/debian bullseye/main arm64 libtext-glob-perl all 0.11-1 [8888 B] +Get:3 http://deb.debian.org/debian bullseye/main arm64 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://deb.debian.org/debian bullseye/main arm64 usrmerge all 25 [13.0 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 0s (1270 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 33827 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1.1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1.1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.11-1_all.deb ... +Unpacking libtext-glob-perl (0.11-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_25_all.deb ... +Unpacking usrmerge (25) ... +Setting up libtext-glob-perl (0.11-1) ... +Setting up libnumber-compare-perl (0.03-1.1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (25) ... +The system has been successfully converted. +Processing triggers for man-db (2.9.4-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/transcalc-0.14/ && 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 > ../transcalc_0.14-7_source.changes +hostname: Temporary failure in name resolution +I: Running cd /build/transcalc-0.14/ && 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 > ../transcalc_0.14-7_source.changes dpkg-buildpackage: info: source package transcalc dpkg-buildpackage: info: source version 0.14-7 dpkg-buildpackage: info: source distribution unstable @@ -1240,7 +1311,7 @@ ./configure --build=aarch64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/aarch64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes -checking for a thread-safe mkdir -p... /bin/mkdir -p +checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes @@ -1264,8 +1335,8 @@ checking for some Win32 platform... no checking for native Win32... no checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.7... yes @@ -1353,56 +1424,6 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from options.c:27: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_menu.c:28: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -1428,7 +1449,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from help.c:29: + from setup_status.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1441,7 +1462,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from help.c:29: + from setup_status.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1453,7 +1474,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_status.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1466,7 +1488,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_status.c:28: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1478,7 +1501,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from unitscombo.c:29: + from options.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1491,7 +1514,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from unitscombo.c:29: + from options.c:27: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1499,15 +1522,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_menu.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from options.c:27: + from setup_body.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1521,10 +1536,18 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_menu.c:28: + from setup_body.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from setup_status.c:28: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, @@ -1535,7 +1558,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from options.c:27: + from setup_status.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1543,7 +1566,8 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_body.c:24: + from transcalc.h:43, + from transcalc.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1557,15 +1581,55 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_body.c:24: + from transcalc.h:43, + from transcalc.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +transcalc.c: In function 'read_config_file': +transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 188 | fgets(buf, 256, fp); + | ^~~~~~~~~~~~~~~~~~~ +transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] + 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from setup_menu.c:28: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from setup_menu.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_label.o setup_label.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from help.c:29: + from options.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1579,15 +1643,41 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from help.c:29: + from options.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from unitscombo.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from unitscombo.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_values.o setup_values.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_status.c:28: + from setup_menu.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1601,10 +1691,14 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_status.c:28: + from setup_menu.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +options.c: In function 'optionsCB': +options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] + 161 | GtkWidget *vbox; + | ^~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1627,14 +1721,6 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -options.c: In function 'optionsCB': -options.c:161:14: warning: variable 'vbox' set but not used [-Wunused-but-set-variable] - 161 | GtkWidget *vbox; - | ^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_label.o setup_label.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_values.o setup_values.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o file_io.o file_io.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1643,8 +1729,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from transcalc.h:43, - from transcalc.c:26: + from image_util.c:28: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1657,8 +1742,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from transcalc.c:26: + from image_util.c:28: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1670,7 +1754,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from image_util.c:28: + from help.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1683,7 +1767,7 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: + from help.c:29: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ @@ -1691,8 +1775,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from transcalc.c:26: + from image_util.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1706,17 +1789,18 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from transcalc.c:26: + from image_util.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o setup_transgui.o setup_transgui.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o file_io.o file_io.c gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o print_trans.o print_trans.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from image_util.c:28: + from help.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1730,51 +1814,11 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from image_util.c:28: + from help.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -transcalc.c: In function 'read_config_file': -transcalc.c:188:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 188 | fgets(buf, 256, fp); - | ^~~~~~~~~~~~~~~~~~~ -transcalc.c:202:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 202 | fscanf(fp,"%s %hd\n",tmp_str1,&length_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:203:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 203 | fscanf(fp, "%s %hd\n",tmp_str1,&res_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -transcalc.c:204:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] - 204 | fscanf(fp, "%s %hd\n",tmp_str1,&ang_unit); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o microstrip.o microstrip.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from setup_transgui.c:29: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1802,6 +1846,7 @@ /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o c_microstrip.o c_microstrip.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -1810,7 +1855,8 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from file_io.c:31: + from transcalc.h:43, + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1823,15 +1869,18 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from file_io.c:31: + from transcalc.h:43, + from setup_values.c:32: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o rectwaveguide.o rectwaveguide.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from setup_transgui.c:29: + from transcalc.h:43, + from setup_label.c:31: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1845,7 +1894,8 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from setup_transgui.c:29: + from transcalc.h:43, + from setup_label.c:31: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1854,7 +1904,7 @@ from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from transcalc.h:43, - from setup_label.c:31: + from setup_values.c:32: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1869,7 +1919,7 @@ from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from transcalc.h:43, - from setup_label.c:31: + from setup_values.c:32: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ @@ -1881,8 +1931,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from transcalc.h:43, - from setup_values.c:32: + from setup_transgui.c:29: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1895,11 +1944,37 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_values.c:32: + from setup_transgui.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from file_io.c:31: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from file_io.c:31: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -1953,8 +2028,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from transcalc.h:43, - from setup_values.c:32: + from setup_transgui.c:29: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -1968,11 +2042,35 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from transcalc.h:43, - from setup_values.c:32: + from setup_transgui.c:29: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from microstrip.c:29: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from microstrip.c:29: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ file_io.c: In function 'trc_file_load': file_io.c:181:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 181 | fgets(buf, 256, fp); @@ -1998,11 +2096,6 @@ file_io.c:257:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 257 | fscanf(fp, "%d %d\n", &main_window_width, &main_window_height); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -setup_transgui.c: In function 'setup_transgui': -setup_transgui.c:468:2: warning: 'defaultval' may be used uninitialized in this function [-Wmaybe-uninitialized] - 468 | sprintf(textentry,"%g", (float) defaultval); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o coax.o coax.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2027,6 +2120,28 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from microstrip.c:29: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from microstrip.c:29: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ print_trans.c: In function 'get_trans_text': print_trans.c:71:13: warning: Deprecated pre-processor symbol, replace with 71 | g_string_sprintf (s,"TRANSCALC v%s\n",VERSION); @@ -2115,7 +2230,121 @@ print_trans.c:165:13: warning: Deprecated pre-processor symbol, replace with 165 | g_string_sprintfa (s, "%s\n", newch1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o callback_general.o callback_general.c +microstrip.c: In function 'conductor_losses': +microstrip.c:291:56: warning: variable 'tand' set but not used [-Wunused-but-set-variable] + 291 | gfloat f, w, e_r_eff_0, Z0_h_1, delta, sigma, rough, tand; + | ^~~~ +microstrip.c: In function 'get_microstrip_sub': +microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_comp': +microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_elec': +microstrip.c:505:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 505 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'get_microstrip_phys': +microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'show_results': +microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +microstrip.c: In function 'synthesize_microstrip': +microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from microstrip.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2124,7 +2353,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from microstrip.c:29: + from coax.c:30: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2137,10 +2366,166 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from microstrip.c:29: + from coax.c:30: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ +gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from coax.c:30: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from coax.c:30: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ +setup_transgui.c: In function 'setup_transgui': +setup_transgui.c:468:2: warning: 'defaultval' may be used uninitialized in this function [-Wmaybe-uninitialized] + 468 | sprintf(textentry,"%g", (float) defaultval); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +coax.c: In function 'get_coax_comp': +coax.c:79:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 79 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 80 | (GTK_COMBO + | ~~~~~~~~~~ + 81 | (cwin->component_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c: In function 'get_coax_elec': +coax.c:99:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 99 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 100 | (GTK_COMBO + | ~~~~~~~~~~ + 101 | (cwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:106:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 106 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 107 | (GTK_COMBO + | ~~~~~~~~~~ + 108 | (cwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c: In function 'get_coax_phys': +coax.c:126:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 126 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 127 | (GTK_COMBO + | ~~~~~~~~~~ + 128 | (cwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:133:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 133 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 134 | (GTK_COMBO + | ~~~~~~~~~~ + 135 | (cwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:140:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 140 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 141 | (GTK_COMBO + | ~~~~~~~~~~ + 142 | (cwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c: In function 'analyze_coax': +coax.c:259:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 259 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 260 | (GTK_ENTRY + | ~~~~~~~~~~ + 261 | (GTK_COMBO (cwin->electrical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:265:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 265 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 266 | (GTK_ENTRY + | ~~~~~~~~~~ + 267 | (GTK_COMBO(cwin->electrical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c: In function 'synthesize_coax': +coax.c:393:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 393 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 394 | (GTK_ENTRY + | ~~~~~~~~~~ + 395 | (GTK_COMBO(cwin->physical_param_combo[0])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:401:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 401 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 402 | (GTK_ENTRY + | ~~~~~~~~~~ + 403 | (GTK_COMBO(cwin->physical_param_combo[1])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:412:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 412 | required_unit = getunit (gtk_entry_get_text + | ^~~~~~~~~~~~~~~~~~ + 413 | (GTK_ENTRY + | ~~~~~~~~~~ + 414 | (GTK_COMBO(cwin->physical_param_combo[2])->entry))); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from coax.c:33: +unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} + 23 | gint getunit (gchar *text); + | ~~~~~~~^~~~ +coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] + 358 | gfloat f, er, din, dout, Z0; + | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2195,7 +2580,7 @@ from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, - from microstrip.c:29: + from c_microstrip.c:28: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ @@ -2209,21 +2594,24 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from microstrip.c:29: + from c_microstrip.c:28: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from c_microstrip.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, +In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, + from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, + from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from callback_general.c:28: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:24, + from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, @@ -2231,10 +2619,10 @@ from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, - from c_microstrip.c:28: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ + from callback_general.c:28: +/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here + 679 | { + | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2257,39 +2645,6 @@ /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ -microstrip.c: In function 'conductor_losses': -microstrip.c:291:56: warning: variable 'tand' set but not used [-Wunused-but-set-variable] - 291 | gfloat f, w, e_r_eff_0, Z0_h_1, delta, sigma, rough, tand; - | ^~~~ -microstrip.c: In function 'get_microstrip_sub': -microstrip.c:454:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 454 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[2])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:459:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 459 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[3])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:464:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 464 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:473:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 473 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[7])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ c_microstrip.c: In function 'compute_single_line': c_microstrip.c:160:21: warning: variable 'er_eff_single' set but not used [-Wunused-but-set-variable] 160 | gfloat Z0_single, er_eff_single; @@ -2309,88 +2664,6 @@ c_microstrip.c:158:25: warning: variable 's' set but not used [-Wunused-but-set-variable] 158 | gfloat er, mur, h, w, s, ht, t; | ^ -microstrip.c: In function 'get_microstrip_comp': -microstrip.c:489:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 489 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->component_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_elec': -microstrip.c:505:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 505 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:510:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 510 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'get_microstrip_phys': -microstrip.c:527:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 527 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:532:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 532 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'show_results': -microstrip.c:554:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 554 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:558:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 558 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:562:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 562 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:570:27: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 570 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c:571:124: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 571 | sprintf(text, "Skin Depth = %.4g %s\n", (ms->skindepth * conv_length[LENGTH_M][required_unit]), length_unit_text(getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->subparam_combo[4])->entry))))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -microstrip.c: In function 'synthesize_microstrip': -microstrip.c:704:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 704 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from microstrip.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ c_microstrip.c: In function 'conductor_losses': c_microstrip.c:548:79: warning: variable 'tand' set but not used [-Wunused-but-set-variable] 548 | gfloat f, w, e_r_eff_e_0, e_r_eff_o_0, Z0_h_e, Z0_h_o, delta, sigma, rough, tand; @@ -2436,6 +2709,28 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, + from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, + from /usr/include/gtk-2.0/gtk/gtk.h:126, + from callback_general.c:28: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:32, + from /usr/include/glib-2.0/glib.h:30, + from /usr/include/glib-2.0/gobject/gbinding.h:28, + from /usr/include/glib-2.0/glib-object.h:22, + from /usr/include/glib-2.0/gio/gioenums.h:28, + from /usr/include/glib-2.0/gio/giotypes.h:28, + from /usr/include/glib-2.0/gio/gio.h:26, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32, + from callback_general.c:28: +/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here + 547 | struct _GTimeVal + | ^~~~~~~~~ c_microstrip.c: In function 'get_c_microstrip_elec': c_microstrip.c:941:23: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 941 | curr_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->electrical_param_combo[0])->entry))); @@ -2523,6 +2818,33 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +coax.c: In function 'analyze_coax': +coax.c:262:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 262 | sprintf(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit])); + | ^~ +coax.c:262:20: note: assuming directive output of 12 bytes + 262 | sprintf(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from coax.c:29: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +coax.c:268:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 268 | sprintf(text,"%g", (float) (cx->ang_l * conv_ang[ANG_RAD][required_unit])); + | ^~ +coax.c:268:20: note: assuming directive output of 12 bytes + 268 | sprintf(text,"%g", (float) (cx->ang_l * conv_ang[ANG_RAD][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from coax.c:29: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c: In function 'synthesize_c_microstrip': c_microstrip.c:1169:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1169 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[0])->entry))); @@ -2531,7 +2853,6 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ -gcc -DHAVE_CONFIG_H -I. -I.. -pthread -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -DDATADIR=\"/usr/share\" -Wdate-time -D_FORTIFY_SOURCE=2 -ggdb -O2 -Wall -c -o fnmatch.o fnmatch.c c_microstrip.c:1173:29: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1173 | required_unit = getunit(gtk_entry_get_text(GTK_ENTRY(GTK_COMBO(mwin->physical_param_combo[1])->entry))); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2539,6 +2860,19 @@ unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} 23 | gint getunit (gchar *text); | ~~~~~~~^~~~ +microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~ +microstrip.c:705:19: note: assuming directive output of 12 bytes + 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); + | ^~~~ +In file included from /usr/include/stdio.h:867, + from microstrip.c:28: +/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 + 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 37 | __bos (__s), __fmt, __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rectwaveguide.c: In function 'alphac': rectwaveguide.c:104:14: warning: variable 'k' set but not used [-Wunused-but-set-variable] 104 | gfloat Rs, k, f_c; @@ -2719,291 +3053,68 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from coax.c:30: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from coax.c:30: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from coax.c:30: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from coax.c:30: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, - from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, - from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from callback_general.c:28: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -In file included from /usr/include/glib-2.0/gobject/gobject.h:24, - from /usr/include/glib-2.0/gobject/gbinding.h:29, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from callback_general.c:28: -/usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here - 679 | { - | ^ -coax.c: In function 'get_coax_comp': -coax.c:79:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 79 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 80 | (GTK_COMBO - | ~~~~~~~~~~ - 81 | (cwin->component_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c: In function 'get_coax_elec': -coax.c:99:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 99 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 100 | (GTK_COMBO - | ~~~~~~~~~~ - 101 | (cwin->electrical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:106:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 106 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 107 | (GTK_COMBO - | ~~~~~~~~~~ - 108 | (cwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c: In function 'get_coax_phys': -coax.c:126:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 126 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 127 | (GTK_COMBO - | ~~~~~~~~~~ - 128 | (cwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:133:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 133 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 134 | (GTK_COMBO - | ~~~~~~~~~~ - 135 | (cwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:140:24: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 140 | curr_unit = getunit (gtk_entry_get_text (GTK_ENTRY - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 141 | (GTK_COMBO - | ~~~~~~~~~~ - 142 | (cwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c: In function 'analyze_coax': -coax.c:259:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 259 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 260 | (GTK_ENTRY - | ~~~~~~~~~~ - 261 | (GTK_COMBO (cwin->electrical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:265:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 265 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 266 | (GTK_ENTRY - | ~~~~~~~~~~ - 267 | (GTK_COMBO(cwin->electrical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ coax.c: In function 'synthesize_coax': -coax.c:393:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 393 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 394 | (GTK_ENTRY - | ~~~~~~~~~~ - 395 | (GTK_COMBO(cwin->physical_param_combo[0])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:401:34: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 401 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 402 | (GTK_ENTRY - | ~~~~~~~~~~ - 403 | (GTK_COMBO(cwin->physical_param_combo[1])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:412:32: warning: passing argument 1 of 'getunit' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 412 | required_unit = getunit (gtk_entry_get_text - | ^~~~~~~~~~~~~~~~~~ - 413 | (GTK_ENTRY - | ~~~~~~~~~~ - 414 | (GTK_COMBO(cwin->physical_param_combo[2])->entry))); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from coax.c:33: -unitscombo.h:23:22: note: expected 'gchar *' {aka 'char *'} but argument is of type 'const gchar *' {aka 'const char *'} - 23 | gint getunit (gchar *text); - | ~~~~~~~^~~~ -coax.c:358:10: warning: variable 'f' set but not used [-Wunused-but-set-variable] - 358 | gfloat f, er, din, dout, Z0; - | ^ -rectwaveguide.c: In function 'analyze_rectwaveguide': -rectwaveguide.c:362:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); - | ^~ -rectwaveguide.c:362:20: note: assuming directive output of 12 bytes - 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); - | ^~~~ +coax.c:404:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:404:22: note: assuming directive output of 12 bytes + 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); + | ^~~~ In file included from /usr/include/stdio.h:867, - from rectwaveguide.c:22: + from coax.c:29: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -rectwaveguide.c:368:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); - | ^~ -rectwaveguide.c:368:20: note: assuming directive output of 12 bytes - 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); - | ^~~~ +coax.c:396:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:396:22: note: assuming directive output of 12 bytes + 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); + | ^~~~ In file included from /usr/include/stdio.h:867, - from rectwaveguide.c:22: + from coax.c:29: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, - from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, - from /usr/include/gtk-2.0/gtk/gtk.h:126, - from callback_general.c:28: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:32, - from /usr/include/glib-2.0/glib.h:30, - from /usr/include/glib-2.0/gobject/gbinding.h:28, - from /usr/include/glib-2.0/glib-object.h:22, - from /usr/include/glib-2.0/gio/gioenums.h:28, - from /usr/include/glib-2.0/gio/giotypes.h:28, - from /usr/include/glib-2.0/gio/gio.h:26, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32, - from callback_general.c:28: -/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here - 547 | struct _GTimeVal - | ^~~~~~~~~ -microstrip.c:705:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~ -microstrip.c:705:19: note: assuming directive output of 12 bytes - 705 | sprintf(text, "%g", (float) (ms->w * conv_length[LENGTH_M][required_unit])); - | ^~~~ +coax.c:415:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); + | ^~ +coax.c:415:20: note: assuming directive output of 12 bytes + 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); + | ^~~~ In file included from /usr/include/stdio.h:867, - from microstrip.c:28: + from coax.c:29: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c: In function 'analyze_coax': -coax.c:262:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 262 | sprintf(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit])); +rectwaveguide.c: In function 'analyze_rectwaveguide': +rectwaveguide.c:362:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); | ^~ -coax.c:262:20: note: assuming directive output of 12 bytes - 262 | sprintf(text,"%g", (float) (cx->Z0 * conv_res[RES_OHM][required_unit])); +rectwaveguide.c:362:20: note: assuming directive output of 12 bytes + 362 | sprintf(text,"%g", (float) (rw->Z0 * conv_res[RES_OHM][required_unit])); | ^~~~ In file included from /usr/include/stdio.h:867, - from coax.c:29: + from rectwaveguide.c:22: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c:268:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 268 | sprintf(text,"%g", (float) (cx->ang_l * conv_ang[ANG_RAD][required_unit])); +rectwaveguide.c:368:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] + 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); | ^~ -coax.c:268:20: note: assuming directive output of 12 bytes - 268 | sprintf(text,"%g", (float) (cx->ang_l * conv_ang[ANG_RAD][required_unit])); +rectwaveguide.c:368:20: note: assuming directive output of 12 bytes + 368 | sprintf(text,"%g", (float) (rw->ang_l * conv_ang[ANG_RAD][required_unit])); | ^~~~ In file included from /usr/include/stdio.h:867, - from coax.c:29: + from rectwaveguide.c:22: /usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -3049,46 +3160,6 @@ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c: In function 'synthesize_coax': -coax.c:404:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:404:22: note: assuming directive output of 12 bytes - 404 | sprintf(text,"%g", (float) (cx->dout * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from coax.c:29: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c:396:23: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:396:22: note: assuming directive output of 12 bytes - 396 | sprintf(text,"%g", (float) (cx->din * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from coax.c:29: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -coax.c:415:21: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] - 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); - | ^~ -coax.c:415:20: note: assuming directive output of 12 bytes - 415 | sprintf(text,"%g", (float) (cx->l * conv_length[LENGTH_M][required_unit])); - | ^~~~ -In file included from /usr/include/stdio.h:867, - from coax.c:29: -/usr/include/aarch64-linux-gnu/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 14 bytes into a destination of size 10 - 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 37 | __bos (__s), __fmt, __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ c_microstrip.c: In function 'synthesize_c_microstrip': c_microstrip.c:1170:20: warning: '%g' directive writing between 1 and 13 bytes into a region of size 10 [-Wformat-overflow=] 1170 | sprintf(text, "%g", (float) (c_ms->w * conv_length[LENGTH_M][required_unit])); @@ -3157,7 +3228,7 @@ make[3]: Entering directory '/build/transcalc-0.14/src' make[4]: Entering directory '/build/transcalc-0.14/src' make[4]: Nothing to be done for 'install-data-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/bin' /usr/bin/install -c transcalc '/build/transcalc-0.14/debian/transcalc/usr/bin' make[4]: Leaving directory '/build/transcalc-0.14/src' make[3]: Leaving directory '/build/transcalc-0.14/src' @@ -3165,7 +3236,7 @@ make[3]: Entering directory '/build/transcalc-0.14/images' make[4]: Entering directory '/build/transcalc-0.14/images' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' /usr/bin/install -c -m 644 microstrip.jpg rectwaveguide.jpg coax.jpg c_microstrip.jpg '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/images/' make[4]: Leaving directory '/build/transcalc-0.14/images' make[3]: Leaving directory '/build/transcalc-0.14/images' @@ -3175,7 +3246,7 @@ make[4]: Entering directory '/build/transcalc-0.14/docs' make[5]: Entering directory '/build/transcalc-0.14/docs' make[5]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' /usr/bin/install -c -m 644 transcalc.1 '/build/transcalc-0.14/debian/transcalc/usr/share/man/man1' make[5]: Leaving directory '/build/transcalc-0.14/docs' make[4]: Leaving directory '/build/transcalc-0.14/docs' @@ -3184,7 +3255,7 @@ make[3]: Entering directory '/build/transcalc-0.14/examples' make[4]: Entering directory '/build/transcalc-0.14/examples' make[4]: Nothing to be done for 'install-exec-am'. - /bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' + /usr/bin/mkdir -p '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' /usr/bin/install -c -m 644 example1.trc 000.trc cstrip_kj_1.trc hp.trc ustrip_jansen.trc 001.trc cstrip_kj_2.trc ustrip50fr4.trc '/build/transcalc-0.14/debian/transcalc/usr/share/transcalc/examples/' make[4]: Leaving directory '/build/transcalc-0.14/examples' make[3]: Leaving directory '/build/transcalc-0.14/examples' @@ -3227,12 +3298,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/28469/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/28469/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/9065 and its subdirectories -I: Current time: Thu Aug 18 18:32:39 -12 2022 -I: pbuilder-time-stamp: 1660890760 +I: removing directory /srv/workspace/pbuilder/28469 and its subdirectories +I: Current time: Sat Jul 17 14:11:55 +14 2021 +I: pbuilder-time-stamp: 1626480715