+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/setserial.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.KTdveB + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setserial-2.17 + /usr/bin/gzip -dc /builddir/build/SOURCES/setserial-2.17.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd setserial-2.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (setserial-2.17-fhs.patch):' Patch #0 (setserial-2.17-fhs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fhs --fuzz=0 patching file Makefile.in + echo 'Patch #1 (setserial-2.17-rc.patch):' Patch #1 (setserial-2.17-rc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rc --fuzz=0 patching file rc.serial + echo 'Patch #2 (setserial-2.17-readme.patch):' Patch #2 (setserial-2.17-readme.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .readme --fuzz=0 patching file README + echo 'Patch #3 (setserial-2.17-spelling.patch):' Patch #3 (setserial-2.17-spelling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .spelling --fuzz=0 patching file setserial.c + echo 'Patch #4 (setserial-hayesesp.patch):' Patch #4 (setserial-hayesesp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .hayesesp --fuzz=0 patching file setserial.c + rm -f config.cache + echo 'Patch #5 (setserial-aarch64.patch):' Patch #5 (setserial-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 patching file config.guess patching file config.sub + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MpXzr4 + umask 022 + cd /builddir/build/BUILD + cd setserial-2.17 + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 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=/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 creating cache ./config.cache Generating configuration file for setserial version 2.17 Release date is January, 2000 checking for gcc... gcc checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) works... yes checking whether the C compiler (gcc -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking host system type... riscv64-redhat-linux-gnu checking build system type... riscv64-redhat-linux-gnu checking for strip... strip checking how to run the C preprocessor... gcc -E checking for asm/ioctls.h... yes checking for linux/hayesesp.h... no updating cache ./config.cache creating ./config.status creating setserial.8 creating Makefile + make -j4 gcc -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 -DHAVE_ASM_IOCTLS_H=1 -I. setserial.c -o setserial nroff -man setserial.8 > setserial.cat setserial.c:43:23: warning: missing braces around initializer [-Wmissing-braces] } serial_type_tbl[] = { ^ setserial.c:91:21: warning: missing braces around initializer [-Wmissing-braces] } flag_type_tbl[] = { ^ setserial.c: In function 'print_multiport': setserial.c:206:6: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if (ioctl(fd, TIOCSERGETMULTI, &multi) < 0) ^~~~~ setserial.c: In function 'get_multiport': setserial.c:249:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ setserial.c:249:3: warning: incompatible implicit declaration of built-in function 'exit' setserial.c:249:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'set_multiport': setserial.c:271:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:271:3: note: include '' or provide a declaration of 'exit' setserial.c:281:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:281:4: note: include '' or provide a declaration of 'exit' setserial.c:338:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:338:3: note: include '' or provide a declaration of 'exit' setserial.c:342:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:342:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'get_serial': setserial.c:428:3: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose setserial.c: In function 'set_serial': setserial.c:488:4: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:488:4: note: include '' or provide a declaration of 'exit' setserial.c:490:3: warning: incompatible implicit declaration of built-in function 'exit' exit(201); ^~~~ setserial.c:490:3: note: include '' or provide a declaration of 'exit' setserial.c:494:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:494:3: note: include '' or provide a declaration of 'exit' setserial.c:512:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:512:4: note: include '' or provide a declaration of 'exit' setserial.c:516:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:516:4: note: include '' or provide a declaration of 'exit' setserial.c:520:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:520:4: note: include '' or provide a declaration of 'exit' setserial.c:541:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:541:5: note: include '' or provide a declaration of 'exit' setserial.c:571:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:571:5: note: include '' or provide a declaration of 'exit' setserial.c:575:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:575:5: note: include '' or provide a declaration of 'exit' setserial.c:579:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:579:5: note: include '' or provide a declaration of 'exit' setserial.c:585:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:585:5: note: include '' or provide a declaration of 'exit' setserial.c:592:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:592:5: note: include '' or provide a declaration of 'exit' setserial.c:608:4: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:608:4: note: include '' or provide a declaration of 'exit' setserial.c:613:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:613:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'do_wild_intr': setserial.c:628:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:628:3: note: include '' or provide a declaration of 'exit' setserial.c:632:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:632:3: note: include '' or provide a declaration of 'exit' setserial.c:636:3: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:636:3: note: include '' or provide a declaration of 'exit' setserial.c: In function 'usage': setserial.c:714:2: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ setserial.c:714:2: note: include '' or provide a declaration of 'exit' setserial.c: At top level: setserial.c:717:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ setserial.c: In function 'main': setserial.c:727:14: warning: implicit declaration of function 'getopt'; did you mean 'getw'? [-Wimplicit-function-declaration] while ((c = getopt(argc, argv, "abgGqvVWz")) != EOF) { ^~~~~~ getw setserial.c:749:4: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:749:4: note: include '' or provide a declaration of 'exit' setserial.c:764:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:764:3: note: include '' or provide a declaration of 'exit' setserial.c:770:3: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:770:3: note: include '' or provide a declaration of 'exit' setserial.c:776:2: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ setserial.c:776:2: note: include '' or provide a declaration of 'exit' setserial.c:722:15: warning: unused variable 'optarg' [-Wunused-variable] extern char *optarg; ^~~~~~ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y4fDAL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 + cd setserial-2.17 + rm -rf /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64//bin + mkdir -p /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64//usr/share/man/man8 + make install DESTDIR=/builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 /usr/bin/install -c setserial /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/bin /usr/bin/install -c -m 644 setserial.8 /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/usr/share/man/man8 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: setserial-2.17-41.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LbObxl + umask 022 + cd /builddir/build/BUILD + cd setserial-2.17 + DOCDIR=/builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/usr/share/doc/setserial + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/usr/share/doc/setserial + cp -pr README /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/usr/share/doc/setserial + cp -pr rc.serial /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64/usr/share/doc/setserial + exit 0 Provides: setserial = 2.17-41.fc28 setserial(riscv-64) = 2.17-41.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 Wrote: /builddir/build/SRPMS/setserial-2.17-41.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/setserial-2.17-41.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pZdjV2 + umask 022 + cd /builddir/build/BUILD + cd setserial-2.17 + rm -rf /builddir/build/BUILDROOT/setserial-2.17-41.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff