^ ../xml/unicap.xml:1539: element refsect2: validity error : ID UNICAP-FLAGS-ONE-PUSH:CAPS already defined ^ ../xml/unicap.xml:1545: element refsect2: validity error : ID UNICAP-FLAGS-READ-OUT:CAPS already defined ^ ../xml/unicap.xml:1551: element refsect2: validity error : ID UNICAP-FLAGS-ON-OFF:CAPS already defined ^ ../xml/unicap.xml:1557: element refsect2: validity error : ID UNICAP-FLAGS-READ-ONLY:CAPS already defined ^ ../xml/unicap.xml:1563: element refsect2: validity error : ID UNICAP-FLAGS-FORMAT-CHANGE:CAPS already defined ^ Computing chunks... Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-MANUAL:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-AUTO:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ONE-PUSH:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-OUT:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-ON-OFF:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-READ-ONLY:CAPS. Warning: multiple "IDs" for constraint linkend: UNICAP-FLAGS-FORMAT-CHANGE:CAPS. Writing libunicap-unicap.html for refentry(libunicap-unicap) Writing ch01.html for chapter Writing index.html for book(index) Writing libunicap.devhelp2 for book(index) make[3]: Nothing to be done for 'all-am'. Making all in po make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' grep: warning: stray \ before # grep: warning: stray \ before # grep: warning: stray \ before # make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' de.po: warning: Charset "" is not a portable encoding name. Message conversion to user's charset might not work. /usr/bin/msgfmt: present charset "" is not a portable encoding name make[2]: *** [Makefile:95: de.gmo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo ru | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file ru.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[2]: Entering directory '/builddir/build/BUILD/libunicap-0.9.12/po' file=`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po make[2]: Leaving directory '/builddir/build/BUILD/libunicap-0.9.12/po' make[1]: *** [Makefile:520: all-recursive] Error 1 make: *** [Makefile:429: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.n9O4xc (%build) %patchN is deprecated (9 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.n9O4xc (%build) 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/libunicap.spec