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/lighttpd-1.4.69-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1VI6Uo sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Mx1wIx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lighttpd-1.4.69-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/lighttpd-1.4.69-build + rm -rf lighttpd-1.4.69 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lighttpd-1.4.69.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd lighttpd-1.4.69 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lighttpd-defaultroot.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lighttpd-1.4.41-ssi-index-page-fix.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.uZk1P6 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/lighttpd-1.4.69-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 lighttpd-1.4.69 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 -I scripts/m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 -I scripts/m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:64: warning: The macro 'AC_PROG_CC_C99' is obsolete. configure.ac:64: You should run autoupdate. ./lib/autoconf/c.m4:1662: AC_PROG_CC_C99 is expanded from... configure.ac:64: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:63: installing './compile' configure.ac:24: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + 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 + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 --libdir=/usr/lib64/lighttpd/ --with-attr --with-bzip2 --with-gdbm --with-ldap --with-lua --with-memcached --with-nettle --with-openssl --with-pcre2 --with-webdav-props configure: WARNING: unrecognized options: --with-gdbm, --with-memcached checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 whether UID '500' is supported by ustar format... yes checking whether GID '1001' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar 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 how to run the C preprocessor... gcc -E checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc 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 dependency style of gcc... none 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 how to run the C preprocessor... gcc -E checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking how to print strings... printf checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking how to run the C preprocessor... gcc -E checking whether make sets $(MAKE)... (cached) yes 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 wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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 inline... inline checking for C/C++ restrict keyword... __restrict__ checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for getopt.h... yes checking for inttypes.h... (cached) yes checking for poll.h... yes checking for pwd.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/inotify.h... yes checking for sys/loadavg.h... no checking for sys/poll.h... yes checking for sys/prctl.h... yes checking for sys/procctl.h... no checking for sys/sendfile.h... yes checking for sys/time.h... yes checking for sys/uio.h... yes checking for sys/un.h... yes checking for syslog.h... yes checking for uuid/uuid.h... no checking for an ANSI C-conforming const... yes checking for inline... (cached) inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking for struct tm.tm_gmtoff... yes checking for socklen_t... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing elftc_copyfile... no checking for library containing dlopen... none required checking for dlfcn.h... (cached) yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes configure: ---------------------------------------- checking for libev support... no configure: ---------------------------------------- checking for MySQL support... no configure: ---------------------------------------- checking for PgSQL support... no configure: ---------------------------------------- checking for LibDBI support... no configure: ---------------------------------------- checking for LibSASL support... no configure: ---------------------------------------- checking for LDAP support... yes checking for ldap_sasl_bind_s in -lldap... yes checking for ldap.h... yes checking for ber_printf in -llber... yes checking for lber.h... yes configure: ---------------------------------------- checking for PAM support... yes configure: ---------------------------------------- checking for extended attributes support... yes checking for getxattr... yes checking for sys/xattr.h... yes checking for extattr_get_file... no configure: ---------------------------------------- checking for valgrind... no configure: ---------------------------------------- checking for libunwind... no configure: ---------------------------------------- checking for kerberos5... no checking custom include directory for kerberos5... no checking custom lib directory for kerberos5... no configure: ---------------------------------------- checking for OpenSSL... yes checking custom include directory for openssl... no checking custom lib directory for openssl... no checking for openssl/ssl.h... yes checking for RAND_bytes in -lcrypto... yes checking for SSL_new in -lssl... yes configure: ---------------------------------------- checking for wolfSSL... no configure: ---------------------------------------- checking for mbedTLS... no configure: ---------------------------------------- checking for Nettle... yes checking for nettle/nettle-types.h... yes checking for nettle_md5_init in -lnettle... yes configure: ---------------------------------------- checking for GnuTLS... no configure: ---------------------------------------- checking for NSS... no configure: ---------------------------------------- checking for perl regular expressions support... no configure: ---------------------------------------- checking for perl regular expressions support... yes checking for libpcre2-8... yes configure: ---------------------------------------- checking for zlib support... yes checking for zlib.h... yes checking for deflate in -lz... yes configure: ---------------------------------------- checking for zstd support... no configure: ---------------------------------------- checking for bzip2 support... yes checking for bzlib.h... yes checking for BZ2_bzCompress in -lbz2... yes configure: ---------------------------------------- checking for brotli support... no configure: ---------------------------------------- checking for libdeflate support... no configure: ---------------------------------------- checking for FAM... no configure: ---------------------------------------- checking for properties in mod_webdav... yes checking for libxml2... yes checking for libxml-2.0... yes checking for sqlite... yes checking for sqlite3... yes configure: ---------------------------------------- checking for locks in mod_webdav... no configure: ---------------------------------------- checking for xxhash support... no configure: ---------------------------------------- checking for maxminddb... no configure: ---------------------------------------- checking if lua-support is requested... yes checking for lua5.4 >= 5.1... yes configure: ---------------------------------------- checking for library containing crypt_r... -lcrypt checking for crypt.h... yes checking crypt_r/crypt support... crypt_r configure: ---------------------------------------- checking for arc4random_buf... yes checking for chroot... yes checking for clock_gettime... yes checking for copy_file_range... yes checking for explicit_bzero... yes checking for explicit_memset... no checking for fork... yes checking for getloadavg... yes checking for getuid... yes checking for gmtime_r... yes checking for inet_aton... yes checking for inet_pton... yes checking for issetugid... no checking for jrand48... yes checking for localtime_r... yes checking for lstat... yes checking for madvise... yes checking for mempcpy... yes checking for memset_s... no checking for mkostemp... yes checking for pipe2... yes checking for poll... yes checking for pread... yes checking for pwrite... yes checking for sendfile... yes checking for sendfile64... yes checking for splice... yes checking for srandom... yes checking for strerror_r... yes checking for timegm... yes checking for linux/random.h... yes checking for getrandom... yes checking for malloc.h... yes checking for malloc_trim... yes checking for mallopt... yes checking for signal.h... yes checking for signal... yes checking for sigaction... yes checking for sys/epoll.h... yes checking for epoll_ctl... yes checking for sys/event.h... no checking for sys/mman.h... yes checking for mmap... yes checking for sys/random.h... yes checking for getentropy... yes checking for sys/resource.h... yes checking for getrlimit... yes checking for sys/uio.h... (cached) yes checking for preadv... yes checking for pwritev... yes checking for writev... yes configure: ---------------------------------------- checking if weak symbols are supported... yes configure: ---------------------------------------- checking for Large File System support... yes checking for gcc option to enable large file support... none needed configure: ---------------------------------------- checking if sendfile works... no configure: ---------------------------------------- checking for IPv6 support... yes configure: ---------------------------------------- checking use mmap if available... false configure: ---------------------------------------- checking if gcc supports -pipe -Wall -W -Wshadow -pedantic... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating distribute.sh config.status: creating doc/config/conf.d/Makefile config.status: creating doc/config/Makefile config.status: creating doc/config/vhosts.d/Makefile config.status: creating doc/Makefile config.status: creating doc/outdated/Makefile config.status: creating doc/scripts/Makefile config.status: creating doc/systemd/Makefile config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/docroot/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-gdbm, --with-memcached Plugins: enabled: mod_access mod_accesslog mod_ajp13 mod_alias mod_auth mod_authn_file mod_authn_ldap mod_cgi mod_deflate mod_dirlisting mod_evhost mod_expire mod_extforward mod_fastcgi mod_indexfile mod_magnet mod_openssl mod_proxy mod_redirect mod_rewrite mod_rrdtool mod_scgi mod_setenv mod_simple_vhost mod_sockproxy mod_ssi mod_staticfile mod_status mod_userdir mod_vhostdb mod_vhostdb_ldap mod_webdav mod_wstunnel disabled: mod_authn_dbi mod_authn_gssapi mod_authn_pam mod_gnutls mod_maxminddb mod_mbedtls mod_nss mod_vhostdb_dbi mod_vhostdb_mysql mod_vhostdb_pgsql mod_wolfssl Features: enabled: auth-crypt compress-bzip2 compress-deflate compress-gzip large-files ldap lua network-ipv6 network-openssl regex-conditionals stat-cache-inotify webdav-properties disabled: compress-brotli compress-zstd dbi kerberos maxminddb mysql network-gnutls network-mbedtls network-nss network-wolfssl pam postgresql webdav-locks + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src which: no git in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/pterjan/.local/bin:/home/pterjan/bin) gcc -g -O2 -o lemon ./lemon.c ./lemon.c: In function 'main': ./lemon.c:1643:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *)' [-Wincompatible-pointer-types] 1643 | {OPT_FSTR, "d", 0, handle_d_option, "Output directory. Default '.'"}, | ^~~~~~~~~~~~~~~ ./lemon.c:1643:24: note: (near initialization for 'options[2].fn') ./lemon.c:1548:13: note: 'handle_d_option' declared here 1548 | static void handle_d_option(char *z){ | ^~~~~~~~~~~~~~~ ./lemon.c:1644:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *)' [-Wincompatible-pointer-types] 1644 | {OPT_FSTR, "D", 0, handle_D_option, "Define an %ifdef macro."}, | ^~~~~~~~~~~~~~~ ./lemon.c:1644:24: note: (near initialization for 'options[3].fn') ./lemon.c:1526:13: note: 'handle_D_option' declared here 1526 | static void handle_D_option(char *z){ | ^~~~~~~~~~~~~~~ ./lemon.c:1661:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(char *)' [-Wincompatible-pointer-types] 1661 | {OPT_FSTR, "T", 0, handle_T_option, "Specify a template file."}, | ^~~~~~~~~~~~~~~ ./lemon.c:1661:24: note: (near initialization for 'options[17].fn') ./lemon.c:1558:13: note: 'handle_T_option' declared here 1558 | static void handle_T_option(char *z){ | ^~~~~~~~~~~~~~~ ./lemon.c: In function 'handleflags': ./lemon.c:1998:5: error: too many arguments to function '(op + (sizetype)((long unsigned int)j * 40))->fn'; expected 0, have 1 1998 | op[j].fn(v); | ^~ ~ ./lemon.c:201:9: note: declared here 201 | void(*fn)(); | ^~ ./lemon.c:2000:5: error: too many arguments to function '(op + (sizetype)((long unsigned int)j * 40))->fn'; expected 0, have 1 2000 | op[j].fn(&g_argv[i][2]); | ^~ ~~~~~~~~~~~~~ ./lemon.c:201:9: note: declared here 201 | void(*fn)(); | ^~ ./lemon.c: In function 'handleswitch': ./lemon.c:2082:9: error: too many arguments to function '(op + (sizetype)((long unsigned int)j * 40))->fn'; expected 0, have 1 2082 | op[j].fn(dv); | ^~ ~~ ./lemon.c:201:9: note: declared here 201 | void(*fn)(); | ^~ ./lemon.c:2088:9: error: too many arguments to function '(op + (sizetype)((long unsigned int)j * 40))->fn'; expected 0, have 1 2088 | op[j].fn((int)lv); | ^~ ~~~~~~~ ./lemon.c:201:9: note: declared here 201 | void(*fn)(); | ^~ ./lemon.c:2094:9: error: too many arguments to function '(op + (sizetype)((long unsigned int)j * 40))->fn'; expected 0, have 1 2094 | op[j].fn(sv); | ^~ ~~ ./lemon.c:201:9: note: declared here 201 | void(*fn)(); | ^~ make[2]: *** [Makefile:5375: lemon] Error 1 make[1]: *** [Makefile:476: all-recursive] Error 1 make: *** [Makefile:406: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uZk1P6 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.uZk1P6 (%build) I: [iurt_root_command] ERROR: chroot