+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mozplugger.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6YfyJT + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mozplugger-2.1.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/mozplugger-2.1.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mozplugger-2.1.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (mozplugger-1.13.3-path.patch):' Patch #1 (mozplugger-1.13.3-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .path --fuzz=0 patching file mozpluggerrc Hunk #1 succeeded at 297 (offset -55 lines). + echo 'Patch #2 (mozplugger-2.1.6-buildroot.patch):' Patch #2 (mozplugger-2.1.6-buildroot.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .buildroot --fuzz=0 patching file Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QrJLq1 + umask 022 + cd /builddir/build/BUILD + cd mozplugger-2.1.6 + export 'XCFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + XCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking for riscv64-redhat-linux-gnu-gcc... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for ... no checking for ... (cached) no checking for /usr/lib/mozilla/plugins... no checking for /usr/lib/firefox/plugins... no checking for /usr/local/lib/browser_plugins... no checking for XDisplayName in -lX11... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for int16_t... yes checking for int32_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for library containing gethostbyname... none required checking for library containing socket... none required checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for alarm... yes checking for dup2... yes checking for gethostname... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for putenv... yes checking for rmdir... yes checking for select... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes 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 configure: WARNING: unrecognized options: --disable-dependency-tracking + make CC mozplugger.c mozplugger.c: In function 'read_desc': mozplugger.c:1521:26: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(&desc[strlen(linebuf)], details.st_size, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 mozplugger-helper.c: In function 'setup_display': mozplugger-helper.c:826:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] D("display=0x%x\n", (unsigned) dpy); ^ CC child.c child.c: In function 'handle_SIGCHLD_event': child.c:131:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(sig_rd_fd, &sig, sizeof(int)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ child.c: In function 'spawn_app': child.c:225:10: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(fds); ^~~~~~~~~ LD mozplugger-helper CC mozplugger-controller.c CC widgets.c LD mozplugger-controller CC mozplugger-linker.c LD mozplugger-linker CC mozplugger-update.c mozplugger-update.c: In function 'install': mozplugger-update.c:1477:67: warning: field precision specifier '.*' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] snprintf(globalPluginPath, sizeof(globalPluginPath), "%.*s/mozplugger.so", q-p, p); ~~^~ ~~~ BIN2O mozplugger_so_blob.o ld: --relax and -r may not be used together make: *** [Makefile:163: mozplugger_so_blob.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.QrJLq1 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QrJLq1 (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff