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/libpcap.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219636-16804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/libpcap-1.10.4-2.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/libpcap.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-219636-16804/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/libpcap.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\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.2tkYE3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpcap-1.10.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpcap-1.10.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpcap-1.10.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'libpcap-1.10.4 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch + /usr/bin/git apply --index --reject - Checking patch pcap.3pcap.in... Hunk #1 succeeded at 1031 (offset 6 lines). Applied patch pcap.3pcap.in cleanly. + /usr/bin/git commit -q -m 0001-man-tcpdump-and-tcpslice-have-manpages-in-man8.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-pcap-config-mitigate-multilib-conflict.patch + /usr/bin/git apply --index --reject - Checking patch pcap-config.in... Applied patch pcap-config.in cleanly. + /usr/bin/git commit -q -m 0002-pcap-config-mitigate-multilib-conflict.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch + /usr/bin/git apply --index --reject - Checking patch pcap-linux.c... Hunk #1 succeeded at 2495 (offset -702 lines). Applied patch pcap-linux.c cleanly. + /usr/bin/git commit -q -m 0003-pcap-linux-apparently-ctc-interfaces-on-s390-has-eth.patch --author 'rpm-build ' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XBYsTx + 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 libpcap-1.10.4 + export '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 -fno-strict-aliasing' + 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 -fno-strict-aliasing' + '[' '-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 --- ./configure.backup 2023-04-08 00:15:01.000000000 +0800 +++ ./configure 2024-07-26 18:43:07.917981714 +0800 @@ -2315,7 +2315,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + '[' 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.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking target system type... loongarch64-opencloudos-linux-gnu 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 for gcc option to accept ISO C99... none needed checking how to run the C preprocessor... gcc -E 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 size of void *... 8 checking whether the compiler supports the -fvisibility=hidden option... yes checking for inline... inline checking for __atomic_load_n... yes checking for __atomic_store_n... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking sys/ioccom.h usability... no checking sys/ioccom.h presence... no checking for sys/ioccom.h... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking for ANSI ioctl definitions... yes checking for strerror... yes checking for strerror_r... yes checking whether strerror_r is GNU-style... yes checking for vsyslog... yes checking for vsnprintf... yes checking for snprintf... yes checking for vasprintf... yes checking for asprintf... yes checking for strlcat... yes checking for strlcpy... yes checking for strtok_r... yes checking for ffs... yes checking whether ffs is declared... yes checking for getaddrinfo... yes checking for library containing putmsg... no checking whether getnetbyname_r is declared... yes checking for the Linux getnetbyname_r()... yes checking whether getprotobyname_r is declared... yes checking for the Linux getprotobyname_r()... yes checking for ether_hostton... yes checking whether ether_hostton is declared... no checking whether ether_hostton is declared... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create... yes checking if --disable-protochain option is specified... enabled checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking net/pfilt.h usability... no checking net/pfilt.h presence... no checking for net/pfilt.h... no checking net/enet.h usability... no checking net/enet.h presence... no checking for net/enet.h... no checking net/nit.h usability... no checking net/nit.h presence... no checking for net/nit.h... no checking sys/net/nit.h usability... no checking sys/net/nit.h presence... no checking for sys/net/nit.h... no checking linux/socket.h usability... yes checking linux/socket.h presence... yes checking for linux/socket.h... yes checking net/raw.h usability... no checking net/raw.h presence... no checking for net/raw.h... no checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking config/HaikuConfig.h usability... no checking config/HaikuConfig.h presence... no checking for config/HaikuConfig.h... no checking packet capture type... linux checking for loongarch64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.17.0... yes checking for brew... no checking for linux/wireless.h... yes checking for libnl-genl-3.0 with pkg-config... not found checking for nl_socket_alloc in -lnl-3... no checking for struct tpacket_auxdata.tp_vlan_tci... yes checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking linux/net_tstamp.h usability... yes checking linux/net_tstamp.h presence... yes checking for linux/net_tstamp.h... yes checking for socklen_t... yes checking dagapi.h usability... no checking dagapi.h presence... no checking for dagapi.h... no checking whether we have Septel API headers... no checking whether we have Myricom Sniffer API... no checking whether TurboCap is supported... no checking whether to enable remote packet capture... no checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for capable lex... yes checking for bison... bison checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking whether ln -s works... yes checking for struct sockaddr.sa_len... no checking for struct sockaddr_storage... yes checking for dl_hp_ppa_info_t.dl_module_id_1... no checking for Linux usbmon USB sniffing support... yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking linux/usbdevice_fs.h usability... yes checking linux/usbdevice_fs.h presence... yes checking for linux/usbdevice_fs.h... yes checking for struct usbdevfs_ctrltransfer.bRequestType... yes checking whether we can compile the netfilter support... yes checking whether we can compile the netmap support... no checking for libdpdk with pkg-config... not found checking bluetooth/bluetooth.h usability... configure: WARNING: We couldn't find DPDK with pkg-config. If you want DPDK support, make sure that pkg-config is installed, that DPDK 18.02.2 or later is installed, and that DPDK provides a .pc file. yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes configure: Bluetooth sniffing is supported checking for struct sockaddr_hci.hci_channel... yes checking if HCI_CHANNEL_MONITOR is defined... yes checking for dbus-1 with pkg-config... not found checking for libibverbs with pkg-config... not found checking for ibv_get_device_list in -libverbs... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating grammar.y config.status: creating pcap-filter.manmisc config.status: creating pcap-linktype.manmisc config.status: creating pcap-tstamp.manmisc config.status: creating pcap-savefile.manfile config.status: creating pcap.3pcap config.status: creating pcap_compile.3pcap config.status: creating pcap_datalink.3pcap config.status: creating pcap_dump_open.3pcap config.status: creating pcap_get_tstamp_precision.3pcap config.status: creating pcap_list_datalinks.3pcap config.status: creating pcap_list_tstamp_types.3pcap config.status: creating pcap_open_dead.3pcap config.status: creating pcap_open_offline.3pcap config.status: creating pcap_set_immediate_mode.3pcap config.status: creating pcap_set_tstamp_precision.3pcap config.status: creating pcap_set_tstamp_type.3pcap config.status: creating rpcapd/Makefile config.status: creating rpcapd/rpcapd.manadmin config.status: creating rpcapd/rpcapd-config.manfile config.status: creating testprogs/Makefile config.status: creating config.h config.status: executing default-1 commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 flex -P pcap_ --header-file=scanner.h --nounput -o scanner.c scanner.l gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./fad-getad.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-bt-monitor-linux.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./fmtutils.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./etherent.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-util.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-usb-linux.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-bt-linux.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./nametoaddr.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./savefile.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-usb-linux-common.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-common.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./bpf_dump.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./bpf_image.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-netfilter-linux.c bison -p pcap_ -o grammar.c -d grammar.y gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./sf-pcapng.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./bpf_filter.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./sf-pcap.c ./config.status --file=pcap-config.tmp:./pcap-config.in config.status: creating pcap-config.tmp mv pcap-config.tmp pcap-config chmod a+x pcap-config ./config.status --file=libpcap.pc.tmp:./libpcap.pc.in config.status: creating libpcap.pc.tmp mv libpcap.pc.tmp libpcap.pc gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap-linux.c ./pcap-linux.c: In function 'pcap_breakloop_linux': ./pcap-linux.c:948:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 948 | (void)write(handlep->poll_breakloop_fd, &value, sizeof(value)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./pcap.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c scanner.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c grammar.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./optimize.c gcc -fvisibility=hidden -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 -fno-strict-aliasing -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS -DHAVE_CONFIG_H -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 -fno-strict-aliasing -c ./gencode.c ar rc libpcap.a pcap-linux.o fad-getad.o pcap-usb-linux.o pcap-netfilter-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap.o gencode.o optimize.o nametoaddr.o etherent.o fmtutils.o pcap-util.o savefile.o sf-pcap.o sf-pcapng.o pcap-common.o pcap-usb-linux-common.o bpf_image.o bpf_filter.o bpf_dump.o scanner.o grammar.o ranlib libpcap.a VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libpcap.so.$MAJOR_VER \ -o libpcap.so.$VER pcap-linux.o fad-getad.o pcap-usb-linux.o pcap-netfilter-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap.o gencode.o optimize.o nametoaddr.o etherent.o fmtutils.o pcap-util.o savefile.o sf-pcap.o sf-pcapng.o pcap-common.o pcap-usb-linux-common.o bpf_image.o bpf_filter.o bpf_dump.o scanner.o grammar.o + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CIWYhm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 + cd libpcap-1.10.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -Wl,-soname,libpcap.so.$MAJOR_VER \ -o libpcap.so.$VER pcap-linux.o fad-getad.o pcap-usb-linux.o pcap-netfilter-linux.o pcap-bt-linux.o pcap-bt-monitor-linux.o pcap.o gencode.o optimize.o nametoaddr.o etherent.o fmtutils.o pcap-util.o savefile.o sf-pcap.o sf-pcapng.o pcap-common.o pcap-usb-linux-common.o bpf_image.o bpf_filter.o bpf_dump.o scanner.o grammar.o [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64) VER=`cat ./VERSION`; \ MAJOR_VER=`sed 's/\([0-9][0-9]*\)\..*/\1/' ./VERSION`; \ /usr/bin/install -p libpcap.so.$VER /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.so.$VER; \ ln -sf libpcap.so.$VER /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.so.$MAJOR_VER; \ ln -sf libpcap.so.$MAJOR_VER /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.so # # Most platforms have separate suffixes for shared and # archive libraries, so we install both. # [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64) /usr/bin/install -p -m 644 libpcap.a /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.a ranlib /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.a [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include/pcap ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include/pcap; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include/pcap) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man1 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man1; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man1) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man5 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man5; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man5) [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man7 ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man7; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man7) for i in pcap.h pcap-bpf.h pcap-namedb.h pcap/bluetooth.h pcap/bpf.h pcap/can_socketcan.h pcap/compiler-tests.h pcap/dlt.h pcap/funcattrs.h pcap/ipnet.h pcap/namedb.h pcap/nflog.h pcap/pcap-inttypes.h pcap/pcap.h pcap/sll.h pcap/socket.h pcap/usb.h pcap/vlan.h; do \ /usr/bin/install -p -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/include/$i; done [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/bin ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/bin; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/bin) /usr/bin/install -p pcap-config /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/bin/pcap-config [ -d /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/pkgconfig ] || \ (mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/pkgconfig; chmod 755 /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/pkgconfig) /usr/bin/install -p -m 644 libpcap.pc /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/pkgconfig/libpcap.pc for i in pcap-config.1; do \ /usr/bin/install -p -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man1/$i; done for i in pcap_activate.3pcap pcap_breakloop.3pcap pcap_can_set_rfmon.3pcap pcap_close.3pcap pcap_create.3pcap pcap_datalink_name_to_val.3pcap pcap_datalink_val_to_name.3pcap pcap_dump.3pcap pcap_dump_close.3pcap pcap_dump_file.3pcap pcap_dump_flush.3pcap pcap_dump_ftell.3pcap pcap_file.3pcap pcap_fileno.3pcap pcap_findalldevs.3pcap pcap_freecode.3pcap pcap_get_required_select_timeout.3pcap pcap_get_selectable_fd.3pcap pcap_geterr.3pcap pcap_init.3pcap pcap_inject.3pcap pcap_is_swapped.3pcap pcap_lib_version.3pcap pcap_lookupdev.3pcap pcap_lookupnet.3pcap pcap_loop.3pcap pcap_major_version.3pcap pcap_next_ex.3pcap pcap_offline_filter.3pcap pcap_open_live.3pcap pcap_set_buffer_size.3pcap pcap_set_datalink.3pcap pcap_set_promisc.3pcap pcap_set_protocol_linux.3pcap pcap_set_rfmon.3pcap pcap_set_snaplen.3pcap pcap_set_timeout.3pcap pcap_setdirection.3pcap pcap_setfilter.3pcap pcap_setnonblock.3pcap pcap_snapshot.3pcap pcap_stats.3pcap pcap_statustostr.3pcap pcap_strerror.3pcap pcap_tstamp_type_name_to_val.3pcap pcap_tstamp_type_val_to_name.3pcap; do \ /usr/bin/install -p -m 644 ./$i \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3/$i; done for i in pcap.3pcap pcap_compile.3pcap pcap_datalink.3pcap pcap_dump_open.3pcap pcap_get_tstamp_precision.3pcap pcap_list_datalinks.3pcap pcap_list_tstamp_types.3pcap pcap_open_dead.3pcap pcap_open_offline.3pcap pcap_set_immediate_mode.3pcap pcap_set_tstamp_precision.3pcap pcap_set_tstamp_type.3pcap; do \ /usr/bin/install -p -m 644 $i \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3/$i; done (cd /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man3 && \ rm -f pcap_datalink_val_to_description.3pcap && \ ln -s pcap_datalink_val_to_name.3pcap \ pcap_datalink_val_to_description.3pcap && \ rm -f pcap_datalink_val_to_description_or_dlt.3pcap && \ ln -s pcap_datalink_val_to_name.3pcap \ pcap_datalink_val_to_description_or_dlt.3pcap && \ rm -f pcap_dump_fopen.3pcap && \ ln -s pcap_dump_open.3pcap pcap_dump_fopen.3pcap && \ rm -f pcap_freealldevs.3pcap && \ ln -s pcap_findalldevs.3pcap pcap_freealldevs.3pcap && \ rm -f pcap_perror.3pcap && \ ln -s pcap_geterr.3pcap pcap_perror.3pcap && \ rm -f pcap_sendpacket.3pcap && \ ln -s pcap_inject.3pcap pcap_sendpacket.3pcap && \ rm -f pcap_free_datalinks.3pcap && \ ln -s pcap_list_datalinks.3pcap pcap_free_datalinks.3pcap && \ rm -f pcap_free_tstamp_types.3pcap && \ ln -s pcap_list_tstamp_types.3pcap pcap_free_tstamp_types.3pcap && \ rm -f pcap_dispatch.3pcap && \ ln -s pcap_loop.3pcap pcap_dispatch.3pcap && \ rm -f pcap_minor_version.3pcap && \ ln -s pcap_major_version.3pcap pcap_minor_version.3pcap && \ rm -f pcap_next.3pcap && \ ln -s pcap_next_ex.3pcap pcap_next.3pcap && \ rm -f pcap_open_dead_with_tstamp_precision.3pcap && \ ln -s pcap_open_dead.3pcap \ pcap_open_dead_with_tstamp_precision.3pcap && \ rm -f pcap_open_offline_with_tstamp_precision.3pcap && \ ln -s pcap_open_offline.3pcap pcap_open_offline_with_tstamp_precision.3pcap && \ rm -f pcap_fopen_offline.3pcap && \ ln -s pcap_open_offline.3pcap pcap_fopen_offline.3pcap && \ rm -f pcap_fopen_offline_with_tstamp_precision.3pcap && \ ln -s pcap_open_offline.3pcap pcap_fopen_offline_with_tstamp_precision.3pcap && \ rm -f pcap_tstamp_type_val_to_description.3pcap && \ ln -s pcap_tstamp_type_val_to_name.3pcap pcap_tstamp_type_val_to_description.3pcap && \ rm -f pcap_getnonblock.3pcap && \ ln -s pcap_setnonblock.3pcap pcap_getnonblock.3pcap) for i in pcap-savefile.manfile.in; do \ /usr/bin/install -p -m 644 `echo $i | sed 's/.manfile.in/.manfile/'` \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man5/`echo $i | sed 's/.manfile.in/.5/'`; done for i in pcap-filter.manmisc.in pcap-linktype.manmisc.in pcap-tstamp.manmisc.in; do \ /usr/bin/install -p -m 644 `echo $i | sed 's/.manmisc.in/.manmisc/'` \ /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/man/man7/`echo $i | sed 's/.manmisc.in/.7/'`; done + rm -f /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.a + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.10.4-2.ocs23 --unique-debug-suffix -1.10.4-2.ocs23.loongarch64 --unique-debug-src-base libpcap-1.10.4-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/libpcap-1.10.4 extracting debug info from /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/lib64/libpcap.so.1.10.4 2854 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 mangling shebang in /usr/bin/pcap-config from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: libpcap-1.10.4-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Q2vfSf + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.10.4 + DOCDIR=/builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/doc/libpcap + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/doc/libpcap + cp -pr README.md /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/doc/libpcap + cp -pr CHANGES /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/doc/libpcap + cp -pr CREDITS /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/doc/libpcap + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jxKLk3 + umask 022 + cd /builddir/build/BUILD + cd libpcap-1.10.4 + LICENSEDIR=/builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/licenses/libpcap + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/licenses/libpcap + cp -pr LICENSE /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64/usr/share/licenses/libpcap + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpcap = 1.10.4-2.ocs23 libpcap(loongarch-64) = 1.10.4-2.ocs23 libpcap.so.1()(64bit) 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-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) rtld(GNU_HASH) Processing files: libpcap-devel-1.10.4-2.ocs23.loongarch64 Provides: libpcap-devel = 1.10.4-2.ocs23 libpcap-devel(loongarch-64) = 1.10.4-2.ocs23 pkgconfig(libpcap) = 1.10.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config /usr/bin/sh libpcap.so.1()(64bit) Processing files: libpcap-debugsource-1.10.4-2.ocs23.loongarch64 Provides: libpcap-debugsource = 1.10.4-2.ocs23 libpcap-debugsource(loongarch-64) = 1.10.4-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpcap-debuginfo-1.10.4-2.ocs23.loongarch64 Provides: debuginfo(build-id) = a4162840bf16f4fd38f8969ad02d714cc7787972 libpcap-debuginfo = 1.10.4-2.ocs23 libpcap-debuginfo(loongarch-64) = 1.10.4-2.ocs23 libpcap.so.1.10.4-1.10.4-2.ocs23.loongarch64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpcap-debugsource(loongarch-64) = 1.10.4-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpcap-1.10.4-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/libpcap-1.10.4-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpcap-devel-1.10.4-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpcap-debuginfo-1.10.4-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/libpcap-debugsource-1.10.4-2.ocs23.loongarch64.rpm Child return code was: 0