+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/popt.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.QzC2Nh
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf popt-1.16
+ /usr/bin/tar -xof -
+ /usr/bin/gzip -dc /builddir/build/SOURCES/popt-1.16.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd popt-1.16
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (popt-1.16-pkgconfig.patch):'
Patch #0 (popt-1.16-pkgconfig.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .pkgconfig --fuzz=0
patching file Makefile.in
patching file Makefile.am
+ echo 'Patch #1 (popt-1.16-execfail.patch):'
Patch #1 (popt-1.16-execfail.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .execfail --fuzz=0
patching file popt.c
patching file poptint.h
+ echo 'Patch #2 (popt-1.16-man-page.patch):'
Patch #2 (popt-1.16-man-page.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man-page --fuzz=0
patching file popt.3
+ echo 'Patch #3 (popt-1.16-help.patch):'
Patch #3 (popt-1.16-help.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .help --fuzz=0
patching file popthelp.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BOQkF4
+ umask 022
+ cd /builddir/build/BUILD
+ cd popt-1.16
+ 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
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./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
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking target system type... riscv64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for riscv64-redhat-linux-gnu-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 dependency style of gcc... none
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for riscv64-redhat-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for riscv64-redhat-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether gcc needs -traditional... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for library containing strerror... none required
checking for function prototypes... yes
checking for string.h... (cached) yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fnmatch.h usability... yes
checking fnmatch.h presence... yes
checking for fnmatch.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking for unistd.h... (cached) yes
checking for setreuid... yes
checking for getuid... yes
checking for geteuid... yes
checking for iconv... yes
checking for mtrace... yes
checking for __secure_getenv... no
checking for setregid... yes
checking for stpcpy... yes
checking for strerror... yes
checking for vasprintf... yes
checking for srandom... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for iconv... yes
checking for working iconv... yes
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating Doxyfile
config.status: creating Makefile
config.status: creating popt.pc
config.status: creating popt.spec
config.status: creating test-poptrc
config.status: creating auto/Makefile
config.status: creating auto/desc
config.status: creating auto/types
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
+ make -j4
make  all-recursive
make[1]: Entering directory '/builddir/build/BUILD/popt-1.16'
Making all in po
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16/po'
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16/po'
Making all in .
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c -o popt.lo popt.c
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c -o poptparse.lo poptparse.c
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c -o poptconfig.lo poptconfig.c
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c -o popthelp.lo popthelp.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptconfig.c  -fPIC -DPIC -o .libs/poptconfig.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c popt.c  -fPIC -DPIC -o .libs/popt.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptparse.c  -fPIC -DPIC -o .libs/poptparse.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c popthelp.c  -fPIC -DPIC -o .libs/popthelp.o
poptconfig.c: In function 'poptReadConfigFile':
poptconfig.c:399:9: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
     int xx;
         ^~
popthelp.c: In function 'singleOptionHelp':
popthelp.c:325:9: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
     int xx;
         ^~
popthelp.c: In function 'singleTableHelp':
popthelp.c:609:9: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
     int xx;
         ^~
popthelp.c: In function 'showHelpIntro':
popthelp.c:653:9: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
     int xx;
         ^~
popthelp.c: In function 'poptPrintHelp':
popthelp.c:672:9: warning: variable 'xx' set but not used [-Wunused-but-set-variable]
     int xx;
         ^~
popt.c: In function 'execCommand':
popt.c:485:9: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
     int rc;
         ^~
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptparse.c -o poptparse.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptconfig.c -o poptconfig.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c -o poptint.lo poptint.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c popthelp.c -o popthelp.o >/dev/null 2>&1
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptint.c  -fPIC -DPIC -o .libs/poptint.o
poptint.c:12:28: warning: 'utf8_skip_data' defined but not used [-Wunused-const-variable=]
 static const unsigned char utf8_skip_data[256] = {
                            ^~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c test1.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c poptint.c -o poptint.o >/dev/null 2>&1
test1.c:164:35: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
    { "bits", '\0', POPT_ARG_BITSET|POPT_ARGFLAG_DOC_HIDDEN, &aBits, 0,
                                   ^
gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c test2.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -c popt.c -o popt.o >/dev/null 2>&1
gcc -DHAVE_CONFIG_H -I.  -I. -I.   -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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -c tdict.c
/bin/sh ./libtool --tag=CC   --mode=link 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  -Wall -W -D_GNU_SOURCE -D_REENTRANT -no-undefined -Wl,--version-script=./libpopt.vers -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libpopt.la -rpath /usr/lib64 popt.lo poptparse.lo poptconfig.lo popthelp.lo poptint.lo  
libtool: link: gcc -shared  .libs/popt.o .libs/poptparse.o .libs/poptconfig.o .libs/popthelp.o .libs/poptint.o   -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--version-script=./libpopt.vers -Wl,-z -Wl,relro   -Wl,-soname -Wl,libpopt.so.0 -o .libs/libpopt.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libpopt.so.0" && ln -s "libpopt.so.0.0.0" "libpopt.so.0")
libtool: link: (cd ".libs" && rm -f "libpopt.so" && ln -s "libpopt.so.0.0.0" "libpopt.so")
libtool: link: ar cru .libs/libpopt.a  popt.o poptparse.o poptconfig.o popthelp.o poptint.o
libtool: link: ranlib .libs/libpopt.a
libtool: link: ( cd ".libs" && rm -f "libpopt.la" && ln -s "../libpopt.la" "libpopt.la" )
/bin/sh ./libtool --tag=CC   --mode=link 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  -Wall -W -D_GNU_SOURCE -D_REENTRANT  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test2 test2.o libpopt.la 
/bin/sh ./libtool --tag=CC   --mode=link 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  -Wall -W -D_GNU_SOURCE -D_REENTRANT  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test1 test1.o libpopt.la 
/bin/sh ./libtool --tag=CC   --mode=link 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  -Wall -W -D_GNU_SOURCE -D_REENTRANT  -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o tdict tdict.o libpopt.la 
libtool: link: 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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test1 test1.o  ./.libs/libpopt.so
libtool: link: 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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test2 test2.o  ./.libs/libpopt.so
libtool: link: 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 -Wall -W -D_GNU_SOURCE -D_REENTRANT -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/tdict tdict.o  ./.libs/libpopt.so
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16'
Making all in auto
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16/auto'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16/auto'
make[1]: Leaving directory '/builddir/build/BUILD/popt-1.16'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.G7BD2s
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
+ cd popt-1.16
+ rm -rf /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
+ make DESTDIR=/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64 install
make  install-recursive
make[1]: Entering directory '/builddir/build/BUILD/popt-1.16'
Making install in po
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16/po'
/usr/bin/mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share
installing cs.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/cs/LC_MESSAGES/popt.mo
installing da.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/da/LC_MESSAGES/popt.mo
installing de.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/de/LC_MESSAGES/popt.mo
installing eo.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/eo/LC_MESSAGES/popt.mo
installing es.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/es/LC_MESSAGES/popt.mo
installing fi.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/fi/LC_MESSAGES/popt.mo
installing fr.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/fr/LC_MESSAGES/popt.mo
installing ga.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/ga/LC_MESSAGES/popt.mo
installing gl.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/gl/LC_MESSAGES/popt.mo
installing hu.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/hu/LC_MESSAGES/popt.mo
installing id.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/id/LC_MESSAGES/popt.mo
installing is.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/is/LC_MESSAGES/popt.mo
installing it.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/it/LC_MESSAGES/popt.mo
installing ja.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/ja/LC_MESSAGES/popt.mo
installing ko.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/ko/LC_MESSAGES/popt.mo
installing lv.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/lv/LC_MESSAGES/popt.mo
installing nb.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/nb/LC_MESSAGES/popt.mo
installing nl.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/nl/LC_MESSAGES/popt.mo
installing pl.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/pl/LC_MESSAGES/popt.mo
installing pt.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/pt/LC_MESSAGES/popt.mo
installing ro.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/ro/LC_MESSAGES/popt.mo
installing ru.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/ru/LC_MESSAGES/popt.mo
installing sk.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/sk/LC_MESSAGES/popt.mo
installing sl.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/sl/LC_MESSAGES/popt.mo
installing sv.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/sv/LC_MESSAGES/popt.mo
installing th.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/th/LC_MESSAGES/popt.mo
installing tr.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/tr/LC_MESSAGES/popt.mo
installing uk.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/uk/LC_MESSAGES/popt.mo
installing vi.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/vi/LC_MESSAGES/popt.mo
installing wa.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/wa/LC_MESSAGES/popt.mo
installing zh_TW.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/zh_TW/LC_MESSAGES/popt.mo
installing zh_CN.gmo as /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/locale/zh_CN/LC_MESSAGES/popt.mo
if test "popt" = "gettext-tools"; then \
  /usr/bin/mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
		    /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16/po'
Making install in .
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16'
make[3]: Entering directory '/builddir/build/BUILD/popt-1.16'
make[3]: Nothing to be done for 'install-exec-am'.
test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/include"
 /usr/bin/install -c -m 644 popt.h '/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/include'
test -z "/usr/share/man/man3" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/man/man3"
 /usr/bin/install -c -m 644 popt.3 '/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/man/man3'
test -z "/usr/lib64/pkgconfig" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/pkgconfig"
 /usr/bin/install -c -m 644 popt.pc '/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/pkgconfig'
test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64"
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libpopt.la '/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64'
libtool: install: /usr/bin/install -c .libs/libpopt.so.0.0.0 /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/libpopt.so.0.0.0
libtool: install: (cd /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64 && { ln -s -f libpopt.so.0.0.0 libpopt.so.0 || { rm -f libpopt.so.0 && ln -s libpopt.so.0.0.0 libpopt.so.0; }; })
libtool: install: (cd /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64 && { ln -s -f libpopt.so.0.0.0 libpopt.so || { rm -f libpopt.so && ln -s libpopt.so.0.0.0 libpopt.so; }; })
libtool: install: /usr/bin/install -c .libs/libpopt.lai /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/libpopt.la
libtool: install: /usr/bin/install -c .libs/libpopt.a /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/libpopt.a
libtool: install: chmod 644 /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/libpopt.a
libtool: install: ranlib /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/lib64/libpopt.a
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
make[3]: Leaving directory '/builddir/build/BUILD/popt-1.16'
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16'
Making install in auto
make[2]: Entering directory '/builddir/build/BUILD/popt-1.16/auto'
make[3]: Entering directory '/builddir/build/BUILD/popt-1.16/auto'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/builddir/build/BUILD/popt-1.16/auto'
make[2]: Leaving directory '/builddir/build/BUILD/popt-1.16/auto'
make[1]: Leaving directory '/builddir/build/BUILD/popt-1.16'
+ rm -f /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64//usr/lib64/libpopt.la
+ mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/etc/popt.d
+ /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64 popt
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/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: popt-1.16-7.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Vj70ED
+ umask 022
+ cd /builddir/build/BUILD
+ cd popt-1.16
+ DOCDIR=/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt
+ cp -pr CHANGES /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7ak4gW
+ umask 022
+ cd /builddir/build/BUILD
+ cd popt-1.16
+ LICENSEDIR=/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/licenses/popt
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/licenses/popt
+ cp -pr COPYING /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/licenses/popt
+ exit 0
Provides: libpopt.so.0()(64bit) libpopt.so.0(LIBPOPT_0)(64bit) popt = 1.16-7.fc28 popt(riscv-64) = 1.16-7.fc28
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
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)
Processing files: popt-devel-1.16-7.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3sTeIj
+ umask 022
+ cd /builddir/build/BUILD
+ cd popt-1.16
+ DOCDIR=/builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt-devel
+ cp -pr README /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64/usr/share/doc/popt-devel
+ exit 0
Provides: pkgconfig(popt) = 1.16 popt-devel = 1.16-7.fc28 popt-devel(riscv-64) = 1.16-7.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/pkg-config libpopt.so.0()(64bit)
Processing files: popt-static-1.16-7.fc28.riscv64
Provides: popt-static = 1.16-7.fc28 popt-static(riscv-64) = 1.16-7.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
Wrote: /builddir/build/SRPMS/popt-1.16-7.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/popt-1.16-7.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/popt-devel-1.16-7.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/popt-static-1.16-7.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1OlJrK
+ umask 022
+ cd /builddir/build/BUILD
+ cd popt-1.16
+ rm -rf /builddir/build/BUILDROOT/popt-1.16-7.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff