Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gperf.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187605-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe0c92170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gperf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Wrote: /builddir/build/SRPMS/gperf-3.1-4.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gperf.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-187605-12842/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffe0c92170>timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/gperf.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: loongarch64
Building for target loongarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.FzzlqW
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf gperf-3.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gperf-3.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd gperf-3.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YyUHpW
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd gperf-3.1
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']'
++ find . -type f -name configure -print
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./src/configure
+ diff -u ./src/configure.backup ./src/configure
+ mv ./src/configure.backup ./src/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./src/configure
+ diff -u ./src/configure.backup ./src/configure
+ mv ./src/configure.backup ./src/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./src/configure
+ diff -u ./src/configure.backup ./src/configure
+ mv ./src/configure.backup ./src/configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./src/configure
+ diff -u ./src/configure.backup ./src/configure
+ mv ./src/configure.backup ./src/configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./src/configure
+ diff -u ./src/configure.backup ./src/configure
+ mv ./src/configure.backup ./src/configure
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./lib/configure
+ diff -u ./lib/configure.backup ./lib/configure
+ mv ./lib/configure.backup ./lib/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./lib/configure
+ diff -u ./lib/configure.backup ./lib/configure
+ mv ./lib/configure.backup ./lib/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./lib/configure
+ diff -u ./lib/configure.backup ./lib/configure
+ mv ./lib/configure.backup ./lib/configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./lib/configure
+ diff -u ./lib/configure.backup ./lib/configure
+ mv ./lib/configure.backup ./lib/configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./lib/configure
+ diff -u ./lib/configure.backup ./lib/configure
+ mv ./lib/configure.backup ./lib/configure
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./tests/configure
+ diff -u ./tests/configure.backup ./tests/configure
+ mv ./tests/configure.backup ./tests/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./tests/configure
+ diff -u ./tests/configure.backup ./tests/configure
+ mv ./tests/configure.backup ./tests/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./tests/configure
+ diff -u ./tests/configure.backup ./tests/configure
+ mv ./tests/configure.backup ./tests/configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./tests/configure
+ diff -u ./tests/configure.backup ./tests/configure
+ mv ./tests/configure.backup ./tests/configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./tests/configure
+ diff -u ./tests/configure.backup ./tests/configure
+ mv ./tests/configure.backup ./tests/configure
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./doc/configure
+ diff -u ./doc/configure.backup ./doc/configure
+ mv ./doc/configure.backup ./doc/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./doc/configure
+ diff -u ./doc/configure.backup ./doc/configure
+ mv ./doc/configure.backup ./doc/configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./doc/configure
+ diff -u ./doc/configure.backup ./doc/configure
+ mv ./doc/configure.backup ./doc/configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./doc/configure
+ diff -u ./doc/configure.backup ./doc/configure
+ mv ./doc/configure.backup ./doc/configure
+ /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./doc/configure
+ diff -u ./doc/configure.backup ./doc/configure
+ mv ./doc/configure.backup ./doc/configure
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
=== configuring in lib (/builddir/build/BUILD/gperf-3.1/lib)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for loongarch64-opencloudos-linux-gnu-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 how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for loongarch64-opencloudos-linux-gnu-ar... no
checking for ar... ar
checking for loongarch64-opencloudos-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
=== configuring in src (/builddir/build/BUILD/gperf-3.1/src)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for loongarch64-opencloudos-linux-gnu-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 how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for stack-allocated variable-size arrays... yes
checking for rand in -lm... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
=== configuring in tests (/builddir/build/BUILD/gperf-3.1/tests)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for loongarch64-opencloudos-linux-gnu-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 how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
configure: creating ./config.status
config.status: creating Makefile
=== configuring in doc (/builddir/build/BUILD/gperf-3.1/doc)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr'  '--build=loongarch64-opencloudos-linux-gnu' '--host=loongarch64-opencloudos-linux-gnu' '--program-prefix=' '--disable-dependency-tracking' '--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' 'build_alias=loongarch64-opencloudos-linux-gnu' 'host_alias=loongarch64-opencloudos-linux-gnu' --cache-file=/dev/null --srcdir=.
checking whether make sets $(MAKE)... yes
checking for a BSD compatible install... /usr/bin/install -c
configure: creating ./config.status
config.status: creating Makefile
+ /usr/bin/make -O -j32 V=1 VERBOSE=1
cd lib; /usr/bin/make all
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -c ./getopt.c
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -c ./getopt1.c
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -c ./hash.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -c ./getline.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
./getline.cc: In function 'int getstr(char**, size_t*, FILE*, char, size_t)':
./getline.cc:58:20: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   58 |       register int c = getc (stream);
      |                    ^
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
rm -f libgp.a
ar rc libgp.a getopt.o getopt1.o getline.o hash.o
ranlib libgp.a
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
cd src; /usr/bin/make all
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./version.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./bool-array.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./keyword-list.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
In file included from ./keyword-list.h:78,
                 from ./keyword-list.cc:22:
./keyword-list.icc: In member function 'KeywordExt_List*& KeywordExt_List::rest()':
./keyword-list.icc:50:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   50 |   return *reinterpret_cast<KeywordExt_List**>(&_cdr);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./keyword.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./positions.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./hash-table.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./main.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
In file included from ./keyword-list.h:78,
                 from ./input.h:28,
                 from ./main.cc:25:
./keyword-list.icc: In member function 'KeywordExt_List*& KeywordExt_List::rest()':
./keyword-list.icc:50:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   50 |   return *reinterpret_cast<KeywordExt_List**>(&_cdr);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./options.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./input.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
In file included from ./keyword-list.h:78,
                 from ./input.h:28,
                 from ./input.cc:22:
./keyword-list.icc: In member function 'KeywordExt_List*& KeywordExt_List::rest()':
./keyword-list.icc:50:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   50 |   return *reinterpret_cast<KeywordExt_List**>(&_cdr);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./output.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
In file included from ./keyword-list.h:78,
                 from ./output.h:27,
                 from ./output.cc:22:
./keyword-list.icc: In member function 'KeywordExt_List*& KeywordExt_List::rest()':
./keyword-list.icc:50:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   50 |   return *reinterpret_cast<KeywordExt_List**>(&_cdr);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -I. -I./../lib -c ./search.cc
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
In file included from ./keyword-list.h:78,
                 from ./search.h:27,
                 from ./search.cc:22:
./keyword-list.icc: In member function 'KeywordExt_List*& KeywordExt_List::rest()':
./keyword-list.icc:50:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   50 |   return *reinterpret_cast<KeywordExt_List**>(&_cdr);
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o gperf version.o positions.o options.o keyword.o keyword-list.o input.o bool-array.o hash-table.o search.o output.o main.o ../lib/libgp.a -lm
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
cd tests; /usr/bin/make all
make[1]: Nothing to be done for 'all'.
cd doc; /usr/bin/make all
make[1]: Nothing to be done for 'all'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qWbvjG
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64
++ dirname /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64
+ cd gperf-3.1
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64 'INSTALL=/usr/bin/install -p'
cd lib; /usr/bin/make install
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/lib'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/lib'
cd src; /usr/bin/make install
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/src'
/bin/sh ./../build-aux/mkinstalldirs /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/bin
mkdir -p -- /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/bin
/usr/bin/install -p gperf /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/bin/gperf
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/src'
cd tests; /usr/bin/make install
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/tests'
make[1]: Nothing to be done for 'install'.
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/tests'
cd doc; /usr/bin/make install
make[1]: Entering directory '/builddir/build/BUILD/gperf-3.1/doc'
/bin/sh ./../build-aux/mkinstalldirs /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/info
mkdir -p -- /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/info
/usr/bin/install -p -m 644 ./gperf.info /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/info/gperf.info
/bin/sh ./../build-aux/mkinstalldirs /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/man/man1
mkdir -p -- /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/man/man1
/usr/bin/install -p -m 644 ./gperf.1 /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/man/man1/gperf.1
/bin/sh ./../build-aux/mkinstalldirs /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/
mkdir -p -- /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/
/usr/bin/install -p -m 644 ./gperf.html /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc//gperf.html
make[1]: Leaving directory '/builddir/build/BUILD/gperf-3.1/doc'
+ rm -rf /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/man/dvi /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/man/html /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc
+ /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 3.1-4.ocs23 --unique-debug-suffix -3.1-4.ocs23.loongarch64 --unique-debug-src-base gperf-3.1-4.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/gperf-3.1
extracting debug info from /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/bin/gperf
597 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: gperf-3.1-4.ocs23.loongarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IUNjt7
+ umask 022
+ cd /builddir/build/BUILD
+ cd gperf-3.1
+ DOCDIR=/builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/gperf
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/gperf
+ cp -pr README /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/gperf
+ cp -pr NEWS /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/gperf
+ cp -pr doc/gperf.html doc/gperf_1.html doc/gperf_10.html doc/gperf_2.html doc/gperf_3.html doc/gperf_4.html doc/gperf_5.html doc/gperf_6.html doc/gperf_7.html doc/gperf_8.html doc/gperf_9.html doc/gperf_toc.html doc/gperf.pdf /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/doc/gperf
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.x4vCBf
+ umask 022
+ cd /builddir/build/BUILD
+ cd gperf-3.1
+ LICENSEDIR=/builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/licenses/gperf
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/licenses/gperf
+ cp -pr COPYING /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64/usr/share/licenses/gperf
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: gperf = 3.1-4.ocs23 gperf(loongarch-64) = 3.1-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.36)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH)
Processing files: gperf-debugsource-3.1-4.ocs23.loongarch64
Provides: gperf-debugsource = 3.1-4.ocs23 gperf-debugsource(loongarch-64) = 3.1-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: gperf-debuginfo-3.1-4.ocs23.loongarch64
Provides: debuginfo(build-id) = 0704ad0b695e1c05688b9f9a663c92e10edf872a gperf-debuginfo = 3.1-4.ocs23 gperf-debuginfo(loongarch-64) = 3.1-4.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: gperf-debugsource(loongarch-64) = 3.1-4.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gperf-3.1-4.ocs23.loongarch64
Wrote: /builddir/build/RPMS/gperf-debugsource-3.1-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/gperf-debuginfo-3.1-4.ocs23.loongarch64.rpm
Wrote: /builddir/build/RPMS/gperf-3.1-4.ocs23.loongarch64.rpm
Child return code was: 0