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/samba.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-347352-69701/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/samba.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/samba-4.17.5-5.0.1.an8.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/samba.spec'], chrootPath='/var/lib/mock/dist-an8.8-build-347352-69701/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/samba.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.ktYWAq + umask 022 + cd /builddir/build/BUILD + xzcat /builddir/build/SOURCES/samba-4.17.5.tar.xz + gpgv2 --quiet --keyring /builddir/build/SOURCES/samba-pubkey_AA99442FB680B620.gpg /builddir/build/SOURCES/samba-4.17.5.tar.asc - gpgv: Signature made Fri Jan 27 01:46:57 2023 CST gpgv: using RSA key 81F5E2832BD2545A1897B713AA99442FB680B620 gpgv: Good signature from "Samba Distribution Verification Key " + cd /builddir/build/BUILD + rm -rf samba-4.17.5 + /usr/bin/xz -dc /builddir/build/SOURCES/samba-4.17.5.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd samba-4.17.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/1000-CVE-2023-3347-smbd-pass-lp_ctx-to-smb-1-2-_srv_init_.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1001-CVE-2023-3347-smbd-remove-comment-in-smbd_smb2_reque.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1002-CVE-2023-3347-smbd-inline-smb2_srv_init_signing-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1003-CVE-2023-3347-smbd-fix-server-signing-mandatory.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1004-CVE-2023-3961.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1005-CVE-2023-4091-smbtorture-test-overwrite-dispositions.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1006-CVE-2023-4091-smbd-use-open_access_mask-for-access-c.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1007-CVE-2023-42669-s4-rpc_server-Disable-rpcecho-server-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/1008-CVE-2023-42669-s3-rpc_server-Disable-rpcecho-for-con.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf third_party/aesni-intel third_party/heimdal + rm -f lib/crypto/aes.c lib/crypto/aes_cmac_128.c lib/crypto/aes_cmac_128_test.c lib/crypto/rijndael-alg-fst.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.chDw4H + umask 022 + cd /builddir/build/BUILD + cd samba-4.17.5 ++ echo -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ++ sed -e s/-Wl,-z,defs//g + export 'python_LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + python_LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=bfd' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=bfd' + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fuse-ld=bfd' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-Anolis-linux --host=loongarch64-Anolis-linux --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 --enable-fhs --with-piddir=/run --with-sockets-dir=/run/samba --with-modulesdir=/usr/lib64/samba --with-pammodulesdir=/usr/lib64/security --with-lockdir=/var/lib/samba/lock --with-statedir=/var/lib/samba --with-cachedir=/var/lib/samba --disable-rpath-install --with-shared-modules=idmap_ad,idmap_rid,idmap_ldap,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_wbc,auth_unix,auth_server,auth_samba4,vfs_dfs_samba4 '--bundled-libraries=!popt,!talloc,!pytalloc,!pytalloc-util,!tevent,!pytevent,!tdb,!pytdb,!ldb,!pyldb,!pyldb-util' --with-pam --with-pie --with-relro --without-fam --with-system-mitkrb5 --with-experimental-mit-ad-dc --without-ad-dc --disable-glusterfs --with-cluster-support --with-profiling-data --with-systemd --with-quotas --systemd-install-services --with-systemddir=/usr/lib/systemd/system --systemd-smb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-nmb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-winbind-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-ctdb-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba --systemd-samba-extra=Environment=KRB5CCNAME=FILE:/run/samba/krb5cc_samba Setting top to : /builddir/build/BUILD/samba-4.17.5 Setting out to : /builddir/build/BUILD/samba-4.17.5/bin Checking for 'gcc' (C compiler) : /usr/bin/gcc Checking for program 'git' : /usr/bin/git Checking for c flags '-MMD' : yes Checking for program 'gdb' : not found Checking for header sys/utsname.h : yes Checking uname sysname type : Linux Checking uname machine type : loongarch64 Checking uname release type : 4.19.190-6.5.an8.loongarch64 Checking uname version type : #1 SMP Thu Jan 5 19:50:44 CST 2023 Checking for header stdio.h : yes Checking simple C program : ok Checking compiler accepts ['-Werror'] : yes Checking linker accepts ['-Wl,-rpath,.'] : yes Checking for rpath library support : yes Checking for -Wl,--version-script support : yes Checking compiler accepts ['-fvisibility=hidden'] : yes Checking for HAVE_VISIBILITY_ATTR : ok Checking for library constructor support : ok Checking for library destructor support : ok Checking for __attribute__ : ok Checking compiler accepts ['-fPIC'] : yes Checking for inline : inline Checking for program 'pkg-config' : /usr/bin/pkg-config Checking for pkg-config version >= '0.0.0' : yes Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1'] : yes Checking compiler accepts [''] : yes Checking for header sys/types.h : yes Checking for header sys/stat.h : yes Checking for header stdlib.h : yes Checking for header stddef.h : yes Checking for header memory.h : yes Checking for header string.h : yes Checking for header strings.h : yes Checking for header inttypes.h : yes Checking for header stdint.h : yes Checking for header unistd.h : yes Checking for header minix/config.h : no Checking for header ctype.h : yes Checking for header standards.h : no Checking for header stdbool.h : yes Checking for header stdarg.h : yes Checking for header vararg.h : no Checking for header limits.h : yes Checking for header assert.h : yes Checking getconf LFS_CFLAGS : not found Checking getconf large file support flags work : ok Checking for large file support without additional flags : ok Checking for header sys/time.h : yes Checking for header time.h : yes Checking for header endian.h : yes Checking for header sys/endian.h : no Checking for HAVE_LITTLE_ENDIAN : ok Checking for HAVE_BIG_ENDIAN : not found Checking for header signal.h : yes Checking if signal handlers return int : not found Checking for variable __FUNCTION__ : ok Checking for va_copy : ok Checking for HAVE__VA_ARGS__MACRO : ok Checking for header linux/types.h : yes Checking for header crypt.h : yes Checking for header locale.h : yes Checking for header acl/libacl.h : yes Checking for header compat.h : no Checking for header attr/xattr.h : yes Checking for header dustat.h : no Checking for header fcntl.h : yes Checking for header fnmatch.h : yes Checking for header glob.h : yes Checking for header history.h : no Checking for header krb5.h : yes Checking for header langinfo.h : yes Checking for header ndir.h : no Checking for header pwd.h : yes Checking for header shadow.h : yes Checking for header sys/acl.h : yes Checking for header sys/attributes.h : no Checking for header attr/attributes.h : yes Checking for header sys/capability.h : yes Checking for header sys/dir.h : yes Checking for header sys/epoll.h : yes Checking for header port.h : no Checking for header sys/fcntl.h : yes Checking for header sys/filio.h : no Checking for header sys/filsys.h : no Checking for header sys/fs/s5param.h : no Checking for header sys/id.h : no Checking for header sys/ioctl.h : yes Checking for header sys/ipc.h : yes Checking for header sys/mman.h : yes Checking for header sys/mode.h : no Checking for header sys/ndir.h : no Checking for header sys/priv.h : no Checking for header sys/resource.h : yes Checking for header sys/security.h : no Checking for header sys/shm.h : yes Checking for header sys/statfs.h : yes Checking for header sys/statvfs.h : yes Checking for header sys/termio.h : no Checking for header sys/vfs.h : yes Checking for header sys/xattr.h : yes Checking for header termio.h : yes Checking for header termios.h : yes Checking for header sys/file.h : yes Checking for header sys/ucontext.h : yes Checking for header sys/wait.h : yes Checking for declaration of malloc : ok Checking for header grp.h : yes Checking for header sys/select.h : yes Checking for header setjmp.h : yes Checking for header utime.h : yes Checking for header sys/syslog.h : yes Checking for header syslog.h : yes Checking for header sys/mount.h : yes Checking for header mntent.h : yes Checking for header stropts.h : no Checking for header unix.h : no Checking for header sys/param.h : yes Checking for header sys/socket.h : yes Checking for header netinet/in.h : yes Checking for header netdb.h : yes Checking for header arpa/inet.h : yes Checking for header netinet/in_systm.h : yes Checking for header netinet/ip.h : yes Checking for header netinet/tcp.h : yes Checking for header netinet/in_ip.h : no Checking for header sys/sockio.h : no Checking for header sys/un.h : yes Checking for header sys/uio.h : yes Checking for header ifaddrs.h : yes Checking for header direct.h : no Checking for header dirent.h : yes Checking for header windows.h : no Checking for header winsock2.h : no Checking for header ws2tcpip.h : no Checking for header errno.h : yes Checking for header getopt.h : yes Checking for header iconv.h : yes Checking for header nss.h : yes Checking for header sasl/sasl.h : yes Checking for header linux/openat2.h : no Checking for inotify_init : ok Checking for header security/pam_appl.h : yes Checking for header zlib.h : yes Checking for header asm/unistd.h : yes Checking for header sys/unistd.h : yes Checking for header alloca.h : yes Checking for header float.h : yes Checking for header rpc/rpc.h : no Checking for header rpc/nettype.h : no Checking for tirpc rpc headers in default system path : not found Checking for libtirpc headers : yes