Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/bsp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671805099.724988/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '602162484dbc4c96a8d35ac56a9e0134', '-D', '/var/lib/mock/fedora-rawhide-i686-1671805099.724988/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/bsp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1671062400 Wrote: /builddir/build/SRPMS/bsp-5.2-31.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/bsp.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1671805099.724988/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '70459959f2ec45f29bfba9288c319b43', '-D', '/var/lib/mock/fedora-rawhide-i686-1671805099.724988/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.yas_yhfo:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/bsp.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1671062400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xjIPM8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bsp-5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bsp-5.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd bsp-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv -f ISO_8859-2 -t UTF8 bsp.6 + mv bsp.6.tmp bsp.6 + echo 'Patch #0 (bsp-configure-c99.patch):' Patch #0 (bsp-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vkVfJm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bsp-5.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-23 14:19:19.060930876 +0000 +++ ./configure 2022-12-23 14:19:19.070930764 +0000 @@ -5131,7 +5131,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -5225,7 +5225,7 @@ #if defined (__stub__doprnt) || defined (__stub____doprnt) choke me #else -char (*f) () = _doprnt; +__attribute__ ((used)) char (*f) () = _doprnt; #endif #ifdef __cplusplus } @@ -5332,7 +5332,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for i686-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... none checking whether compiler supports -Wall... yes checking whether compiler supports -Wextra... yes checking whether compiler supports -ffast-math... yes checking whether compiler supports -pipe... yes checking whether compiler supports -march=native... 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 for i686-redhat-linux-gnu-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) none checking for inline... inline checking whether byte ordering is bigendian... no checking whether make sets $(MAKE)... (cached) yes checking for sqrt in -lm... yes checking if malloc debugging is wanted... no checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for isatty... yes checking for unlink... yes checking for tmpfile... yes configure: creating ./config.status config.status: creating Makefile config.status: creating test-wads/Makefile config.status: creating DOS/Makefile config.status: creating Win32/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' LIBS=-lm /usr/bin/make all-recursive Making all in test-wads make[2]: Nothing to be done for 'all'. Making all in DOS make[2]: Nothing to be done for 'all'. Making all in Win32 make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c blockmap.c blockmap.c: In function 'blockmap_assemble': blockmap.c:274:19: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 274 | swapshort(blockmap); | ^~~~~~~~ | | | short int * In file included from blockmap.c:27: bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ blockmap.c:275:27: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 275 | swapshort(blockmap+1); | ~~~~~~~~^~ | | | short int * bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ blockmap.c:276:27: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 276 | swapshort(blockmap+2); | ~~~~~~~~^~ | | | short int * bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ blockmap.c:277:27: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 277 | swapshort(blockmap+3); | ~~~~~~~~^~ | | | short int * bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ blockmap.c:301:52: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 301 | swapshort(blockmap + offset); | ~~~~~~~~~^~~~~~~~ | | | short int * bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ blockmap.c:311:42: warning: pointer targets in passing argument 1 of 'swapshort' differ in signedness [-Wpointer-sign] 311 | swapshort(blockmap+offset+i); | ~~~~~~~~~~~~~~~^~ | | | short int * bsp.h:64:26: note: expected 'uint16_t *' {aka 'short unsigned int *'} but argument is of type 'short int *' 64 | void swapshort(uint16_t *i); | ~~~~~~~~~~^ make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c bsp.c bsp.c: In function 'OpenWadFile': bsp.c:118:12: warning: taking address of packed member of 'struct wad_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 118 | swaplong(&wad.num_entries); | ^~~~~~~~~~~~~~~~ bsp.c:119:12: warning: taking address of packed member of 'struct wad_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 119 | swaplong(&wad.dir_start); | ^~~~~~~~~~~~~~ bsp.c:137:13: warning: taking address of packed member of 'struct directory' may result in an unaligned pointer value [-Waddress-of-packed-member] 137 | swaplong(&(dir->start)); | ^~~~~~~~~~~~~ bsp.c:138:13: warning: taking address of packed member of 'struct directory' may result in an unaligned pointer value [-Waddress-of-packed-member] 138 | swaplong(&(dir->length)); | ^~~~~~~~~~~~~~ bsp.c: In function 'write_lump': bsp.c:276:11: warning: taking address of packed member of 'struct directory' may result in an unaligned pointer value [-Waddress-of-packed-member] 276 | swaplong(&(lump->dir->start)); | ^~~~~~~~~~~~~~~~~~~ bsp.c:277:11: warning: taking address of packed member of 'struct directory' may result in an unaligned pointer value [-Waddress-of-packed-member] 277 | swaplong(&(lump->dir->length)); | ^~~~~~~~~~~~~~~~~~~~ bsp.c: In function 'main': bsp.c:512:11: warning: taking address of packed member of 'struct wad_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 512 | swaplong(&(wad.num_entries)); | ^~~~~~~~~~~~~~~~~~ bsp.c:513:11: warning: taking address of packed member of 'struct wad_header' may result in an unaligned pointer value [-Waddress-of-packed-member] 513 | swaplong(&(wad.dir_start)); | ^~~~~~~~~~~~~~~~ bsp.c: In function 'OpenWadFile': bsp.c:127:2: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | fread(direc,sizeof(struct directory),wad.num_entries,infile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bsp.c: In function 'add_lump': bsp.c:260:4: warning: 'strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 260 | strncpy(l->dir->name,name,8); | ^ make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c endian.c make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c funcs.c make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c level.c make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c makenode.c makenode.c: In function 'CreateNode': makenode.c:385:28: warning: taking address of packed member of 'struct Node' may result in an unaligned pointer value [-Waddress-of-packed-member] 385 | FindLimits(lefts,tn->leftbox); /* Find limits of vertices */ | ~~^~~~~~~~~ makenode.c:390:48: warning: taking address of packed member of 'struct Node' may result in an unaligned pointer value [-Waddress-of-packed-member] 390 | tn->nextl = CreateNode(lefts,tn->leftbox); /* still segs remaining*/ | ~~^~~~~~~~~ makenode.c:400:30: warning: taking address of packed member of 'struct Node' may result in an unaligned pointer value [-Waddress-of-packed-member] 400 | FindLimits(rights, tn->rightbox); /* Find limits of vertices*/ | ~~^~~~~~~~~~ makenode.c:405:50: warning: taking address of packed member of 'struct Node' may result in an unaligned pointer value [-Waddress-of-packed-member] 405 | tn->nextr = CreateNode(rights, tn->rightbox); /* still segs remaining*/ | ~~^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c picknode.c make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' picknode.c: In function 'PickNode_visplane': picknode.c:232:8: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 232 | else | ^~~~ picknode.c:255:10: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 255 | if (slen < l && (cost+=factor) >= bestcost) | ^~ make[2]: Entering directory '/builddir/build/BUILD/bsp-5.2' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o bsp blockmap.o bsp.o endian.o funcs.o level.o makenode.o picknode.o -lm make[2]: Leaving directory '/builddir/build/BUILD/bsp-5.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9w5ka7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 ++ dirname /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bsp-5.2 + install -D -p -m 755 bsp /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386//usr/bin/bsp + install -D -p -m 644 bsp.6 /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386//usr/share/man/man6/bsp.6 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 5.2-31.fc38 --unique-debug-suffix -5.2-31.fc38.i386 --unique-debug-src-base bsp-5.2-31.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/bsp-5.2 extracting debug info from /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/bin/bsp original debug info size: 104kB, size after compression: 96kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 150 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: bsp-5.2-31.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.lNSyQ4 + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + DOCDIR=/builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr AUTHORS /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr ChangeLog /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr INSTALL /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr NEWS /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr README /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr visplane.txt /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + cp -pr test-wads/ /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/doc/bsp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7ST4sL + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + LICENSEDIR=/builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/licenses/bsp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/licenses/bsp + cp -pr COPYING /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386/usr/share/licenses/bsp + RPM_EC=0 ++ jobs -p + exit 0 Provides: bsp = 5.2-31.fc38 bsp(x86-32) = 5.2-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libm.so.6 libm.so.6(GLIBC_2.0) rtld(GNU_HASH) Processing files: bsp-debugsource-5.2-31.fc38.i686 Provides: bsp-debugsource = 5.2-31.fc38 bsp-debugsource(x86-32) = 5.2-31.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: bsp-debuginfo-5.2-31.fc38.i686 Provides: bsp-debuginfo = 5.2-31.fc38 bsp-debuginfo(x86-32) = 5.2-31.fc38 debuginfo(build-id) = 1beb45c5549dd41fb61f444613dde083f99747cf Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: bsp-debugsource(x86-32) = 5.2-31.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 Wrote: /builddir/build/RPMS/bsp-debuginfo-5.2-31.fc38.i686.rpm Wrote: /builddir/build/RPMS/bsp-5.2-31.fc38.i686.rpm Wrote: /builddir/build/RPMS/bsp-debugsource-5.2-31.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TB0zJR + umask 022 + cd /builddir/build/BUILD + cd bsp-5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bsp-5.2-31.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.hOzlI4 + umask 022 + cd /builddir/build/BUILD + rm -rf bsp-5.2 bsp-5.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0