Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.spec'], chrootPath='/var/lib/mock/f42-build-56584100-6544471/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '227b4d86f3414e6f9cd14f6d0c9c5290', '-D', '/var/lib/mock/f42-build-56584100-6544471/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/osmctools-0.9-15.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.spec'], chrootPath='/var/lib/mock/f42-build-56584100-6544471/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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', '6b9934deb7284f0bb7ba42b82bacfa65', '-D', '/var/lib/mock/f42-build-56584100-6544471/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.FbEZkU + umask 022 + cd /builddir/build/BUILD/osmctools-0.9-build + test -d /builddir/build/BUILD/osmctools-0.9-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/osmctools-0.9-build + /usr/bin/rm -rf /builddir/build/BUILD/osmctools-0.9-build + /usr/bin/mkdir -p /builddir/build/BUILD/osmctools-0.9-build + /usr/bin/mkdir -p /builddir/build/BUILD/osmctools-0.9-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tBJngy + umask 022 + cd /builddir/build/BUILD/osmctools-0.9-build + cd /builddir/build/BUILD/osmctools-0.9-build + rm -rf osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/osmctools-0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zKzXZ9 + umask 022 + cd /builddir/build/BUILD/osmctools-0.9-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3 + autoreconf -fvi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force 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 autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:5: installing './compile' configure.ac:3: installing './install-sh' configure.ac:3: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -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/lib64: + 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 + mv ./configure.backup ./configure + /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 ++ echo --runstatedir=/run + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for ppc64le-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for gzopen in -lz... yes 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 include/config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' gcc -DHAVE_CONFIG_H -I. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o osmupdate.o osmupdate.c make[1]: Leaving directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' osmupdate.c:183:15: error: cannot use keyword ‘false’ as enumeration constant 183 | typedef enum {false= 0,true= 1} bool; | ^~~~~ osmupdate.c:183:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards osmupdate.c:183:33: error: expected ‘;’, identifier or ‘(’ before ‘bool’ 183 | typedef enum {false= 0,true= 1} bool; | ^~~~ osmupdate.c:183:33: warning: useless type name in empty declaration make[1]: *** [Makefile:378: osmupdate.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' gcc -DHAVE_CONFIG_H -I. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o osmfilter.o osmfilter.c make[1]: Leaving directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' osmfilter.c:386:15: error: cannot use keyword ‘false’ as enumeration constant 386 | typedef enum {false= 0,true= 1} bool; | ^~~~~ osmfilter.c:386:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards osmfilter.c:386:33: error: expected ‘;’, identifier or ‘(’ before ‘bool’ 386 | typedef enum {false= 0,true= 1} bool; | ^~~~ osmfilter.c:386:33: warning: useless type name in empty declaration osmfilter.c: In function ‘stw__hash’: osmfilter.c:4201:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4201 | if((c= *s1++)==0 || --len<0) break; h+= c; | ^~ osmfilter.c:4201:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4201 | if((c= *s1++)==0 || --len<0) break; h+= c; | ^ osmfilter.c:4202:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4202 | if((c= *s1++)==0 || --len<0) break; h+= c<<8; | ^~ osmfilter.c:4202:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4202 | if((c= *s1++)==0 || --len<0) break; h+= c<<8; | ^ osmfilter.c:4203:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4203 | if((c= *s1++)==0 || --len<0) break; h+= c<<16; | ^~ osmfilter.c:4203:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4203 | if((c= *s1++)==0 || --len<0) break; h+= c<<16; | ^ osmfilter.c:4204:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4204 | if((c= *s1++)==0 || --len<0) break; h+= c<<24; | ^~ osmfilter.c:4204:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4204 | if((c= *s1++)==0 || --len<0) break; h+= c<<24; | ^ osmfilter.c:4207:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4207 | if((c= *s2++)==0 || --len<0) break; h+= c; | ^~ osmfilter.c:4207:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4207 | if((c= *s2++)==0 || --len<0) break; h+= c; | ^ osmfilter.c:4208:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4208 | if((c= *s2++)==0 || --len<0) break; h+= c<<8; | ^~ osmfilter.c:4208:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4208 | if((c= *s2++)==0 || --len<0) break; h+= c<<8; | ^ osmfilter.c:4209:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4209 | if((c= *s2++)==0 || --len<0) break; h+= c<<16; | ^~ osmfilter.c:4209:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4209 | if((c= *s2++)==0 || --len<0) break; h+= c<<16; | ^ osmfilter.c:4210:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4210 | if((c= *s2++)==0 || --len<0) break; h+= c<<24; | ^~ osmfilter.c:4210:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4210 | if((c= *s2++)==0 || --len<0) break; h+= c<<24; | ^ osmfilter.c: In function ‘oo_main’: osmfilter.c:6105:7: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 6105 | if(maxrewind<0) | ^~ osmfilter.c:6112:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 6112 | oo__close(); | ^~~~~~~~~ make[1]: *** [Makefile:378: osmfilter.o] Error 1 make[1]: Entering directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' gcc -DHAVE_CONFIG_H -I. -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -c -o osmconvert.o osmconvert.c osmconvert.c:474:15: error: cannot use keyword ‘false’ as enumeration constant 474 | typedef enum {false= 0,true= 1} bool; | ^~~~~ osmconvert.c:474:15: note: ‘false’ is a keyword with ‘-std=c23’ onwards osmconvert.c:474:33: error: expected ‘;’, identifier or ‘(’ before ‘bool’ 474 | typedef enum {false= 0,true= 1} bool; | ^~~~ osmconvert.c:474:33: warning: useless type name in empty declaration osmconvert.c: In function ‘pbf_jump’: osmconvert.c:1520:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1520 | while(*p & 0x80) p++; p++; // jump over id | ^~~~~ osmconvert.c:1520:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1520 | while(*p & 0x80) p++; p++; // jump over id | ^ osmconvert.c:1521:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1521 | while(*p & 0x80) p++; p++; // jump over data | ^~~~~ osmconvert.c:1521:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1521 | while(*p & 0x80) p++; p++; // jump over data | ^ osmconvert.c:1524:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1524 | while(*p & 0x80) p++; p++; // jump over id | ^~~~~ osmconvert.c:1524:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1524 | while(*p & 0x80) p++; p++; // jump over id | ^ osmconvert.c:1528:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1528 | while(*p & 0x80) p++; p++; // jump over id | ^~~~~ osmconvert.c:1528:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1528 | while(*p & 0x80) p++; p++; // jump over id | ^ osmconvert.c:1533:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1533 | while(*p & 0x80) p++; p++; // jump over id | ^~~~~ osmconvert.c:1533:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1533 | while(*p & 0x80) p++; p++; // jump over id | ^ osmconvert.c: In function ‘pbf_intjump’: osmconvert.c:1554:3: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation] 1554 | while(*p & 0x80) p++; p++; | ^~~~~ osmconvert.c:1554:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’ 1554 | while(*p & 0x80) p++; p++; | ^ osmconvert.c: In function ‘pstw__hash’: osmconvert.c:4675:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4675 | if((c= *s++)==0) break; h+= c; | ^~ osmconvert.c:4675:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4675 | if((c= *s++)==0) break; h+= c; | ^ osmconvert.c:4676:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4676 | if((c= *s++)==0) break; h+= c<<8; | ^~ osmconvert.c:4676:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4676 | if((c= *s++)==0) break; h+= c<<8; | ^ osmconvert.c:4677:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4677 | if((c= *s++)==0) break; h+= c<<16; | ^~ osmconvert.c:4677:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4677 | if((c= *s++)==0) break; h+= c<<16; | ^ osmconvert.c:4678:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4678 | if((c= *s++)==0) break; h+= c<<24; | ^~ osmconvert.c:4678:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4678 | if((c= *s++)==0) break; h+= c<<24; | ^ osmconvert.c:4679:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4679 | if((c= *s++)==0) break; h+= c<<4; | ^~ osmconvert.c:4679:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4679 | if((c= *s++)==0) break; h+= c<<4; | ^ osmconvert.c:4680:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4680 | if((c= *s++)==0) break; h+= c<<12; | ^~ osmconvert.c:4680:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4680 | if((c= *s++)==0) break; h+= c<<12; | ^ osmconvert.c:4681:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4681 | if((c= *s++)==0) break; h+= c<<20; | ^~ osmconvert.c:4681:29: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4681 | if((c= *s++)==0) break; h+= c<<20; | ^ osmconvert.c: In function ‘stw__hash’: osmconvert.c:7848:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7848 | if((c= *s1++)==0 || --len<0) break; h+= c; | ^~ osmconvert.c:7848:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7848 | if((c= *s1++)==0 || --len<0) break; h+= c; | ^ osmconvert.c:7849:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7849 | if((c= *s1++)==0 || --len<0) break; h+= c<<8; | ^~ osmconvert.c:7849:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7849 | if((c= *s1++)==0 || --len<0) break; h+= c<<8; | ^ osmconvert.c:7850:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7850 | if((c= *s1++)==0 || --len<0) break; h+= c<<16; | ^~ osmconvert.c:7850:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7850 | if((c= *s1++)==0 || --len<0) break; h+= c<<16; | ^ osmconvert.c:7851:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7851 | if((c= *s1++)==0 || --len<0) break; h+= c<<24; | ^~ osmconvert.c:7851:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7851 | if((c= *s1++)==0 || --len<0) break; h+= c<<24; | ^ osmconvert.c:7854:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7854 | if((c= *s2++)==0 || --len<0) break; h+= c; | ^~ osmconvert.c:7854:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7854 | if((c= *s2++)==0 || --len<0) break; h+= c; | ^ osmconvert.c:7855:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7855 | if((c= *s2++)==0 || --len<0) break; h+= c<<8; | ^~ osmconvert.c:7855:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7855 | if((c= *s2++)==0 || --len<0) break; h+= c<<8; | ^ osmconvert.c:7856:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7856 | if((c= *s2++)==0 || --len<0) break; h+= c<<16; | ^~ osmconvert.c:7856:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7856 | if((c= *s2++)==0 || --len<0) break; h+= c<<16; | ^ osmconvert.c:7857:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 7857 | if((c= *s2++)==0 || --len<0) break; h+= c<<24; | ^~ osmconvert.c:7857:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 7857 | if((c= *s2++)==0 || --len<0) break; h+= c<<24; | ^ osmconvert.c: In function ‘oo_main’: osmconvert.c:11276:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 11276 | if(global_completemp && | ~~~~~~~~~~~~~~~~~~^~ 11277 | strcmp(*valp,"multipolygon")==0 || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ osmconvert.c: At top level: osmconvert.c:1351:16: warning: ‘geodistance’ defined but not used [-Wunused-function] 1351 | static int32_t geodistance(int32_t x1,int32_t y1, | ^~~~~~~~~~~ make[1]: *** [Makefile:378: osmconvert.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/osmctools-0.9-build/osmctools-0.9-f341f5f237737594c1b024338f0a2fc04fabdff3/src' make: *** [Makefile:355: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.zKzXZ9 (%build) Bad exit status from /var/tmp/rpm-tmp.zKzXZ9 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 6b9934deb7284f0bb7ba42b82bacfa65 -D /var/lib/mock/f42-build-56584100-6544471/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 6b9934deb7284f0bb7ba42b82bacfa65 -D /var/lib/mock/f42-build-56584100-6544471/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.bn5awvi2:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --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 --noclean --target ppc64le --nodeps /builddir/build/SPECS/osmctools.spec'