Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xfig.spec'], uid=1000gid=425timeout=172800logger=user='mockbuild'nspawn_args=[]shell=Falseenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}printOutput=FalsechrootPath='/var/lib/mock/f27-build-9443034-774751/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/xfig.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/xfig-3.2.6a-3.fc27.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xfig.spec'], uid=1000gid=425timeout=172800logger=user='mockbuild'nspawn_args=[]shell=Falseenv={'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'}printOutput=FalsechrootPath='/var/lib/mock/f27-build-9443034-774751/root') Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/xfig.spec'] with env {'PS1': ' \\s-\\v\\$ ', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'SHELL': '/bin/bash', 'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7QPWBo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xfig-3.2.6a + /usr/bin/xz -dc /builddir/build/SOURCES/xfig-3.2.6a.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xfig-3.2.6a + /usr/bin/gzip -dc /builddir/build/SOURCES/xfig-icons.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (xfig-3.2.5a-default-apps.patch): + echo 'Patch #0 (xfig-3.2.5a-default-apps.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file app-defaults/Fig.in Hunk #2 succeeded at 38 (offset -4 lines). Patch #1 (xfig-3.2.5-urwfonts.patch): + echo 'Patch #1 (xfig-3.2.5-urwfonts.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/u_fonts.c + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/japanese/button_frame.fig + touch -r doc/html/japanese/button_frame.fig.orig doc/html/japanese/button_frame.fig + rm doc/html/japanese/button_frame.fig.orig + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/japanese/japanese.ps + touch -r doc/html/japanese/japanese.ps.orig doc/html/japanese/japanese.ps + rm doc/html/japanese/japanese.ps.orig + for i in doc/html/japanese/button_frame.fig doc/html/japanese/japanese.ps doc/html/animate.js + sed -i.orig 's/\r//' doc/html/animate.js + touch -r doc/html/animate.js.orig doc/html/animate.js + rm doc/html/animate.js.orig + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8Hp9xD + umask 022 + cd /builddir/build/BUILD + cd xfig-3.2.6a + export 'CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for gcc option to accept ISO C99... none needed checking for gcc option to accept ISO Standard C... (cached) none needed checking whether ln -s works... yes checking for library containing pow... -lm checking for library containing png_read_info... -lpng checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for features.h... yes checking for sys/time.h... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for X... libraries , headers checking X11/X.h usability... yes checking X11/X.h presence... yes checking for X11/X.h... yes checking for pid_t... yes checking for size_t... yes checking whether S_IFDIR is declared... yes checking whether S_IWRITE is declared... yes checking whether REG_NOERROR is declared... yes checking for working alloca.h... yes checking for alloca... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for getcwd... yes checking for setlocale... yes checking for strerror... yes checking for isascii... yes checking for strstr... yes checking for strchr... yes checking for strrchr... yes checking for strcasecmp... yes checking for strncasecmp... yes checking for strdup... yes checking for strndup... yes checking for library containing jpeg_read_header... -ljpeg checking for library containing XpmFree... -lXpm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating app-defaults/Fig config.status: creating src/Makefile config.status: creating src/version.fig config.status: creating doc/Makefile config.status: creating doc/xfig.man config.status: creating doc/xfig_man.html config.status: creating tests/Makefile config.status: creating tests/atlocal config.status: creating config.h config.status: executing depfiles commands config.status: executing tests/atconfig commands configure: Compile, $CC=gcc $PATH_CPPFLAGS=-DXAW_INTERNATIONALIZATION \ $CPPFLAGS= $CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing Link, gcc $CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing $PATH_LDFLAGS= \ $LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ $X_LIBS=-lXaw3d -lXt -lX11 $LIBS=-lXpm -ljpeg -lpng -lm Installation locations: /usr/share/X11/app-defaults/ Fig (--with-appdefaultdir) /usr/share/applications/ xfig.desktop (--with-applicationsdir) /usr/share/pixmaps/ xfig.png (--with-icondir) /usr/share/xfig/ Libraries (--datarootdir) /usr/share/doc/xfig/ html (--htmldir) /usr/share/doc/xfig/ doc-files (--docdir) + /usr/bin/make -O -j6 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_picobj.o d_picobj.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_arcbox.o d_arcbox.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_box.o d_box.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_ellipse.o d_ellipse.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_line.o d_line.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_arc.o d_arc.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_regpoly.o d_regpoly.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_spline.o d_spline.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_subspline.o d_subspline.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_addpt.o e_addpt.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_break.o e_break.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_arrow.o e_arrow.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_arrow.c: In function 'add_arrow_head': e_arrow.c:73:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] add_arcarrow(cur_a, (int) p); ^ e_arrow.c: In function 'delete_arrow_head': e_arrow.c:93:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] delete_arcarrow(cur_a, (int) p); ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_copy.o e_copy.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_compound.o e_compound.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_compound.c: In function 'close_compound': e_compound.c:128:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = (F_compound *)objects.parent) { ^ e_compound.c: In function 'close_all_compounds': e_compound.c:171:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c = (F_compound *)objects.parent) { ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_convert.o e_convert.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_align.o e_align.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_align.c: In function 'init_align': e_align.c:950:29: warning: 'min_height' may be used uninitialized in this function [-Wmaybe-uninitialized] req_pos += min_height + (int)inter_obj_space; ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ e_align.c:892:18: note: 'min_height' was declared here int min_top, min_height; ^~~~~~~~~~ e_align.c:946:5: warning: 'obj_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, 0, req_pos - min_top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:891:11: note: 'obj_ptr' was declared here F_line *obj_ptr; ^~~~~~~ e_align.c:946:5: warning: 'obj_type' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, 0, req_pos - min_top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:890:9: note: 'obj_type' was declared here int obj_type; ^~~~~~~~ e_align.c:946:5: warning: 'req_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, 0, req_pos - min_top); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:893:9: note: 'req_pos' was declared here int req_pos; ^~~~~~~ e_align.c:873:28: warning: 'min_width' may be used uninitialized in this function [-Wmaybe-uninitialized] req_pos += min_width + (int)inter_obj_space; ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ e_align.c:815:19: note: 'min_width' was declared here int min_left, min_width; ^~~~~~~~~ e_align.c:869:5: warning: 'obj_ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, req_pos - min_left, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:814:11: note: 'obj_ptr' was declared here F_line *obj_ptr; ^~~~~~~ e_align.c:869:5: warning: 'obj_type' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, req_pos - min_left, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:813:9: note: 'obj_type' was declared here int obj_type; ^~~~~~~~ e_align.c:869:5: warning: 'req_pos' may be used uninitialized in this function [-Wmaybe-uninitialized] adjust_object_pos (obj_ptr, obj_type, req_pos - min_left, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:816:9: note: 'req_pos' was declared here int req_pos; ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_chop.o e_chop.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_chop.c: In function 'dice_polygons': e_chop.c:244:11: warning: variable 'last_ptype' set but not used [-Wunused-but-set-variable] ptype_e last_ptype = PTYPE_NONE; ^~~~~~~~~~ e_chop.c: In function 'dice_polylines': e_chop.c:340:11: warning: variable 'last_ptype' set but not used [-Wunused-but-set-variable] ptype_e last_ptype = PTYPE_NONE; ^~~~~~~~~~ e_chop.c:339:7: warning: variable 'last_y' set but not used [-Wunused-but-set-variable] int last_y = -1; ^~~~~~ e_chop.c:338:7: warning: variable 'last_x' set but not used [-Wunused-but-set-variable] int last_x = -1; ^~~~~~ e_chop.c: In function 'chop_polyline': e_chop.c:409:5: warning: typedef 'state_pline_e' locally defined but not used [-Wunused-local-typedefs] } state_pline_e; ^~~~~~~~~~~~~ e_chop.c: In function 'chop_arc': e_chop.c:637:15: warning: variable 'vpha' set but not used [-Wunused-but-set-variable] double vmag, vpha; ^~~~ e_chop.c: In function 'chop_ellipse': e_chop.c:747:15: warning: variable 'vpha' set but not used [-Wunused-but-set-variable] double vmag, vpha; ^~~~ e_chop.c: In function 'dice_polygons': e_chop.c:297:2: warning: 'start_y' may be used uninitialized in this function [-Wmaybe-uninitialized] append_point(start_x, start_y, &this_point); /* close pgon */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_chop.c:297:2: warning: 'start_x' may be used uninitialized in this function [-Wmaybe-uninitialized] e_chop.c: In function 'chop_polyline': e_chop.c:457:18: warning: argument 1 value '18446744073709551600' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] top_l_points = alloca(nr_segs * sizeof(l_point_s)); ^ e_chop.c:457:18: note: in a call to built-in allocation function '__builtin_alloca' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_delete.o e_delete.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_delete.c: In function 'delete_all': e_delete.c:270:5: warning: implicit declaration of function 'swap_colors'; did you mean 'x_color'? [-Wimplicit-function-declaration] swap_colors(); ^~~~~~~~~~~ x_color make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_deletept.o e_deletept.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o d_text.o d_text.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' d_text.c: In function 'draw_char_string': d_text.c:909:9: warning: unused variable 'cwidth' [-Wunused-variable] double cwidth; ^~~~~~ d_text.c: In function 'xim_initialize': d_text.c:1929:19: warning: unused variable 'im_event_mask' [-Wunused-variable] static long int im_event_mask = 0; ^~~~~~~~~~~~~ At top level: d_text.c:1929:19: warning: 'im_event_mask' defined but not used [-Wunused-variable] make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_joinsplit.o e_joinsplit.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_joinsplit.c: In function 'split_polygon': e_joinsplit.c:536:13: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] q->next = NULL; ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_glue.o e_glue.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_glue.c: In function 'compose_compound': e_glue.c:524:19: warning: 'cc' may be used uninitialized in this function [-Wmaybe-uninitialized] c = cc->next = c->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:507:32: note: 'cc' was declared here F_compound *compd, *c, *cc; ^~ e_glue.c:519:18: warning: 'compd' may be used uninitialized in this function [-Wmaybe-uninitialized] compd->next = c; ~~~~~~~~~~~~^~~ e_glue.c:507:20: note: 'compd' was declared here F_compound *compd, *c, *cc; ^~~~~ e_glue.c:330:19: warning: 'aa' may be used uninitialized in this function [-Wmaybe-uninitialized] a = aa->next = a->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:313:25: note: 'aa' was declared here F_arc *a, *arc, *aa; ^~ e_glue.c:325:16: warning: 'arc' may be used uninitialized in this function [-Wmaybe-uninitialized] arc->next = a; ~~~~~~~~~~^~~ e_glue.c:313:19: note: 'arc' was declared here F_arc *a, *arc, *aa; ^~~ e_glue.c:478:19: warning: 'tt' may be used uninitialized in this function [-Wmaybe-uninitialized] t = tt->next = t->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:461:27: note: 'tt' was declared here F_text *text, *t, *tt; ^~ e_glue.c:473:17: warning: 'text' may be used uninitialized in this function [-Wmaybe-uninitialized] text->next = t; ~~~~~~~~~~~^~~ e_glue.c:461:16: note: 'text' was declared here F_text *text, *t, *tt; ^~~~ e_glue.c:433:19: warning: 'ss' may be used uninitialized in this function [-Wmaybe-uninitialized] s = ss->next = s->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:416:31: note: 'ss' was declared here F_spline *spline, *s, *ss; ^~ e_glue.c:428:19: warning: 'spline' may be used uninitialized in this function [-Wmaybe-uninitialized] spline->next = s; ~~~~~~~~~~~~~^~~ e_glue.c:416:18: note: 'spline' was declared here F_spline *spline, *s, *ss; ^~~~~~ e_glue.c:385:19: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] l = ll->next = l->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:368:27: note: 'll' was declared here F_line *line, *l, *ll; ^~ e_glue.c:380:17: warning: 'line' may be used uninitialized in this function [-Wmaybe-uninitialized] line->next = l; ~~~~~~~~~~~^~~ e_glue.c:368:16: note: 'line' was declared here F_line *line, *l, *ll; ^~~~ e_glue.c:281:19: warning: 'ee' may be used uninitialized in this function [-Wmaybe-uninitialized] e = ee->next = e->next; ~~~~~~~~~^~~~~~~~~ e_glue.c:264:23: note: 'ee' was declared here F_ellipse *e, *ee, *ellipse; ^~ e_glue.c:276:20: warning: 'ellipse' may be used uninitialized in this function [-Wmaybe-uninitialized] ellipse->next = e; ~~~~~~~~~~~~~~^~~ e_glue.c:264:28: note: 'ellipse' was declared here F_ellipse *e, *ee, *ellipse; ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_flip.o e_flip.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_move.o e_move.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_measure.o e_measure.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_placelib.o e_placelib.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_tangent.o e_tangent.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_movept.o e_movept.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_movept.c: In function 'init_move_point': e_movept.c:149:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_x = (int) p; ^ e_movept.c:150:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_y = (int) q; ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_rotate.o e_rotate.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_load.o f_load.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from f_load.c:35:0: f_load.c: In function 'update_settings': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ f_load.c:148:2: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_picobj.o f_picobj.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_picobj.c: In function 'read_picobj': f_picobj.c:175:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pics->bitmap = (unsigned char *) NULL; ^ f_picobj.c: In function 'open_picfile': f_picobj.c:300:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p=strrchr(name,'.')) { ^ f_picobj.c:299:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(unc); ^~~~~~~~~~~ f_picobj.c:323:12: warning: 'fstream' may be used uninitialized in this function [-Wmaybe-uninitialized] return fstream; ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_neuclrtab.o f_neuclrtab.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_update.o e_update.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_update.c: In function 'init_update_settings': e_update.c:172:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dtext = cur_c->texts) { ^~~~~ e_update.c: In function 'update_compound': e_update.c:711:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dtext = compound->texts) { ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_scale.o e_scale.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_scale.c: In function 'fix_boxscale_ellipse': e_scale.c:270:19: warning: variable 'dy' set but not used [-Wunused-but-set-variable] float dx, dy; ^~ e_scale.c:270:15: warning: variable 'dx' set but not used [-Wunused-but-set-variable] float dx, dy; ^~ e_scale.c: In function 'fix_boxscale_line': e_scale.c:1256:19: warning: variable 'scaley' set but not used [-Wunused-but-set-variable] float scalex, scaley; ^~~~~~ e_scale.c:1256:11: warning: variable 'scalex' set but not used [-Wunused-but-set-variable] float scalex, scaley; ^~~~~~ e_scale.c: In function 'rescale_dimension_line': e_scale.c:1001:19: warning: 'save_t1thick' may be used uninitialized in this function [-Wmaybe-uninitialized] tick1->thickness = save_t1thick; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ e_scale.c:1003:19: warning: 'save_t2thick' may be used uninitialized in this function [-Wmaybe-uninitialized] tick2->thickness = save_t2thick; ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readgif.o f_readgif.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readeps.o f_readeps.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_readeps.c: In function 'read_epsf_pdf': f_readeps.c:180:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pic->pic_cache->bitmap = (unsigned char *) malloc(nbitmap); ^ f_readeps.c:189:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mp = pic->pic_cache->bitmap; ^ f_readeps.c:191:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] last = pic->pic_cache->bitmap + nbitmap; ^ f_readeps.c: In function 'bitmap_from_gs': f_readeps.c:392:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pic->pic_cache->bitmap = (unsigned char *) malloc(nbitmap); ^ f_readeps.c:398:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 300, pixfile); ^~~~~~~~~~~~~~~~~~~~~~~~ f_readeps.c:402:6: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 300, pixfile); ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readold.o f_readold.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readpcx.o f_readpcx.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_readpcx.c: In function '_read_pcx': f_readpcx.c:178:17: warning: pointer targets in passing argument 1 of 'dispbyte' differ in signedness [-Wpointer-sign] dispbyte(pic->pic_cache->bitmap,&x,&y,inbyte,w,h,real_bpp, ^~~ f_readpcx.c:56:6: note: expected 'unsigned char *' but argument is of type 'char *' void dispbyte(unsigned char *ptr,int *xp,int *yp,int c,int w,int h, ^~~~~~~~ f_readpcx.c:185:12: warning: pointer targets in passing argument 1 of 'dispbyte' differ in signedness [-Wpointer-sign] dispbyte(pic->pic_cache->bitmap,&x,&y,inbyte,w,h,real_bpp, ^~~ f_readpcx.c:56:6: note: expected 'unsigned char *' but argument is of type 'char *' void dispbyte(unsigned char *ptr,int *xp,int *yp,int c,int w,int h, ^~~~~~~~ f_readpcx.c:104:9: warning: variable 'bytemax' set but not used [-Wunused-but-set-variable] long bytemax,bytesdone; ^~~~~~~ f_readpcx.c:110:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&header,1,sizeof(struct pcxhed),pcxfile); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readppm.o f_readppm.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readpng.o f_readpng.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readtif.o f_readtif.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readxbm.o f_readxbm.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_read.o f_read.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_wrpcx.o f_wrpcx.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_save.o f_save.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_save.c: In function 'write_comments': f_save.c:584:8: warning: 'last' may be used uninitialized in this function [-Wmaybe-uninitialized] if (last != '\n') ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_wrpng.o f_wrpng.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o object.o object.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o mode.o mode.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o resources.o resources.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_util.o f_util.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_util.c: In function 'emptyname_msg': f_util.c:72:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (returnval = emptyname(name)) { ^~~~~~~~~ f_util.c: In function 'emptyfigure_msg': f_util.c:102:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (returnval = emptyfigure()) { ^~~~~~~~~ f_util.c: In function 'xf_basename': f_util.c:206:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p=strrchr(filename,'/')) { ^ f_util.c: In function 'map_to_mono': f_util.c:538:24: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] unsigned char *dptr = pic->pic_cache->bitmap; /* 8-bit wide data pointer */ ^~~ f_util.c:640:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pic->pic_cache->bitmap = bptr; ^ f_util.c: In function 'build_command': f_util.c:1093:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c1=strstr(cmd,"%f")) { ^~ f_util.c: In function 'map_to_palette': f_util.c:1171:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] old = pic->pic_cache->bitmap; ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o e_edit.o e_edit.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' e_edit.c: In function 'get_new_line_values': e_edit.c:2120:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (reread_file || !existing && file_changed && !appres.monochrome && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (new_l->pic->pic_cache->numcols > 0) && (new_l->pic->pic_cache->bitmap != 0)) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c: In function 'new_generic_values': e_edit.c:2966:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (fill_color == BLACK || fill_color == DEFAULT || fill_color == WHITE) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ fill > 100) ~~~~~~~~~~ e_edit.c: In function 'color_selection_panel': e_edit.c:4063:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (callback)(below, (XtPointer) color, NULL); ^ e_edit.c: In function 'pen_color_select': e_edit.c:4872:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] pen_color = (Color) new_color; ^ e_edit.c: In function 'fill_color_select': e_edit.c:4882:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fill_color = (Color) new_color; ^ e_edit.c: In function 'grab_button': e_edit.c:5347:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (p=strrchr(tmpname,'.')) ^ e_edit.c: In function 'image_edit_button': e_edit.c:5373:10: warning: variable 'err' set but not used [-Wunused-but-set-variable] int err; ^~~ e_edit.c: In function 'popup_show_comments': e_edit.c:717:5: warning: 'comments' may be used uninitialized in this function [-Wmaybe-uninitialized] if (comments == NULL) ^ e_edit.c: In function 'str_panel': e_edit.c:4269:2: warning: 'labelname' may be used uninitialized in this function [-Wmaybe-uninitialized] free((char *) labelname); ^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c: In function 'make_window_ellipse': e_edit.c:2525:5: warning: 'image' may be used uninitialized in this function [-Wmaybe-uninitialized] generic_window(s1, s2, image, done_ellipse, GENERICS, NO_ARROWS, e->comments); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:2525:5: warning: 's2' may be used uninitialized in this function [-Wmaybe-uninitialized] e_edit.c:2525:5: warning: 's1' may be used uninitialized in this function [-Wmaybe-uninitialized] e_edit.c: In function 'get_new_line_values': e_edit.c:2168:10: warning: 'p2.y' may be used uninitialized in this function [-Wmaybe-uninitialized] p->y = p2.y; ~~~~~^~~~~~ e_edit.c:2164:10: warning: 'p2.x' may be used uninitialized in this function [-Wmaybe-uninitialized] p->x = p2.x; ~~~~~^~~~~~ e_edit.c:2171:10: warning: 'p1.y' may be used uninitialized in this function [-Wmaybe-uninitialized] p->y = p1.y; ~~~~~^~~~~~ e_edit.c:2170:10: warning: 'p1.x' may be used uninitialized in this function [-Wmaybe-uninitialized] p->x = p1.x; ~~~~~^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_drag.o u_drag.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_bound.o u_bound.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_bound.c: In function 'arrow_bound': u_bound.c:636:13: warning: 'q' may be used uninitialized in this function [-Wmaybe-uninitialized] p1x = q->x; ~^~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_create.o u_create.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_create.c: In function 'create_picture_entry': u_create.c:460:39: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] picture->file = picture->realname = (unsigned char *) NULL; ^ u_create.c:461:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] picture->bitmap = (unsigned char *) NULL; ^ u_create.c:467:40: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long int' [-Wformat=] fprintf(stderr,"create picture entry %x\n",(intptr_t) picture); ~^ ~~~~~~~~~~~~~~~~~~ %lx make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_fonts.o u_fonts.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o main.o main.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' main.c:634:6: warning: return type of 'main' is not 'int' [-Wmain] void main(int argc, char **argv) ^~~~ main.c: In function 'main': main.c:1253:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dval=strrchr(cur_filename, '/')) { ^~~~ main.c:1257:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (dval=strrchr(cur_file_dir, '/')) ^~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_error.o u_error.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_free.o u_free.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_elastic.o u_elastic.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_pan.o u_pan.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_quartic.o u_quartic.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_geom.o u_geom.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_geom.c: In function 'close_to_arc': u_geom.c:303:8: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (uang <= pang) ^~ u_geom.c:305:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' ok = (pang >= wang); ^~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_list.o u_list.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_markers.o u_markers.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_markers.c: In function 'toggle_splinehighlight': u_markers.c:445:22: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x != fx || y != fy) { ~~^~~~~ u_markers.c:445:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x != fx || y != fy) { ~~^~~~~ u_markers.c: In function 'toggle_splinemarker': u_markers.c:423:22: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x != fx || y != fy) { ~~^~~~~ u_markers.c:423:11: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] if (x != fx || y != fy) { ~~^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_print.o u_print.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_scale.o u_scale.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_scale.c: In function 'read_scale_arrow': u_scale.c:98:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(!arrow) ^~ u_scale.c:101:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' arrow->wd = arrow->wd * mul; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_draw.o u_draw.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_draw.c: In function 'draw_line': u_draw.c:639:14: warning: variable 'w' set but not used [-Wunused-but-set-variable] int u,d,w,marg; ^ u_draw.c: In function 'create_pic_pixmap': u_draw.c:1012:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Cpixel = (char *) &bpl; ^ u_draw.c:1060:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] src = box->pic->pic_cache->bitmap + (j * cheight / height * cbpl); ^ u_draw.c:1063:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] src = box->pic->pic_cache->bitmap + (j * cbpl / height); ^ u_draw.c:1108:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Cpixel = (char *) Lpixel; ^ u_draw.c:1132:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] Cpixel = (char *) Lpixel; ^ u_draw.c: In function 'draw_arcbox': u_draw.c:748:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(bufx,"%d",i++); ^~~~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from u_draw.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c: In function 'draw_pic_pixmap': u_draw.c:854:9: warning: 'clipmask' may be used uninitialized in this function [-Wmaybe-uninitialized] XFreePixmap(tool_d, clipmask); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c: In function 'clip_arrows': u_draw.c:1560:2: warning: 'mainregion' may be used uninitialized in this function [-Wmaybe-uninitialized] XDestroyRegion(mainregion); ^~~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c: In function 'draw_line': u_draw.c:693:16: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(bufx,"%d",i++); ^~~~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from u_draw.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ u_draw.c: In function 'draw_spline': u_draw.c:2061:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(bufx,"%d",i++); ^~~~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from u_draw.c:21: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_redraw.o u_redraw.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_smartsearch.o u_smartsearch.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_translate.o u_translate.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_browse.o w_browse.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_undo.o u_undo.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_undo.c: In function 'undo_add': u_undo.c:489:14: warning: unused variable 'ctemp' [-Wunused-variable] char ctemp[PATH_MAX]; ^~~~~ u_undo.c: In function 'undo_delete': u_undo.c:529:14: warning: unused variable 'ctemp' [-Wunused-variable] char ctemp[PATH_MAX]; ^~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o u_search.o u_search.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' u_search.c: In function 'next_arc_found': u_search.c:105:12: warning: 'pp' may be used uninitialized in this function [-Wmaybe-uninitialized] int pp; ^~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_capture.o w_capture.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_capture.c: In function 'getImageData': w_capture.c:154:27: warning: variable 'bit_order' set but not used [-Wunused-but-set-variable] int bytes_per_pixel, bit_order, byte_order; ^~~~~~~~~ w_capture.c: In function 'captureImage': w_capture.c:278:16: warning: 'pix' may be used uninitialized in this function [-Wmaybe-uninitialized] blue = (pix & blue_mask) >> blue_shift; ~~~~~^~~~~~~~~~~~ w_capture.c:156:10: note: 'pix' was declared here int pix; ^~~ w_capture.c:153:10: warning: 'numcols' may be used uninitialized in this function [-Wmaybe-uninitialized] int numcols; ^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_canvas.o w_canvas.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_canvas.c: In function 'readComposeKey': w_canvas.c:793:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] line[charinto++] = appres.keyFile[charfrom++]; ); ^~~~ w_canvas.c: In function 'init_canvas': w_canvas.c:819:24: warning: 'compKeyPtr' may be used uninitialized in this function [-Wmaybe-uninitialized] compKeyPtr->next = (CompKey *) malloc(sizeof(CompKey)); ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_canvas.c:755:17: note: 'compKeyPtr' was declared here CompKey *compKeyPtr; ^~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_cursor.o w_cursor.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_digitize.o w_digitize.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from w_digitize.c:24:0: w_digitize.c: In function 'popup_digitize_panel': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_digitize.c:67:2: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ w_digitize.c: In function 'digitize_panel_cancel': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_digitize.c:358:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ w_digitize.c: In function 'update_example': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_digitize.c:388:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ w_digitize.c: In function 'switch_file_mode': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_digitize.c:408:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(5); ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_cmdpanel.o w_cmdpanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from fig.h:194:0, from w_cmdpanel.c:17: w_cmdpanel.c: In function 'change_orient': w_cmdpanel.c:893:36: warning: array subscript has type 'char' [-Wchar-subscripts] FirstArg(XtNlabel, orient_items[appres.landscape]); ^ w_cmdpanel.c:893:5: note: in expansion of macro 'FirstArg' FirstArg(XtNlabel, orient_items[appres.landscape]); ^~~~~~~~ w_cmdpanel.c: In function 'create_global_panel': w_cmdpanel.c:990:48: warning: variable 'n_recent' set but not used [-Wunused-but-set-variable] Widget beside, below, n_freehand, freehand, n_recent, recent; ^~~~~~~~ w_cmdpanel.c:990:26: warning: variable 'n_freehand' set but not used [-Wunused-but-set-variable] Widget beside, below, n_freehand, freehand, n_recent, recent; ^~~~~~~~~~ w_cmdpanel.c: In function 'load_recent_file': w_cmdpanel.c:1454:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c=strrchr(dir,'/')) { ^ w_cmdpanel.c: In function 'paste_char': w_cmdpanel.c:1616:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned char chr = (unsigned char) client_data; ^ In file included from w_cmdpanel.c:47:0: w_cmdpanel.c: In function 'refresh_view_menu_item': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:148:62: note: in expansion of macro 'ArgCountMax' #define DeclareStaticArgs(n) static Arg Args[n]; static int ArgCountMax = n; static int ArgCount ^~~~~~~~~~~ w_cmdpanel.c:1632:5: note: in expansion of macro 'DeclareStaticArgs' DeclareStaticArgs(10); ^~~~~~~~~~~~~~~~~ w_cmdpanel.c: In function 'goodbye': w_cmdpanel.c:600:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir(orig_dir); ^~~~~~~~~~~~~~~ In file included from w_cmdpanel.c:47:0: At top level: w_util.h:144:21: warning: '_ArgCountMax' defined but not used [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:148:62: note: in expansion of macro 'ArgCountMax' #define DeclareStaticArgs(n) static Arg Args[n]; static int ArgCountMax = n; static int ArgCount ^~~~~~~~~~~ w_cmdpanel.c:1632:5: note: in expansion of macro 'DeclareStaticArgs' DeclareStaticArgs(10); ^~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_dir.o w_dir.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_fontbits.o w_fontbits.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_fontpanel.o w_fontpanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_fontpanel.c: In function 'fontpane_select': w_fontpanel.c:355:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *font_ps_sel = (int) mi->info; /* set ps font to one selected */ ^ w_fontpanel.c:357:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] *font_latex_sel = (int) mi->info; /* set latex font to one ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_grid.o w_grid.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from w_grid.c:26:0: w_grid.c: In function 'setup_grid': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_grid.c:68:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_drawprim.o w_drawprim.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_drawprim.c:1830:1: warning: 'clip_line' defined but not used [-Wunused-function] clip_line(int x1, int y1, int x2, int y2, short *x3, short *y3, short *x4, short *y4) ^~~~~~~~~ w_drawprim.c: In function 'pw_lines': w_drawprim.c:1236:2: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] free((char *) p); ^~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_file.o w_file.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from w_file.c:34:0: w_file.c: In function 'popup_file_panel': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_file.c:603:2: note: in expansion of macro 'DeclareArgs' DeclareArgs(5); ^~~~~~~~~~~ w_file.c: In function 'preview_figure': w_file.c:1211:26: warning: variable 'size' set but not used [-Wunused-but-set-variable] float width, height, size; ^~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_export.o w_export.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_export.c: In function 'do_export': w_export.c:281:6: warning: the address of 'default_export_file' will always evaluate as 'true' [-Waddress] if (!default_export_file || default_export_file[0] == '\0') { ^ w_export.c: In function 'orient_select': w_export.c:385:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (appres.landscape != (int) client_data) { ^ w_export.c:387:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] appres.landscape = (int) client_data; ^ w_export.c:389:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] papersize_select(export_papersize_panel, (XtPointer) appres.papersize, (XtPointer) 0); ^ w_export.c: In function 'lang_select': w_export.c:496:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_exp_lang = (int) new_lang; ^ w_export.c: In function 'background_select': w_export.c:576:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] export_background_color = (int)client_data; ^ w_export.c: In function 'transp_select': w_export.c:599:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] appres.transparent = (int)client_data; ^ w_export.c: In function 'export_grid_minor_select': w_export.c:610:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grid_minor = (int) new_grid_choice; ^ w_export.c: In function 'export_grid_major_select': w_export.c:626:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grid_major = (int) new_grid_choice; ^ In file included from fig.h:194:0, from w_export.c:19: w_export.c: In function 'create_export_panel': w_export.c:1430:33: warning: array subscript has type 'char' [-Wchar-subscripts] FirstArg(XtNlabel, orient_items[appres.landscape]); ^ w_export.c:1430:2: note: in expansion of macro 'FirstArg' FirstArg(XtNlabel, orient_items[appres.landscape]); ^~~~~~~~ w_export.c: In function 'do_export': w_export.c:367:6: warning: 'transp' may be used uninitialized in this function [-Wmaybe-uninitialized] if (print_to_file(fval, lang_items[cur_exp_lang], ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ appres.magnification, xoff, yoff, backgrnd, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (transp == TRANSP_NONE? NULL: transparent), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ use_transp_backg, print_all_layers, bound_active_layers, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ border, appres.smooth_factor, grid, appres.overlap) == 0) { ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_help.o w_help.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_help.c: In function 'launch_viewer': w_help.c:107:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(browsecommand); ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_color.o w_color.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_color.c: In function 'create_color_panel': w_color.c:268:10: warning: variable 'form_fg' set but not used [-Wunused-but-set-variable] Pixel form_fg; ^~~~~~~ w_color.c: In function 'show_pencolor': w_color.c:2084:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cur_pencolor >= NUM_STD_COLS && colorFree[cur_pencolor-NUM_STD_COLS]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_color.c: In function 'show_fillcolor': w_color.c:2156:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] cur_fillcolor >= NUM_STD_COLS && colorFree[cur_fillcolor-NUM_STD_COLS]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_color.c: In function 'lookup_color': w_color.c:2500:9: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] *ny = y; ~~~~^~~ w_color.c:2385:12: note: 'y' was declared here int x, y, nx, ny; ^ w_color.c:2499:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] *nx = x; ~~~~^~~ w_color.c:2385:9: note: 'x' was declared here int x, y, nx, ny; ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_icons.o w_icons.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_keyboard.o w_keyboard.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from w_keyboard.c:35:0: w_keyboard.c: In function 'handle_keyboard_input': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_keyboard.c:137:3: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_listwidget.o w_listwidget.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_layers.o w_layers.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_layers.c: In function 'update_layerpanel': w_layers.c:757:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (all_active_but) ^ w_layers.c:762:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (all_inactive_but) ^ w_layers.c:767:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (toggle_all_but) ^ w_layers.c:772:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (layer_viewp) ^ w_layers.c:777:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (graylabel) ^ w_layers.c:782:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (blanklabel) ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_mousefun.o w_mousefun.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_mousefun.c: In function 'update_mousepanel': w_mousefun.c:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (mousefun) ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_intersect.o w_intersect.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_intersect.c: In function 'do_circle_circle': w_intersect.c:294:22: warning: 'hiy' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_gy = (int)rint(hiy + OY); ^~~~~~~~~~~~~~ w_intersect.c:293:22: warning: 'hix' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_gx = (int)rint(hix + OX); ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_modepanel.o w_modepanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_library.o w_library.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_library.c: In function 'sel_view': w_library.c:1106:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (appres.icon_view == (int) new_view) ^ w_library.c:1109:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] appres.icon_view = (int) new_view; ^ w_library.c: In function 'MakeLibrary': w_library.c:1383:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c=strrchr(path2,'/')) ^ w_library.c: In function 'ScanLibraryDirectory.constprop': w_library.c:1299:25: warning: '%s' directive writing up to 255 bytes into a region of size 78 [-Wformat-overflow=] sprintf(lname, "%s / %s",longname, dp->d_name); ^~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from w_library.c:19: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 259) into a destination of size 81 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_msgpanel.o w_msgpanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_msgpanel.c: In function 'make_dimension_string': w_msgpanel.c:804:6: warning: 'ifeet' may be used uninitialized in this function [-Wmaybe-uninitialized] if (ifeet < 0) ^ w_msgpanel.c: In function 'altlength_msg': w_msgpanel.c:459:8: warning: 't3y' may be used uninitialized in this function [-Wmaybe-uninitialized] ot3y = t3y; ~~~~~^~~~~ w_msgpanel.c:458:8: warning: 't3x' may be used uninitialized in this function [-Wmaybe-uninitialized] ot3x = t3x; ~~~~~^~~~~ w_msgpanel.c:457:8: warning: 't2y' may be used uninitialized in this function [-Wmaybe-uninitialized] ot2y = t2y; ~~~~~^~~~~ w_msgpanel.c:456:8: warning: 't2x' may be used uninitialized in this function [-Wmaybe-uninitialized] ot2x = t2x; ~~~~~^~~~~ w_msgpanel.c:455:8: warning: 't1y' may be used uninitialized in this function [-Wmaybe-uninitialized] ot1y = t1y; ~~~~~^~~~~ w_msgpanel.c:454:8: warning: 't1x' may be used uninitialized in this function [-Wmaybe-uninitialized] ot1x = t1x; ~~~~~^~~~~ w_msgpanel.c: In function 'length_msg2': w_msgpanel.c:497:5: warning: 'dy2' may be used uninitialized in this function [-Wmaybe-uninitialized] make_dimension_string(dy2, dy2str, False); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_msgpanel.c:496:5: warning: 'dx2' may be used uninitialized in this function [-Wmaybe-uninitialized] make_dimension_string(dx2, dx2str, False); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_msgpanel.c:495:5: warning: 'dy1' may be used uninitialized in this function [-Wmaybe-uninitialized] make_dimension_string(dy1, dy1str, False); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_msgpanel.c:494:5: warning: 'dx1' may be used uninitialized in this function [-Wmaybe-uninitialized] make_dimension_string(dx1, dx1str, False); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_setup.o w_setup.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_print.o w_print.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_print.c: In function 'do_print': w_print.c:188:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (c1=strstr(cmd,"%f")) { ^~ w_print.c: In function 'orient_select': w_print.c:408:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (appres.landscape != (int) new_orient) { ^ w_print.c:410:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] appres.landscape = (int) new_orient; ^ w_print.c:412:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] papersize_select(print_papersize_panel, (XtPointer) appres.papersize, (XtPointer) 0); ^ w_print.c: In function 'background_select': w_print.c:511:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] export_background_color = (int)closure; ^ w_print.c: In function 'print_grid_minor_select': w_print.c:522:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grid_minor = (int) new_grid_choice; ^ w_print.c: In function 'print_grid_major_select': w_print.c:538:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] grid_major = (int) new_grid_choice; ^ w_print.c: In function 'create_print_panel': w_print.c:800:57: warning: array subscript has type 'char' [-Wchar-subscripts] print_orient_panel = XtCreateManagedWidget(orient_items[appres.landscape], ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_rottext.o w_rottext.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_srchrepl.o w_srchrepl.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_indpanel.o w_indpanel.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_indpanel.c: In function 'update_indpanel': w_indpanel.c:1067:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (upd_ctrl) ^ w_indpanel.c:1072:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (upd_ctrl_lab) ^ w_indpanel.c:1077:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (set_upd) ^ w_indpanel.c:1082:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (clr_upd) ^ w_indpanel.c:1087:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (tog_upd) ^ w_indpanel.c: In function 'line_color_select': w_indpanel.c:2878:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dimline_color = (Color) new_color; ^ w_indpanel.c: In function 'box_color_select': w_indpanel.c:2889:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dimline_boxcolor = (Color) new_color; ^ w_indpanel.c: In function 'text_color_select': w_indpanel.c:2900:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dimline_textcolor = (Color) new_color; ^ w_indpanel.c: In function 'show_fillstyle': w_indpanel.c:3875:82: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (cur_fillcolor == BLACK || cur_fillcolor == DEFAULT || cur_fillcolor == WHITE) && ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ (cur_fillstyle >= NUMSHADEPATS && cur_fillstyle < NUMSHADEPATS+NUMTINTPATS)) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_indpanel.c: In function 'popup_choice_panel': w_indpanel.c:1701:27: warning: '%s' directive writing up to 7 bytes into a region of size between 6 and 43 [-Wformat-overflow=] sprintf(buf,"Xfig: %s %s Panel",isw->line1,isw->line2); ^~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from w_indpanel.c:17: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 58 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_indpanel.c: In function 'popup_nval_panel': w_indpanel.c:2197:27: warning: '%s' directive writing up to 7 bytes into a region of size between 6 and 43 [-Wformat-overflow=] sprintf(buf,"Xfig: %s %s Panel",isw->line1,isw->line2); ^~ In file included from /usr/include/stdio.h:862:0, from fig.h:185, from w_indpanel.c:17: /usr/include/bits/stdio2.h:33:10: note: '__builtin___sprintf_chk' output between 14 and 58 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_indpanel.c: In function 'recolor_fillstyles': w_indpanel.c:3936:22: warning: 'savepm_zoom' may be used uninitialized in this function [-Wmaybe-uninitialized] fill_pm_zoom[i] = savepm_zoom; ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ w_indpanel.c:3935:17: warning: 'savepm' may be used uninitialized in this function [-Wmaybe-uninitialized] fill_pm[i] = savepm; ~~~~~~~~~~~^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_rulers.o w_rulers.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_rulers.c: In function 'update_rulerpanel': w_rulers.c:408:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (unitbox_sw) ^ w_rulers.c: In function 'popup_unit_panel': w_rulers.c:823:60: warning: array subscript has type 'char' [-Wchar-subscripts] fig_scale_panel = XtCreateManagedWidget(fig_scale_items[fig_scale_setting], ^ w_rulers.c: In function 'get_skip_prec': w_rulers.c:1145:12: warning: 'ri' may be used uninitialized in this function [-Wmaybe-uninitialized] ticks = ri->ticks; ~~^~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_zoom.o w_zoom.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_snap.o w_snap.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_snap.c: In function 'snap_ellipse_normal_ellipse_handler': w_snap.c:358:7: warning: variable 'nsol' set but not used [-Wunused-but-set-variable] int nsol; ^~~~ w_snap.c: In function 'snap_ellipse_tangent_ellipse_handler': w_snap.c:624:10: warning: variable 'A' set but not used [-Wunused-but-set-variable] double A, B; ^ w_snap.c: In function 'do_snap_polyline_normal.isra.3': w_snap.c:230:33: warning: 'min_l2' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (min_l1->y == min_l2->y) { ~~~~~~^~~ w_snap.c:230:20: warning: 'min_l1' may be used uninitialized in this function [-Wmaybe-uninitialized] else if (min_l1->y == min_l2->y) { ~~~~~~^~~ w_snap.c: In function 'snap_handler': w_snap.c:912:14: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized] int i, p; ^ w_snap.c:680:7: warning: 'py' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_rotate_vector (&xx, &yy, tx[px], ty[py], -(double)(e->angle)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_snap.c:661:23: note: 'py' was declared here int xi, yi, px, py; ^~ w_snap.c:680:7: warning: 'px' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_rotate_vector (&xx, &yy, tx[px], ty[py], -(double)(e->angle)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ w_snap.c:661:19: note: 'px' was declared here int xi, yi, px, py; ^~ w_snap.c:729:18: warning: 'ty' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_gy = (int)rint(ty); ^~~~~~~~ w_snap.c:707:13: note: 'ty' was declared here double tx,ty; ^~ w_snap.c:728:18: warning: 'tx' may be used uninitialized in this function [-Wmaybe-uninitialized] snap_gx = (int)rint(tx); ^~~~~~~~ w_snap.c:707:10: note: 'tx' was declared here double tx,ty; ^~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readxpm.o f_readxpm.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_readxpm.c: In function 'read_xpm': f_readxpm.c:73:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pic->pic_cache->bitmap = (unsigned char *) ^ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o f_readjpg.o f_readjpg.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' f_readjpg.c: In function 'read_JPEG_file': f_readjpg.c:180:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((pict->pic_cache->bitmap = (unsigned char *) ^ f_readjpg.c:185:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] bitmapptr = pict->pic_cache->bitmap; ^ At top level: f_readjpg.c:108:16: warning: 'setjmp_buffer' defined but not used [-Wunused-variable] static jmp_buf setjmp_buffer; /* for return to caller */ ^~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_style.o w_style.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_style.c:66:29: warning: missing braces around initializer [-Wmissing-braces] Element style_reference[] = { ^ w_style.c: In function 'parse_family_style': w_style.c:326:20: warning: variable 'r' set but not used [-Wunused-but-set-variable] int i = 0, r; ^ w_style.c: At top level: w_style.c:736:39: warning: missing braces around initializer [-Wmissing-braces] static XtActionsRec style_actions[] = { ^ "ShowNamedStyles", (XtActionProc) popup_manage_style_panel, { } "add_family", (XtActionProc) add_family, { } "delete_family", (XtActionProc) delete_family, { } "add_style", (XtActionProc) add_style, { } "delete_style", (XtActionProc) delete_style, { } "family_select", (XtActionProc) family_select, { } "style_select", (XtActionProc) style_select, { } "CloseStyle", (XtActionProc) close_style { }; } make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_i18n.o w_i18n.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' w_i18n.c: In function 'ScaleUp': w_i18n.c:520:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (scale_buf[y2] = XGetPixel(from_image, x1, y1)) ^~~~~~~~~ w_i18n.c:524:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (scale_buf[y2] = scale_buf[y2 - 1]) ^~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DHAVE_CONFIG_H -I. -I.. -DXAW_INTERNATIONALIZATION -DXFIGLIBDIR=\"/usr/share/xfig\" -DOBJLIBDIR=\"/usr/share/xfig/Libraries\" -DXFIGDOCDIR=\"/usr/share/doc/xfig\" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -c -o w_util.o w_util.c make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' In file included from w_util.c:35:0: w_util.c: In function 'validate_int': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_util.c:934:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(4); ^~~~~~~~~~~ w_util.c: In function 'CreateCheckbutton': w_util.c:1305:25: warning: variable 'labelw' set but not used [-Wunused-but-set-variable] Widget form, toggle, labelw; ^~~~~~ In file included from w_util.c:35:0: w_util.c: In function 'update_wm_title': w_util.h:144:21: warning: unused variable '_ArgCountMax' [-Wunused-variable] #define ArgCountMax _ArgCountMax ^ w_util.h:146:41: note: in expansion of macro 'ArgCountMax' #define DeclareArgs(n) Arg Args[n]; int ArgCountMax = n; int ArgCount ^~~~~~~~~~~ w_util.c:1426:5: note: in expansion of macro 'DeclareArgs' DeclareArgs(2); ^~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' gcc -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strength-reduce -fno-strict-aliasing -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o xfig d_arcbox.o d_arc.o d_box.o d_ellipse.o d_line.o d_picobj.o d_regpoly.o d_spline.o d_subspline.o d_text.o e_addpt.o e_align.o e_arrow.o e_break.o e_chop.o e_compound.o e_convert.o e_copy.o e_delete.o e_deletept.o e_edit.o e_flip.o e_glue.o e_joinsplit.o e_measure.o e_move.o e_movept.o e_placelib.o e_rotate.o e_scale.o e_tangent.o e_update.o f_load.o f_neuclrtab.o f_picobj.o f_read.o f_readeps.o f_readgif.o f_readold.o f_readpcx.o f_readpng.o f_readppm.o f_readtif.o f_readxbm.o f_save.o f_util.o f_wrpcx.o f_wrpng.o main.o mode.o object.o resources.o u_bound.o u_create.o u_drag.o u_draw.o u_elastic.o u_error.o u_fonts.o u_free.o u_geom.o u_list.o u_markers.o u_pan.o u_print.o u_quartic.o u_redraw.o u_scale.o u_search.o u_smartsearch.o u_translate.o u_undo.o w_browse.o w_canvas.o w_capture.o w_cmdpanel.o w_color.o w_cursor.o w_digitize.o w_dir.o w_drawprim.o w_export.o w_file.o w_fontbits.o w_fontpanel.o w_grid.o w_help.o w_icons.o w_indpanel.o w_intersect.o w_keyboard.o w_layers.o w_library.o w_listwidget.o w_modepanel.o w_mousefun.o w_msgpanel.o w_print.o w_rottext.o w_rulers.o w_setup.o w_snap.o w_srchrepl.o w_style.o w_util.o w_zoom.o f_readxpm.o f_readjpg.o w_i18n.o -lXaw3d -lXt -lX11 -lXpm -ljpeg -lpng -lm make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' Making all in doc make[2]: Nothing to be done for 'all'. Making all in tests make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8YlxHk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 ++ dirname /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 + cd xfig-3.2.6a + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/bin' install -p xfig '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' make[1]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/src' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/doc' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig' install -p -m 644 FORMAT1.3 FORMAT1.4 FORMAT2.0 FORMAT2.1 FORMAT3.0 FORMAT3.1 FORMAT3.2 xfig-howto.pdf xfig_ref_en.pdf '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig' install -p -m 644 xfig_man.html '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/man/man1' install -p -m 644 'xfig.man' '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/man/man1/xfig.1' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/doc' cp -Rp "./html" "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig" \ && chmod -R u+rwX "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig" cd "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig/html" \ && rm -f ja_JP.ujis && ln -s japanese ja_JP.ujis make[3]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/doc' make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/doc' make[1]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/doc' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/tests' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a/tests' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/tests' make[1]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a/tests' make[1]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a' make[2]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/X11/app-defaults' install -p -m 644 app-defaults/Fig '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/X11/app-defaults' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/applications' install -p -m 644 xfig.desktop '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/applications' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/xfig' install -p -m 644 CompKeyDB '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/xfig' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/pixmaps' install -p -m 644 xfig.png '/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/pixmaps' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/xfig-3.2.6a' test -d "./Libraries" && { \ /usr/bin/mkdir -p "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/xfig" \ && cp -Rp "./Libraries" "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/xfig" \ && chmod -R u+rwX "/builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/xfig" || exit 1; } \ || : make[3]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a' make[2]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a' make[1]: Leaving directory '/builddir/build/BUILD/xfig-3.2.6a' + cp -p README CHANGES FIGAPPS /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/doc/xfig + rm -r /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/pixmaps + mkdir -p /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/16x16/apps /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/32x32/apps /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/64x64/apps + convert xfig16x16.xpm /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/16x16/apps/xfig.png + convert xfig32x32.xpm /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/32x32/apps/xfig.png + convert xfig64x64.xpm /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/icons/hicolor/64x64/apps/xfig.png + mkdir -p /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/applications + desktop-file-install --dir /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/applications /builddir/build/SOURCES/xfig.desktop + mkdir -p /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/xfig.appdata.xml /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/appdata/xfig.appdata.xml /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/share/appdata/xfig.appdata.xml: GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications. OK + /usr/lib/rpm/find-debuginfo.sh -j6 --strict-build-id -m -i --build-id-seed 3.2.6a-3.fc27 --unique-debug-suffix -3.2.6a-3.fc27.x86_64 --unique-debug-src-base xfig-3.2.6a-3.fc27.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xfig-3.2.6a extracting debug info from /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64/usr/bin/xfig /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 5895 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: xfig-3.2.6a-3.fc27.x86_64 Provides: appdata() appdata(xfig.appdata.xml) application() application(xfig.desktop) mimehandler(image/fig) mimehandler(image/x-xfig) xfig = 3.2.6a-3.fc27 xfig(x86-64) = 3.2.6a-3.fc27 xfig-Xaw3d = 3.2.6a-3.fc27 xfig-common = 3.2.6a-3.fc27 xfig-plain = 3.2.6a-3.fc27 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: libX11.so.6()(64bit) libXaw3d.so.8()(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.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) rtld(GNU_HASH) Obsoletes: xfig-Xaw3d < 3.2.6a-3.fc27 xfig-common < 3.2.6a-3.fc27 xfig-plain < 3.2.6a-3.fc27 Processing files: xfig-debugsource-3.2.6a-3.fc27.x86_64 Provides: xfig-debugsource = 3.2.6a-3.fc27 xfig-debugsource(x86-64) = 3.2.6a-3.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xfig-debuginfo-3.2.6a-3.fc27.x86_64 Provides: debuginfo(build-id) = 5b4cbb31ae7fdfafebf7c9f8bbaefe966d9713f7 xfig-debuginfo = 3.2.6a-3.fc27 xfig-debuginfo(x86-64) = 3.2.6a-3.fc27 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 Wrote: /builddir/build/RPMS/xfig-3.2.6a-3.fc27.x86_64.rpm Wrote: /builddir/build/RPMS/xfig-debugsource-3.2.6a-3.fc27.x86_64.rpm Wrote: /builddir/build/RPMS/xfig-debuginfo-3.2.6a-3.fc27.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6lRTrk + umask 022 + cd /builddir/build/BUILD + cd xfig-3.2.6a + /usr/bin/rm -rf /builddir/build/BUILDROOT/xfig-3.2.6a-3.fc27.x86_64 + exit 0 Child return code was: 0