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 aarch64 --nodeps /builddir/build/SPECS/deepin-pw-check.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-350259-70501/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-pw-check.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/deepin-pw-check-5.1.17-2.3.an23.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-pw-check.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-350259-70501/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-pw-check.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AoPhMr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf deepin-pw-check-5.1.17 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/deepin-pw-check-5.1.17.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd deepin-pw-check-5.1.17 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1000 (0001-fix-for-UonioTech.patch):' Patch #1000 (0001-fix-for-UonioTech.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile Hunk #2 succeeded at 56 (offset 2 lines). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Q4oGXv + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -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 deepin-pw-check-5.1.17 + export GO111MODULE=auto + GO111MODULE=auto ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + BUILDID=0xb0a068b86e8cb3cee0e2fdb082ce1601e119ae6d + export GOPATH=/usr/share/gocode/: + GOPATH=/usr/share/gocode/: + /usr/bin/make -O -j80 V=1 VERBOSE=1 GO_BUILD_FLAGS=-trimpath 'GOBUILD=go build -compiler gc -ldflags "-B 0xb0a068b86e8cb3cee0e2fdb082ce1601e119ae6d"' gcc lib/debug.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/debug.o gcc lib/bigcrypt.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/bigcrypt.o gcc lib/passwd_compare.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/passwd_compare.o gcc lib/word_check.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/word_check.o gcc lib/md5_crypt.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/md5_crypt.o deepin-policy-ts-convert ts2policy misc/polkit-action/com.deepin.daemon.passwdconf.policy.in misc/ts/com.deepin.daemon.passwdconf.policy misc/polkit-action/com.deepin.daemon.passwdconf.policy policyFile: misc/polkit-action/com.deepin.daemon.passwdconf.policy.in tsDir: misc/ts/com.deepin.daemon.passwdconf.policy outputPolicyFile: misc/polkit-action/com.deepin.daemon.passwdconf.policy gcc lib/md5.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/md5.o gcc tool/*.c -liniparser -W -Wall -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -o out/pwd-conf-update gcc lib/deepin_pw_check.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/deepin_pw_check.o lib/deepin_pw_check.c: In function 'get_default_options': lib/deepin_pw_check.c:149:48: warning: unused parameter 'level' [-Wunused-parameter] 149 | static struct Options *get_default_options(int level, const char *dict_path, const char *conf_file) { | ~~~~^~~~~ lib/deepin_pw_check.c: In function 'is_type_valid': lib/deepin_pw_check.c:312:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 312 | for (int j = 0; j < strlen(p); j++) { | ^ lib/deepin_pw_check.c: In function 'err_to_string_by_conf': lib/deepin_pw_check.c:744:143: warning: unknown conversion type character '^' in format [-Wformat=] 744 | snprintf(out_buff, BUFF_SIZE, gettext("Password can only contain English letters (case-sensitive), numbers or special symbols (~`!@#$%^&*()-_+=|\\{}[]:\"'<>,.?/)"), tmp_buff); | ^ lib/deepin_pw_check.c:744:47: warning: too many arguments for format [-Wformat-extra-args] 744 | snprintf(out_buff, BUFF_SIZE, gettext("Password can only contain English letters (case-sensitive), numbers or special symbols (~`!@#$%^&*()-_+=|\\{}[]:\"'<>,.?/)"), tmp_buff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # cd lib ;ar x /usr/lib//libiniparser.a # cd lib ;ar x /usr/lib//libcrack.a # cd lib ;ar x /usr/lib//libcrypt.a ar rcs out/libdeepin_pw_check.a lib/*.o gcc lib/*.c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -shared -DIN_CRACKLIB -W -Wall -Wl,-soname,libdeepin_pw_check.so.1 -o out/libdeepin_pw_check.so.1.1 -lcrypt -lcrack -liniparser cd out; ln -s libdeepin_pw_check.so.1.1 libdeepin_pw_check.so lib/deepin_pw_check.c: In function 'get_default_options': lib/deepin_pw_check.c:149:48: warning: unused parameter 'level' [-Wunused-parameter] 149 | static struct Options *get_default_options(int level, const char *dict_path, const char *conf_file) { | ~~~~^~~~~ lib/deepin_pw_check.c: In function 'is_type_valid': lib/deepin_pw_check.c:312:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 312 | for (int j = 0; j < strlen(p); j++) { | ^ lib/deepin_pw_check.c: In function 'err_to_string_by_conf': lib/deepin_pw_check.c:744:143: warning: unknown conversion type character '^' in format [-Wformat=] 744 | snprintf(out_buff, BUFF_SIZE, gettext("Password can only contain English letters (case-sensitive), numbers or special symbols (~`!@#$%^&*()-_+=|\\{}[]:\"'<>,.?/)"), tmp_buff); | ^ lib/deepin_pw_check.c:744:47: warning: too many arguments for format [-Wformat-extra-args] 744 | snprintf(out_buff, BUFF_SIZE, gettext("Password can only contain English letters (case-sensitive), numbers or special symbols (~`!@#$%^&*()-_+=|\\{}[]:\"'<>,.?/)"), tmp_buff); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc pam/*.c -fPIC -W -Wall -shared -lpam -L./out/ -ldeepin_pw_check -o out/pam_deepin_pw_check.so out/libdeepin_pw_check.so.1.1 pam/pam.c: In function 'parse_argv': pam/pam.c:42:14: warning: unused variable 'i' [-Wunused-variable] 42 | for (int i = 0; argc-- > 0; ++argv) { | ^ pam/pam.c: In function 'pam_sm_chauthtok': pam/pam.c:97:15: warning: unused variable 'item' [-Wunused-variable] 97 | void *item = NULL; | ^~~~ pam/pam.c:73:17: warning: unused variable 'dict_path' [-Wunused-variable] 73 | const char *dict_path = NULL; | ^~~~~~~~~