Diff of the two buildlogs: -- --- b1/build.log 2024-05-02 09:32:43.440883417 +0000 +++ b2/build.log 2024-05-02 09:34:36.072082461 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed May 1 21:28:08 -12 2024 -I: pbuilder-time-stamp: 1714642088 +I: Current time: Thu Jun 5 05:55:46 +14 2025 +I: pbuilder-time-stamp: 1749052546 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -27,52 +27,84 @@ dpkg-source: info: applying Fix-location-of-ism_wcspix.e-executable-call-in-ximtool.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2817746/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 4 15:56 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='612e2919a562440fb5b599cf32639141' - 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='2817746' - PS1='# ' - PS2='> ' + INVOCATION_ID=fdb5c70383384ab7aeb9544f3ed08478 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=3096279 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vYwLsqjS/pbuilderrc_5meB --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vYwLsqjS/b1 --logfile b1/build.log x11iraf_2.1+dfsg-2.dsc' - SUDO_GID='111' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.vYwLsqjS/pbuilderrc_keiJ --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.vYwLsqjS/b2 --logfile b2/build.log x11iraf_2.1+dfsg-2.dsc' + SUDO_GID=111 + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.6.13+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.6.13-1~bpo12+1 (2024-02-15) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 1 07:43 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2817746/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 4 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -224,7 +256,7 @@ Get: 96 http://deb.debian.org/debian unstable/main amd64 xaw3dg amd64 1.5+F-1.1+b2 [133 kB] Get: 97 http://deb.debian.org/debian unstable/main amd64 xutils-dev amd64 1:7.7+6.2 [239 kB] Get: 98 http://deb.debian.org/debian unstable/main amd64 xaw3dg-dev amd64 1.5+F-1.1+b2 [188 kB] -Fetched 44.5 MB in 3s (13.2 MB/s) +Fetched 44.5 MB in 6s (8021 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package m4. (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 ... 19694 files and directories currently installed.) @@ -552,8 +584,8 @@ Setting up tzdata (2024a-3) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 2 09:30:36 UTC 2024. -Universal Time is now: Thu May 2 09:30:36 UTC 2024. +Local time is now: Wed Jun 4 15:57:00 UTC 2025. +Universal Time is now: Wed Jun 4 15:57:00 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up xtrans-dev (1.4.0-1) ... @@ -644,7 +676,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/x11iraf-2.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../x11iraf_2.1+dfsg-2_source.changes +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3096279/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/x11iraf-2.1+dfsg/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../x11iraf_2.1+dfsg-2_source.changes dpkg-buildpackage: info: source package x11iraf dpkg-buildpackage: info: source version 2.1+dfsg-2 dpkg-buildpackage: info: source distribution unstable @@ -654,7 +690,7 @@ debian/rules clean dh clean dh_auto_clean - make -j20 clean + make -j42 clean make[1]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg' make -C xtapemon clean make[2]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg/xtapemon' @@ -697,7 +733,7 @@ dh_autoreconf dh_auto_configure dh_auto_build - make -j20 "INSTALL=install --strip-program=true" + make -j42 "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg' make -C obm make[2]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg/obm' @@ -723,6 +759,25 @@ cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Gterm.o Gterm.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Icon.o Icon.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iconutil.o iconutil.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Label.o Label.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MenuBar.o MenuBar.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MultiList.o MultiList.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RadioGrp.o RadioGrp.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RowCol.o RowCol.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Scrollbar.o Scrollbar.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Slider2.o Slider2.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tablist2Tabs.o Tablist2Tabs.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o TextWidth.o TextWidth.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Toggle.o Toggle.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cvtLong.o cvtLong.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scroll.o scroll.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strnchr.o strnchr.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tabs.o Tabs.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Gcs.o Gcs.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ListTree.o ListTree.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Separator.o Separator.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Container.o Container.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c Group.c: In function 'on_cb': Group.c:104:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 104 | Cardinal toggle_ord = (Cardinal) client_data; @@ -738,115 +793,26 @@ Group.c:369:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 369 | XtAddCallback(child, XtNoffCallback, off_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); | ^ -gterm.c: In function 'GtermClassInit': -gterm.c:246:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 246 | classrec->Create = (ObmFunc) GtermCreate; - | ^ -gterm.c: In function 'gtermSetGterm': -gterm.c:544:52: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 544 | message = (argc > 1) ? Tcl_Concat (argc-1, &argv[1]) : NULL; - | ^~~~~~~~ - | | - | char ** -In file included from /usr/include/tcl/tcl.h:2421, - from ObmP.h:76, - from gterm.c:4: -/usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' - 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); -widget.c: In function 'WidgetClassInit': -widget.c:263:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 263 | classrec->Create = (ObmFunc) WidgetCreate; +param.c: In function 'ParameterClassInit': +param.c:99:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 99 | classrec->Create = (ObmFunc) ParameterCreate; | ^ -gterm.c: In function 'gtermAssignRaster': -gterm.c:2020:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 2020 | drawable = (XtPointer) atoi(object); - | ^ -widget.c: In function 'WidgetEvaluate': -widget.c:697:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 697 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +param.c: In function 'ParameterEvaluate': +param.c:213:46: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2421, from ObmP.h:76, - from widget.c:5: -/usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -widget.c:721:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 721 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ + from param.c:4: /usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ -widget.c:730:36: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 730 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ +param.c:221:42: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ -widget.c: In function 'widgetAddCallback': -widget.c:827:71: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ObmContext' {aka 'struct obmContext *'} [-Wformat=] - 827 | sprintf (text_translations, "Return: do_text(0x%lx, %s) ", - | ~~^ - | | - | long unsigned int - 828 | wp->obm, XtName(wp->w)); - | ~~~~~~~ - | | - | ObmContext {aka struct obmContext *} -widget.c: In function 'widgetSPCallback': -widget.c:1280:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1280 | sprintf (message, "%d", (int)call_data); - | ^ -widget.c: In function 'do_userproc': -gterm.c: In function 'gtermCreateMarker': -gterm.c:4114:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 4114 | if (Tcl_SplitList (tcl, argv[2], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); -widget.c:1591:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 1591 | sprintf (op, "%u ", time); - | ~^ ~~~~ - | | | - | | Time {aka long unsigned int} - | unsigned int - | %lu -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Label.o Label.c -widget.c: In function 'widgetGet': -widget.c:2152:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] - 2152 | sprintf (result, "0x%x", value); - | ~^ ~~~~~ - | | | - | | caddr_t {aka char *} - | unsigned int - | %s -widget.c:2166:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] - 2166 | sprintf (result, "0x%x", value); - | ~^ ~~~~~ - | | | - | | caddr_t {aka char *} - | unsigned int - | %s -widget.c: In function 'widgetSetList': -widget.c:2272:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 2272 | if (Tcl_SplitList (obm->tcl, list, &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); -widget.c:2276:35: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] - 2276 | XawListChange (wp->w, items, nitems, 0, resize); - | ^~~~~ - | | - | char ** -In file included from ObmP.h:30: -/usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' - 170 | _Xconst char **list, - | ^ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MenuBar.o MenuBar.c client.c: In function 'ClientEvaluate': client.c:137:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] 137 | literal: if (Tcl_SplitList (tcl, command, &argc, &argvp) == TCL_OK) { @@ -858,7 +824,6 @@ from client.c:4: /usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' 722 | CONST84 char ***argvPtr); -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o MultiList.o MultiList.c client.c: In function 'clientGcmd': client.c:173:49: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] 173 | char *message = Tcl_Concat (argc-1, &argv[1]); @@ -868,6 +833,7 @@ /usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); client.c: In function 'clientLiteral': +marker.c: In function 'MarkerClassInit': client.c:225:49: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] 225 | char *message = Tcl_Concat (argc-1, &argv[1]); | ^~~~~~~~ @@ -875,47 +841,20 @@ | char ** /usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RadioGrp.o RadioGrp.c -widget.c: In function 'widgetAddEventHandler': -widget.c:4653:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 4653 | new_cb->client_data = (XtPointer) event_mask; - | ^ -widget.c: In function 'widgetRemoveEventHandler': -widget.c:4699:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 4699 | XtRemoveEventHandler (wp->w, (int) cb->client_data, nonmaskable, - | ^ -widget.c: In function 'widgetEvent': -param.c: In function 'ParameterClassInit': -param.c:99:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 99 | classrec->Create = (ObmFunc) ParameterCreate; +marker.c:158:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 158 | classrec->Create = (ObmFunc) MarkerCreate; | ^ -param.c: In function 'ParameterEvaluate': -param.c:213:46: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 213 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); +marker.c: In function 'MarkerEvaluate': +marker.c:397:46: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 397 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Gterm.c: In function 'Initialize': In file included from /usr/include/tcl/tcl.h:2421, from ObmP.h:76, - from param.c:4: -/usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' - 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, - | ~~~~~~^~~~~~ -param.c:221:42: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 221 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + from marker.c:5: /usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ -Gterm.c: In function 'Initialize': -widget.c:4771:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 4771 | sprintf (op, "%u %d %d %d %d ", - | ~^ - | | - | unsigned int - | %lu - 4772 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} Gterm.c:756:58: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 756 | "Gterm.intialize(Pseudo8): colormap = 0x%x base=%d\n", | ~^ @@ -926,6 +865,12 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} +marker.c:405:42: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 405 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ Gterm.c:756:66: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 756 | "Gterm.intialize(Pseudo8): colormap = 0x%x base=%d\n", | ~^ @@ -976,25 +921,53 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} -widget.c:4802:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 4802 | sprintf (op, "%u %d %d %d %d ", - | ~^ - | | - | unsigned int - | %lu - 4803 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} -widget.c:4826:29: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] - 4826 | keysym = XKeycodeToKeysym (obm->display, - | ^~~~~~ -In file included from /usr/include/X11/Intrinsic.h:53, - from ObmP.h:16: -/usr/include/X11/Xlib.h:1687:15: note: declared here - 1687 | extern KeySym XKeycodeToKeysym( - | ^~~~~~~~~~~~~~~~ +server.c: In function 'serverSend': +server.c:831:48: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] + 831 | char *message = Tcl_Merge (argc-2, &argv[2]); + | ^~~~~~~~ + | | + | char ** +In file included from /usr/include/tcl/tcl.h:2421, + from ObmP.h:76, + from server.c:4: +/usr/include/tcl/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' + 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); +server.c: In function 'serverPrint': +server.c:856:49: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 856 | char *message = Tcl_Concat (argc-1, &argv[1]); + | ^~~~~~~~ + | | + | char ** +/usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' + 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); +marker.c: In function 'markerGetAttributes': +server.c: In function 'serverGetResources': +server.c:999:57: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 999 | if (Tcl_SplitList (tcl, resource_list, &nitems, &items) != TCL_OK) { + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); +marker.c:1252:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1252 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); +server.c:1006:60: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1006 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { + | ^~~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); Gterm.c: In function 'Realize': +server.c:1027:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1027 | r->resource_offset = (unsigned int) &(((Value *)NULL)[item].value); + | ^ +marker.c: In function 'markerSetAttributes': Gterm.c:1343:71: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 1343 | fprintf (stderr, "Gterm.Realize: force8=%d core colormap 0x%x\n", | ~^ @@ -1005,42 +978,53 @@ | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} -marker.c: In function 'MarkerClassInit': -marker.c:158:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] - 158 | classrec->Create = (ObmFunc) MarkerCreate; +marker.c:1309:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 1309 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); +server.c: In function 'serverPostTimedCallback': +server.c:1115:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] + 1115 | sprintf (buf, "0x%lx", cb); + | ~~^ ~~ + | | | + | | ServerCallback {aka struct _serverCallback *} + | long unsigned int +widget.c: In function 'WidgetClassInit': +server.c: In function 'serverPostWorkProc': +widget.c:263:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 263 | classrec->Create = (ObmFunc) WidgetCreate; | ^ -server.c: In function 'serverSend': -server.c:831:48: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] - 831 | char *message = Tcl_Merge (argc-2, &argv[2]); - | ^~~~~~~~ - | | - | char ** -marker.c: In function 'MarkerEvaluate': -marker.c:397:46: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 397 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +server.c:1240:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] + 1240 | sprintf (buf, "0x%lx", cb); + | ~~^ ~~ + | | | + | | ServerCallback {aka struct _serverCallback *} + | long unsigned int +widget.c: In function 'WidgetEvaluate': +widget.c:697:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 697 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl/tcl.h:2421, from ObmP.h:76, - from marker.c:5: + from widget.c:5: /usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ -marker.c:405:42: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 405 | Tcl_SetResult (obm->tcl, Tcl_GetStringResult (msg->tcl), TCL_VOLATILE); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +widget.c:721:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 721 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' + 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, + | ~~~~~~^~~~~~ +widget.c:730:36: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 730 | Tcl_SetResult (server, Tcl_GetStringResult (tcl), TCL_VOLATILE); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl/tclDecls.h:693:65: note: expected 'char *' but argument is of type 'const char *' 693 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ -widget.c:4844:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] - 4844 | sprintf (op, "%u %d %d %d %d ", - | ~^ - | | - | unsigned int - | %lu - 4845 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); - | ~~~~~~~~ - | | - | Time {aka long unsigned int} In file included from Gterm.c:1947: GtermCnv.c: In function 'ximage_to_rasPM': GtermCnv.c:107:67: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'XImage *' [-Wformat=] @@ -1052,6 +1036,24 @@ | ~~~~~~ | | | XImage * +widget.c: In function 'widgetAddCallback': +server.c: In function 'serverCreateMenu': +widget.c:827:71: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ObmContext' {aka 'struct obmContext *'} [-Wformat=] + 827 | sprintf (text_translations, "Return: do_text(0x%lx, %s) ", + | ~~^ + | | + | long unsigned int + 828 | wp->obm, XtName(wp->w)); + | ~~~~~~~ + | | + | ObmContext {aka struct obmContext *} +server.c:2144:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 2144 | if (Tcl_SplitList (tcl, item_list, &nitems, &items) != TCL_OK) { + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); GtermCnv.c: In function 'init_lut': GtermCnv.c:339:46: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", @@ -1063,6 +1065,13 @@ | ~~~~~ | | | long unsigned int +server.c:2155:60: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 2155 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { + | ^~~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); GtermCnv.c:339:51: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", | ~^ @@ -1073,35 +1082,6 @@ | ~~~~~ | | | long unsigned int -widget.c: In function 'widgetGetFontName': -In file included from /usr/include/tcl/tcl.h:2421, - from ObmP.h:76, - from server.c:4: -/usr/include/tcl/tclDecls.h:584:66: note: expected 'const char * const*' but argument is of type 'char **' - 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); -server.c: In function 'serverPrint': -server.c:856:49: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] - 856 | char *message = Tcl_Concat (argc-1, &argv[1]); - | ^~~~~~~~ - | | - | char ** -/usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' - 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); -server.c: In function 'serverGetResources': -server.c:999:57: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 999 | if (Tcl_SplitList (tcl, resource_list, &nitems, &items) != TCL_OK) { - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); -server.c:1006:60: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1006 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { - | ^~~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); GtermCnv.c:339:56: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 339 | fprintf (stderr, "init_lut: mask=(0x%x,0x%x,0x%x) shift=(%d,%d,%d)\n", | ~^ @@ -1112,24 +1092,11 @@ | ~~~~~ | | | long unsigned int -server.c:1027:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 1027 | r->resource_offset = (unsigned int) &(((Value *)NULL)[item].value); - | ^ -server.c: In function 'serverPostTimedCallback': -server.c:1115:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] - 1115 | sprintf (buf, "0x%lx", cb); - | ~~^ ~~ - | | | - | | ServerCallback {aka struct _serverCallback *} - | long unsigned int -server.c: In function 'serverPostWorkProc': -server.c:1240:28: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'ServerCallback' {aka 'struct _serverCallback *'} [-Wformat=] - 1240 | sprintf (buf, "0x%lx", cb); - | ~~^ ~~ - | | | - | | ServerCallback {aka struct _serverCallback *} - | long unsigned int +server.c:2175:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] + 2175 | ip->label = cp; + | ^ GtermCnv.c: In function 'dbg_printCmaps': +widget.c: In function 'widgetSPCallback': GtermCnv.c:419:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 419 | fprintf (stderr, "cmaps: basePixel=%d maxColors=%d ncolors=%d\n", | ~^ @@ -1140,6 +1107,9 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} +widget.c:1280:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 1280 | sprintf (message, "%d", (int)call_data); + | ^ GtermCnv.c:436:66: warning: format '%d' expects argument of type 'int', but argument 14 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ @@ -1162,7 +1132,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} -marker.c: In function 'markerGetAttributes': GtermCnv.c:436:76: warning: format '%d' expects argument of type 'int', but argument 16 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 436 | "cmap: %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d %3d\n", | ~~^ @@ -1174,23 +1143,8 @@ | ~~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} -marker.c:1252:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1252 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); -server.c: In function 'serverCreateMenu': -marker.c: In function 'markerSetAttributes': +widget.c: In function 'do_userproc': GtermCnv.c: In function 'dbg_printRasters': -server.c:2144:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 2144 | if (Tcl_SplitList (tcl, item_list, &nitems, &items) != TCL_OK) { - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); GtermCnv.c:479:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ @@ -1201,20 +1155,13 @@ | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} -marker.c:1309:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 1309 | if (Tcl_SplitList (tcl, argv[1], &nitems, &items) != TCL_OK) - | ^~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); -server.c:2155:60: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] - 2155 | if (Tcl_SplitList (tcl, items[item], &nfields, &fields) != TCL_OK) { - | ^~~~~~~ - | | - | char *** -/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' - 722 | CONST84 char ***argvPtr); +widget.c:1591:36: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 1591 | sprintf (op, "%u ", time); + | ~^ ~~~~ + | | | + | | Time {aka long unsigned int} + | unsigned int + | %lu GtermCnv.c:479:42: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'XImage *' [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ @@ -1234,16 +1181,36 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} -server.c:2175:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] - 2175 | ip->label = cp; - | ^ -widget.c:5015:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] - 5015 | sprintf(name, "%s%d", name, val); - | ~^ ~~~ - | | | - | int long unsigned int - | %ld -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o RowCol.o RowCol.c +gterm.c: In function 'GtermClassInit': +gterm.c:246:26: warning: assignment to 'ObmCreateFunc' {aka 'struct obmObject * (*)()'} from incompatible pointer type 'int (*)()' [-Wincompatible-pointer-types] + 246 | classrec->Create = (ObmFunc) GtermCreate; + | ^ +widget.c: In function 'widgetGet': +gterm.c: In function 'gtermSetGterm': +gterm.c:544:52: warning: passing argument 2 of 'Tcl_Concat' from incompatible pointer type [-Wincompatible-pointer-types] + 544 | message = (argc > 1) ? Tcl_Concat (argc-1, &argv[1]) : NULL; + | ^~~~~~~~ + | | + | char ** +In file included from /usr/include/tcl/tcl.h:2421, + from ObmP.h:76, + from gterm.c:4: +/usr/include/tcl/tclDecls.h:274:67: note: expected 'const char * const*' but argument is of type 'char **' + 274 | EXTERN char * Tcl_Concat(int argc, CONST84 char *const *argv); +widget.c:2152:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] + 2152 | sprintf (result, "0x%x", value); + | ~^ ~~~~~ + | | | + | | caddr_t {aka char *} + | unsigned int + | %s +widget.c:2166:34: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'caddr_t' {aka 'char *'} [-Wformat=] + 2166 | sprintf (result, "0x%x", value); + | ~^ ~~~~~ + | | | + | | caddr_t {aka char *} + | unsigned int + | %s In file included from Gterm.c:1948: GtermGraphics.c: In function 'GtStartDialog': GtermGraphics.c:1057:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] @@ -1256,6 +1223,7 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +widget.c: In function 'widgetSetList': GtermGraphics.c: In function 'GtEraseDialog': GtermGraphics.c:1090:62: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 1090 | fprintf (stderr, "GtEraseDialog: ENTER d_pixmap=0x%x d_saved=%d\n", @@ -1267,6 +1235,26 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} +widget.c:2272:53: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 2272 | if (Tcl_SplitList (obm->tcl, list, &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); +widget.c:2276:35: warning: passing argument 2 of 'XawListChange' from incompatible pointer type [-Wincompatible-pointer-types] + 2276 | XawListChange (wp->w, items, nitems, 0, resize); + | ^~~~~ + | | + | char ** +In file included from ObmP.h:30: +/usr/include/X11/Xaw/List.h:170:27: note: expected 'const char **' but argument is of type 'char **' + 170 | _Xconst char **list, + | ^ +gterm.c: In function 'gtermAssignRaster': +gterm.c:2020:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 2020 | drawable = (XtPointer) atoi(object); + | ^ In file included from Gterm.c:1949: GtermImaging.c: In function 'GtWritePixels': GtermImaging.c:546:74: warning: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'XWindowAttributes' [-Wformat=] @@ -1279,8 +1267,8 @@ | ~~~~~~~~~~~ | | | XWindowAttributes -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Scrollbar.o Scrollbar.c GtermImaging.c: In function 'GtRefreshPixels': +widget.c: In function 'widgetAddEventHandler': GtermImaging.c:980:54: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Mapping' {aka 'struct mapping *'} [-Wformat=] 980 | fprintf (stderr, "GtRefreshPixels: mp=0x%x enabled=%d src=%d/%d\n", | ~^ @@ -1290,7 +1278,33 @@ | ~~ | | | Mapping {aka struct mapping *} +widget.c:4653:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 4653 | new_cb->client_data = (XtPointer) event_mask; + | ^ +widget.c: In function 'widgetRemoveEventHandler': +widget.c:4699:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 4699 | XtRemoveEventHandler (wp->w, (int) cb->client_data, nonmaskable, + | ^ +gterm.c: In function 'gtermCreateMarker': +widget.c: In function 'widgetEvent': +gterm.c:4114:55: warning: passing argument 4 of 'Tcl_SplitList' from incompatible pointer type [-Wincompatible-pointer-types] + 4114 | if (Tcl_SplitList (tcl, argv[2], &nitems, &items) != TCL_OK) + | ^~~~~~ + | | + | char *** +/usr/include/tcl/tclDecls.h:722:49: note: expected 'const char ***' but argument is of type 'char ***' + 722 | CONST84 char ***argvPtr); GtermImaging.c: In function 'GtLoadColormap': +widget.c:4771:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 4771 | sprintf (op, "%u %d %d %d %d ", + | ~^ + | | + | unsigned int + | %lu + 4772 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} GtermImaging.c:1674:63: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'struct colormap *' [-Wformat=] 1674 | fprintf (stderr, "GtLoadColormap: map=%d/%d cm=0x%x ncells=%d\n", | ~^ @@ -1300,8 +1314,36 @@ | ~~ | | | struct colormap * -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Slider2.o Slider2.c +widget.c:4802:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 4802 | sprintf (op, "%u %d %d %d %d ", + | ~^ + | | + | unsigned int + | %lu + 4803 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} +widget.c:4826:29: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] + 4826 | keysym = XKeycodeToKeysym (obm->display, + | ^~~~~~ +In file included from /usr/include/X11/Intrinsic.h:53, + from ObmP.h:16: +/usr/include/X11/Xlib.h:1687:15: note: declared here + 1687 | extern KeySym XKeycodeToKeysym( + | ^~~~~~~~~~~~~~~~ +widget.c:4844:32: warning: format '%u' expects argument of type 'unsigned int', but argument 3 has type 'Time' {aka 'long unsigned int'} [-Wformat=] + 4844 | sprintf (op, "%u %d %d %d %d ", + | ~^ + | | + | unsigned int + | %lu + 4845 | ev->time, ev->x, ev->y, ev->x_root, ev->y_root); + | ~~~~~~~~ + | | + | Time {aka long unsigned int} GtermImaging.c: In function 'GtDebug': +widget.c: In function 'widgetGetFontName': GtermImaging.c:3118:33: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtermWidget' {aka 'struct _GtermRec *'} [-Wformat=] 3118 | fprintf (fp, "Widget 0x%x (%s) %dx%d raster=%d\n", | ~^ @@ -1311,6 +1353,12 @@ | ~ | | | GtermWidget {aka struct _GtermRec *} +widget.c:5015:43: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] + 5015 | sprintf(name, "%s%d", name, val); + | ~^ ~~~ + | | | + | int long unsigned int + | %ld GtermImaging.c:3185:57: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 3185 | fprintf (fp, "cmapName=%s ncolors=%d basePixel=%d\n", | ~^ @@ -1373,7 +1421,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tablist2Tabs.o Tablist2Tabs.c GtermCmap.c: In function 'inherit_default_colormap': GtermCmap.c:376:75: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 376 | fprintf (stderr, "inherit_default_cmap: ncols=%d maxcols=%d base=%d\n", @@ -1385,7 +1432,6 @@ | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o TextWidth.o TextWidth.c In file included from Gterm.c:1951: GtermMapping.c: In function 'refresh_destination': GtermMapping.c:125:55: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'GtermWidget' {aka 'struct _GtermRec *'} [-Wformat=] @@ -1564,7 +1610,6 @@ | ~~~~ | | | XImage * -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Toggle.o Toggle.c GtermMapping.c:750:75: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 750 | "updating shadow_pixmap........................0x%x\n", | ~^ @@ -1585,22 +1630,6 @@ | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cvtLong.o cvtLong.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scroll.o scroll.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o strnchr.o strnchr.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Tabs.o Tabs.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Gcs.o Gcs.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ListTree.o ListTree.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Separator.o Separator.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o Container.o Container.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I/usr/include/tcl -DOSI_COMPLIANT -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o color.o color.c -MultiList.c: In function 'Notify': -MultiList.c:1466:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] - 1466 | buffer[0] = '\0'; - | ~~~~~~~~~~^~~~~~ -MultiList.c:1465:34: note: destination object of size 0 allocated by 'malloc' - 1465 | buffer = (char *)malloc(byte_count); - | ^~~~~~~~~~~~~~~~~~ Obm.c: In function 'ObmActivate': Obm.c:311:64: warning: '%s' directive writing 29 bytes into a region of size between 13 and 394 [-Wformat-overflow=] 311 | sprintf (defaultUI, "%s %s %s {%s.objects: %s%s%s%s%s}; %s; %s\n", @@ -1620,6 +1649,13 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +MultiList.c: In function 'Notify': +MultiList.c:1466:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] + 1466 | buffer[0] = '\0'; + | ~~~~~~~~~~^~~~~~ +MultiList.c:1465:34: note: destination object of size 0 allocated by 'malloc' + 1465 | buffer = (char *)malloc(byte_count); + | ^~~~~~~~~~~~~~~~~~ server.c: In function 'menu_highlight': server.c:3034:38: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 3034 | sprintf (target, "*%s", mw->child); @@ -1639,37 +1675,160 @@ ar cr libobm.a ObmW/[A-Za-z]*.o Obm.o client.o param.o server.o widget.o gterm.o marker.o geom.o make[2]: Leaving directory '/build/reproducible-path/x11iraf-2.1+dfsg/obm' make -C xgterm -make[2]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg/xgterm' make -C ximtool +make[2]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg/xgterm' make[2]: Entering directory '/build/reproducible-path/x11iraf-2.1+dfsg/ximtool' cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o button.o button.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charproc.o charproc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o eps.o eps.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cursor.o cursor.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o data.o data.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o charproc.o charproc.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o fitsio.o fitsio.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o cursor.o cursor.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gifio.o gifio.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gtermio.o gtermio.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o data.o data.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o iis.o iis.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o gtermio.o gtermio.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o irafio.o irafio.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o input.o input.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o main.o main.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism_wcspix.o ism_wcspix.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o menu.o menu.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o misc.o misc.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o screen.o screen.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism.o ism.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print.o print.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o scrollbar.o scrollbar.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ism_wcspix.o ism_wcspix.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tabs.o tabs.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o load.o load.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c +sed -f gui2c.sed ximtool.gui > ximtool.gui.h +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.c +cd clients && mkpkg || true +hlib$mkpkg.inc:5: warning: macro `IRAFARCH' not found +$call relink +$call libpkg.a +warning: library `libpkg.a' not found +mkpkg[1]: Entering directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/lib/' +/usr/lib/iraf/unix/bin/xc.e -c -x idxstr.x ism.x wcsgfterm.x +cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximtool.o ximtool.c +rasio.c: In function 'loadSunRas': +rasio.c:130:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 130 | fprintf (stderr, "Sun rasterfile image has depth %d\n", + | ~^ + | | + | int + | %ld + 131 | sunhdr.ras_depth); + | ~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:142:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 142 | fprintf (stderr, "Sun rasterfile of unsupported type %d\n", + | ~^ + | | + | int + | %ld + 143 | sunhdr.ras_type); + | ~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:152:76: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 152 | fprintf (stderr, "Sun rasterfile colormap of unsupported type %d\n", + | ~^ + | | + | int + | %ld + 153 | sunhdr.ras_maptype); + | ~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:178:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] + 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", + | ~^ + | | + | int + | %ld + 179 | sunhdr.ras_type, sunhdr.ras_maptype, + | ~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:178:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", + | ~^ + | | + | int + | %ld + 179 | sunhdr.ras_type, sunhdr.ras_maptype, + | ~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c:181:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 181 | fprintf (stderr, "colorstyle=%d nc=%d\n", colorstyle, + | ~^ + | | + | int + | %ld + 182 | sunhdr.ras_maplength/3); + | ~~~~~~~~~~~~~~~~~~~~~~ + | | + | long int +rasio.c: In function 'getSunRasHdr': +rasio.c:477:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~^ + | | + | int + | %3ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~ + | | + | long int +rasio.c:477:42: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~^ + | | + | int + | %5ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~ + | | + | long int +rasio.c:477:47: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] + 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", + | ~~~^ + | | + | int + | %-5ld + 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, + | ~~~~~~~~~~~~~~ + | | + | long int +gifio.c: In function 'isGIF': fitsio.c: In function 'isFITS': fitsio.c:208:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 208 | fscanf (fp, "%6s = %c", keyw, &val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -gifio.c: In function 'isGIF': gifio.c:217:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 217 | fread (tag, sizeof(char), 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +rasio.c: In function 'loadSunRas': +rasio.c:189:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 189 | fread (r, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ +rasio.c:190:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 190 | fread (g, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ +rasio.c:191:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] + 191 | fread (b, 1, nc, fp); + | ^~~~~~~~~~~~~~~~~~~~ irafio.c: In function 'loadIRAF': irafio.c:128:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); @@ -1677,6 +1836,35 @@ irafio.c:156:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 156 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +load.c: In function 'xim_initLoad': +load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 72 | sprintf (buf, "curdir %s\0", flp->curdir); + | ^~ +load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 74 | sprintf (buf, "pattern %s\0", flp->pattern); + | ^~ +load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] + 76 | sprintf (buf, "gray %d\0", flp->gray); + | ^~ +load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 78 | sprintf (buf, "zscale %d\0", flp->zscale); + | ^~ +load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] + 80 | sprintf (buf, "zrange %d\0", flp->zrange); + | ^~ +load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 82 | sprintf (buf, "z1 %g\0", flp->z1); + | ^~ +load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] + 84 | sprintf (buf, "z2 %g\0", flp->z2); + | ^~ +load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] + 86 | sprintf (buf, "nsample %d\0", flp->nsample); + | ^~ +load.c: In function 'xim_loadFile': +load.c:139:38: warning: embedded '\0' in format [-Wformat-contains-nul] + 139 | sprintf (buf, "warning %s\0", "Error: File not found."); + | ^~ irafio.c: In function 'irafReadPixels': irafio.c:428:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 428 | fread ((char *)usline, sizeof (unsigned short), px, fd); @@ -1693,6 +1881,19 @@ irafio.c:546:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 546 | fread ((char *)dline, sizeof (double), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +load.c:201:38: warning: embedded '\0' in format [-Wformat-contains-nul] + 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); + | ^~ +load.c:208:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] + 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", + | ~^ + | | + | int + | %hhn + 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); + | ~~~ + | | + | unsigned char * irafio.c: In function 'isIRAF': irafio.c:224:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 224 | fread ((char *)magic, sizeof (char), 12, fp); @@ -1704,11 +1905,43 @@ irafio.c:285:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 285 | fread ((char *)header_v2, sizeof (char), SZ_V2HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -charproc.c: In function 'do_read': -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c -charproc.c:1649:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] - 1649 | write (screen->logfd, buffer, bcnt); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] + 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); + | ^~ +scrollbar.c: In function 'ScrollTextUpDownBy': +scrollbar.c:430:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] + 430 | int pixels = (int) call_data; + | ^ +scrollbar.c: In function 'HandleScrollForward': +scrollbar.c:519:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 519 | (XtPointer)params_to_pixels (screen, params, (int) *nparams)); + | ^ +scrollbar.c: In function 'HandleScrollBack': +scrollbar.c:535:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] + 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); + | ^ +load.c: In function 'listFiles': +load.c:570:16: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] + 570 | (void) getcwd (directory, SZ_FNAME); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +load.c:600:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] + 600 | (void) chdir (directory); + | ^~~~~~~~~~~~~~~~~ +print.c: In function 'ximp_rename': +print.c:205:36: warning: format '%d' expects argument of type 'int', but argument 3 has type '__off_t' {aka 'long int'} [-Wformat=] + 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); + | ~^ ~~~~~~~~~~ + | | | + | int __off_t {aka long int} + | %ld +print.c: In function 'xim_print': +print.c:174:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 174 | system (text); /* dispose to printer */ + | ^~~~~~~~~~~~~ +gtermio.c: In function 'gio_processdata': +gtermio.c:1407:64: warning: embedded '\0' in format [-Wformat-contains-nul] + 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); + | ^~ iis.c: In function 'xim_iisio': iis.c:496:66: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] 496 | "ximtool: command input read error, n=%d of %d, errno=%d\n", @@ -1729,91 +1962,10 @@ iis.c:865:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 865 | write (2, text, strlen(text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'main': iis.c:896:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 896 | write (2, buf, ndatabytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -gtermio.c: In function 'gio_processdata': -gtermio.c:1407:64: warning: embedded '\0' in format [-Wformat-contains-nul] - 1407 | sprintf (txtbuf, "setValue {%s}\0", tx_buf); - | ^~ -fitsio.c: In function 'ftopen2d': -fitsio.c:425:33: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~ -In function 'rdheader', - inlined from 'ftopen2d' at fitsio.c:311:10: -fitsio.c:425:27: note: directive argument in the range [1, 2147483647] - 425 | sprintf(name, "NAXIS%d", j + 1); - | ^~~~~~~~~ -In file included from /usr/include/stdio.h:906, - from fitsio.c:23: -In function 'sprintf', - inlined from 'rdheader' at fitsio.c:425:6, - inlined from 'ftopen2d' at fitsio.c:311:10: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -load.c: In function 'xim_initLoad': -load.c:72:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 72 | sprintf (buf, "curdir %s\0", flp->curdir); - | ^~ -load.c:74:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 74 | sprintf (buf, "pattern %s\0", flp->pattern); - | ^~ -load.c:76:31: warning: embedded '\0' in format [-Wformat-contains-nul] - 76 | sprintf (buf, "gray %d\0", flp->gray); - | ^~ -load.c:78:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 78 | sprintf (buf, "zscale %d\0", flp->zscale); - | ^~ -load.c:80:33: warning: embedded '\0' in format [-Wformat-contains-nul] - 80 | sprintf (buf, "zrange %d\0", flp->zrange); - | ^~ -load.c:82:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 82 | sprintf (buf, "z1 %g\0", flp->z1); - | ^~ -load.c:84:29: warning: embedded '\0' in format [-Wformat-contains-nul] - 84 | sprintf (buf, "z2 %g\0", flp->z2); - | ^~ -load.c:86:34: warning: embedded '\0' in format [-Wformat-contains-nul] - 86 | sprintf (buf, "nsample %d\0", flp->nsample); - | ^~ -load.c: In function 'xim_loadFile': -load.c:139:38: warning: embedded '\0' in format [-Wformat-contains-nul] - 139 | sprintf (buf, "warning %s\0", "Error: File not found."); - | ^~ -load.c:201:38: warning: embedded '\0' in format [-Wformat-contains-nul] - 201 | sprintf (buf, "warning %s\0", "Error: Unknown raster file type."); - | ^~ -load.c:208:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'unsigned char *' [-Wformat=] - 208 | "Load: pix=%d w=%d h=%d xnc=%d nc=%d pcm=%d z1=%g z2=%g\n", - | ~^ - | | - | int - | %hhn - 209 | pix, w, h, xim->ncolors, ncolors, has_private_cmap, z1, z2); - | ~~~ - | | - | unsigned char * -load.c:297:36: warning: embedded '\0' in format [-Wformat-contains-nul] - 297 | sprintf (buf, "%d %d %d\0", cf->width, cf->height, 8); - | ^~ -misc.c: In function 'creat_as': -misc.c:472:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] - 472 | setgid(gid); - | ^~~~~~~~~~~ -misc.c:473:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 473 | setuid(uid); - | ^~~~~~~~~~~ -misc.c: In function 'StartLog': -misc.c:532:17: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] - 532 | mkstemp(log_default); - | ^~~~~~~~~~~~~~~~~~~~ -main.c: In function 'main': main.c:1184:27: warning: passing argument 1 of 'XtSetErrorHandler' makes '__attribute__((noreturn))' qualified function pointer from unqualified [-Wdiscarded-qualifiers] 1184 | XtSetErrorHandler(xt_error); | ^~~~~~~~ @@ -1855,6 +2007,17 @@ | | | int | %ld +misc.c: In function 'creat_as': +misc.c:472:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] + 472 | setgid(gid); + | ^~~~~~~~~~~ +misc.c:473:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 473 | setuid(uid); + | ^~~~~~~~~~~ +misc.c: In function 'StartLog': +misc.c:532:17: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] + 532 | mkstemp(log_default); + | ^~~~~~~~~~~~~~~~~~~~ ism.c:416:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 416 | printf ("SEND: len=%d '%s'->'%.45s'\n", strlen(buf), name, buf); | ~^ ~~~~~~~~~~~ @@ -1865,28 +2028,13 @@ ism.c:552:34: warning: embedded '\0' in format [-Wformat-contains-nul] 552 | sprintf (buf, "%s\0", command); | ^~ -load.c: In function 'listFiles': -load.c:570:16: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] - 570 | (void) getcwd (directory, SZ_FNAME); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ -load.c:600:16: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] - 600 | (void) chdir (directory); - | ^~~~~~~~~~~~~~~~~ -scrollbar.c: In function 'ScrollTextUpDownBy': -scrollbar.c:430:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] - 430 | int pixels = (int) call_data; - | ^ -scrollbar.c: In function 'HandleScrollForward': -scrollbar.c:519:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 519 | (XtPointer)params_to_pixels (screen, params, (int) *nparams)); - | ^ -scrollbar.c: In function 'HandleScrollBack': -scrollbar.c:535:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] - 535 | (XtPointer)-params_to_pixels (screen, params, (int) *nparams)); - | ^ main.c:1448:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1448 | write (pty, buf, strlen (buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +charproc.c: In function 'do_read': +charproc.c:1649:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] + 1649 | write (screen->logfd, buffer, bcnt); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'HsSysError': main.c:2008:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2008 | write(pf, (char *) &handshake, sizeof(handshake)); @@ -1915,210 +2063,27 @@ main.c:5056:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 5056 | chown (ptydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o logo.o logo.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -Wdate-time -D_FORTIFY_SOURCE=2 -c -o VTPrsTbl.o VTPrsTbl.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o print.o print.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o quant.o quant.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o rasio.o rasio.c -print.c: In function 'ximp_rename': -print.c:205:36: warning: format '%d' expects argument of type 'int', but argument 3 has type '__off_t' {aka 'long int'} [-Wformat=] - 205 | sprintf (text, "Wrote %d bytes to %s", fs.st_size, new); - | ~^ ~~~~~~~~~~ - | | | - | int __off_t {aka long int} - | %ld -print.c: In function 'xim_print': -print.c:174:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 174 | system (text); /* dispose to printer */ - | ^~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o raster.o raster.c -fitsio.c: In function 'getFITSHdr': -fitsio.c:240:54: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] - 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", - | ^~ - 241 | fname, bitpix, w,h, fs.title); - | ~~~~~~~~ -In function 'sprintf', - inlined from 'getFITSHdr' at fitsio.c:240:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -fitsio.c: In function 'getFITSHdr': -fitsio.c:237:58: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] - 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", - | ^~ - 238 | fname, bitpix, fs.nextend, fs.title); - | ~~~~~~~~ -In function 'sprintf', - inlined from 'getFITSHdr' at fitsio.c:237:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -rasio.c: In function 'loadSunRas': -rasio.c:130:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 130 | fprintf (stderr, "Sun rasterfile image has depth %d\n", - | ~^ - | | - | int - | %ld - 131 | sunhdr.ras_depth); - | ~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:142:67: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 142 | fprintf (stderr, "Sun rasterfile of unsupported type %d\n", - | ~^ - | | - | int - | %ld - 143 | sunhdr.ras_type); - | ~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:152:76: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 152 | fprintf (stderr, "Sun rasterfile colormap of unsupported type %d\n", - | ~^ - | | - | int - | %ld - 153 | sunhdr.ras_maptype); - | ~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:178:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] - 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", - | ~^ - | | - | int - | %ld - 179 | sunhdr.ras_type, sunhdr.ras_maptype, - | ~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:178:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 178 | "type %d, maptype %d, isize %d, csize %d, lsize %d, linesize %d\n", - | ~^ - | | - | int - | %ld - 179 | sunhdr.ras_type, sunhdr.ras_maptype, - | ~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c:181:49: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 181 | fprintf (stderr, "colorstyle=%d nc=%d\n", colorstyle, - | ~^ - | | - | int - | %ld - 182 | sunhdr.ras_maplength/3); - | ~~~~~~~~~~~~~~~~~~~~~~ - | | - | long int -rasio.c: In function 'getSunRasHdr': -rasio.c:477:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~^ - | | - | int - | %3ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~ - | | - | long int -rasio.c:477:42: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~^ - | | - | int - | %5ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~ - | | - | long int -rasio.c:477:47: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long int' [-Wformat=] - 477 | sprintf (line, "%-16.16s %3d %5dx%-5d %s %s", - | ~~~^ - | | - | int - | %-5ld - 478 | fname, hdr.ras_depth, hdr.ras_width, hdr.ras_height, - | ~~~~~~~~~~~~~~ - | | - | long int -rasio.c: In function 'loadSunRas': -rasio.c:189:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 189 | fread (r, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -rasio.c:190:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 190 | fread (g, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -rasio.c:191:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] - 191 | fread (b, 1, nc, fp); - | ^~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o save.o save.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o tiffio.o tiffio.c -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c -print.c:173:38: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] - 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); - | ^~ -In file included from /usr/include/stdio.h:906, - from print.c:1: -In function 'sprintf', - inlined from 'xim_print' at print.c:173:6: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximclient.o ximclient.c -sed -f gui2c.sed ximtool.gui > ximtool.gui.h -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o zscale.o zscale.c -cd clients && mkpkg || true -hlib$mkpkg.inc:5: warning: macro `IRAFARCH' not found -$call relink -$call libpkg.a -warning: library `libpkg.a' not found -mkpkg[1]: Entering directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/lib/' -/usr/lib/iraf/unix/bin/xc.e -c -x idxstr.x ism.x wcsgfterm.x -print.c: In function 'xim_initPrinterOps': -print.c:256:36: warning: '%s' directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] - 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); - | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In function 'sprintf', - inlined from 'xim_initPrinterOps' at print.c:256:9: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 269 bytes into a destination of size 256 - 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 31 | __glibc_objsize (__s), __fmt, - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - 32 | __va_arg_pack ()); - | ~~~~~~~~~~~~~~~~~ ximclient.c: In function 'ism_start': ximclient.c:2494:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 2494 | system (ism->command); | ^~~~~~~~~~~~~~~~~~~~~ -cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/x11iraf-2.1+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../obm -I/usr/include/tcl -DOSI_COMPLIANT -Wdate-time -D_FORTIFY_SOURCE=2 -c -o ximtool.o ximtool.c save.c: In function 'xim_saveFile': save.c:170:33: warning: '%s' directive writing up to 255 bytes into a region of size 221 [-Wformat-overflow=] 170 | sprintf (text, "%s\n%s\n%s", | ^~ 171 | "The following file already exists:", fname, | ~~~~~ +ximtool.c: In function 'main': +ximtool.c:97:55: warning: embedded '\0' in format [-Wformat-contains-nul] + 97 | sprintf (argv[i], "XImtool*cmapName:%s\0", str); + | ^~ In file included from /usr/include/stdio.h:906, from save.c:1: In function 'sprintf', inlined from 'xim_saveFile' at save.c:170:6: +ximtool.c:104:56: warning: embedded '\0' in format [-Wformat-contains-nul] + 104 | sprintf (argv[i], "XImtool*maxColors:%d\0", ncolors); + | ^~ /usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 72 and 327 bytes into a destination of size 256 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -2182,6 +2147,49 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +ximtool.c:369:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] + 369 | system (ism->command); + | ^~~~~~~~~~~~~~~~~~~~~ +print.c:173:38: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] + 173 | sprintf (text, "cat %s | %s", tmpfile, pcp->printCmd); + | ^~ +In file included from /usr/include/stdio.h:906, + from print.c:1: +In function 'sprintf', + inlined from 'xim_print' at print.c:173:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 8 or more bytes (assuming 264) into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +fitsio.c: In function 'ftopen2d': +fitsio.c:425:33: warning: '%d' directive writing between 1 and 10 bytes into a region of size 4 [-Wformat-overflow=] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~ +In function 'rdheader', + inlined from 'ftopen2d' at fitsio.c:311:10: +fitsio.c:425:27: note: directive argument in the range [1, 2147483647] + 425 | sprintf(name, "NAXIS%d", j + 1); + | ^~~~~~~~~ +In file included from /usr/include/stdio.h:906, + from fitsio.c:23: +In function 'sprintf', + inlined from 'rdheader' at fitsio.c:425:6, + inlined from 'ftopen2d' at fitsio.c:311:10: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 16 bytes into a destination of size 9 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +ar r /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o +ar: creating /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a +mkpkg[1]: Leaving directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/lib/' +mkpkg[1]: Entering directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/wcspix/' +/usr/lib/iraf/unix/bin/xc.e -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x save.c: In function 'xims_rename': save.c:324:33: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 302 | savestat (xim, text); @@ -2216,13 +2224,40 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ximtool.c: In function 'main': -ximtool.c:97:55: warning: embedded '\0' in format [-Wformat-contains-nul] - 97 | sprintf (argv[i], "XImtool*cmapName:%s\0", str); - | ^~ -ximtool.c:104:56: warning: embedded '\0' in format [-Wformat-contains-nul] - 104 | sprintf (argv[i], "XImtool*maxColors:%d\0", ncolors); - | ^~ +print.c: In function 'xim_initPrinterOps': +print.c:256:36: warning: '%s' directive writing up to 256 bytes into a region of size 244 [-Wformat-overflow=] + 256 | sprintf (buf, "printerName %s", printer_list[0].printerName); + | ^~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In function 'sprintf', + inlined from 'xim_initPrinterOps' at print.c:256:9: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 13 and 269 bytes into a destination of size 256 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +raster.c: In function 'xim_colortables': +raster.c:2222:37: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] + 2222 | sprintf (msgbuf, "setValue {%s}", message); + | ^~ +...... + 2311 | xim_message (xim, "colortables", buf); + | ~~~ +In file included from /usr/include/stdio.h:906, + from raster.c:1: +In function 'sprintf', + inlined from 'xim_message' at raster.c:2222:2, + inlined from 'xim_colortables' at raster.c:2311:2: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, + arg 4: here real variable, previously integer variable. ximclient.c: In function 'load': ximclient.c:2013:39: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 2013 | sprintf (buf, "curdir %s", flp->curdir); @@ -2277,36 +2312,36 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ximtool.c:369:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] - 369 | system (ism->command); - | ^~~~~~~~~~~~~~~~~~~~~ -ar r /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o -ar: creating /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a -mkpkg[1]: Leaving directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/lib/' -mkpkg[1]: Entering directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/wcspix/' -/usr/lib/iraf/unix/bin/xc.e -c -x t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x -raster.c: In function 'xim_colortables': -raster.c:2222:37: warning: '%s' directive writing up to 10239 bytes into a region of size 8182 [-Wformat-overflow=] - 2222 | sprintf (msgbuf, "setValue {%s}", message); - | ^~ -...... - 2311 | xim_message (xim, "colortables", buf); - | ~~~ -In file included from /usr/include/stdio.h:906, - from raster.c:1: +fitsio.c: In function 'getFITSHdr': +fitsio.c:240:54: warning: '%s' directive writing up to 79 bytes into a region of size between 24 and 44 [-Wformat-overflow=] + 240 | sprintf (line, "%-16.16s %3d %5dx%-5d %s", + | ^~ + 241 | fname, bitpix, w,h, fs.title); + | ~~~~~~~~ In function 'sprintf', - inlined from 'xim_message' at raster.c:2222:2, - inlined from 'xim_colortables' at raster.c:2311:2: -/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 10251 bytes into a destination of size 8192 + inlined from 'getFITSHdr' at fitsio.c:240:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 136 bytes into a destination of size 80 + 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 31 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 32 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +fitsio.c: In function 'getFITSHdr': +fitsio.c:237:58: warning: '%s' directive writing up to 79 bytes into a region of size between 27 and 44 [-Wformat-overflow=] + 237 | sprintf (line, "%-16.16s %3d (%2d extns) %s", + | ^~ + 238 | fname, bitpix, fs.nextend, fs.title); + | ~~~~~~~~ +In function 'sprintf', + inlined from 'getFITSHdr' at fitsio.c:237:6: +/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 37 and 133 bytes into a destination of size 80 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -Warning on line 304 of t_wcspix.x: inconsistent calling sequences for zcall4, - arg 4: here real variable, previously integer variable. - arg 5: here real variable, previously integer*2 variable. ximclient.c: In function 'setSaveOption': ximclient.c:1734:34: warning: '%s' directive writing up to 256 bytes into a region of size 250 [-Wformat-overflow=] 1734 | sprintf (buf, "fname %s", fsp->fname); @@ -2346,23 +2381,24 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -ar r /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a t_wcspix.o wcimage.o wcmef.o wcmspec.o wcunknown.o -mkpkg[1]: Leaving directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/wcspix/' -ranlib libpkg.a -Updated 8 files in libpkg.a -/usr/lib/iraf/unix/bin/xc.e -c -x x_ism.x -cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ +cc -Wl,-z,relro -o ximtool eps.o fitsio.o gifio.o iis.o irafio.o ism.o ism_wcspix.o load.o logo.o print.o quant.o rasio.o raster.o save.o tiffio.o util.o ximclient.o ximtool.o zscale.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm -/usr/bin/ld: gtermio.o: in function `gio_connect_cb': -./xgterm/./xgterm/gtermio.c:465:(.text+0xd74): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' -/usr/lib/iraf/unix/bin/xc.e -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools -liminterp -lslalib -cc -Wl,-z,relro -o ximtool eps.o fitsio.o gifio.o iis.o irafio.o ism.o ism_wcspix.o load.o logo.o print.o quant.o rasio.o raster.o save.o tiffio.o util.o ximclient.o ximtool.o zscale.o \ +cc -Wl,-z,relro -o xgterm button.o charproc.o cursor.o data.o gtermio.o input.o main.o menu.o misc.o screen.o scrollbar.o tabs.o util.o VTPrsTbl.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm /usr/bin/ld: print.o: in function `xim_print': ./ximtool/./ximtool/print.c:136:(.text+0x5f2): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' +/usr/bin/ld: gtermio.o: in function `gio_connect_cb': +./xgterm/./xgterm/gtermio.c:465:(.text+0xd74): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[2]: Leaving directory '/build/reproducible-path/x11iraf-2.1+dfsg/xgterm' + arg 5: here real variable, previously integer*2 variable. +ar r /build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/libpkg.a t_wcspix.o wcimage.o wcmef.o wcmspec.o wcunknown.o +mkpkg[1]: Leaving directory `/build/reproducible-path/x11iraf-2.1+dfsg/ximtool/clients/wcspix/' +ranlib libpkg.a +Updated 8 files in libpkg.a +/usr/lib/iraf/unix/bin/xc.e -c -x x_ism.x +/usr/lib/iraf/unix/bin/xc.e -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools -liminterp -lslalib make[2]: Leaving directory '/build/reproducible-path/x11iraf-2.1+dfsg/ximtool' make[1]: Leaving directory '/build/reproducible-path/x11iraf-2.1+dfsg' dh_auto_test @@ -2392,10 +2428,10 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.1+dfsg-2_amd64.deb'. +dpkg-deb: building package 'ximtool' in '../ximtool_2.1+dfsg-2_amd64.deb'. dpkg-deb: building package 'xgterm' in '../xgterm_2.1+dfsg-2_amd64.deb'. dpkg-deb: building package 'xgterm-dbgsym' in '../xgterm-dbgsym_2.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'ximtool' in '../ximtool_2.1+dfsg-2_amd64.deb'. -dpkg-deb: building package 'ximtool-dbgsym' in '../ximtool-dbgsym_2.1+dfsg-2_amd64.deb'. dpkg-genbuildinfo --build=binary -O../x11iraf_2.1+dfsg-2_amd64.buildinfo dpkg-genchanges --build=binary -O../x11iraf_2.1+dfsg-2_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2403,12 +2439,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/3096279/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3096279/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/2817746 and its subdirectories -I: Current time: Wed May 1 21:32:42 -12 2024 -I: pbuilder-time-stamp: 1714642362 +I: removing directory /srv/workspace/pbuilder/3096279 and its subdirectories +I: Current time: Thu Jun 5 05:57:35 +14 2025 +I: pbuilder-time-stamp: 1749052655