D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/x11iraf-2.1-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VEGyCs + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + test -d /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NUtfmT + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + rm -rf x11iraf-2.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/x11iraf-2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd x11iraf-2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/x11iraf-makefile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/x11iraf-fix-building-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|use=xterm-r5|use=xterm|' xgterm/xgterm.terminfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TGLShg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11iraf-2.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + unset IRAFARCH ++ /usr/lib64/iraf/unix/hlib/irafarch.sh + export IRAFARCH=linux64 + IRAFARCH=linux64 + export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin:/usr/lib64/iraf/unix/bin:/usr/lib64/iraf/unix/bin.linux64 + PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin:/usr/lib64/iraf/unix/bin:/usr/lib64/iraf/unix/bin.linux64 + make make -C obm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obm' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Obm.o Obm.c 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", | ^~ ...... 317 | "*gterm.deiconifyWindow: True\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from ObmP.h:8, from Obm.c:5: In function 'sprintf', inlined from 'ObmActivate' at Obm.c:311:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 187 and 568 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o client.o client.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o param.o param.c 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.h:2424, from ObmP.h:76, from param.c:4: /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o server.o server.c server.c: In function 'serverGetResources': 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: In function 'serverCreateMenu': server.c:2175:31: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2175 | ip->label = cp; | ^ 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); | ^ In file included from /usr/include/stdio.h:970, from ObmP.h:8, from server.c:4: In function 'sprintf', inlined from 'menu_highlight' at server.c:3034:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 2 and 129 bytes into a destination of size 128 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o widget.o widget.c 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.h:2424, from ObmP.h:76, from widget.c:5: /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | 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/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | 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': 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 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 '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': 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} 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:1683:15: note: declared here 1683 | 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} widget.c: In function 'widgetGetFontName': 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 gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o gterm.o gterm.c 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); | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o marker.o marker.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/tcl.h:2424, from ObmP.h:76, from marker.c:5: /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tclDecls.h:692:65: note: expected 'char *' but argument is of type 'const char *' 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o geom.o geom.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o html.o html.c make -C ObmW make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obm/ObmW' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Arrow.o Arrow.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Board.o Board.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Button.o Button.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Common.o Common.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o DrawIString.o DrawIString.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o DrawString.o DrawString.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o DrawingArea.o DrawingArea.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Frame.o Frame.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Group.o Group.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; | ^ Group.c: In function 'off_cb': Group.c:131:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 131 | Cardinal toggle_ord = (Cardinal) client_data; | ^ Group.c: In function 'insert_child': Group.c:368:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 368 | XtAddCallback(child, XtNonCallback, on_cb, (XtPointer) ((XfwfGroupWidget)self)->xfwfGroup.toggle_ord); | ^ 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); | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Gterm.o Gterm.c Gterm.c: In function 'Initialize': 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", | ~^ | | | unsigned int | %lx 757 | w->core.colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} 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", | ~^ | | | int | %ld 757 | w->core.colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} Gterm.c:788:66: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 788 | "Gterm.initialize(Pseudo8): defDepth=%d cmap=0x%x\n", | ~^ | | | unsigned int | %lx 789 | w->gterm.w_depth, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:813:61: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 813 | fprintf (stderr, "nvis=%d defDepth=%d cmap=0x%x\n", | ~^ | | | unsigned int | %lx 814 | nvis, w->gterm.w_depth, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:908:72: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 908 | "Gterm.initialize (TrueColor): after colormap, cmap=0x%x\n", | ~^ | | | unsigned int | %lx 909 | w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c:991:76: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 991 | "Gterm.intialize: ncolors=%d useDefaultCM=%d core.colormap=0x%x\n", | ~^ | | | unsigned int | %lx 992 | w->gterm.ncolors, w->gterm.useDefaultCM, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {aka long unsigned int} Gterm.c: In function 'Realize': 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", | ~^ | | | unsigned int | %lx 1344 | w->gterm.forcePseudo8, w->core.colormap); | ~~~~~~~~~~~~~~~~ | | | Colormap {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=] 107 | fprintf (stderr, "IMGtoRPM: %d <-> %d [%d,%d] cnvImg=0x%x\n", | ~^ | | | unsigned int 108 | xin->depth, dest->depth, xin->width, xin->height, cnvImg); | ~~~~~~ | | | XImage * 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", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int 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", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int 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", | ~^ | | | unsigned int | %lx 340 | rmask, gmask, bmask, rshift, gshift, bshift); | ~~~~~ | | | long unsigned int GtermCnv.c: In function 'dbg_printCmaps': 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", | ~^ | | | int | %ld 420 | w->gterm.base_pixel, w->gterm.maxColors, w->gterm.ncolors); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} 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", | ~~^ | | | int | %3ld ...... 439 | global_color[i].blue>>8, global_cmap[i], | ~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c:436:71: warning: format '%d' expects argument of type 'int', but argument 15 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", | ~~^ | | | int | %3ld ...... 440 | w->gterm.cmap_in[i], w->gterm.cmap_out[i]); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} 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", | ~~^ | | | int | %3ld ...... 440 | w->gterm.cmap_in[i], w->gterm.cmap_out[i]); | ~~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCnv.c: In function 'dbg_printRasters': 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", | ~^ | | | unsigned int | %lx 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} 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", | ~^ | | | unsigned int 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~ | | | XImage * GtermCnv.c:479:50: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 479 | fprintf (stderr, ": p=0x%x im=0x%x sh=0x%x\n", | ~^ | | | unsigned int | %lx 480 | rp->r.pixmap, rp->r.ximage, rp->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} 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=] 1057 | fprintf (stderr, "GtStartDialog: ENTER d_pixmap=0x%x d_saved=%d\n", | ~^ | | | unsigned int | %lx 1058 | w->gterm.d_pixmap, w->gterm.d_saved); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} 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", | ~^ | | | unsigned int | %lx 1091 | w->gterm.d_pixmap, w->gterm.d_saved); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} 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=] 546 | "GtWritePixels[%s] ENTER: nbits=%d raster=%d type='%s' wa=0x%x\n", | ~^ | | | unsigned int ...... 549 | w->gterm.wa); | ~~~~~~~~~~~ | | | XWindowAttributes GtermImaging.c: In function 'GtRefreshPixels': 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", | ~^ | | | unsigned int 981 | mp, mp->enabled, mp->src, raster); | ~~ | | | Mapping {aka struct mapping *} GtermImaging.c: In function 'GtLoadColormap': 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", | ~^ | | | unsigned int 1675 | map, cm->map, cm, cm->ncells); | ~~ | | | struct colormap * GtermImaging.c: In function 'GtDebug': 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", | ~^ | | | unsigned int 3119 | w, w->core.name, w->core.width, w->core.height, w->gterm.raster); | ~ | | | GtermWidget {aka struct _GtermRec *} 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", | ~^ | | | int | %ld 3186 | w->gterm.cmapName, w->gterm.ncolors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermImaging.c:3198:37: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Marker' {aka 'struct marker *'} [-Wformat=] 3198 | fprintf (fp, "marker 0x%x: %10s flags=0x%x [%d %d %d %d] %0.5g\n", | ~^ | | | unsigned int 3199 | mm, value, mm->flags, mm->x, mm->y, mm->width, mm->height, | ~~ | | | Marker {aka struct marker *} In file included from Gterm.c:1950: GtermCmap.c: In function 'get_colormap': GtermCmap.c:48:75: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 48 | fprintf (stderr, "get_colormap: have=%d ncols=%d maxcols=%d base=%d\n", | ~^ | | | int | %ld 49 | w->gterm.haveColormap, w->gterm.ncolors, w->gterm.maxColors, 50 | w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCmap.c:80:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Colormap' {aka 'long unsigned int'} [-Wformat=] 80 | fprintf (stderr, "get_colormap: use existing cmap=0x%x; base=%d\n", | ~^ | | | unsigned int | %lx 81 | colormap, w->gterm.base_pixel); | ~~~~~~~~ | | | Colormap {aka long unsigned int} GtermCmap.c:80:75: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 80 | fprintf (stderr, "get_colormap: use existing cmap=0x%x; base=%d\n", | ~^ | | | int | %ld 81 | colormap, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} GtermCmap.c:89:75: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Pixel' {aka 'long unsigned int'} [-Wformat=] 89 | fprintf (stderr, "get_colormap: TrueColor gt.ncolors=%d base=%d\n", | ~^ | | | int | %ld 90 | w->gterm.ncolors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} 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", | ~^ | | | int | %ld 377 | w->gterm.ncolors, w->gterm.maxColors, w->gterm.base_pixel); | ~~~~~~~~~~~~~~~~~~~ | | | Pixel {aka long unsigned int} 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=] 125 | fprintf(stderr, "refresh_destination ENTER[0x%x]: pos=%d,%d sz=%d,%d\n", | ~^ | | | unsigned int 126 | w, x1,y1,nx,ny); | ~ | | | GtermWidget {aka struct _GtermRec *} GtermMapping.c:187:39: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:187:55: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:187:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 187 | "refresh: gterm.pixmap=0x%x src.pixmap=0x%x dest.pixmap=0x%x\n", | ~^ | | | unsigned int | %lx 188 | w->gterm.pixmap, sr->r.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:190:39: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int | %lx 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:190:55: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'XImage *' [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~ | | | XImage * GtermMapping.c:190:73: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'XImage *' [-Wformat=] 190 | "refresh: gterm.pixmap=0x%x src.ximage=0x%x dest.ximage=0x%x\n", | ~^ | | | unsigned int 191 | w->gterm.pixmap, sr->r.ximage, dr->r.ximage); | ~~~~~~~~~~~~ | | | XImage * GtermMapping.c:313:62: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 313 | fprintf (stderr, "src=%d dest=%d shadow=0x%x ximage=0x%x\n", | ~^ | | | unsigned int | %lx 314 | src, dst, dr->shadow_pixmap, rp->r.ximage); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:313:75: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'XImage *' [-Wformat=] 313 | fprintf (stderr, "src=%d dest=%d shadow=0x%x ximage=0x%x\n", | ~^ | | | unsigned int 314 | src, dst, dr->shadow_pixmap, rp->r.ximage); | ~~~~~~~~~~~~ | | | XImage * GtermMapping.c:363:50: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 363 | fprintf (stderr, " src=%d pix=0x%x dims=%d,%d\n", | ~^ | | | unsigned int | %lx 364 | src, w->gterm.pixmap, sr->width, sr->height); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:385:67: warning: format '%x' expects argument of type 'unsigned int', but argument 8 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 385 | "src=%d dst=%d d_ras=%d %d x %d pr=0x%x sr=0x%x\n", | ~^ | | | unsigned int | %lx 386 | src, dst, w->gterm.d_raster, sr->width, sr->height, 387 | pr->shadow_pixmap, sr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:385:76: warning: format '%x' expects argument of type 'unsigned int', but argument 9 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 385 | "src=%d dst=%d d_ras=%d %d x %d pr=0x%x sr=0x%x\n", | ~^ | | | unsigned int | %lx 386 | src, dst, w->gterm.d_raster, sr->width, sr->height, 387 | pr->shadow_pixmap, sr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:446:51: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 446 | "\n\nrefresh: gterm.pixmap=0x%x dest.pixmap=0x%x\n\n", | ~^ | | | unsigned int | %lx 447 | w->gterm.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:446:68: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 446 | "\n\nrefresh: gterm.pixmap=0x%x dest.pixmap=0x%x\n\n", | ~^ | | | unsigned int | %lx 447 | w->gterm.pixmap, dr->r.pixmap); | ~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:466:66: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 466 | "refresh_destination: dr->shadow_pixmap = 0x%x\n", | ~^ | | | unsigned int | %lx 467 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:489:75: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 489 | "updating shadow_pixmap........................0x%x\n", | ~^ | | | unsigned int | %lx 490 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:558:55: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'XImage *' [-Wformat=] 558 | fprintf (stderr, "refresh: scaling=%d xin=0x%x xout=0x%x\n", | ~^ | | | unsigned int 559 | scaling, xin, xout); | ~~~ | | | XImage * GtermMapping.c:558:66: warning: format '%x' expects argument of type 'unsigned int', but argument 5 has type 'XImage *' [-Wformat=] 558 | fprintf (stderr, "refresh: scaling=%d xin=0x%x xout=0x%x\n", | ~^ | | | unsigned int 559 | scaling, xin, xout); | ~~~~ | | | XImage * 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", | ~^ | | | unsigned int | %lx 751 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} GtermMapping.c:784:75: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Pixmap' {aka 'long unsigned int'} [-Wformat=] 784 | "updating shadow_pixmap........................0x%x\n", | ~^ | | | unsigned int | %lx 785 | dr->shadow_pixmap); | ~~~~~~~~~~~~~~~~~ | | | Pixmap {aka long unsigned int} gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Icon.o Icon.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o iconutil.o iconutil.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Label.o Label.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o MenuBar.o MenuBar.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o MultiList.o MultiList.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); | ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o RadioGrp.o RadioGrp.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o RowCol.o RowCol.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Scrollbar.o Scrollbar.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Slider2.o Slider2.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Tablist2Tabs.o Tablist2Tabs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o TextWidth.o TextWidth.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Toggle.o Toggle.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o cvtLong.o cvtLong.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o scroll.o scroll.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o strnchr.o strnchr.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Tabs.o Tabs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Gcs.o Gcs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o ListTree.o ListTree.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Separator.o Separator.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Container.o Container.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o color.o color.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTML-PSformat.o HTML-PSformat.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTML.o HTML.c HTML.c: In function 'ScrollMove': HTML.c:1048:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1048 | float scrollDir = (int)call_data < 0 ? -0.3 : 0.3; | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLformat.o HTMLformat.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLimages.o HTMLimages.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLjot.o HTMLjot.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLlists.o HTMLlists.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLparse.o HTMLparse.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o HTMLwidgets.o HTMLwidgets.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Table.o Table.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o Table3d.o Table3d.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I/usr/include/tcl -c -o TableUtil.o TableUtil.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obm/ObmW' 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 html.o make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obm' make -C xgterm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xgterm' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o button.o button.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o charproc.o charproc.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o cursor.o cursor.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o data.o data.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o gtermio.o gtermio.c 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); | ^~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o input.o input.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o main.o main.c 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); | ^~~~~~~~ In file included from /usr/include/X11/IntrinsicP.h:51, from ptyx.h:31, from main.c:70: /usr/include/X11/Intrinsic.h:1784:5: note: expected '__attribute__((noreturn)) void (*)(char *)' but argument is of type 'void (*)()' 1784 | XtErrorHandler /* handler */ _X_NORETURN | ^ main.c:1448:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1448 | write (pty, buf, strlen (buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'first_map_occurred': main.c:2023:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 2023 | write (pc_pipe[1], (char *) &handshake, sizeof(handshake)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'spawn': main.c:2263:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 2263 | setgid(screen->gid); | ^~~~~~~~~~~~~~~~~~~ main.c:2264:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 2264 | setuid(screen->uid); | ^~~~~~~~~~~~~~~~~~~ main.c:3138:32: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 3138 | (void) dup(tty); | ^~~~~~~~ main.c:3408:20: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 3408 | (void) setgid(screen->gid); | ^~~~~~~~~~~~~~~~~~~ main.c: In function 'Exit': main.c:5054:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 5054 | chown (ttydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ main.c:5056:17: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 5056 | chown (ptydev, 0, 0); | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o menu.o menu.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o misc.o misc.c 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); | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o screen.o screen.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o scrollbar.o scrollbar.c 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)); | ^ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o tabs.o tabs.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o util.o util.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -DALLOWLOGGING -Wno-implicit-function-declaration -Wno-implicit-int -c -o VTPrsTbl.o VTPrsTbl.c gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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: gtermio.o: in function `gio_connect_cb': /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xgterm/gtermio.c:465:(.text+0xdb2): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xgterm' make -C ximtool make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o eps.o eps.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o fitsio.o fitsio.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitsio.c: In function 'rdheader.constprop': 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); | ^~ 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:970, from fitsio.c:23: In function 'sprintf', inlined from 'rdheader.constprop' at fitsio.c:425:6: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~ 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/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/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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o gifio.o gifio.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o iis.o iis.c 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", | ~^ | | | int | %ld 497 | n, sizeof(iis), errno); | ~~~~~~~~~~~ | | | long unsigned int iis.c:760:42: warning: too many arguments for format [-Wformat-extra-args] 760 | fprintf (stderr, "write %d bytes at x=%d, y=%d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iis.c:846:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 846 | write (2, text, strlen (text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iis.c:865:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 865 | write (2, text, strlen(text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ iis.c:896:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 896 | write (2, buf, ndatabytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o irafio.o irafio.c 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:457:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 457 | fread ((char *)sline, sizeof (short), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:487:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 487 | fread ((char *)iline, sizeof (int), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c:516:17: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 516 | fread ((char *)fline, sizeof (float), px, fd); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ irafio.c: In function 'getIRAFHdr': irafio.c:266:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | fread ((char *)header_v1, sizeof (char), SZ_V1HDR, hdr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o ism.o ism.c ism.c: In function 'ism_io': ism.c:305:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); | ~^ ~~~~~ | | | | int long int | %ld ism.c:305:41: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 305 | printf("\nism_io: nread=%d pkt=%d count=%d n=%d\n",nread,pkt++,count,n); | ~^ ~~~~~ | | | | int long int | %ld ism.c:316:53: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 316 | printf ("INCOMPLETE '%s' ip=%d len=%d\n", text,ip,strlen(text)); | ~^ ~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld In file included from ism.c:18: ximtool.h:65:28: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XtInputId' {aka 'long unsigned int'} [-Wformat=] 65 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ | ^~~~~~~~~~~~~~~~ ism.c:339:32: note: in expansion of macro 'DEF_ISM_TEMPLATE' 339 | sprintf (path, DEF_ISM_TEMPLATE, getuid(), new_chan->id); | ^~~~~~~~~~~~~~~~ ximtool.h:65:42: note: format string is defined here 65 | #define DEF_ISM_TEMPLATE "/tmp/.ISM%d_%d" /* ISM client socket template */ | ~^ | | | int | %ld 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); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld ism.c: In function 'ism_evaluate': ism.c:552:34: warning: embedded '\0' in format [-Wformat-contains-nul] 552 | sprintf (buf, "%s\0", command); | ^~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o ism_wcspix.o ism_wcspix.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o load.o load.c 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); | ^~ 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); | ^~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o logo.o logo.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o print.o print.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 */ | ^~~~~~~~~~~~~ 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:970, from print.c:1: In function 'sprintf', inlined from 'xim_print' at print.c:173:6: /usr/include/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 ()); | ~~~~~~~~~~~~~~~~~ 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/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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o quant.o quant.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o rasio.o rasio.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 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); | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o raster.o raster.c 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:970, 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/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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o save.o save.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, | ~~~~~ In file included from /usr/include/stdio.h:970, from save.c:1: In function 'sprintf', inlined from 'xim_saveFile' at save.c:170:6: /usr/include/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ save.c: In function 'xim_saveFile': save.c:174:49: warning: '%s' directive writing up to 255 bytes into a region of size 243 [-Wformat-overflow=] 174 | sprintf (ok_action, "save rename %s %s", tmpfile, fname); | ^~ ~~~~~ In function 'sprintf', inlined from 'xim_saveFile' at save.c:174:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output 14 or more bytes (assuming 269) 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 ()); | ~~~~~~~~~~~~~~~~~ save.c: In function 'xim_saveFile': save.c:138:60: warning: '%s' directive writing up to 255 bytes into a region of size between 221 and 231 [-Wformat-overflow=] 138 | sprintf (text, "Error %d\nCannot open file %s", errno, fname); | ^~ ~~~~~ In function 'sprintf', inlined from 'xim_saveFile' at save.c:138:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 26 and 291 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 ()); | ~~~~~~~~~~~~~~~~~ save.c: In function 'xim_saveFile': save.c:134:51: warning: '%s' directive writing up to 255 bytes into a region of size between 229 and 239 [-Wformat-overflow=] 134 | sprintf (text, "Wrote %d bytes to %s", (int)fs.st_size, fname); | ^~ ~~~~~ In function 'sprintf', inlined from 'xim_saveFile' at save.c:134:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 18 and 283 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 ()); | ~~~~~~~~~~~~~~~~~ save.c: In function 'xim_saveFile': save.c:324:33: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] 135 | savestat (xim, text); | ~~~~ ...... 324 | sprintf (text, "status {%s}", message); | ^~ In function 'sprintf', inlined from 'savestat' at save.c:324:2, inlined from 'xim_saveFile' at save.c:135:3: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 265 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 ()); | ~~~~~~~~~~~~~~~~~ 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); | ~~~~ ...... 324 | sprintf (text, "status {%s}", message); | ^~ In function 'sprintf', inlined from 'savestat' at save.c:324:2, inlined from 'xims_rename' at save.c:302:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 265 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 ()); | ~~~~~~~~~~~~~~~~~ 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=] 296 | savestat (xim, text); | ~~~~ ...... 324 | sprintf (text, "status {%s}", message); | ^~ In function 'sprintf', inlined from 'savestat' at save.c:324:2, inlined from 'xims_rename' at save.c:296:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 265 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 ()); | ~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o tiffio.o tiffio.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o util.o util.c sed -f gui2c.sed ximtool.html > ximtool.html.h gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o ximclient.o ximclient.c 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); | ^~~~~~~~~~~~~~~~~~~~~ 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); | ^~ In file included from /usr/include/stdio.h:970, from ximclient.c:1: In function 'sprintf', inlined from 'load' at ximclient.c:2013:17: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 264 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 'load': ximclient.c:2001:35: warning: '%s' directive writing up to 256 bytes into a region of size 249 [-Wformat-overflow=] 2001 | sprintf (buf, "curdir %s", flp->curdir); | ^~ In function 'sprintf', inlined from 'load' at ximclient.c:2001:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 8 and 264 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 'info_server': ximclient.c:2164:32: warning: '%s' directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2164 | sprintf (line, "%20s: %s\n", "Printer File", xim->pcp->printFile); | ^~ In function 'sprintf', inlined from 'info_server' at ximclient.c:2164:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 281 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 'info_server': ximclient.c:2166:32: warning: '%s' directive writing up to 256 bytes into a region of size 233 [-Wformat-overflow=] 2166 | sprintf (line, "%20s: %s\n", "Printer Cmd", xim->pcp->printCmd); | ^~ In function 'sprintf', inlined from 'info_server' at ximclient.c:2166:2: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 25 and 281 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 '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); | ^~ In function 'sprintf', inlined from 'setSaveOption' at ximclient.c:1734:13: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 7 and 263 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 'setPrintOption': ximclient.c:1619:42: warning: '%s' directive writing up to 256 bytes into a region of size 246 [-Wformat-overflow=] 1619 | sprintf (buf, "printFile %s", pcp->printFile); | ^~ In function 'sprintf', inlined from 'setPrintOption' at ximclient.c:1619:10: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 11 and 267 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 'setPrintOption': ximclient.c:1610:41: warning: '%s' directive writing up to 256 bytes into a region of size 247 [-Wformat-overflow=] 1610 | sprintf (buf, "printCmd %s", pcp->printCmd); | ^~ In function 'sprintf', inlined from 'setPrintOption' at ximclient.c:1610:10: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 10 and 266 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 ()); | ~~~~~~~~~~~~~~~~~ sed -f gui2c.sed ximtool.gui > ximtool.gui.h gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o ximtool.o ximtool.c 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); | ^~ ximtool.c:369:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 369 | system (ism->command); | ^~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -I/usr/include/tcl -c -o zscale.o zscale.c gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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: print.o: in function `xim_print': /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/print.c:136:(.text+0x672): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' cd clients && mkpkg || true $call relink $call libpkg.a warning: library `libpkg.a' not found mkpkg[1]: Entering directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/lib/' /usr/lib64/iraf/unix/bin/xc.e -c -w idxstr.x ism.x wcsgfterm.x ar r /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/libpkg.a idxstr.o ism.o wcsgfterm.o ar: creating /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/libpkg.a mkpkg[1]: Leaving directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/lib/' mkpkg[1]: Entering directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/wcspix/' /usr/lib64/iraf/unix/bin/xc.e -c -w t_wcspix.x wcimage.x wcmef.x wcmspec.x wcunknown.x arg 5: here real variable, previously integer*2 variable. ar r /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/libpkg.a t_wcspix.o wcimage.o wcmef.o wcmspec.o wcunknown.o mkpkg[1]: Leaving directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/wcspix/' ranlib libpkg.a Updated 8 files in libpkg.a /usr/lib64/iraf/unix/bin/xc.e -c -w x_ism.x /usr/lib64/iraf/unix/bin/xc.e -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools -liminterp -lslalib make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool' make -C xtapemon make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xtapemon' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o classnames.o classnames.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o types.o types.c gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o xtapemon.o xtapemon.c xtapemon.c: In function 'readClientData': xtapemon.c:377:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | write (2, start, nchars); | ^~~~~~~~~~~~~~~~~~~~~~~~ xtapemon.c:484:31: warning: ' = ' directive writing 3 bytes into a region of size between 1 and 512 [-Wformat-overflow=] 484 | sprintf (obuf, "%s = %s", word, value); | ^~~ In file included from /usr/include/stdio.h:970, from xtapemon.c:1: In function 'sprintf', inlined from 'readClientData' at xtapemon.c:484:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 4 and 1026 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ xtapemon.c: In function 'readClientData': xtapemon.c:440:42: warning: '%s' directive writing up to 510 bytes into a region of size 499 [-Wformat-overflow=] 440 | sprintf (obuf, "connected to %s,%s on port %s (%d)", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ 441 | value+1, iodev, | ~~~~~~~~~~~~~~~ 442 | (server_port == appResources.port) ? "A" : "B", server_port); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sprintf', inlined from 'readClientData' at xtapemon.c:440:6: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 29 and 804 bytes into a destination of size 512 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xtapemon classnames.o types.o xtapemon.o -lXaw3d -lXmu -lXt -lX11 -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xtapemon' make -C obmsh make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obmsh' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -I../obm -c -o obmsh.o obmsh.c gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o obmsh obmsh.o \ -L../obm -lobm \ -lXpm -ltcl -lXaw3d -lXmu -lXt -lXext -lX11 -lncurses -lm make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/obmsh' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XWVE8v + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + mkdir /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd x11iraf-2.1 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' PREFIX=/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr /usr/bin/make -C xgterm make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xgterm' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/xgterm' /usr/bin/make -C ximtool make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool' cd clients && mkpkg || true hlib$mkpkg.inc:5: warning: macro `IRAFARCH' not found $call relink $call libpkg.a mkpkg[1]: Entering directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/lib/' Subdirectory lib is up to date mkpkg[1]: Leaving directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/lib/' mkpkg[1]: Entering directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/wcspix/' Subdirectory wcspix is up to date mkpkg[1]: Leaving directory `/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool/clients/wcspix/' Library libpkg.a is up to date Object x_ism.o is up to date /usr/lib64/iraf/unix/bin/xc.e -z x_ism.o libpkg.a -o ism_wcspix.e -lds -lxtools -liminterp -lslalib make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/ximtool' mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1 install -m755 xgterm/xgterm /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin install -m755 xgterm/xgterm.man /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1/xgterm.1 tic xgterm/xgterm.terminfo install -m755 ximtool/ximtool /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin install -m755 ximtool/ximtool.man /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1/ximtool.1 if [ -x ximtool/clients/ism_wcspix.e ] ; then \ install -m755 ximtool/clients/ism_wcspix.e /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin ; \ fi mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1 install -m755 xtapemon/xtapemon /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin install -m755 xtapemon/xtapemon.man /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1/xtapemon.1 install -m755 obmsh/obmsh /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/bin install -m755 obmsh/obmsh.man /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/man/man1/obmsh.1 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 2.1-3.mga10 --unique-debug-suffix -2.1-3.mga10.x86_64 --unique-debug-src-base x11iraf-2.1-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/x11iraf-2.1-3.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: x11iraf-2.1-3.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xf4OmJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + cd x11iraf-2.1 + DOCDIR=/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/doc/x11iraf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/doc/x11iraf + cp -pr /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/CHANGES.md /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/doc/x11iraf + cp -pr /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/README.md /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/doc/x11iraf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.j50KIU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + cd x11iraf-2.1 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/licenses/x11iraf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/licenses/x11iraf + cp -pr /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/x11iraf-2.1/LICENSES /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT/usr/share/licenses/x11iraf + RPM_EC=0 ++ jobs -p + exit 0 Provides: x11iraf = 2.1-3.mga10 x11iraf(x86-64) = 2.1-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libX11.so.6()(64bit) libXaw3d.so.8()(64bit) libXext.so.6()(64bit) libXmu.so.6()(64bit) libXpm.so.4()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libtcl8.6.so()(64bit) libtinfo.so.6()(64bit) libz.so.1()(64bit) Processing files: x11iraf-debugsource-2.1-3.mga10.x86_64 Provides: x11iraf-debugsource = 2.1-3.mga10 x11iraf-debugsource(x86-64) = 2.1-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: x11iraf-debuginfo-2.1-3.mga10.x86_64 Provides: debuginfo(build-id) = 044698c2a806aa3172a45728d509dc3ae10225f4 debuginfo(build-id) = 2e47358012dca4916158ffa97b3303c2d660e521 debuginfo(build-id) = 7b0874bf5590d7336eadcea04f88614f438b6653 debuginfo(build-id) = c654b5c5711207355bdf3e03d4ce974faae9dd42 debuginfo(build-id) = f65907c320363a26d8ad7622110d1f5f56b8eb75 x11iraf-debuginfo = 2.1-3.mga10 x11iraf-debuginfo(x86-64) = 2.1-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: x11iraf-debugsource(x86-64) = 2.1-3.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11iraf-debugsource-2.1-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11iraf-2.1-3.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/x11iraf-debuginfo-2.1-3.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jInEHe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + test -d /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/x11iraf-2.1-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!