s checking for strdup... yes checking for strtol... yes checking for getpwuid... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking + make CC mozplugger.c BUILDSTDERR: mozplugger.c: In function 'read_desc': BUILDSTDERR: mozplugger.c:1521:26: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(&desc[strlen(linebuf)], details.st_size, fp); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mozplugger.c: In function 'NP2_GetMIMEDescription': BUILDSTDERR: mozplugger.c:1600:52: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size 491 [-Wformat-truncation=] BUILDSTDERR: snprintf(desc, 511, "dummy/dummy:*.dummy:%s", errMsg); BUILDSTDERR: ^~ ~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mozplugger.c:27: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 21 and 532 bytes into a destination of size 511 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC plugin_entry.c CC scriptable_obj.c CC ./npapi/npn_funcs.c CC ./npapi/npp_funcs.c CC debug.c CC npn-get-helpers.c LD mozplugger.so CC mozplugger-helper.c BUILDSTDERR: mozplugger-helper.c: In function 'setup_display': BUILDSTDERR: mozplugger-helper.c:826:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: D("display=0x%x\n", (unsigned) dpy); BUILDSTDERR: ^ CC child.c BUILDSTDERR: child.c: In function 'handle_SIGCHLD_event': BUILDSTDERR: child.c:131:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(sig_rd_fd, &sig, sizeof(int)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: child.c: In function 'spawn_app': BUILDSTDERR: child.c:225:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: pipe(fds); BUILDSTDERR: ^~~~~~~~~ LD mozplugger-helper CC mozplugger-controller.c CC widgets.c LD mozplugger-controller CC mozplugger-linker.c LD mozplugger-linker CC mozplugger-update.c BUILDSTDERR: mozplugger-update.c: In function 'install': BUILDSTDERR: mozplugger-update.c:1477:67: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: snprintf(globalPluginPath, sizeof(globalPluginPath), "%.*s/mozplugger.so", q-p, p); BUILDSTDERR: ~~^~ ~~~ BIN2O mozplugger_so_blob.o BUILDSTDERR: ld: --relax and -r may not be used together BUILDSTDERR: make: *** [Makefile:163: mozplugger_so_blob.o] Error 1 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.H7GYWt (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.H7GYWt (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/mozplugger.spec