tack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -fPIC -pthread -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -Wno-int-conversion -MD -MQ libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-createclass.c.o -MF libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-createclass.c.o.d -o libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-createclass.c.o -c ../libgupnp-av/gupnp-didl-lite-createclass.c ../libgupnp-av/gupnp-didl-lite-createclass.c: In function ‘gupnp_didl_lite_create_class_set_content’: ../libgupnp-av/gupnp-didl-lite-createclass.c:302:17: error: implicit declaration of function ‘xmlEncodeSpecialChars’ [-Werror=implicit-function-declaration] 302 | xmlEncodeSpecialChars (priv->xml_doc->doc, | ^~~~~~~~~~~~~~~~~~~~~ ../libgupnp-av/gupnp-didl-lite-createclass.c:302:17: warning: nested extern declaration of ‘xmlEncodeSpecialChars’ [-Wnested-externs] cc1: some warnings being treated as errors [11/49] gcc -Ilibgupnp-av/libgupnp-av-1.0.so.3.14.1.p -Ilibgupnp-av -I../libgupnp-av -Iinternal -I../internal -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 -Werror=deprecated-declarations -O2 -flto=auto -ffat-lto-objects -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 -fPIC -pthread -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -Wno-int-conversion -MD -MQ libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-container.c.o -MF libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-container.c.o.d -o libgupnp-av/libgupnp-av-1.0.so.3.14.1.p/gupnp-didl-lite-container.c.o -c ../libgupnp-av/gupnp-didl-lite-container.c ninja: build stopped: subcommand failed. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/gupnp-av-0.14.1/redhat-linux-build -j 4 -v error: Bad exit status from /var/tmp/rpm-tmp.FPcEE3 (%build) Bad exit status from /var/tmp/rpm-tmp.FPcEE3 (%build) 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/gupnp-av.spec