Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/osinfo-db-tools.spec'], chrootPath='/var/lib/mock/f40-build-756571-118808/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/osinfo-db-tools.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'} and shell False warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/osinfo-db-tools-1.11.0-1.fc40.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/osinfo-db-tools.spec'], chrootPath='/var/lib/mock/f40-build-756571-118808/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/osinfo-db-tools.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'} and shell False warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dHfTGG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osinfo-db-tools-1.11.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/osinfo-db-tools-1.11.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd osinfo-db-tools-1.11.0 + rm -rf /builddir/build/BUILD/osinfo-db-tools-1.11.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/osinfo-db-tools-1.11.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'osinfo-db-tools-1.11.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qp0t7h + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd osinfo-db-tools-1.11.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.2.3 Source dir: /builddir/build/BUILD/osinfo-db-tools-1.11.0 Build dir: /builddir/build/BUILD/osinfo-db-tools-1.11.0/redhat-linux-build Build type: native build Project name: osinfo-db-tools Project version: 1.11.0 C compiler for the host machine: gcc (gcc 13.2.1 "gcc (GCC) 13.2.1 20230728 (Red Hat 13.2.1-1)") C linker for the host machine: gcc ld.bfd 2.41-5 Host machine cpu family: riscv64 Host machine cpu: riscv64 Configuring osinfo-db-tools.spec using configuration Found pkg-config: /usr/bin/pkg-config (1.9.5) Run-time dependency glib-2.0 found: YES 2.78.1 Run-time dependency gio-2.0 found: YES 2.78.1 Run-time dependency gobject-2.0 found: YES 2.78.1 Run-time dependency json-glib-1.0 found: YES 1.8.0 Run-time dependency libarchive found: YES 3.7.2 Run-time dependency libsoup-3.0 found: YES 3.4.4 Run-time dependency libxml-2.0 found: YES 2.12.1 WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Compiler for C supports arguments -W: YES Compiler for C supports arguments -Waddress: YES Compiler for C supports arguments -Waggressive-loop-optimizations: YES Compiler for C supports arguments -Wall: YES Compiler for C supports arguments -Warray-bounds: YES Compiler for C supports arguments -Wattributes: YES Compiler for C supports arguments -Wbuiltin-macro-redefined: YES Compiler for C supports arguments -Wcast-align: YES Compiler for C supports arguments -Wchar-subscripts: YES Compiler for C supports arguments -Wclobbered: YES Compiler for C supports arguments -Wcomment: YES Compiler for C supports arguments -Wcomments: YES Compiler for C supports arguments -Wcoverage-mismatch: YES Compiler for C supports arguments -Wcpp: YES Compiler for C supports arguments -Wdate-time: YES Compiler for C supports arguments -Wdeprecated-declarations: YES Compiler for C supports arguments -Wdisabled-optimization: YES Compiler for C supports arguments -Wdiv-by-zero: YES Compiler for C supports arguments -Wdouble-promotion: YES Compiler for C supports arguments -Wempty-body: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Wenum-compare: YES Compiler for C supports arguments -Wextra: YES Compiler for C supports arguments -Wformat-contains-nul: YES Compiler for C supports arguments -Wformat-extra-args: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-y2k: YES Compiler for C supports arguments -Wformat-zero-length: YES Compiler for C supports arguments -Wfree-nonheap-object: YES Compiler for C supports arguments -Wignored-qualifiers: YES Compiler for C supports arguments -Wimplicit: YES Compiler for C supports arguments -Wimplicit-function-declaration: YES Compiler for C supports arguments -Wimplicit-int: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wint-to-pointer-cast: YES Compiler for C supports arguments -Winvalid-memory-model: YES Compiler for C supports arguments -Winvalid-pch: YES Compiler for C supports arguments -Wjump-misses-init: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmain: YES Compiler for C supports arguments -Wmaybe-uninitialized: YES Compiler for C supports arguments -Wmissing-braces: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-field-initializers: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-parameter-type: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmultichar: YES Compiler for C supports arguments -Wnarrowing: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wnonnull: YES Compiler for C supports arguments -Wold-style-declaration: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wopenmp-simd: YES Compiler for C supports arguments -Woverflow: YES Compiler for C supports arguments -Woverlength-strings: YES Compiler for C supports arguments -Woverride-init: YES Compiler for C supports arguments -Wpacked: YES Compiler for C supports arguments -Wpacked-bitfield-compat: YES Compiler for C supports arguments -Wparentheses: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wpointer-sign: YES Compiler for C supports arguments -Wpointer-to-int-cast: YES Compiler for C supports arguments -Wpragmas: YES Compiler for C supports arguments -Wreturn-local-addr: YES Compiler for C supports arguments -Wreturn-type: YES Compiler for C supports arguments -Wsequence-point: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsizeof-pointer-memaccess: YES Compiler for C supports arguments -Wstack-protector: YES Compiler for C supports arguments -Wstrict-aliasing: YES Compiler for C supports arguments -Wstrict-overflow: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wsuggest-attribute=const: YES Compiler for C supports arguments -Wsuggest-attribute=format: YES Compiler for C supports arguments -Wsuggest-attribute=noreturn: YES Compiler for C supports arguments -Wsuggest-attribute=pure: YES Compiler for C supports arguments -Wswitch: YES Compiler for C supports arguments -Wswitch-default: YES Compiler for C supports arguments -Wsync-nand: YES Compiler for C supports arguments -Wtrampolines: YES Compiler for C supports arguments -Wtrigraphs: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wunknown-pragmas: YES Compiler for C supports arguments -Wunsafe-loop-optimizations: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wunused-but-set-parameter: YES Compiler for C supports arguments -Wunused-but-set-variable: YES Compiler for C supports arguments -Wunused-function: YES Compiler for C supports arguments -Wunused-label: YES Compiler for C supports arguments -Wunused-local-typedefs: YES Compiler for C supports arguments -Wunused-parameter: YES Compiler for C supports arguments -Wunused-result: YES Compiler for C supports arguments -Wunused-value: YES Compiler for C supports arguments -Wunused-variable: YES Compiler for C supports arguments -Wvarargs: YES Compiler for C supports arguments -Wvariadic-macros: YES Compiler for C supports arguments -Wvector-operation-performance: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wvolatile-register-var: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -Wnormalized=nfc: YES Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-sign-conversion: YES Compiler for C supports arguments -Wno-conversion: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wjump-misses-init: YES (cached) Compiler for C supports arguments -Wframe-larger-than=4096: YES Compiler for C supports arguments -Wno-overlength-strings: YES Compiler for C supports arguments -Wp,-D_FORTIFY_SOURCE=2: YES Compiler for C supports arguments --param=ssp-buffer-size=4: YES Compiler for C supports arguments -fexceptions: YES Compiler for C supports arguments -fasynchronous-unwind-tables: YES Compiler for C supports arguments -fdiagnostics-show-option: YES Compiler for C supports arguments -funit-at-a-time: YES Compiler for C supports arguments -fipa-pure-const: YES Compiler for C supports arguments -Wno-suggest-attribute=pure: YES Compiler for C supports arguments -Wno-suggest-attribute=const: YES Compiler for C supports arguments -fstack-protector-all: YES Compiler for C supports arguments -Werror: YES meson.build:229: WARNING: Consider using the built-in warning_level option instead of using "-Wall". meson.build:229: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". meson.build:229: WARNING: Consider using the built-in werror option instead of using "-Werror". Program pod2man found: YES (/usr/bin/pod2man) Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program /builddir/build/BUILD/osinfo-db-tools-1.11.0/build-aux/syntax-check found: YES (/builddir/build/BUILD/osinfo-db-tools-1.11.0/build-aux/syntax-check) Program python3 found: YES (/usr/bin/python3) Program test_osinfo_db_export_import.py found: YES (/builddir/build/BUILD/osinfo-db-tools-1.11.0/tests/test_osinfo_db_export_import.py) Program test_osinfo_db_path.py found: YES (/builddir/build/BUILD/osinfo-db-tools-1.11.0/tests/test_osinfo_db_path.py) Program test_osinfo_db_validate.py found: YES (/builddir/build/BUILD/osinfo-db-tools-1.11.0/tests/test_osinfo_db_validate.py) Build targets in project: 28 NOTICE: Future-deprecated features used: * 0.56.0: {'meson.build_root', 'meson.source_root'} osinfo-db-tools 1.11.0 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.11.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 4 --verbose ninja: Entering directory `/builddir/build/BUILD/osinfo-db-tools-1.11.0/redhat-linux-build' [1/33] gcc -Itools/osinfo-db-import.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-import.p/osinfo-db-util.c.o -MF tools/osinfo-db-import.p/osinfo-db-util.c.o.d -o tools/osinfo-db-import.p/osinfo-db-util.c.o -c ../tools/osinfo-db-util.c [2/33] gcc -Itools/osinfo-db-validate.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-validate.p/osinfo-db-util.c.o -MF tools/osinfo-db-validate.p/osinfo-db-util.c.o.d -o tools/osinfo-db-validate.p/osinfo-db-util.c.o -c ../tools/osinfo-db-util.c [3/33] gcc -Itools/osinfo-db-validate.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-validate.p/osinfo-db-validate.c.o -MF tools/osinfo-db-validate.p/osinfo-db-validate.c.o.d -o tools/osinfo-db-validate.p/osinfo-db-validate.c.o -c ../tools/osinfo-db-validate.c FAILED: tools/osinfo-db-validate.p/osinfo-db-validate.c.o gcc -Itools/osinfo-db-validate.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-validate.p/osinfo-db-validate.c.o -MF tools/osinfo-db-validate.p/osinfo-db-validate.c.o.d -o tools/osinfo-db-validate.p/osinfo-db-validate.c.o -c ../tools/osinfo-db-validate.c In file included from ../tools/osinfo-db-validate.c:23: /usr/include/libxml2/libxml/relaxng.h:134:50: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 134 | xmlRelaxNGNewDocParserCtxt (xmlDocPtr doc); | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:163:50: error: unknown type name ‘FILE’ 163 | xmlRelaxNGDump (FILE *output, | ^~~~ /usr/include/libxml2/libxml/relaxng.h:16:1: note: ‘FILE’ is defined in header ‘’; did you forget to ‘#include ’? 15 | #include +++ |+#include 16 | /usr/include/libxml2/libxml/relaxng.h:166:42: error: unknown type name ‘FILE’ 166 | xmlRelaxNGDumpTree (FILE * output, | ^~~~ /usr/include/libxml2/libxml/relaxng.h:166:42: note: ‘FILE’ is defined in header ‘’; did you forget to ‘#include ’? /usr/include/libxml2/libxml/relaxng.h:191:50: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 191 | xmlDocPtr doc); | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:197:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 197 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:198:42: error: unknown type name ‘xmlNodePtr’ 198 | xmlNodePtr elem); | ^~~~~~~~~~ /usr/include/libxml2/libxml/relaxng.h:205:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 205 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:206:42: error: unknown type name ‘xmlNodePtr’ 206 | xmlNodePtr elem); | ^~~~~~~~~~ /usr/include/libxml2/libxml/relaxng.h:209:42: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 209 | xmlDocPtr doc, | ^~~~~~~~~ | xmlErrorPtr /usr/include/libxml2/libxml/relaxng.h:210:42: error: unknown type name ‘xmlNodePtr’ 210 | xmlNodePtr elem); | ^~~~~~~~~~ ../tools/osinfo-db-validate.c:46:8: error: unknown type name ‘xmlDocPtr’ 46 | static xmlDocPtr parse_file(GFile *file, GError **error) | ^~~~~~~~~ ../tools/osinfo-db-validate.c: In function ‘parse_file’: ../tools/osinfo-db-validate.c:48:5: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 48 | xmlDocPtr doc = NULL; | ^~~~~~~~~ | xmlErrorPtr ../tools/osinfo-db-validate.c:48:21: error: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 48 | xmlDocPtr doc = NULL; | ^~~~ ../tools/osinfo-db-validate.c:49:5: error: unknown type name ‘xmlParserCtxtPtr’; did you mean ‘xmlRelaxNGParserCtxtPtr’? 49 | xmlParserCtxtPtr pctxt; | ^~~~~~~~~~~~~~~~ | xmlRelaxNGParserCtxtPtr ../tools/osinfo-db-validate.c:55:16: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Werror=int-conversion] 55 | return NULL; | ^~~~ ../tools/osinfo-db-validate.c:57:19: error: implicit declaration of function ‘xmlNewParserCtxt’; did you mean ‘xmlRelaxNGNewParserCtxt’? [-Werror=implicit-function-declaration] 57 | if (!(pctxt = xmlNewParserCtxt())) { | ^~~~~~~~~~~~~~~~ | xmlRelaxNGNewParserCtxt ../tools/osinfo-db-validate.c:57:19: error: nested extern declaration of ‘xmlNewParserCtxt’ [-Werror=nested-externs] ../tools/osinfo-db-validate.c:60:16: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Werror=int-conversion] 60 | return NULL; | ^~~~ ../tools/osinfo-db-validate.c:63:17: error: implicit declaration of function ‘xmlCtxtReadDoc’ [-Werror=implicit-function-declaration] 63 | if (!(doc = xmlCtxtReadDoc(pctxt, (const xmlChar*)data, uri, NULL, | ^~~~~~~~~~~~~~ ../tools/osinfo-db-validate.c:63:17: error: nested extern declaration of ‘xmlCtxtReadDoc’ [-Werror=nested-externs] ../tools/osinfo-db-validate.c:64:32: error: ‘XML_PARSE_NONET’ undeclared (first use in this function); did you mean ‘XML_FROM_NONE’? 64 | XML_PARSE_NONET | | ^~~~~~~~~~~~~~~ | XML_FROM_NONE ../tools/osinfo-db-validate.c:64:32: note: each undeclared identifier is reported only once for each function it appears in ../tools/osinfo-db-validate.c:65:32: error: ‘XML_PARSE_NOWARNING’ undeclared (first use in this function); did you mean ‘XML_ERR_WARNING’? 65 | XML_PARSE_NOWARNING))) { | ^~~~~~~~~~~~~~~~~~~ | XML_ERR_WARNING ../tools/osinfo-db-validate.c:69:16: error: returning ‘void *’ from a function with return type ‘int’ makes integer from pointer without a cast [-Werror=int-conversion] 69 | return NULL; | ^~~~ ../tools/osinfo-db-validate.c: In function ‘validate_file_regular’: ../tools/osinfo-db-validate.c:83:5: error: unknown type name ‘xmlDocPtr’; did you mean ‘xmlErrorPtr’? 83 | xmlDocPtr doc = NULL; | ^~~~~~~~~ | xmlErrorPtr ../tools/osinfo-db-validate.c:83:21: error: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Werror=int-conversion] 83 | xmlDocPtr doc = NULL; | ^~~~ ../tools/osinfo-db-validate.c:94:9: error: implicit declaration of function ‘xmlRelaxNGValidateDoc’; did you mean ‘xmlRelaxNGValidatePushCData’? [-Werror=implicit-function-declaration] 94 | if (xmlRelaxNGValidateDoc(rngValid, doc) != 0) { | ^~~~~~~~~~~~~~~~~~~~~ | xmlRelaxNGValidatePushCData ../tools/osinfo-db-validate.c:94:9: error: nested extern declaration of ‘xmlRelaxNGValidateDoc’ [-Werror=nested-externs] ../tools/osinfo-db-validate.c:104:5: error: implicit declaration of function ‘xmlFreeDoc’ [-Werror=implicit-function-declaration] 104 | xmlFreeDoc(doc); | ^~~~~~~~~~ ../tools/osinfo-db-validate.c:104:5: error: nested extern declaration of ‘xmlFreeDoc’ [-Werror=nested-externs] ../tools/osinfo-db-validate.c: In function ‘validate_files’: ../tools/osinfo-db-validate.c:176:37: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Werror=incompatible-pointer-types] 176 | xmlSetStructuredErrorFunc(NULL, validate_structured_error_nop); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)} In file included from /usr/include/libxml2/libxml/relaxng.h:14: /usr/include/libxml2/libxml/xmlerror.h:898:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’} 898 | xmlStructuredErrorFunc handler); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ cc1: all warnings being treated as errors [4/33] gcc -Itools/osinfo-db-export.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-export.p/osinfo-db-util.c.o -MF tools/osinfo-db-export.p/osinfo-db-util.c.o.d -o tools/osinfo-db-export.p/osinfo-db-util.c.o -c ../tools/osinfo-db-util.c [5/33] gcc -Itools/osinfo-db-import.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/json-glib-1.0 -I/usr/include/libsoup-3.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-import.p/osinfo-db-import.c.o -MF tools/osinfo-db-import.p/osinfo-db-import.c.o.d -o tools/osinfo-db-import.p/osinfo-db-import.c.o -c ../tools/osinfo-db-import.c [6/33] gcc -Itools/osinfo-db-export.p -Itools -I../tools -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_36 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_36 '-DPKGDATADIR="/usr/share/osinfo-db-tools"' '-DDATA_DIR="/usr/share"' '-DSYSCONFDIR="/etc"' '-DLOCALEDIR="/usr/share/locale"' '-DGETTEXT_PACKAGE="osinfo-db-tools"' -W -Waddress -Waggressive-loop-optimizations -Wall -Warray-bounds -Wattributes -Wbuiltin-macro-redefined -Wcast-align -Wchar-subscripts -Wclobbered -Wcomment -Wcomments -Wcoverage-mismatch -Wcpp -Wdate-time -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wdouble-promotion -Wempty-body -Wendif-labels -Wenum-compare -Wextra -Wformat-contains-nul -Wformat-extra-args -Wformat-security -Wformat-y2k -Wformat-zero-length -Wfree-nonheap-object -Wignored-qualifiers -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Winline -Wint-to-pointer-cast -Winvalid-memory-model -Winvalid-pch -Wjump-misses-init -Wlogical-op -Wmain -Wmaybe-uninitialized -Wmissing-braces -Wmissing-declarations -Wmissing-field-initializers -Wmissing-include-dirs -Wmissing-parameter-type -Wmissing-prototypes -Wmultichar -Wnarrowing -Wnested-externs -Wnonnull -Wold-style-declaration -Wold-style-definition -Wopenmp-simd -Woverflow -Woverlength-strings -Woverride-init -Wpacked -Wpacked-bitfield-compat -Wparentheses -Wpointer-arith -Wpointer-sign -Wpointer-to-int-cast -Wpragmas -Wreturn-local-addr -Wreturn-type -Wsequence-point -Wshadow -Wsizeof-pointer-memaccess -Wstack-protector -Wstrict-aliasing -Wstrict-overflow -Wstrict-prototypes -Wsuggest-attribute=const -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wswitch -Wswitch-default -Wsync-nand -Wtrampolines -Wtrigraphs -Wtype-limits -Wuninitialized -Wunknown-pragmas -Wunsafe-loop-optimizations -Wunused -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-function -Wunused-label -Wunused-local-typedefs -Wunused-parameter -Wunused-result -Wunused-value -Wunused-variable -Wvarargs -Wvariadic-macros -Wvector-operation-performance -Wvla -Wvolatile-register-var -Wwrite-strings -Wnormalized=nfc -Wno-sign-compare -Wno-sign-conversion -Wno-conversion -Wno-unused-parameter -Wjump-misses-init -Wframe-larger-than=4096 -Wno-overlength-strings -Wp,-D_FORTIFY_SOURCE=2 --param=ssp-buffer-size=4 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -funit-at-a-time -fipa-pure-const -Wno-suggest-attribute=pure -Wno-suggest-attribute=const -fstack-protector-all -Werror -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -pthread -MD -MQ tools/osinfo-db-export.p/osinfo-db-export.c.o -MF tools/osinfo-db-export.p/osinfo-db-export.c.o.d -o tools/osinfo-db-export.p/osinfo-db-export.c.o -c ../tools/osinfo-db-export.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/osinfo-db-tools-1.11.0/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.qp0t7h (%build) source_date_epoch_from_changelog set but %changelog is missing Bad exit status from /var/tmp/rpm-tmp.qp0t7h (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/osinfo-db-tools.spec