D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/xfig-3.2.9-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Np8yPS sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kYTqG6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build + rm -rf xfig-3.2.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/xfig-3.2.9.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xfig-3.2.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type d + xargs chmod 755 + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/xfib-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YIPGKU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xfig-3.2.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf configure.ac:29: warning: file 'version.m4' included several times autoreconf: running: /usr/bin/autoheader autoreconf: running: automake --add-missing --copy --no-force src/Makefile.am:183: warning: escaping \# comment markers is not portable autoreconf: Leaving directory '.' + find Libraries -type d -exec chmod 700 '{}' ';' + export 'CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing' + CFLAGS='-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for x86_64-mageia-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for a sed that does not truncate output... /usr/bin/sed checking for x86_64-mageia-linux-gnu-ar... no checking for x86_64-mageia-linux-gnu-lib... no checking for x86_64-mageia-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking for library containing pow... -lm checking for library containing FcInit... -lfontconfig checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for X11/X.h... yes checking for jpeglib.h... yes checking for library containing jpeg_read_header... -ljpeg checking for png.h... yes checking for library containing png_read_info... -lpng checking for tiffio.h... no checking for iconv.h... yes checking for library providing iconv... none required checking for ghostscript/iapi.h... no checking whether byte ordering is bigendian... no checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for C/C++ restrict keyword... __restrict__ checking for intptr_t... yes checking for pid_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uintptr_t... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether S_IFDIR is declared... yes checking whether S_IWRITE is declared... yes checking whether REG_NOERROR is declared... yes checking for getcwd... yes checking for nl_langinfo... yes checking for setlocale... yes checking for strerror... yes checking for posix_spawnp... 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 XpmFree... -lXpm checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating splash-image/spl_bckgnd.fig config.status: creating src/Makefile config.status: creating src/version.fig config.status: creating doc/html/images/xfig-title.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 XCPPFLAGS=-DXAW_INTERNATIONALIZATION \ CPPFLAGS= CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing Link, gcc CFLAGS=-DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing XLDFLAGS= \ LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld \ XLIBS=-lXaw3d -lXft -lXt -lX11 LIBS=-lXpm -lpng -ljpeg -lfontconfig -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 -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_update.o e_update.c make[2]: /bin/sh: Resource temporarily unavailable make[2]: *** [Makefile:883: e_update.o] Error 127 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_flip.o e_flip.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_flip.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_joinsplit.o e_joinsplit.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_joinsplit.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_measure.o e_measure.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_measure.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_movept.o e_movept.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_movept.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_placelib.o e_placelib.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_placelib.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_rotate.o e_rotate.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_rotate.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_tangent.o e_tangent.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:883: e_tangent.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_box.o d_box.c d_box.c: In function 'box_drawing_selected': d_box.c:48:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 48 | canvas_leftbut_proc = init_box_drawing; | ^ In file included from d_box.c:18: d_box.h:19:17: note: 'init_box_drawing' declared here 19 | extern void init_box_drawing(int x, int y); | ^~~~~~~~~~~~~~~~ d_box.c: In function 'init_box_drawing': d_box.c:62:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 62 | canvas_locmove_proc = resizing_box; | ^ In file included from d_box.c:27: u_elastic.h:55:17: note: 'resizing_box' declared here 55 | extern void resizing_box(int x, int y); | ^~~~~~~~~~~~ d_box.c:63:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 63 | canvas_leftbut_proc = create_boxobject; | ^ d_box.c:37:17: note: 'create_boxobject' declared here 37 | static void create_boxobject(int x, int y); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_box.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_picobj.o d_picobj.c d_picobj.c: In function 'picobj_drawing_selected': d_picobj.c:53:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 53 | canvas_leftbut_proc = init_picobj_drawing; | ^ d_picobj.c:41:17: note: 'init_picobj_drawing' declared here 41 | static void init_picobj_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_picobj.c: In function 'init_picobj_drawing': d_picobj.c:64:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 64 | canvas_leftbut_proc = create_picobj; | ^ d_picobj.c:42:17: note: 'create_picobj' declared here 42 | static void create_picobj(int x, int y); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_picobj.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_spline.o d_spline.c d_spline.c: In function 'spline_drawing_selected': d_spline.c:56:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 56 | canvas_leftbut_proc = init_spline_drawing; | ^ d_spline.c:43:17: note: 'init_spline_drawing' declared here 43 | static void init_spline_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_spline.c:57:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 57 | canvas_middlebut_proc = init_spline_freehand_drawing; | ^ d_spline.c:45:17: note: 'init_spline_freehand_drawing' declared here 45 | static void init_spline_freehand_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_spline.c: In function 'init_spline_drawing2': d_spline.c:83:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 83 | canvas_middlebut_proc = create_splineobject; | ^ d_spline.c:44:17: note: 'create_splineobject' declared here 44 | static void create_splineobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_spline.c:87:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 87 | canvas_middlebut_save = create_splineobject; | ^ d_spline.c:44:17: note: 'create_splineobject' declared here 44 | static void create_splineobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_spline.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_arcbox.o d_arcbox.c d_arcbox.c: In function 'arcbox_drawing_selected': d_arcbox.c:48:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 48 | canvas_leftbut_proc = init_arc_box_drawing; | ^ d_arcbox.c:38:17: note: 'init_arc_box_drawing' declared here 38 | static void init_arc_box_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ d_arcbox.c: In function 'init_arc_box_drawing': d_arcbox.c:62:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 62 | canvas_locmove_proc = resizing_box; | ^ In file included from d_arcbox.c:25: u_elastic.h:55:17: note: 'resizing_box' declared here 55 | extern void resizing_box(int x, int y); | ^~~~~~~~~~~~ d_arcbox.c:63:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 63 | canvas_leftbut_proc = create_arc_boxobject; | ^ d_arcbox.c:36:17: note: 'create_arc_boxobject' declared here 36 | static void create_arc_boxobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_arcbox.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_break.o e_break.c e_break.c: In function 'break_selected': e_break.c:49:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 49 | init_searchproc_left(init_break_only); | ^~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_break.c:24: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_break.c:35:17: note: 'init_break_only' declared here 35 | static void init_break_only(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~ e_break.c:50:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 50 | init_searchproc_middle(init_break_tag); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_break.c:37:17: note: 'init_break_tag' declared here 37 | static void init_break_tag(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~ e_break.c:51:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 51 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_break.c:52:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 52 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_break.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_copy.o e_copy.c e_copy.c: In function 'copy_selected': e_copy.c:57:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 57 | init_searchproc_left(init_arb_copy); | ^~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_copy.c:35: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:43:17: note: 'init_arb_copy' declared here 43 | static void init_arb_copy(F_line *p, int type, int x, int y, int px,int py); | ^~~~~~~~~~~~~ e_copy.c:58:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 58 | init_searchproc_middle(init_constrained_copy); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:44:17: note: 'init_constrained_copy' declared here 44 | static void init_constrained_copy(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~~~~ e_copy.c:59:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types] 59 | init_searchproc_right(init_copy_to_scrap); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_copy.c:46:17: note: 'init_copy_to_scrap' declared here 46 | static void init_copy_to_scrap(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~ e_copy.c:60:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 60 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_copy.c:61:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 61 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_copy.c:62:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 62 | canvas_rightbut_proc = object_search_right; | ^ u_search.h:37:17: note: 'object_search_right' declared here 37 | void object_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_copy.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_move.o e_move.c e_move.c: In function 'move_selected': e_move.c:47:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 47 | init_searchproc_left(init_arb_move); | ^~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_move.c:29: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_move.c:36:17: note: 'init_arb_move' declared here 36 | static void init_arb_move(F_line *p, int type, int x, int y, int px,int py); | ^~~~~~~~~~~~~ e_move.c:48:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 48 | init_searchproc_middle(init_constrained_move); | ^~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_move.c:37:17: note: 'init_constrained_move' declared here 37 | static void init_constrained_move(F_line *p, int type, int x, int y, int px, | ^~~~~~~~~~~~~~~~~~~~~ e_move.c:49:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 49 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_move.c:50:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 50 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_move.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_glue.o e_glue.c e_glue.c: In function 'compound_selected': e_glue.c:71:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 71 | init_searchproc_left(tag_object); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_glue.c:34: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_glue.c:48:17: note: 'tag_object' declared here 48 | static void tag_object(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~ e_glue.c:72:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 72 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_glue.c:73:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 73 | canvas_middlebut_proc = init_tag_region; | ^ e_glue.c:46:17: note: 'init_tag_region' declared here 46 | static void init_tag_region(int x, int y); | ^~~~~~~~~~~~~~~ e_glue.c:74:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 74 | canvas_rightbut_proc = create_compoundobject; | ^ e_glue.c:44:17: note: 'create_compoundobject' declared here 44 | static void create_compoundobject(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_glue.c: In function 'init_tag_region': e_glue.c:127:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 127 | canvas_middlebut_proc = tag_region; | ^ e_glue.c:47:17: note: 'tag_region' declared here 47 | static void tag_region(int x, int y); | ^~~~~~~~~~ make[2]: *** [Makefile:883: e_glue.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_ellipse.o d_ellipse.c d_ellipse.c: In function 'circle_ellipse_byradius_drawing_selected': d_ellipse.c:59:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 59 | canvas_leftbut_proc = init_circlebyradius_drawing; | ^ d_ellipse.c:41:17: note: 'init_circlebyradius_drawing' declared here 41 | static void init_circlebyradius_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c:60:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 60 | canvas_middlebut_proc = init_ellipsebyradius_drawing; | ^ d_ellipse.c:39:17: note: 'init_ellipsebyradius_drawing' declared here 39 | static void init_ellipsebyradius_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function 'init_ellipsebyradius_drawing': d_ellipse.c:77:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 77 | canvas_locmove_proc = resizing_ebr; | ^ In file included from d_ellipse.c:28: u_elastic.h:68:17: note: 'resizing_ebr' declared here 68 | extern void resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void); | ^~~~~~~~~~~~ d_ellipse.c:78:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 78 | canvas_leftbut_proc = create_ellipsebyrad; | ^ d_ellipse.c:44:17: note: 'create_ellipsebyrad' declared here 44 | static void create_ellipsebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c:79:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 79 | canvas_middlebut_proc = create_ellipsebyrad; | ^ d_ellipse.c:44:17: note: 'create_ellipsebyrad' declared here 44 | static void create_ellipsebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function 'circle_ellipse_bydiameter_drawing_selected': d_ellipse.c:138:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 138 | canvas_leftbut_proc = init_circlebydiameter_drawing; | ^ d_ellipse.c:42:17: note: 'init_circlebydiameter_drawing' declared here 42 | static void init_circlebydiameter_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c:139:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 139 | canvas_middlebut_proc = init_ellipsebydiameter_drawing; | ^ d_ellipse.c:40:17: note: 'init_ellipsebydiameter_drawing' declared here 40 | static void init_ellipsebydiameter_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function 'init_ellipsebydiameter_drawing': d_ellipse.c:155:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 155 | canvas_locmove_proc = resizing_ebd; | ^ u_elastic.h:68:64: note: 'resizing_ebd' declared here 68 | extern void resizing_ebr(int x, int y), elastic_ebr(void), resizing_ebd(int x, int y), elastic_ebd(void); | ^~~~~~~~~~~~ d_ellipse.c:156:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 156 | canvas_leftbut_proc = create_ellipsebydia; | ^ d_ellipse.c:43:17: note: 'create_ellipsebydia' declared here 43 | static void create_ellipsebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c:157:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 157 | canvas_middlebut_proc = create_ellipsebydia; | ^ d_ellipse.c:43:17: note: 'create_ellipsebydia' declared here 43 | static void create_ellipsebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~~ d_ellipse.c: In function 'init_circlebyradius_drawing': d_ellipse.c:222:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 222 | canvas_locmove_proc = resizing_cbr; | ^ u_elastic.h:67:17: note: 'resizing_cbr' declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_ellipse.c:223:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 223 | canvas_leftbut_proc = create_circlebyrad; | ^ d_ellipse.c:45:17: note: 'create_circlebyrad' declared here 45 | static void create_circlebyrad(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_ellipse.c: In function 'init_circlebydiameter_drawing': d_ellipse.c:289:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 289 | canvas_locmove_proc = resizing_cbd; | ^ u_elastic.h:67:64: note: 'resizing_cbd' declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_ellipse.c:290:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 290 | canvas_leftbut_proc = create_circlebydia; | ^ d_ellipse.c:46:17: note: 'create_circlebydia' declared here 46 | static void create_circlebydia(int x, int y); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_ellipse.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_delete.o e_delete.c e_delete.c: In function 'delete_selected': e_delete.c:69:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 69 | init_searchproc_left(init_delete); | ^~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_delete.c:45: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_delete.c:55:17: note: 'init_delete' declared here 55 | static void init_delete(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~ e_delete.c:70:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types] 70 | init_searchproc_right(init_delete_to_scrap); | ^~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_delete.c:57:17: note: 'init_delete_to_scrap' declared here 57 | static void init_delete_to_scrap(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~~~~ e_delete.c:71:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 71 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_delete.c:72:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 72 | canvas_middlebut_proc = init_delete_region; | ^ e_delete.c:56:17: note: 'init_delete_region' declared here 56 | static void init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void); | ^~~~~~~~~~~~~~~~~~ e_delete.c:73:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 73 | canvas_rightbut_proc = object_search_right; | ^ u_search.h:37:17: note: 'object_search_right' declared here 37 | void object_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ e_delete.c: In function 'init_delete_region': e_delete.c:126:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 126 | canvas_middlebut_proc = delete_region; | ^ e_delete.c:56:51: note: 'delete_region' declared here 56 | static void init_delete_region(int x, int y), delete_region(int x, int y), cancel_delete_region(void); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_delete.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_line.o d_line.c d_line.c: In function 'line_drawing_selected': d_line.c:58:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 58 | canvas_leftbut_proc = init_line_drawing; | ^ d_line.c:47:21: note: 'init_line_drawing' declared here 47 | static void init_line_drawing(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~ d_line.c:59:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 59 | canvas_middlebut_proc = init_line_freehand_drawing; | ^ d_line.c:48:21: note: 'init_line_freehand_drawing' declared here 48 | static void init_line_freehand_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ d_line.c:71:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 71 | canvas_rightbut_proc = create_lineobject; | ^ In file included from d_line.c:19: d_line.h:25:17: note: 'create_lineobject' declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c: In function 'init_trace_drawing': d_line.c:124:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 124 | canvas_leftbut_proc = get_intermediatepoint; | ^ d_line.h:26:17: note: 'get_intermediatepoint' declared here 26 | extern void get_intermediatepoint(int x, int y, int shift); | ^~~~~~~~~~~~~~~~~~~~~ d_line.c:126:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 126 | canvas_locmove_proc = freehand_get_intermediatepoint; | ^ d_line.h:27:17: note: 'freehand_get_intermediatepoint' declared here 27 | extern void freehand_get_intermediatepoint(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d_line.c:130:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 130 | canvas_leftbut_proc = create_lineobject; | ^ d_line.h:25:17: note: 'create_lineobject' declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c:132:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 132 | canvas_locmove_proc = latex_line; | ^ In file included from d_line.c:30: u_elastic.h:78:17: note: 'latex_line' declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ d_line.c:134:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 134 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: 'constrainedangle_line' declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ d_line.c:136:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 136 | canvas_locmove_proc = unconstrained_line; | ^ u_elastic.h:77:17: note: 'unconstrained_line' declared here 77 | extern void unconstrained_line(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_line.c:139:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 139 | canvas_middlebut_save = create_lineobject; | ^ d_line.h:25:17: note: 'create_lineobject' declared here 25 | extern void create_lineobject(int x, int y); | ^~~~~~~~~~~~~~~~~ d_line.c: In function 'get_intermediatepoint': d_line.c:186:10: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2 186 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ make[2]: *** [Makefile:883: d_line.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_regpoly.o d_regpoly.c d_regpoly.c: In function 'regpoly_drawing_selected': d_regpoly.c:52:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 52 | canvas_leftbut_proc = init_regpoly_drawing; | ^ d_regpoly.c:40:17: note: 'init_regpoly_drawing' declared here 40 | static void init_regpoly_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ d_regpoly.c: In function 'init_regpoly_drawing': d_regpoly.c:67:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 67 | canvas_locmove_proc = resizing_poly; | ^ In file included from d_regpoly.c:28: u_elastic.h:62:17: note: 'resizing_poly' declared here 62 | extern void resizing_poly(int x, int y); | ^~~~~~~~~~~~~ d_regpoly.c:68:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 68 | canvas_leftbut_proc = create_regpoly; | ^ d_regpoly.c:41:17: note: 'create_regpoly' declared here 41 | static void create_regpoly(int x, int y); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_regpoly.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_deletept.o e_deletept.c e_deletept.c: In function 'delete_point_selected': e_deletept.c:51:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 51 | init_searchproc_left(init_delete_point); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} In file included from e_deletept.c:32: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, F_point *, F_point *)' {aka 'void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_deletept.c:40:17: note: 'init_delete_point' declared here 40 | static void init_delete_point(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_deletept.c:52:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 52 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: 'point_search_left' declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_deletept.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_arrow.o e_arrow.c e_arrow.c: In function 'arrow_head_selected': e_arrow.c:56:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 56 | init_searchproc_left(add_arrow_head); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} In file included from e_arrow.c:30: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_arrow.c:37:17: note: 'add_arrow_head' declared here 37 | static void add_arrow_head(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~ e_arrow.c:57:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 57 | init_searchproc_middle(delete_arrow_head); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *, int) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, F_point *, F_point *, int)' {aka 'void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_arrow.c:39:17: note: 'delete_arrow_head' declared here 39 | static void delete_arrow_head(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_arrow.c:58:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 58 | canvas_leftbut_proc = point_search_left; | ^ u_search.h:31:17: note: 'point_search_left' declared here 31 | void point_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ e_arrow.c:59:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 59 | canvas_middlebut_proc = point_search_middle; | ^ u_search.h:32:17: note: 'point_search_middle' declared here 32 | void point_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_arrow.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_arc.o d_arc.c d_arc.c: In function 'arc_drawing_selected': d_arc.c:79:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 79 | canvas_leftbut_proc = init_arc_drawing; | ^ d_arc.c:60:17: note: 'init_arc_drawing' declared here 60 | static void init_arc_drawing(int x, int y); | ^~~~~~~~~~~~~~~~ d_arc.c:80:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 80 | canvas_middlebut_proc = init_arc_c_drawing; | ^ d_arc.c:62:17: note: 'init_arc_c_drawing' declared here 62 | static void init_arc_c_drawing(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_arc.c: In function 'init_arc_drawing': d_arc.c:108:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 108 | canvas_locmove_proc = resizing_arc; | ^ d_arc.c:63:17: note: 'resizing_arc' declared here 63 | static void resizing_arc(int x, int y); | ^~~~~~~~~~~~ d_arc.c:118:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 118 | canvas_locmove_proc = unconstrained_line; | ^ In file included from d_arc.c:36: u_elastic.h:77:17: note: 'unconstrained_line' declared here 77 | extern void unconstrained_line(int x, int y); | ^~~~~~~~~~~~~~~~~~ d_arc.c:121:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 121 | canvas_leftbut_proc = get_arcpoint; | ^ d_arc.c:59:17: note: 'get_arcpoint' declared here 59 | static void get_arcpoint(int x, int y); | ^~~~~~~~~~~~ d_arc.c: In function 'init_arc_c_drawing': d_arc.c:132:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 132 | canvas_locmove_proc = resizing_cbr; | ^ u_elastic.h:67:17: note: 'resizing_cbr' declared here 67 | extern void resizing_cbr(int x, int y), elastic_cbr(void), resizing_cbd(int x, int y), elastic_cbd(void); | ^~~~~~~~~~~~ d_arc.c: In function 'get_arcpoint': d_arc.c:189:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 189 | canvas_leftbut_proc = create_arcobject; | ^ d_arc.c:58:17: note: 'create_arcobject' declared here 58 | static void create_arcobject(int lx, int ly); | ^~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_arc.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_addpt.o e_addpt.c e_addpt.c: In function 'point_adding_selected': e_addpt.c:56:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 56 | init_searchproc_left(init_point_adding); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_addpt.c:32: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_addpt.c:41:17: note: 'init_point_adding' declared here 41 | static void init_point_adding(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~~~~~~~~ e_addpt.c:57:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 57 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_addpt.c: In function 'init_point_adding': e_addpt.c:96:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 96 | canvas_locmove_proc = latex_line; | ^ In file included from e_addpt.c:27: u_elastic.h:78:17: note: 'latex_line' declared here 78 | extern void latex_line(int x, int y); | ^~~~~~~~~~ e_addpt.c:101:33: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 101 | canvas_locmove_proc = constrainedangle_line; | ^ u_elastic.h:79:17: note: 'constrainedangle_line' declared here 79 | extern void constrainedangle_line(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_addpt.c:108:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 108 | canvas_locmove_proc = reshaping_line; | ^ u_elastic.h:85:17: note: 'reshaping_line' declared here 85 | extern void reshaping_line(int x, int y); | ^~~~~~~~~~~~~~ e_addpt.c: In function 'init_splinepointadding': e_addpt.c:160:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 160 | canvas_leftbut_proc = fix_splinepoint_adding; | ^ e_addpt.c:43:17: note: 'fix_splinepoint_adding' declared here 43 | static void fix_splinepoint_adding(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~ e_addpt.c: In function 'fix_splinepoint_adding': e_addpt.c:179:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2 179 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ e_addpt.c: In function 'init_linepointadding': e_addpt.c:275:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 275 | canvas_leftbut_proc = fix_linepoint_adding; | ^ e_addpt.c:42:17: note: 'fix_linepoint_adding' declared here 42 | static void fix_linepoint_adding(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ e_addpt.c: In function 'fix_linepoint_adding': e_addpt.c:294:6: error: too many arguments to function 'canvas_locmove_proc'; expected 0, have 2 294 | (*canvas_locmove_proc) (x, y); | ~^~~~~~~~~~~~~~~~~~~~~ ~ make[2]: *** [Makefile:883: e_addpt.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_chop.o e_chop.c e_chop.c: In function 'chop_selected': e_chop.c:96:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 96 | canvas_leftbut_proc = object_search_left; /* point search for axe */ | ^ In file included from e_chop.c:38: u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_chop.c:97:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 97 | canvas_middlebut_proc = object_search_middle; /* object search for log */ | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_chop.c: At top level: e_chop.c:110:1: error: conflicting types for 'select_axe_object'; have 'void(void *, int, int, int, F_point *, F_point *)' {aka 'void(void *, int, int, int, struct f_point *, struct f_point *)'} 110 | select_axe_object(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ e_chop.c:47:13: note: previous declaration of 'select_axe_object' with type 'void(void)' 47 | static void select_axe_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:134:1: error: conflicting types for 'clear_axe_objects'; have 'void(void *, int, int, int, F_point *, F_point *)' {aka 'void(void *, int, int, int, struct f_point *, struct f_point *)'} 134 | clear_axe_objects(void *obj, int type, int x, int y, F_point *p, F_point * q) | ^~~~~~~~~~~~~~~~~ e_chop.c:49:13: note: previous declaration of 'clear_axe_objects' with type 'void(void)' 49 | static void clear_axe_objects(); | ^~~~~~~~~~~~~~~~~ e_chop.c: In function 'point_sort_fcn': e_chop.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | point_sort_fcn(a, b) | ^~~~~~~~~~~~~~ e_chop.c: In function 'point_sort_reverse_fcn': e_chop.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | point_sort_reverse_fcn(a, b) | ^~~~~~~~~~~~~~~~~~~~~~ e_chop.c: At top level: e_chop.c:829:1: error: conflicting types for 'select_log_object'; have 'void(void *, int, int, int, F_point *, F_point *)' {aka 'void(void *, int, int, int, struct f_point *, struct f_point *)'} 829 | select_log_object(void *obj, int type, int x, int y, F_point *p, F_point *q) | ^~~~~~~~~~~~~~~~~ e_chop.c:48:13: note: previous declaration of 'select_log_object' with type 'void(void)' 48 | static void select_log_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:47:13: warning: 'select_axe_object' used but never defined 47 | static void select_axe_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:48:13: warning: 'select_log_object' used but never defined 48 | static void select_log_object(); | ^~~~~~~~~~~~~~~~~ e_chop.c:49:13: warning: 'clear_axe_objects' used but never defined 49 | static void clear_axe_objects(); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_chop.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_convert.o e_convert.c e_convert.c: In function 'convert_selected': e_convert.c:58:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 58 | init_searchproc_left(init_convert_line_spline); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_convert.c:36: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:44:17: note: 'init_convert_line_spline' declared here 44 | static void init_convert_line_spline(F_line *p, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:59:27: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types] 59 | init_searchproc_right(init_convert_open_closed); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)} u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, F_point *, F_point *)' {aka 'void (*)(struct f_line *, int, int, int, struct f_point *, struct f_point *)'} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:46:17: note: 'init_convert_open_closed' declared here 46 | static void init_convert_open_closed(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~~~~~~~~ e_convert.c:60:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 60 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_convert.c:62:26: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 62 | canvas_rightbut_proc = point_search_right; | ^ u_search.h:33:17: note: 'point_search_right' declared here 33 | void point_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_convert.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_compound.o e_compound.c e_compound.c: In function 'open_compound_selected': e_compound.c:132:24: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 132 | init_searchproc_left(init_open_compound); | ^~~~~~~~~~~~~~~~~~ | | | void (*)(F_compound *, int, int, int, int, int) {aka void (*)(struct f_compound *, int, int, int, int, int)} In file included from e_compound.c:48: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_compound *, int, int, int, int, int)' {aka 'void (*)(struct f_compound *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_compound.c:69:1: note: 'init_open_compound' declared here 69 | init_open_compound(F_compound *c, int type, int x, int y, int px, int py) | ^~~~~~~~~~~~~~~~~~ e_compound.c:133:26: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 133 | init_searchproc_middle(init_open_compound_vis); | ^~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(F_compound *, int, int, int, int, int, int) {aka void (*)(struct f_compound *, int, int, int, int, int, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_compound *, int, int, int, int, int, int)' {aka 'void (*)(struct f_compound *, int, int, int, int, int, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_compound.c:82:1: note: 'init_open_compound_vis' declared here 82 | init_open_compound_vis(F_compound *c, int type, int x, int y, int px, int py, | ^~~~~~~~~~~~~~~~~~~~~~ e_compound.c:134:23: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 134 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_compound.c:135:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 135 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_compound.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_align.o e_align.c e_align.c: In function 'align_selected': e_align.c:75:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 75 | init_searchproc_left(init_align); | ^~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_align.c:31: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_align.c:54:17: note: 'init_align' declared here 54 | static void init_align(F_line *p, int type, int x, int y, int px, int py); | ^~~~~~~~~~ e_align.c:76:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 76 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_align.c:77:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 77 | canvas_middlebut_proc = init_align_canvas; | ^ e_align.c:55:17: note: 'init_align_canvas' declared here 55 | static void init_align_canvas(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_align.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_scale.o e_scale.c e_scale.c: In function 'scale_selected': e_scale.c:112:26: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 112 | init_searchproc_left(init_box_scale); | ^~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} In file included from e_scale.c:51: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:75:17: note: 'init_box_scale' declared here 75 | static void init_box_scale(F_line *obj, int type, int x,int y,int px,int py); | ^~~~~~~~~~~~~~ e_scale.c:113:28: error: passing argument 1 of 'init_searchproc_middle' from incompatible pointer type [-Wincompatible-pointer-types] 113 | init_searchproc_middle(init_center_scale); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int, int, int) {aka void (*)(struct f_line *, int, int, int, int, int)} u_search.h:28:47: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int, int, int)'} 28 | void init_searchproc_middle(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:77:17: note: 'init_center_scale' declared here 77 | static void init_center_scale(F_line *obj, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_scale.c:114:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 114 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_scale.c:115:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 115 | canvas_middlebut_proc = object_search_middle; | ^ u_search.h:36:17: note: 'object_search_middle' declared here 36 | void object_search_middle(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_boxscale_ellipse': e_scale.c:258:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 258 | canvas_locmove_proc = constrained_resizing_cbd; | ^ In file included from e_scale.c:45: u_elastic.h:70:17: note: 'constrained_resizing_cbd' declared here 70 | extern void constrained_resizing_cbd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:262:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 262 | canvas_locmove_proc = constrained_resizing_ebd; | ^ u_elastic.h:69:57: note: 'constrained_resizing_ebd' declared here 69 | extern void constrained_resizing_ebr(int x, int y), constrained_resizing_ebd(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:266:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 266 | canvas_leftbut_proc = fix_boxscale_ellipse; | ^ e_scale.c:88:17: note: 'fix_boxscale_ellipse' declared here 88 | static void fix_boxscale_ellipse(int x, int y); | ^~~~~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_scale_ellipse': e_scale.c:362:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 362 | canvas_locmove_proc = scaling_ellipse; | ^ u_elastic.h:74:17: note: 'scaling_ellipse' declared here 74 | extern void scaling_ellipse(int x, int y); | ^~~~~~~~~~~~~~~ e_scale.c:365:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 365 | canvas_middlebut_proc = fix_scale_ellipse; | ^ e_scale.c:87:17: note: 'fix_scale_ellipse' declared here 87 | static void fix_scale_ellipse(int x, int y); | ^~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_scale_arc': e_scale.c:441:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 441 | canvas_locmove_proc = scaling_arc; | ^ u_elastic.h:98:17: note: 'scaling_arc' declared here 98 | extern void scaling_arc(int x, int y); | ^~~~~~~~~~~ e_scale.c:443:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 443 | canvas_middlebut_proc = fix_scale_arc; | ^ e_scale.c:84:17: note: 'fix_scale_arc' declared here 84 | static void fix_scale_arc(int x, int y); | ^~~~~~~~~~~~~ e_scale.c: In function 'init_scale_spline': e_scale.c:556:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 556 | canvas_locmove_proc = scaling_spline; | ^ u_elastic.h:108:17: note: 'scaling_spline' declared here 108 | extern void scaling_spline(int x, int y); | ^~~~~~~~~~~~~~ e_scale.c:558:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 558 | canvas_middlebut_proc = fix_scale_spline; | ^ e_scale.c:85:17: note: 'fix_scale_spline' declared here 85 | static void fix_scale_spline(int x, int y); | ^~~~~~~~~~~~~~~~ e_scale.c: In function 'init_boxscale_compound': e_scale.c:675:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 675 | canvas_locmove_proc = constrained_resizing_scale_box; | ^ u_elastic.h:58:17: note: 'constrained_resizing_scale_box' declared here 58 | extern void constrained_resizing_scale_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:677:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 677 | canvas_leftbut_proc = fix_boxscale_compound; | ^ e_scale.c:91:17: note: 'fix_boxscale_compound' declared here 91 | static void fix_boxscale_compound(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_scale_compound': e_scale.c:723:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 723 | canvas_locmove_proc = scaling_compound; | ^ u_elastic.h:63:17: note: 'scaling_compound' declared here 63 | extern void scaling_compound(int x, int y); | ^~~~~~~~~~~~~~~~ e_scale.c:725:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 725 | canvas_middlebut_proc = fix_scale_compound; | ^ e_scale.c:90:17: note: 'fix_scale_compound' declared here 90 | static void fix_scale_compound(int x, int y); | ^~~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_boxscale_line': e_scale.c:1244:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 1244 | canvas_locmove_proc = constrained_resizing_box; | ^ u_elastic.h:57:17: note: 'constrained_resizing_box' declared here 57 | extern void constrained_resizing_box(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~~~~ e_scale.c:1246:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 1246 | canvas_leftbut_proc = fix_boxscale_line; | ^ e_scale.c:89:17: note: 'fix_boxscale_line' declared here 89 | static void fix_boxscale_line(int x, int y); | ^~~~~~~~~~~~~~~~~ e_scale.c: In function 'init_scale_line': e_scale.c:1342:25: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 1342 | canvas_locmove_proc = scaling_line; | ^ u_elastic.h:89:17: note: 'scaling_line' declared here 89 | extern void scaling_line(int x, int y); | ^~~~~~~~~~~~ e_scale.c:1343:21: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 1343 | canvas_ref_proc = elastic_scale_curline; | ^ u_elastic.h:90:17: note: 'elastic_scale_curline' declared here 90 | extern void elastic_scale_curline(int x, int y); | ^~~~~~~~~~~~~~~~~~~~~ e_scale.c:1344:27: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 1344 | canvas_middlebut_proc = fix_scale_line; | ^ e_scale.c:86:17: note: 'fix_scale_line' declared here 86 | static void fix_scale_line(int x, int y); | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_scale.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_text.o d_text.c d_text.c: In function 'text_drawing_selected': d_text.c:170:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 170 | canvas_leftbut_proc = init_text_input; | ^ d_text.c:127:17: note: 'init_text_input' declared here 127 | static void init_text_input(int x, int y), cancel_text_input(void); | ^~~~~~~~~~~~~~~ d_text.c: In function 'overlay_text_input': d_text.c:381:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 381 | canvas_middlebut_proc = finish_text_input; | ^ d_text.c:227:1: note: 'finish_text_input' declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c:382:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 382 | canvas_leftbut_proc = finish_n_start; | ^ d_text.c:213:1: note: 'finish_n_start' declared here 213 | finish_n_start(int x, int y) | ^~~~~~~~~~~~~~ d_text.c:426:45: error: passing argument 2 of 'initialize_char_handler' from incompatible pointer type [-Wincompatible-pointer-types] 426 | initialize_char_handler(canvas_win, finish_text_input, | ^~~~~~~~~~~~~~~~~ | | | void (*)(int, int, int) d_text.c:136:58: note: expected 'void (*)(void)' but argument is of type 'void (*)(int, int, int)' 136 | static void initialize_char_handler(Window w, void (*cr) (/* ??? */), | ~~~~~~~^~~~~~~~~~~~~~~ d_text.c:227:1: note: 'finish_text_input' declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c: In function 'init_text_input': d_text.c:447:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, int)' [-Wincompatible-pointer-types] 447 | canvas_middlebut_proc = finish_text_input; | ^ d_text.c:227:1: note: 'finish_text_input' declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c:448:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int)' [-Wincompatible-pointer-types] 448 | canvas_leftbut_proc = finish_n_start; | ^ d_text.c:213:1: note: 'finish_n_start' declared here 213 | finish_n_start(int x, int y) | ^~~~~~~~~~~~~~ d_text.c:569:45: error: passing argument 2 of 'initialize_char_handler' from incompatible pointer type [-Wincompatible-pointer-types] 569 | initialize_char_handler(canvas_win, finish_text_input, base_x, base_y); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int, int, int) d_text.c:136:58: note: expected 'void (*)(void)' but argument is of type 'void (*)(int, int, int)' 136 | static void initialize_char_handler(Window w, void (*cr) (/* ??? */), | ~~~~~~~^~~~~~~~~~~~~~~ d_text.c:227:1: note: 'finish_text_input' declared here 227 | finish_text_input(int x, int y, int shift) | ^~~~~~~~~~~~~~~~~ d_text.c: In function 'initialize_char_handler': d_text.c:772:17: error: too many arguments to function 'xim_set_spot'; expected 0, have 2 772 | xim_set_spot(cur_x, cur_y); | ^~~~~~~~~~~~ ~~~~~ d_text.c:150:17: note: declared here 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c: In function 'move_blinking_cursor': d_text.c:1173:25: error: too many arguments to function 'xim_set_spot'; expected 0, have 2 1173 | if (xim_active) xim_set_spot(x, y); | ^~~~~~~~~~~~ ~ d_text.c:150:17: note: declared here 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c: At top level: d_text.c:1399:1: error: conflicting types for 'xim_set_spot'; have 'void(int, int)' 1399 | xim_set_spot(int x, int y) | ^~~~~~~~~~~~ d_text.c:150:17: note: previous declaration of 'xim_set_spot' with type 'void(void)' 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c:1445:1: error: conflicting types for 'close_preedit_proc'; have 'void(int, int)' 1445 | close_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:154:38: note: previous declaration of 'close_preedit_proc' with type 'void(void)' 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:1459:1: error: conflicting types for 'open_preedit_proc'; have 'void(int, int)' 1459 | open_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~ d_text.c:154:17: note: previous declaration of 'open_preedit_proc' with type 'void(void)' 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~ d_text.c:1495:1: error: conflicting types for 'paste_preedit_proc'; have 'void(int, int)' 1495 | paste_preedit_proc(int x, int y) | ^~~~~~~~~~~~~~~~~~ d_text.c:154:60: note: previous declaration of 'paste_preedit_proc' with type 'void(void)' 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:150:17: warning: 'xim_set_spot' used but never defined 150 | static void xim_set_spot(); | ^~~~~~~~~~~~ d_text.c:154:17: warning: 'open_preedit_proc' used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~ d_text.c:154:38: warning: 'close_preedit_proc' used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ d_text.c:154:60: warning: 'paste_preedit_proc' used but never defined 154 | static void open_preedit_proc(), close_preedit_proc(), paste_preedit_proc(); | ^~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:883: d_text.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o d_subspline.o d_subspline.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/freetype2 -DXAW_INTERNATIONALIZATION -DNDEBUG -DXFIGLIBDIR="\"/usr/share/xfig\"" -DOBJLIBDIR="\"/usr/share/xfig/Libraries\"" -DXFIGDOCDIR="\"/usr/share/doc/xfig\"" -DXAW_ARROW_SCROLLBARS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fno-strength-reduce -fno-strict-aliasing -c -o e_edit.o e_edit.c e_edit.c: In function 'edit_item_selected': e_edit.c:693:30: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 693 | init_searchproc_left(edit_item); | ^~~~~~~~~ | | | void (*)(void *, int, int, int) In file included from e_edit.c:66: u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *, int, int, int)' 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from e_edit.c:26: e_edit.h:37:17: note: 'edit_item' declared here 37 | extern void edit_item (void *p, int type, int x, int y); | ^~~~~~~~~ e_edit.c:694:31: error: passing argument 1 of 'init_searchproc_right' from incompatible pointer type [-Wincompatible-pointer-types] 694 | init_searchproc_right(edit_spline_point); | ^~~~~~~~~~~~~~~~~ | | | void (*)(F_spline *, int, int, int, F_point *, F_point *) {aka void (*)(struct f_spline *, int, int, int, struct f_point *, struct f_point *)} u_search.h:29:46: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_spline *, int, int, int, F_point *, F_point *)' {aka 'void (*)(struct f_spline *, int, int, int, struct f_point *, struct f_point *)'} 29 | void init_searchproc_right(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:682:17: note: 'edit_spline_point' declared here 682 | static void edit_spline_point(F_spline *spline, int type, int x, int y, | ^~~~~~~~~~~~~~~~~ e_edit.c:695:29: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 695 | canvas_leftbut_proc = object_search_left; | ^ u_search.h:35:17: note: 'object_search_left' declared here 35 | void object_search_left(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_edit.c:696:31: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 696 | canvas_middlebut_proc = edit_figure_comments; | ^ e_edit.c:684:17: note: 'edit_figure_comments' declared here 684 | static void edit_figure_comments(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~~~ e_edit.c:697:30: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(int, int, unsigned int)' [-Wincompatible-pointer-types] 697 | canvas_rightbut_proc = point_search_right; | ^ u_search.h:33:17: note: 'point_search_right' declared here 33 | void point_search_right(int x, int y, unsigned int shift); | ^~~~~~~~~~~~~~~~~~ e_edit.c: In function 'edit_figure_comments': e_edit.c:714:38: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 714 | init_searchproc_left(popup_show_comments); | ^~~~~~~~~~~~~~~~~~~ | | | void (*)(F_line *, int, int, int) {aka void (*)(struct f_line *, int, int, int)} u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(F_line *, int, int, int)' {aka 'void (*)(struct f_line *, int, int, int)'} 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:707:17: note: 'popup_show_comments' declared here 707 | static void popup_show_comments(F_line *p, int type, int x, int y); | ^~~~~~~~~~~~~~~~~~~ e_edit.c:717:38: error: passing argument 1 of 'init_searchproc_left' from incompatible pointer type [-Wincompatible-pointer-types] 717 | init_searchproc_left(edit_item); | ^~~~~~~~~ | | | void (*)(void *, int, int, int) u_search.h:27:45: note: expected 'void (*)(void)' but argument is of type 'void (*)(void *, int, int, int)' 27 | void init_searchproc_left(void (*handlerproc) (/* ??? */)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.h:37:17: note: 'edit_item' declared here 37 | extern void edit_item (void *p, int type, int x, int y); | ^~~~~~~~~ e_edit.c: In function 'f_menu_popup': e_edit.c:4354:25: error: passing argument 4 of 'fontpane_popup' from incompatible pointer type [-Wincompatible-pointer-types] 4354 | set_font_image, font_panel); | ^~~~~~~~~~~~~~ | | | void (*)(struct _WidgetRec *) In file included from w_color.h:56, from e_edit.c:71: w_indpanel.h:172:93: note: expected 'void (*)(void)' but argument is of type 'void (*)(struct _WidgetRec *)' 172 | extern void fontpane_popup(int *psfont_adr, int *latexfont_adr, int *psflag_adr, void (*showfont_fn) (/* ??? */), Widget show_widget); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ e_edit.c:4310:1: note: 'set_font_image' declared here 4310 | set_font_image(Widget widget) | ^~~~~~~~~~~~~~ make[2]: *** [Makefile:883: e_edit.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/xfig-3.2.9-build/xfig-3.2.9/src' make[1]: *** [Makefile:543: all-recursive] Error 1 make: *** [Makefile:396: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YIPGKU (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YIPGKU (%build) I: [iurt_root_command] ERROR: chroot