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/mrxvt-0.5.4-18.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.L1ACaH sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.g5Jv4L + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build + rm -rf mrxvt-0.5.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mrxvt-0.5.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd mrxvt-0.5.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mrxvt-0.5.4-libpng1.4.patch):' Patch #0 (mrxvt-0.5.4-libpng1.4.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file configure.ac patching file src/mpng.c + echo 'Patch #1 (mrxvt-0.5.4-automake-1.13.patch):' Patch #1 (mrxvt-0.5.4-automake-1.13.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .automake-1_13 --fuzz=0 patching file configure.ac + echo 'Patch #2 (mrxvt-0.5.4-gcc10-fno-common.patch):' Patch #2 (mrxvt-0.5.4-gcc10-fno-common.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc10 --fuzz=0 patching file src/rxvtlib.h Hunk #1 succeeded at 790 (offset 19 lines). Hunk #2 succeeded at 820 (offset 21 lines). + echo 'Patch #3 (CVE-2021-33477.patch):' Patch #3 (CVE-2021-33477.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2021-33477 --fuzz=0 patching file src/command.c + 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.EVqmmJ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-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 mrxvt-0.5.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fi configure.ac:29: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:429: AM_INIT_AUTOMAKE is expanded from... configure.ac:29: the top level configure.ac:173: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:173: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:173: the top level configure.ac:228: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:228: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:228: the top level configure.ac:284: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:284: the top level configure.ac:297: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:297: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:297: the top level configure.ac:307: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:307: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:307: the top level configure.ac:317: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:317: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:317: the top level configure.ac:327: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:327: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:327: the top level configure.ac:337: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:337: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:337: the top level configure.ac:347: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:347: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:347: the top level configure.ac:357: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:357: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:357: the top level configure.ac:369: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:369: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:369: the top level configure.ac:381: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:381: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:381: the top level configure.ac:393: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:393: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:393: the top level configure.ac:405: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:405: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:405: the top level configure.ac:425: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:425: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:425: the top level configure.ac:435: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:435: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:435: the top level configure.ac:445: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:445: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:445: the top level configure.ac:456: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:456: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:456: the top level configure.ac:468: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:468: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:468: the top level configure.ac:475: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:475: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:475: the top level configure.ac:482: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:482: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:482: the top level configure.ac:492: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:492: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:492: the top level configure.ac:502: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:502: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:502: the top level configure.ac:512: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:512: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:512: the top level configure.ac:522: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:522: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:522: the top level configure.ac:532: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:532: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:532: the top level configure.ac:553: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:553: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:553: the top level configure.ac:563: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:563: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:563: the top level configure.ac:586: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:586: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:586: the top level configure.ac:592: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:592: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:592: the top level configure.ac:599: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:599: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:599: the top level configure.ac:606: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:606: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:606: the top level configure.ac:613: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:613: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:613: the top level configure.ac:620: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:620: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:620: the top level configure.ac:627: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:627: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:627: the top level configure.ac:634: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:634: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:634: the top level configure.ac:645: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:645: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:645: the top level configure.ac:652: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:652: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:652: the top level configure.ac:662: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:662: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:662: the top level configure.ac:672: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:672: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:672: the top level configure.ac:681: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:681: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:681: the top level configure.ac:691: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:691: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:691: the top level configure.ac:701: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:701: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:701: the top level configure.ac:711: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:711: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:711: the top level configure.ac:723: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:723: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:723: the top level configure.ac:732: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:732: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:732: the top level configure.ac:741: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:741: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:741: the top level configure.ac:750: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:750: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:750: the top level configure.ac:759: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:759: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:759: the top level configure.ac:768: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:768: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:768: the top level configure.ac:777: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:777: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:777: the top level configure.ac:785: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:785: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:785: the top level configure.ac:793: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:793: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:793: the top level configure.ac:803: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:803: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:803: the top level configure.ac:814: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:814: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:814: the top level configure.ac:1072: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:1072: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:1072: the top level configure.ac:1163: warning: The macro 'AC_HEADER_TIME' is obsolete. configure.ac:1163: You should run autoupdate. ./lib/autoconf/headers.m4:702: AC_HEADER_TIME is expanded from... configure.ac:1163: the top level configure.ac:1171: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:1171: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:1171: the top level configure.ac:1180: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1180: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1180: the top level configure.ac:1189: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1189: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1189: the top level configure.ac:1198: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1198: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1198: the top level configure.ac:1207: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1207: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1207: the top level configure.ac:1216: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1216: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1216: the top level configure.ac:1225: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1225: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1225: the top level configure.ac:1234: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1234: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1234: the top level configure.ac:1246: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:1246: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... configure.ac:1246: the top level configure.ac:1340: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:1340: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:1340: the top level configure.ac:1445: warning: The macro 'AC_CHECKING' is obsolete. configure.ac:1445: You should run autoupdate. ./lib/autoconf/general.m4:2499: AC_CHECKING is expanded from... configure.ac:1445: the top level configure.ac:29: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:29: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:822: installing './compile' + 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 + /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 --disable-debug --enable-keepscrolling --enable-selectionscrolling --enable-mousewheel --enable-24bits --enable-xft --enable-xim --enable-greek --enable-cjk 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 to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu 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 whether make sets $(MAKE)... (cached) yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for XOpenDisplay in -lX11... yes checking for XRegisterIMInstantiateCallback in -lX11... yes checking for SmcOpenConnection in -lSM... yes checking for IceConnectionNumber in -lICE... yes checking for XpmCreateImageFromXpmImage in -lXpm... yes checking for jpeg_read_header in -ljpeg... yes checking for png_sig_cmp in -lpng... yes checking for XRenderCreatePicture in -lXrender... yes checking for fontconfig/fontconfig.h... yes checking for X11/Xft/Xft.h... yes checking for FcPatternAddInteger in -lfontconfig... yes checking for XftDrawString16 in -lXft... yes checking for iconv_open in -liconv... no 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 for vfork.h... no checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for arpa/inet.h... yes checking for assert.h... yes checking for fcntl.h... yes checking for iconv.h... yes checking for lastlog.h... yes checking for limits.h... yes checking for locale.h... yes checking for langinfo.h... yes checking for netinet/in.h... yes checking for pty.h... yes checking for sgtty.h... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/byteorder.h... no checking for sys/ioctl.h... yes checking for sys/select.h... yes checking for sys/sockio.h... no checking for sys/stropts.h... no checking for sys/strredir.h... no checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking for time.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for utmp.h... yes checking for utmpx.h... yes checking for wordexp.h... yes checking for wchar.h... yes checking for X11/SM/SMlib.h... yes checking for net/if.h... yes checking for net/if_arp.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether struct tm is in sys/time.h or time.h... time.h checking for mode_t... yes checking for uid_t... yes checking for gid_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for working nl_langinfo... yes checking for XPointer... yes checking for struct utmp... yes checking for ut_host in utmp struct... yes checking for ut_pid in utmp struct... yes checking for struct utmpx... yes checking for ut_host in utmpx struct... yes checking for ut_session in utmpx struct... yes checking for struct lastlog... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of int *... 8 checking for working chown... yes checking for fork... yes checking for vfork... yes checking for vprintf... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking whether lstat accepts an empty string... no checking whether setpgrp requires zero arguments... yes checking for getcwd... yes checking for getpt... yes checking for _getpty... no checking for getpwuid... yes checking for grantpt... yes checking for isastream... no checking for nanosleep... yes checking for openpty... yes checking for putenv... yes checking for revoke... no checking for select... yes checking for setlocale... yes checking for seteuid... yes checking for setpgrp... yes checking for setpgid... yes checking for setreuid... yes checking for setsid... yes checking for setutent... yes checking for socket... yes checking for strcasestr... yes checking for strchr... yes checking for strdup... yes checking for strndup... yes checking for strrchr... yes checking for ttyslot... yes checking for unlockpt... yes checking for unsetenv... yes checking for updwtmp... yes checking for updwtmpx... yes checking for xsetlocale... no configure: checking for pty ranges... checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating share/Makefile config.status: creating config.h config.status: executing depfiles commands Configurations: Maintenance: Debug mode : no Private string functions : no Rarely used features : yes Scroll features: Keep scroll : yes Scroll on selection : yes Mouse wheel scroll : yes Slip mouse wheel scroll : no RXVT style scrollbar : yes NeXT style scrollbar : yes Xterm style scrollbar : yes Plain style scrollbar : yes SGI IRIX style scrollbar : yes Half shadow scrollbar : yes Logging features: Support utmp records : yes Support wtmp records : yes Support lastlog records : yes Support X session manager : yes Use utempter library : no Visual features: Support line space : yes 24 bits color mode : yes 256 color mode : yes Blink cursor : yes Blank pointer : yes Color text shadow : no Smart resize : no Menu bar : no Background features: Background image : yes XPM background image : yes JPEG background image : yes PNG background image : yes Transparent background : yes Background tinting : yes (XRender) Multi-language and font features: Freetype Font : yes X Input Method : yes Greek keyboard : yes CJK multichar language : yes Default encoding method : noenc System features: TTY/PTY type : OPENPTY TTY gid : yes Backspace key : yes Delete key : yes Use fifo : yes X resources : yes X default resources : no Swap screen : yes Old selection : no Options: Terminal name : rxvt Maximal profiles : 5 Maximal tabs : 15 Extra height% of active tab : 20 Radius% of tab corners : 100 Line space : 0 Internal border width : 0 External border width : 0 Saved lines in scroll : 100 + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o grkelot.o grkelot.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:467: grkelot.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o mjpg.o mjpg.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:467: mjpg.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar-sgi.o scrollbar-sgi.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:467: scrollbar-sgi.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o menubar.o menubar.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o netdisp.o netdisp.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o ptytty.o ptytty.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o rxvtmem.o rxvtmem.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o tabbar.o tabbar.c tabbar.c: In function 'draw_string': tabbar.c:378:41: error: passing argument 13 of 'rxvt_draw_string_xft' from incompatible pointer type [-Wincompatible-pointer-types] 378 | x, y, buf, len, XftDrawStringUtf8); | ^~~~~~~~~~~~~~~~~ | | | void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int) {aka void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)} In file included from rxvt.h:1727, from tabbar.c:29: protos.h:229:16: note: expected 'void (*)(void)' but argument is of type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)'} 229 | void (*xftdraw_string)()); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from rxvt.h:353: /usr/include/X11/Xft/Xft.h:221:1: note: 'XftDrawStringUtf8' declared here 221 | XftDrawStringUtf8 (XftDraw *draw, | ^~~~~~~~~~~~~~~~~ tabbar.c:396:41: error: passing argument 13 of 'rxvt_draw_string_xft' from incompatible pointer type [-Wincompatible-pointer-types] 396 | x, y, str, len, XftDrawString8); | ^~~~~~~~~~~~~~ | | | void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int) {aka void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)} protos.h:229:16: note: expected 'void (*)(void)' but argument is of type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)'} 229 | void (*xftdraw_string)()); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/X11/Xft/Xft.h:194:1: note: 'XftDrawString8' declared here 194 | XftDrawString8 (XftDraw *draw, | ^~~~~~~~~~~~~~ tabbar.c:415:55: error: passing argument 9 of 'rxvt_draw_string_x11' from incompatible pointer type [-Wincompatible-pointer-types] 415 | clipRegion, x, y, str, len/2, XDrawString16); | ^~~~~~~~~~~~~ | | | int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int) {aka int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)} protos.h:223:49: note: expected 'int (*)(void)' but argument is of type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} 223 | int x, int y, char* str, int len, int (*draw_string)()); | ~~~~~~^~~~~~~~~~~~~~ In file included from rxvt.h:222: /usr/include/X11/Xlib.h:2424:12: note: 'XDrawString16' declared here 2424 | extern int XDrawString16( | ^~~~~~~~~~~~~ tabbar.c:421:53: error: passing argument 9 of 'rxvt_draw_string_x11' from incompatible pointer type [-Wincompatible-pointer-types] 421 | clipRegion, x, y, str, len, XDrawString); | ^~~~~~~~~~~ | | | int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)} protos.h:223:49: note: expected 'int (*)(void)' but argument is of type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} 223 | int x, int y, char* str, int len, int (*draw_string)()); | ~~~~~~^~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ tabbar.c:441:37: error: passing argument 13 of 'rxvt_draw_string_xft' from incompatible pointer type [-Wincompatible-pointer-types] 441 | x, y, str, len, XftDrawString8); | ^~~~~~~~~~~~~~ | | | void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int) {aka void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)} protos.h:229:16: note: expected 'void (*)(void)' but argument is of type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)'} 229 | void (*xftdraw_string)()); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/include/X11/Xft/Xft.h:194:1: note: 'XftDrawString8' declared here 194 | XftDrawString8 (XftDraw *draw, | ^~~~~~~~~~~~~~ tabbar.c:456:49: error: passing argument 9 of 'rxvt_draw_string_x11' from incompatible pointer type [-Wincompatible-pointer-types] 456 | clipRegion, x, y, str, len, XDrawString); | ^~~~~~~~~~~ | | | int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int) {aka int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)} protos.h:223:49: note: expected 'int (*)(void)' but argument is of type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} 223 | int x, int y, char* str, int len, int (*draw_string)()); | ~~~~~~^~~~~~~~~~~~~~ /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ tabbar.c: In function 'rxvt_tabbar_draw_buttons': tabbar.c:1024:21: warning: variable 'frame' set but not used [-Wunused-but-set-variable] 1024 | unsigned long frame; | ^~~~~ tabbar.c: In function 'rxvt_tabbar_dispatcher': tabbar.c:1719:24: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1719 | register int x, y, z, but; | ^ tabbar.c: In function 'rxvt_append_page': tabbar.c:1287:9: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 1287 | getcwd (cwd, PATH_MAX); | ^~~~~~~~~~~~~~~~~~~~~~ tabbar.c:1350:13: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 1350 | chdir( cwd ); | ^~~~~~~~~~~~ make[2]: *** [Makefile:467: tabbar.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o rxvt.o rxvt.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar-plain.o scrollbar-plain.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar-xterm.o scrollbar-xterm.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o screen.o screen.c screen.c: In function 'rxvt_scr_alloc': screen.c:281:21: warning: variable 'ncol' set but not used [-Wunused-but-set-variable] 281 | unsigned int ncol, nrow, total_rows; | ^~~~ screen.c: In function 'rxvt_draw_string_xft': screen.c:2836:29: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 2836 | else if( xftdraw_string == XftDrawStringUtf8 ) | ^~ screen.c:2844:24: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 2844 | if( xftdraw_string == XftDrawStringUtf8 ) | ^~ screen.c:2806:8: error: too many arguments to function 'xftdraw_string'; expected 0, have 7 2806 | (xftdraw_string( (xdraw), (color), (font), (x), (y), (str), (len)))) | ^~~~~~~~~~~~~~ ~~~~~~~ screen.c:2894:5: note: in expansion of macro 'XFTDRAW_STRING' 2894 | XFTDRAW_STRING (win, fore, font, x, y, str, len); | ^~~~~~~~~~~~~~ screen.c: In function 'rxvt_draw_string_x11': screen.c:2995:5: error: too many arguments to function 'draw_string'; expected 0, have 7 2995 | draw_string (r->Xdisplay, win, gc, x, y, str, len); | ^~~~~~~~~~~ ~~~~~~~~~~~ screen.c: In function 'rxvt_scr_draw_string': screen.c:3028:28: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)'} [-Wincompatible-pointer-types] 3028 | xftdraw_string = XftDrawString8; break; | ^ In file included from rxvt.h:353, from screen.c:34: /usr/include/X11/Xft/Xft.h:194:1: note: 'XftDrawString8' declared here 194 | XftDrawString8 (XftDraw *draw, | ^~~~~~~~~~~~~~ screen.c:3033:28: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar16 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const short unsigned int *, int)'} [-Wincompatible-pointer-types] 3033 | xftdraw_string = XftDrawString16; break; | ^ /usr/include/X11/Xft/Xft.h:203:1: note: 'XftDrawString16' declared here 203 | XftDrawString16 (XftDraw *draw, | ^~~~~~~~~~~~~~~ screen.c:3040:30: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3040 | adjust = (XftDrawString8 == xftdraw_string) ? 0 : 1; | ^~ screen.c:3093:28: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const FcChar8 *, int)' {aka 'void (*)(XftDraw *, const XftColor *, XftFont *, int, int, const unsigned char *, int)'} [-Wincompatible-pointer-types] 3093 | xftdraw_string = XftDrawStringUtf8; | ^ /usr/include/X11/Xft/Xft.h:221:1: note: 'XftDrawStringUtf8' declared here 221 | XftDrawStringUtf8 (XftDraw *draw, | ^~~~~~~~~~~~~~~~~ screen.c:3121:35: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3121 | if (XftDrawStringUtf8 == xftdraw_string) | ^~ screen.c:3133:37: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3133 | && (XftDrawStringUtf8 == xftdraw_string) | ^~ screen.c:3154:35: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3154 | && (XftDrawString16 == xftdraw_string) | ^~ screen.c:3169:55: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3169 | r->TermWin.xftfnmono && (XftDrawString8 == xftdraw_string) | ^~ screen.c:3192:35: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 3192 | if (XftDrawStringUtf8 == xftdraw_string) | ^~ screen.c:3238:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 3238 | draw_string = XDrawString; break; | ^ In file included from rxvt.h:222: /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ screen.c:3240:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 3240 | draw_string = XDrawString16; break; | ^ /usr/include/X11/Xlib.h:2424:12: note: 'XDrawString16' declared here 2424 | extern int XDrawString16( | ^~~~~~~~~~~~~ screen.c:3242:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 3242 | draw_string = XDrawImageString; break; | ^ /usr/include/X11/Xlib.h:2332:12: note: 'XDrawImageString' declared here 2332 | extern int XDrawImageString( | ^~~~~~~~~~~~~~~~ screen.c:3244:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 3244 | draw_string = XDrawImageString16; break; | ^ /usr/include/X11/Xlib.h:2342:12: note: 'XDrawImageString16' declared here 2342 | extern int XDrawImageString16( | ^~~~~~~~~~~~~~~~~~ screen.c:3247:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 3247 | draw_string = XDrawString; break; | ^ /usr/include/X11/Xlib.h:2414:12: note: 'XDrawString' declared here 2414 | extern int XDrawString( | ^~~~~~~~~~~ screen.c:3251:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 3251 | draw_string = XDrawString16; break; | ^ /usr/include/X11/Xlib.h:2424:12: note: 'XDrawString16' declared here 2424 | extern int XDrawString16( | ^~~~~~~~~~~~~ screen.c:3254:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const char *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const char *, int)'} [-Wincompatible-pointer-types] 3254 | draw_string = XDrawImageString; break; | ^ /usr/include/X11/Xlib.h:2332:12: note: 'XDrawImageString' declared here 2332 | extern int XDrawImageString( | ^~~~~~~~~~~~~~~~ screen.c:3258:29: error: assignment to 'int (*)(void)' from incompatible pointer type 'int (*)(Display *, Drawable, struct _XGC *, int, int, const XChar2b *, int)' {aka 'int (*)(Display *, long unsigned int, struct _XGC *, int, int, const XChar2b *, int)'} [-Wincompatible-pointer-types] 3258 | draw_string = XDrawImageString16; break; | ^ /usr/include/X11/Xlib.h:2342:12: note: 'XDrawImageString16' declared here 2342 | extern int XDrawImageString16( | ^~~~~~~~~~~~~~~~~~ screen.c: In function 'rxvt_selection_request_by_sel': screen.c:4948:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 4948 | if (x < 0 || x >= VT_WIDTH(r) || y < 0 || y >= VT_HEIGHT(r)) | ^~ screen.c:4951:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 4951 | r->h->selection_request_time = tm; | ^ make[2]: *** [Makefile:467: screen.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar-rxvt.o scrollbar-rxvt.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o logging.o logging.c logging.c: In function 'rxvt_write_bsd_utmp': logging.c:360:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 360 | write(fd, wu, sizeof(struct utmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c: In function 'rxvt_update_lastlog': logging.c:466:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 466 | write(fd, &ll, sizeof(ll)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from logging.c:32: rxvt.h:1755:33: warning: '__builtin_strncpy' specified bound 32 equals destination size [-Wstringop-truncation] 1755 | # define STRNCPY(x, y, z) strncpy((char *)(x), (const char *)(y), (z)) | ^~~~~~~ logging.c:450:5: note: in expansion of macro 'STRNCPY' 450 | STRNCPY(ll.ll_line, pty, sizeof(ll.ll_line)); | ^~~~~~~ rxvt.h:1755:33: warning: '__builtin_strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 1755 | # define STRNCPY(x, y, z) strncpy((char *)(x), (const char *)(y), (z)) | ^~~~~~~ logging.c:451:5: note: in expansion of macro 'STRNCPY' 451 | STRNCPY(ll.ll_host, host, sizeof(ll.ll_host)); | ^~~~~~~ logging.c: In function 'rxvt_makeutent': rxvt.h:1755:33: warning: '__builtin_strncpy' specified bound 5 equals destination size [-Wstringop-truncation] 1755 | # define STRNCPY(x, y, z) strncpy((char *)(x), (const char *)(y), (z)) | ^~~~~~~ logging.c:102:9: note: in expansion of macro 'STRNCPY' 102 | STRNCPY(ut_id, (pty + 3), sizeof(ut_id)); | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o debug.o debug.c debug.c: In function 'rxvt_dbg_usage': debug.c:279:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 279 | for (i = 0; i < DBG_IDX_MAX; i ++) | ^~~ debug.c:281:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 281 | fprintf (stderr, " 0xffffffff : ALL\n"); | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o encoding.o encoding.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar-next.o scrollbar-next.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o scrollbar.o scrollbar.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o pixmap.o pixmap.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o misc.o misc.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o transparent.o transparent.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o xdefaults.o xdefaults.c xdefaults.c: In function 'rxvt_usage': xdefaults.c:757:47: warning: field width specifier '*' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 757 | fprintf(stdout, " %s%s %-*s%s%s\n", | ~~^~ | | | int 758 | (optList_isBool(i) ? "-/+" : "-"), optList[i].opt, 759 | (INDENT - STRLEN(optList[i].opt) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 760 | + (optList_isBool(i) ? 0 : 2)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} xdefaults.c:789:45: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 789 | fprintf(stdout, " %s: %*s%s\n", | ~^~ | | | int 790 | optList[i].kw, 791 | (INDENT - STRLEN(optList[i].kw)), "", /* XXX */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | size_t {aka long unsigned int} xdefaults.c:711:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 711 | write(STDOUT_FILENO, releasestring, sizeof(releasestring) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdefaults.c:712:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 712 | write(STDOUT_FILENO, optionsstring, sizeof(optionsstring) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdefaults.c:713:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 713 | write(STDOUT_FILENO, APL_NAME, sizeof(APL_NAME) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xdefaults.c: In function 'rxvt_get_xdefaults': xdefaults.c:1207:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 253 [-Wformat-truncation=] 1207 | "%.*s%d.%s", offset, str, profileNum, kw ); | ^~ ~~ In file included from /usr/include/stdio.h:970, from rxvt.h:57, from xdefaults.c:29: In function 'snprintf', inlined from 'rxvt_get_xdefaults' at xdefaults.c:1206:4: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 3 and 2147483915 bytes into a destination of size 255 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o strings.o strings.c strings.c: In function 'ma_memmove': strings.c:404:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 404 | if ((unsigned int)d < (unsigned int)s) { | ^ strings.c:404:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 404 | if ((unsigned int)d < (unsigned int)s) { | ^ strings.c:406:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 406 | i = (-(unsigned int)dst) & (sizeof (unsigned int*) - 1); | ^ strings.c:408:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 408 | i == ((-(unsigned int)src) & (SIZEOF_INT_P - 1))) { | ^ strings.c:431:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 431 | i = ((unsigned int)dst) & (sizeof (unsigned int*) - 1); | ^ strings.c:433:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 433 | i == (((unsigned int)src) & (SIZEOF_INT_P - 1))) { | ^ strings.c: In function 'ma_memset': strings.c:486:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 486 | if ((i = ((-(unsigned int)p) & (SIZEOF_INT_P - 1)))) { | ^ strings.c:498:25: warning: left shift count >= width of type [-Wshift-count-overflow] 498 | val |= (val << 32); | ^~ strings.c: In function 'ma_strcasestr': strings.c:526:1: warning: old-style function definition [-Wold-style-definition] 526 | ma_strcasestr (phaystack, pneedle) | ^~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o mpng.o mpng.c mpng.c: In function 'PngReadFileToPixmap': mpng.c:85:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 85 | fread(sig, 1, 8, ifile); | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o macros.o macros.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o main.o main.c main.c: In function 'rxvt_set_window_color': main.c:2255:21: warning: variable 'color_set' set but not used [-Wunused-but-set-variable] 2255 | int color_set; | ^~~~~~~~~ main.c: In function 'rxvt_privileges': main.c:638:13: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 638 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ main.c:639:13: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 639 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ main.c:646:13: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 646 | seteuid(g_euid); | ^~~~~~~~~~~~~~~ main.c:647:13: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 647 | setegid(g_egid); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o init.o init.c init.c: In function 'rxvt_get_ourmods': init.c:2404:13: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations] 2404 | switch (XKeycodeToKeysym(r->Xdisplay, kc[k], 0)) | ^~~~~~ In file included from rxvt.h:222, from init.c:32: /usr/include/X11/Xlib.h:1683:15: note: declared here 1683 | extern KeySym XKeycodeToKeysym( | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' gcc -DPKG_CONF_DIR=\"/etc/mrxvt\" -I. -I.. -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 -Wall -fPIC -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c -o command.o command.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mrxvt-0.5.4-build/mrxvt-0.5.4/src' make[1]: *** [Makefile:392: all-recursive] Error 1 make: *** [Makefile:333: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EVqmmJ (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.EVqmmJ (%build) I: [iurt_root_command] ERROR: chroot