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/acpid.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-268838-25836/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '89cfa327deb946b390c2c013d15dddc0', '-D', '/home/lib/mock/dist-ocs23-base-build-268838-25836/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/acpid.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/acpid-2.0.34-3.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/acpid.spec'], chrootPath='/home/lib/mock/dist-ocs23-base-build-268838-25836/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '40304fa4374e48ac8bcc88ef2dfce28e', '-D', '/home/lib/mock/dist-ocs23-base-build-268838-25836/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.l1imnqm2:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/acpid.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Iql77V + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf acpid-2.0.34 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/acpid-2.0.34.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd acpid-2.0.34 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/acpid-kacpimon-dynamic-connections.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5eZa3j + 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 acpid-2.0.34 + '[' '-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 2022-09-16 09:24:28.025490478 +0800 +++ ./configure 2024-09-04 21:29:03.654059544 +0800 @@ -1697,7 +1697,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 ./build-aux/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build-aux/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build-aux/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './build-aux/config.guess' + '[' 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 for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gawk... (cached) gawk 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make sets $(MAKE)... (cached) yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking for working strnlen... yes checking for fchown... yes checking for chmod... yes checking for fstat... yes checking for fstatat... yes checking for openat... yes checking for asprintf... yes checking for malloc... yes checking for realloc... yes checking for alarm... yes checking for dup2... yes checking for isfdtype... yes checking for memset... yes checking for regcomp... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating kacpimon/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 '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 -pie -Wl,-z,relro,-z,now' /usr/bin/make all-recursive Making all in kacpimon make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o connection_list.o connection_list.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o kacpimon.o kacpimon.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o acpi_ids.o acpi_ids.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o input_layer.o input_layer.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o netlink.o netlink.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o libnetlink.o libnetlink.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o kacpimon acpi_ids.o kacpimon.o connection_list.o input_layer.o libnetlink.o netlink.o make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o log.o log.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o proc.o proc.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o inotify_handler.o inotify_handler.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o ud_socket.o ud_socket.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o sock.o sock.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o acpi_ids.o acpi_ids.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o netlink.o netlink.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o connection_list.o connection_list.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o acpi_listen.o acpi_listen.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o acpid.o acpid.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o input_layer.o input_layer.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o acpi_listen acpi_listen.o log.o ud_socket.o make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o event.o event.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -DHAVE_CONFIG_H -I. -include ./config.h -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -c -o libnetlink.o libnetlink.c make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2 -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 -pie -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o acpid acpid.o acpi_ids.o connection_list.o event.o input_layer.o inotify_handler.o libnetlink.o log.o netlink.o proc.o sock.o ud_socket.o make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CXln8B + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 + cd acpid-2.0.34 + rm -rf /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' docdir=/usr/share/doc/acpid Making install in kacpimon make[1]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin' /usr/bin/install -p kacpimon '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/man/man8' /usr/bin/install -p -m 644 kacpimon.8 '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[1]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34/kacpimon' make[1]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' make[2]: Entering directory '/builddir/build/BUILD/acpid-2.0.34' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/bin' /usr/bin/install -p acpi_listen '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin' /usr/bin/install -p acpid '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/doc/acpid' /usr/bin/install -p -m 644 COPYING Changelog README TESTPLAN TODO '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/doc/acpid' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/man/man8' /usr/bin/install -p -m 644 acpid.8 acpi_listen.8 '/builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/share/man/man8' make[2]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' make[1]: Leaving directory '/builddir/build/BUILD/acpid-2.0.34' + install -d /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/acpi/events /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/acpi/actions + install -d /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/lib/systemd/system + install -p -m644 /builddir/build/SOURCES/acpid.power.conf /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/acpi/events/powerconf + touch /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/acpi/events/videoconf + install -p -m755 /builddir/build/SOURCES/acpid.power.sh /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/acpi/actions/power.sh + install -p -m644 /builddir/build/SOURCES/acpid.service /builddir/build/SOURCES/acpid.socket /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/lib/systemd/system + install -Dp -m644 /builddir/build/SOURCES/acpid.sysconfig /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/etc/sysconfig/acpid + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.0.34-3.ocs23 --unique-debug-suffix -2.0.34-3.ocs23.loongarch64 --unique-debug-src-base acpid-2.0.34-3.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/acpid-2.0.34 extracting debug info from /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin/acpid extracting debug info from /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/bin/acpi_listen extracting debug info from /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64/usr/sbin/kacpimon 338 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 /etc/acpi/actions/power.sh 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: acpid-2.0.34-3.ocs23.loongarch64 Provides: acpid = 2.0.34-3.ocs23 acpid(loongarch-64) = 2.0.34-3.ocs23 config(acpid) = 2.0.34-3.ocs23 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/sh 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: acpid-debugsource-2.0.34-3.ocs23.loongarch64 Provides: acpid-debugsource = 2.0.34-3.ocs23 acpid-debugsource(loongarch-64) = 2.0.34-3.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: acpid-debuginfo-2.0.34-3.ocs23.loongarch64 Provides: acpid-debuginfo = 2.0.34-3.ocs23 acpid-debuginfo(loongarch-64) = 2.0.34-3.ocs23 debuginfo(build-id) = 6e460f3c9f9240503fe69cbfadcc67bfe5f6f079 debuginfo(build-id) = 8e5c1280673c9292adcba839ed6641725411c3c0 debuginfo(build-id) = b0cae8f5c73b29aba691f87b78467bbb6e5c7e28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: acpid-debugsource(loongarch-64) = 2.0.34-3.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/acpid-2.0.34-3.ocs23.loongarch64 Wrote: /builddir/build/RPMS/acpid-debugsource-2.0.34-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/acpid-2.0.34-3.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/acpid-debuginfo-2.0.34-3.ocs23.loongarch64.rpm Child return code was: 0