D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/prboom-2.5.0-26.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8n9wqz + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf prboom-2.5.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/prboom-2.5.0.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd prboom-2.5.0 + rm -rf /home/pterjan/rpmbuild/BUILD/prboom-2.5.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/prboom-2.5.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/prboom-2.5.0-libpng-1.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/prboom-fix-doom-wad-lookup-paths.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6q4k9p + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd prboom-2.5.0 + '[' 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 autotools autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:11: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:11: You should use the 'AC_CONFIG_HEADERS' macro instead. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1293: AM_CONFIG_HEADER is expanded from... configure.ac:11: the top level configure.ac:14: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:14: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:14: the top level configure.ac:26: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:26: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:26: the top level configure.ac:52: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... autotools/ac_c_compile_flags.m4:1: AC_C_COMPILE_FLAGS is expanded from... configure.ac:52: the top level configure.ac:54: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:54: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:54: the top level configure.ac:57: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:57: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... autotools/ac_c_compile_flags.m4:1: AC_C_COMPILE_FLAGS is expanded from... configure.ac:57: the top level configure.ac:60: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:60: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... autotools/ac_c_compile_flags.m4:1: AC_C_COMPILE_FLAGS is expanded from... configure.ac:60: the top level configure.ac:65: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:65: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:65: the top level configure.ac:73: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:73: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... autotools/ac_cpu_optimisations.m4:3: AC_CPU_OPTIMISATIONS is expanded from... configure.ac:73: the top level configure.ac:73: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:73: 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:1534: AC_ARG_ENABLE is expanded from... autotools/ac_cpu_optimisations.m4:3: AC_CPU_OPTIMISATIONS is expanded from... configure.ac:73: the top level configure.ac:73: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:73: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... autotools/ac_c_compile_flags.m4:1: AC_C_COMPILE_FLAGS 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:2821: _AC_COMPILE_IFELSE is expanded from... ./lib/autoconf/general.m4:2837: AC_COMPILE_IFELSE is expanded from... ./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:1534: AC_ARG_ENABLE is expanded from... autotools/ac_cpu_optimisations.m4:3: AC_CPU_OPTIMISATIONS is expanded from... configure.ac:73: the top level configure.ac:76: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:76: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... autotools/ac_c_compile_flags.m4:1: AC_C_COMPILE_FLAGS is expanded from... configure.ac:76: the top level configure.ac:90: warning: The macro 'AC_DECL_SYS_SIGLIST' is obsolete. configure.ac:90: You should run autoupdate. ./lib/autoconf/specific.m4:40: AC_DECL_SYS_SIGLIST is expanded from... configure.ac:90: the top level configure.ac:114: warning: The macro 'ac_cv_prog_gcc' is obsolete. configure.ac:114: You should run autoupdate. ./lib/autoconf/c.m4:448: ac_cv_prog_gcc is expanded from... configure.ac:114: the top level configure.ac:124: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:124: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:124: the top level configure.ac:129: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:129: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... configure.ac:129: the top level configure.ac:161: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:161: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:161: the top level configure.ac:164: warning: The macro 'AC_TRY_COMPILE' is obsolete. configure.ac:164: You should run autoupdate. ./lib/autoconf/general.m4:2845: AC_TRY_COMPILE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB 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:1553: AC_ARG_WITH is expanded from... configure.ac:164: the top level configure.ac:204: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:204: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:204: the top level configure.ac:210: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:210: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:210: the top level configure.ac:211: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:211: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:211: the top level configure.ac:232: warning: AC_OUTPUT should be used without arguments. configure.ac:232: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:37: installing 'autotools/compile' data/Makefile.am:10: warning: wildcard graphics/*.ppm sprites/*.ppm lumps/*.lmp sounds/*.wav: non-POSIX variable name data/Makefile.am:10: (probably a GNU make extension) autoreconf: 'autotools/install-sh' is updated autoreconf: Leaving directory '.' + export 'CPPFLAGS= -fcommon' + CPPFLAGS=' -fcommon' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -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=2 -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=2 -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=2 -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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' + 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 ./autotools/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./autotools/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./autotools/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./autotools/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./autotools/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./autotools/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-cpu-opt --with-waddir=/usr/share/games/doom --disable-i386-asm --enable-gl checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c 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 checking whether to use x86 asm versions of some functions... no 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 ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking whether compiler supports -Wall... yes checking whether compiler supports -Wno-unused... yes checking whether compiler supports -Wno-switch... yes checking if malloc debugging is wanted... no checking whether compiler supports -Wextra... yes checking whether compiler supports -Wno-missing-field-initializers... yes checking whether compiler supports -Winline... yes checking whether compiler supports -Wwrite-strings... yes checking whether compiler supports -Wundef... yes checking whether compiler supports -Wbad-function-cast... yes checking whether compiler supports -Wcast-align... yes checking whether compiler supports -Wcast-qual... yes checking whether compiler supports -Wdeclaration-after-statement... yes checking whether compiler supports -ffast-math... yes checking whether compiler supports -O2... yes checking whether compiler supports -fomit-frame-pointer... yes checking for an ANSI C-conforming const... yes checking for inline... inline 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 whether byte ordering is bigendian... no checking for uid_t... yes checking for gid_t... yes checking for size_t... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether sys_siglist is declared... no checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking for asm/byteorder.h... yes checking for sched.h... yes checking for stricmp... no checking for strnicmp... no checking for min... no checking for max... no checking for getopt... yes checking for inet_aton... yes checking for inet_pton... yes checking for inet_ntop... yes checking for snprintf... yes checking for vsnprintf... yes checking for mmap... yes checking for usleep... yes checking for sched_setaffinity... yes checking for pow in -lm... yes checking for OpenGL support... 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 checking for SDL... yes checking for SDL_JoystickGetAxis... yes checking for Mix_OpenAudio in -lSDL_mixer... yes checking for SDLNet_UDP_Bind in -lSDL_net... yes checking for png_create_info_struct in -lpng... yes checking how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/POSIX/Makefile config.status: creating src/SDL/Makefile config.status: creating src/MAC/Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating ICONS/Makefile config.status: creating VisualC6/Makefile config.status: creating VisualC8/Makefile config.status: creating prboom.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in data make[2]: Nothing to be done for 'all'. Making all in src Making all in SDL make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_main.o i_main.c i_main.c: In function 'main': i_main.c:359:10: error: assignment to 'const char * const*' from incompatible pointer type 'char **' [-Wincompatible-pointer-types] 359 | myargv = argv; | ^ make[3]: *** [Makefile:369: i_main.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_joy.o i_joy.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sshot.o i_sshot.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_network.o i_network.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_system.o i_system.c i_system.c: In function 'I_FindFile': i_system.c:358:17: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] 358 | for (i = 0; i < sizeof(search)/sizeof(*search); i++) { | ^ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_video.o i_video.c i_video.c: In function 'I_CalculateRes': i_video.c:519:27: warning: pointer targets in passing argument 1 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~ | | | unsigned int * i_video.c:453:39: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~ i_video.c:519:35: warning: pointer targets in passing argument 2 of 'I_ClosestResolution' differ in signedness [-Wpointer-sign] 519 | I_ClosestResolution(&width, &height, SDL_OPENGL|SDL_FULLSCREEN); | ^~~~~~~ | | | unsigned int * i_video.c:453:51: note: expected 'int *' but argument is of type 'unsigned int *' 453 | static void I_ClosestResolution (int *width, int *height, int flags) | ~~~~~^~~~~~ i_video.c: In function 'I_SkipFrame': i_video.c:281:8: warning: this statement may fall through [-Wimplicit-fallthrough=] 281 | if (!paused) | ^ i_video.c:283:3: note: here 283 | default: | ^~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' gcc -DHAVE_CONFIG_H -I. -I../.. -fcommon -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Wno-unused -Wno-switch -Wextra -Wno-missing-field-initializers -Winline -Wwrite-strings -Wundef -Wbad-function-cast -Wcast-align -Wcast-qual -Wdeclaration-after-statement -ffast-math -O2 -fomit-frame-pointer -I../../src -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o i_sound.o i_sound.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/prboom-2.5.0/src/SDL' make[2]: *** [Makefile:662: all-recursive] Error 1 make[1]: *** [Makefile:450: all-recursive] Error 1 make: *** [Makefile:368: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6q4k9p (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.6q4k9p (%build) I: [iurt_root_command] ERROR: chroot