==> Synchronizing chroot copy [/home/leming/armv7/root] -> [leming]...done
==> Making package: deepin-pw-check 6.0.2-1 (Sun May 12 10:20:12 2024)
==> Retrieving sources...
  -> Found deepin-pw-check-6.0.2.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    deepin-pw-check-6.0.2.tar.gz ... Passed
==> Making package: deepin-pw-check 6.0.2-1 (Sun May 12 10:20:31 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
:: There are 2 providers available for dbus-units:
:: Repository core
   1) dbus-broker-units  2) dbus-daemon-units

Enter a number (default=1): 
looking for conflicting packages...
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: mesa will be installed before its libglvnd dependency

Packages (91) adobe-source-code-pro-fonts-2.042u+1.062i+1.026vf-1
              adwaita-cursors-46.0-1  adwaita-icon-theme-46.0-1
              argon2-20190702-5  at-spi2-core-2.52.0-1
              avahi-1:0.8+r194+g3f79789-2  cairo-1.18.0-2
              cantarell-fonts-1:0.303.1-1  cryptsetup-2.7.2-1  dbus-1.14.10-2
              dbus-broker-36-2  dbus-broker-units-36-2  dconf-0.40.0-2
              default-cursors-2-1  desktop-file-utils-0.27-1
              device-mapper-2.03.23-3  duktape-2.7.0-6  fontconfig-2:2.15.0-2
              freetype2-2.13.2-1  fribidi-1.0.14-1  gdk-pixbuf2-2.42.11-2
              glib-networking-1:2.80.0-1  graphite-1:1.3.14-3
              gsettings-desktop-schemas-46.0-1
              gtk-update-icon-cache-1:4.14.4-1  harfbuzz-8.4.0-2
              hicolor-icon-theme-0.17-3  hwdata-0.382-1  iso-codes-4.16.0-1
              jbigkit-2.1-8  json-glib-1.8.0-1  kbd-2.6.4-1  kmod-32-1
              lcms2-2.16-1  libcloudproviders-0.3.6-1  libcolord-1.4.7-2
              libcups-1:2.4.8-1  libdaemon-0.14-5  libdatrie-0.2.13-4
              libdrm-2.4.120-1  libedit-20230828_3.1-1  libei-1.2.1-1
              libepoxy-1.5.10-2  libevdev-1.13.1-1  libglvnd-1.7.0-1
              libjpeg-turbo-3.0.2-2  libomxil-bellagio-0.9.3-4
              libpciaccess-0.18.1-2  libpng-1.6.43-1  libproxy-0.5.6-1
              librsvg-2:2.58.0-1  libseccomp-2.5.5-3  libsoup3-3.4.4-1
              libstemmer-2.2.0-2  libthai-0.1.29-3  libtiff-4.6.0-5
              libx11-1.8.9-1  libxau-1.0.11-2  libxcb-1.17.0-1
              libxcomposite-0.4.6-1  libxcursor-1.2.2-1  libxdamage-1.1.6-1
              libxdmcp-1.1.5-1  libxext-1.3.6-1  libxfixes-6.0.1-1
              libxft-2.3.8-1  libxi-1.8.1-1  libxinerama-1.1.5-1
              libxkbcommon-1.7.0-2  libxrandr-1.5.4-1  libxrender-0.9.11-1
              libxshmfence-1.3.2-1  libxtst-1.2.4-1  libxxf86vm-1.1.5-1
              llvm-libs-17.0.6-4  lm_sensors-1:3.6.0.r41.g31d1f125-2
              lzo-2.10-5  mesa-1:24.0.6-2  pango-1:1.52.2-1  pixman-0.43.4-1
              shared-mime-info-2.4-1  systemd-255.6-1.1  tracker3-3.7.3-1
              wayland-1.22.0-1  xcb-proto-1.17.0-2  xkeyboard-config-2.41-1
              xorg-xprop-1.2.7-1  xorgproto-2024.1-2  cracklib-2.9.11-1
              gtk3-1:3.24.41-1.1  iniparser-4.2-1

Total Download Size:     0.26 MiB
Total Installed Size:  414.75 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 cracklib-2.9.11-1-armv7h downloading...
 iniparser-4.2-1-armv7h downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing cracklib...
installing hicolor-icon-theme...
installing libjpeg-turbo...
installing libpng...
installing jbigkit...
installing libtiff...
Optional dependencies for libtiff
    freeglut: for using tiffgt
installing shared-mime-info...
installing gdk-pixbuf2...
Optional dependencies for gdk-pixbuf2
    libwmf: Load .wmf and .apm
    libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and
    .raf
    libavif: Load .avif
    libheif: Load .heif, .heic, and .avif
    libjxl: Load .jxl
    librsvg: Load .svg, .svgz, and .svg.gz [pending]
    webp-pixbuf-loader: Load .webp
installing graphite...
Optional dependencies for graphite
    graphite-docs: Documentation
installing harfbuzz...
Optional dependencies for harfbuzz
    harfbuzz-utils: utilities
installing freetype2...
installing fontconfig...
Creating fontconfig configuration...
Rebuilding fontconfig cache...
installing xcb-proto...
installing xorgproto...
installing libxdmcp...
installing libxau...
installing libxcb...
installing libx11...
installing libxext...
installing libxrender...
installing lzo...
installing pixman...
installing cairo...
installing fribidi...
installing libdatrie...
installing libthai...
installing libxft...
installing pango...
installing librsvg...
installing gtk-update-icon-cache...
installing adwaita-cursors...
installing adwaita-icon-theme...
installing dbus...
installing adobe-source-code-pro-fonts...
installing cantarell-fonts...
installing dconf...
installing gsettings-desktop-schemas...
installing libevdev...
installing device-mapper...
installing argon2...
installing cryptsetup...
installing dbus-broker...
installing dbus-broker-units...
installing kbd...
installing kmod...
installing hwdata...
installing libseccomp...
installing systemd...
warning: directory permissions differ on /var/log/journal/
filesystem: 755  package: 2755
Creating group 'sys' with GID 3.
Creating group 'mem' with GID 8.
Creating group 'ftp' with GID 11.
Creating group 'mail' with GID 12.
Creating group 'log' with GID 19.
Creating group 'smmsp' with GID 25.
Creating group 'proc' with GID 26.
Creating group 'games' with GID 50.
Creating group 'lock' with GID 54.
Creating group 'network' with GID 90.
Creating group 'floppy' with GID 94.
Creating group 'scanner' with GID 96.
Creating group 'power' with GID 98.
Creating group 'nobody' with GID 65534.
Creating group 'adm' with GID 999.
Creating group 'wheel' with GID 998.
Creating group 'utmp' with GID 997.
Creating group 'audio' with GID 996.
Creating group 'disk' with GID 995.
Creating group 'input' with GID 994.
Creating group 'kmem' with GID 993.
Creating group 'kvm' with GID 992.
Creating group 'lp' with GID 991.
Creating group 'optical' with GID 990.
Creating group 'render' with GID 989.
Creating group 'sgx' with GID 988.
Creating group 'storage' with GID 987.
Creating group 'tty' with GID 5.
Creating group 'uucp' with GID 986.
Creating group 'video' with GID 985.
Creating group 'users' with GID 984.
Creating group 'distcc' with GID 983.
Creating group 'groups' with GID 982.
Creating group 'systemd-journal' with GID 981.
Creating group 'rfkill' with GID 980.
Creating group 'bin' with GID 1.
Creating user 'bin' (n/a) with UID 1 and GID 1.
Creating group 'daemon' with GID 2.
Creating user 'daemon' (n/a) with UID 2 and GID 2.
Creating user 'mail' (n/a) with UID 8 and GID 12.
Creating user 'ftp' (n/a) with UID 14 and GID 11.
Creating group 'http' with GID 33.
Creating user 'http' (n/a) with UID 33 and GID 33.
Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534.
Creating group 'dbus' with GID 81.
Creating user 'dbus' (System Message Bus) with UID 81 and GID 81.
Creating user 'distcc' (distcc user) with UID 983 and GID 983.
Creating group 'systemd-coredump' with GID 979.
Creating user 'systemd-coredump' (systemd Core Dumper) with UID 979 and GID 979.
Creating group 'systemd-network' with GID 978.
Creating user 'systemd-network' (systemd Network Management) with UID 978 and GID 978.
Creating group 'systemd-oom' with GID 977.
Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 977 and GID 977.
Creating group 'systemd-journal-remote' with GID 976.
Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 976 and GID 976.
Creating group 'systemd-resolve' with GID 975.
Creating user 'systemd-resolve' (systemd Resolver) with UID 975 and GID 975.
Creating group 'systemd-timesync' with GID 974.
Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 974 and GID 974.
Creating group 'tss' with GID 973.
Creating user 'tss' (tss user for tpm2) with UID 973 and GID 973.
Creating group 'uuidd' with GID 68.
Creating user 'uuidd' (n/a) with UID 68 and GID 68.
Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service.
Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target.
Created symlink /etc/systemd/system/sockets.target.wants/systemd-userdbd.socket → /usr/lib/systemd/system/systemd-userdbd.socket.
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
   bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Optional dependencies for systemd
    libmicrohttpd: systemd-journal-gatewayd and systemd-journal-remote
    [installed]
    quota-tools: kernel-level quota management
    systemd-sysvcompat: symlink package to provide sysvinit binaries
    systemd-ukify: combine kernel and initrd into a signed Unified Kernel Image
    polkit: allow administration as unprivileged user
    curl: systemd-journal-upload, machinectl pull-tar and pull-raw [installed]
    gnutls: systemd-journal-gatewayd and systemd-journal-remote [installed]
    qrencode: show QR codes
    iptables: firewall features
    libbpf: support BPF programs
    libpwquality: check password quality
    libfido2: unlocking LUKS2 volumes with FIDO2 token
    libp11-kit: support PKCS#11 [installed]
    tpm2-tss: unlocking LUKS2 volumes with TPM2 [installed]
installing libei...
installing libxfixes...
installing libxi...
installing xkeyboard-config...
installing libxkbcommon...
Optional dependencies for libxkbcommon
    libxkbcommon-x11: xkbcli interactive-x11
    wayland: xkbcli interactive-wayland [pending]
installing libxtst...
installing xorg-xprop...
installing at-spi2-core...
Optional dependencies for at-spi2-core
    dbus-broker: Alternative bus implementation [installed]
installing desktop-file-utils...
installing iso-codes...
installing libcloudproviders...
installing lcms2...
installing libcolord...
installing libdaemon...
installing avahi...
Optional dependencies for avahi
    gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc
    [pending]
    libevent: libevent bindings [installed]
    nss-mdns: NSS support for mDNS
    python-dbus: avahi-bookmarks, avahi-discover
    python-gobject: avahi-bookmarks, avahi-discover
    python-twisted: avahi-bookmarks
    qt5-base: qt5 bindings
installing libcups...
installing libpciaccess...
installing libdrm...
Optional dependencies for libdrm
    cairo: needed for modetest tool [installed]
installing libxshmfence...
installing libxxf86vm...
installing libedit...
installing llvm-libs...
installing lm_sensors...
Optional dependencies for lm_sensors
    rrdtool: for logging with sensord
    perl: for sensor detection and configuration convert [installed]
installing default-cursors...
Optional dependencies for default-cursors
    adwaita-cursors: default cursor theme [installed]
installing wayland...
installing libomxil-bellagio...
installing mesa...
Optional dependencies for mesa
    opengl-man-pages: for the OpenGL API man pages
installing libglvnd...
installing libepoxy...
installing libxcomposite...
installing libxcursor...
installing libxdamage...
installing libxinerama...
installing libxrandr...
installing json-glib...
installing duktape...
installing libproxy...
installing glib-networking...
installing libsoup3...
Optional dependencies for libsoup3
    samba: Windows Domain SSO
installing libstemmer...
installing tracker3...
Optional dependencies for tracker3
    libsoup: Alternative remoting backend
installing gtk3...
Optional dependencies for gtk3
    evince: Default print preview command
installing iniparser...
:: Running post-transaction hooks...
( 1/19) Creating system user accounts...
Creating group 'avahi' with GID 972.
Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 972 and GID 972.
( 2/19) Updating journal message catalog...
( 3/19) Reloading system manager configuration...
  Skipped: Current root is not booted.
( 4/19) Reloading user manager configuration...
  Skipped: Current root is not booted.
( 5/19) Updating udev hardware database...
( 6/19) Applying kernel sysctl settings...
  Skipped: Current root is not booted.
( 7/19) Creating temporary files...
error: command failed to execute correctly
( 8/19) Reloading device manager configuration...
  Skipped: Device manager is not running.
( 9/19) Arming ConditionNeedsUpdate...
(10/19) Updating the MIME type database...
(11/19) Updating fontconfig configuration...
(12/19) Reloading system bus configuration...
  Skipped: Current root is not booted.
(13/19) Updating fontconfig cache...
(14/19) Probing GDK-Pixbuf loader modules...
(15/19) Updating GIO module cache...
(16/19) Compiling GSettings XML schema files...
(17/19) Probing GTK3 input method modules...
(18/19) Updating icon theme caches...
(19/19) Updating the desktop file MIME type cache...
[?25h==> Checking buildtime dependencies...
==> Installing missing dependencies...
[?25lresolving dependencies...
looking for conflicting packages...

Packages (18) perl-alien-build-2.80-2  perl-alien-libxml2-0.19-2
              perl-capture-tiny-0.48-7  perl-config-tiny-2.30-1
              perl-error-0.17029-5  perl-ffi-checklib-0.31-3
              perl-file-chdir-0.1011-5  perl-file-which-1.27-3
              perl-mailtools-2.21-7  perl-path-tiny-0.144-2
              perl-timedate-2.33-5  perl-xml-libxml-2.0209-1
              perl-xml-namespacesupport-1.12-5  perl-xml-sax-1.02-2
              perl-xml-sax-base-1.09-5  deepin-gettext-tools-1.0.11-2
              git-2.45.0-1  go-2:1.22.3-1

Total Download Size:    39.05 MiB
Total Installed Size:  247.66 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 go-2:1.22.3-1-armv7h downloading...
 deepin-gettext-tools-1.0.11-2-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing perl-config-tiny...
installing perl-capture-tiny...
installing perl-ffi-checklib...
installing perl-file-chdir...
installing perl-file-which...
installing perl-path-tiny...
installing perl-alien-build...
installing perl-alien-libxml2...
installing perl-xml-sax-base...
installing perl-xml-namespacesupport...
installing perl-xml-sax...
installing perl-xml-libxml...
:: Installing SAX XML Parsers
installing deepin-gettext-tools...
installing perl-error...
installing perl-timedate...
installing perl-mailtools...
installing git...
Optional dependencies for git
    tk: gitk and git gui
    openssh: ssh transport and crypto
    perl-libwww: git svn
    perl-term-readkey: git svn and interactive.singlekey setting
    perl-io-socket-ssl: git send-email TLS support
    perl-authen-sasl: git send-email TLS support
    perl-mediawiki-api: git mediawiki support
    perl-datetime-format-iso8601: git mediawiki support
    perl-lwp-protocol-https: git mediawiki https support
    perl-cgi: gitweb (web interface) support
    python: git svn & git p4 [installed]
    subversion: git svn
    org.freedesktop.secrets: keyring credential helper
    libsecret: libsecret credential helper [installed]
installing go...
:: Running post-transaction hooks...
(1/4) Creating system user accounts...
Creating group 'git' with GID 971.
Creating user 'git' (git daemon user) with UID 971 and GID 971.
(2/4) Reloading system manager configuration...
  Skipped: Current root is not booted.
(3/4) Arming ConditionNeedsUpdate...
(4/4) Warn about old perl modules
[?25h==> Retrieving sources...
  -> Found deepin-pw-check-6.0.2.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
  -> Extracting deepin-pw-check-6.0.2.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 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
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now lib/bigcrypt.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/bigcrypt.o
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now lib/debug.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/debug.o
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 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
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now lib/md5.c -c -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -DIN_CRACKLIB -W -Wall -o lib/md5.o
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 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
gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 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 -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now 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 -march=armv7-a -mfloat-abi=hard -mfpu=neon -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now tool/*.c -liniparser -W -Wall -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -o out/pwd-conf-update
deepin-policy-ts-convert ts2policy misc/polkit-action/org.deepin.dde.passwdconf.policy.in misc/ts/org.deepin.dde.passwdconf.policy misc/polkit-action/org.deepin.dde.passwdconf.policy
env GOPATH="/build/deepin-pw-check/src/gopath:/build/deepin-pw-check/src/deepin-pw-check-6.0.2/gobuild" go build  -o out/bin/deepin-pw-check  github.com/linuxdeepin/deepin-pw-check/service
tool/pwd_conf_update.c: In function ‘get_current_os_type’:
tool/pwd_conf_update.c:167:39: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;]
  167 |         printf("os_type length err: %lu\n",strlen(os_type));
      |                                     ~~^    ~~~~~~~~~~~~~~~
      |                                       |    |
      |                                       |    size_t {aka unsigned int}
      |                                       long unsigned int
      |                                     %u
tool/pwd_conf_update.c: In function ‘parse_args’:
tool/pwd_conf_update.c:211:13: error: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;]
  211 |             exit(EXIT_FAILURE);
      |             ^~~~
tool/pwd_conf_update.c:13:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘exit’
   12 | #include <sys/stat.h>
  +++ |+#include <stdlib.h>
   13 | 
tool/pwd_conf_update.c:211:13: warning: incompatible implicit declaration of built-in function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;]
  211 |             exit(EXIT_FAILURE);
      |             ^~~~
tool/pwd_conf_update.c:211:13: note: include ‘<stdlib.h>’ or provide a declaration of ‘exittool/pwd_conf_update.c:211:18: error: EXIT_FAILURE’ undeclared (first use in this function)
  211 |             exit(EXIT_FAILURE);
      |                  ^~~~~~~~~~~~
tool/pwd_conf_update.c:211:18: note: EXIT_FAILURE’ is defined in header ‘<stdlib.h>’; this is probably fixable by adding ‘#include <stdlib.h>tool/pwd_conf_update.c:211:18: note: each undeclared identifier is reported only once for each function it appears in
tool/pwd_conf_update.c:216:9: warning: incompatible implicit declaration of built-in function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;]
  216 |         exit(0);
      |         ^~~~
tool/pwd_conf_update.c:216:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘exittool/pwd_conf_update.c: In function ‘main’:
tool/pwd_conf_update.c:544:9: warning: incompatible implicit declaration of built-in function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;]
  544 |         exit(0);
      |         ^~~~
tool/pwd_conf_update.c:544:9: note: include ‘<stdlib.h>’ or provide a declaration of ‘exittool/pwd_conf_update.c: In function ‘get_validate_policy’:
tool/pwd_conf_update.c:230:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
  230 |         fgets(buff, 512, f);
      |         ^~~~~~~~~~~~~~~~~~~
go: downloading github.com/godbus/dbus/v5 v5.1.0
go: downloading github.com/linuxdeepin/go-dbus-factory v0.0.0-20230407013947-6ff704a21ca7
go: downloading github.com/linuxdeepin/go-lib v0.0.0-20230406092403-b4b4282fc513
distcc[1081] ERROR: compile tool/pwd_conf_update.c on localhost failed
make: *** [Makefile:51: build_tool] Error 1
make: *** Waiting for unfinished jobs....
policyFile: misc/polkit-action/org.deepin.dde.passwdconf.policy.in
tsDir: misc/ts/org.deepin.dde.passwdconf.policy
outputPolicyFile: misc/polkit-action/org.deepin.dde.passwdconf.policy
lib/deepin_pw_check.c: In function 'get_default_options':
lib/deepin_pw_check.c:150:48: warning: unused parameter 'level' [-Wunused-parameter]
lib/deepin_pw_check.c: In function 'is_type_valid':
lib/deepin_pw_check.c:314:31: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
lib/deepin_pw_check.c: In function 'err_to_string_by_conf':
lib/deepin_pw_check.c:747:38: warning: unknown conversion type character '^' in format [-Wformat=]
lib/deepin_pw_check.c:747:38: warning: too many arguments for format [-Wformat-extra-args]
lib/deepin_pw_check.c: In function 'load_pwd_conf':
lib/deepin_pw_check.c:110:13: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result]
lib/deepin_pw_check.c: In function 'get_validate_policy':
lib/deepin_pw_check.c:62:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
lib/deepin_pw_check.c: In function ‘get_default_options’:
lib/deepin_pw_check.c:150:48: warning: unused parameter ‘level’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-unused-parameter-Wunused-parameter]8;;]
  150 | 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:314:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘unsigned int’} []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-sign-compare-Wsign-compare]8;;]
  314 |             for (int j = 0; j < strlen(p); j++) {
      |                               ^
In file included from lib/deepin_pw_check.c:9:
lib/deepin_pw_check.c: In function ‘err_to_string_by_conf’:
lib/deepin_pw_check.c:747:47: warning: unknown conversion type character ‘^’ in format []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;]
  747 |         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:747:143: note: format string is defined here
  747 |         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:747:47: warning: too many arguments for format []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wformat-extra-args-Wformat-extra-args]8;;]
  747 |         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: In function ‘load_pwd_conf’:
lib/deepin_pw_check.c:110:13: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
  110 |             system("pwd-conf-update");
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
lib/deepin_pw_check.c: In function ‘get_validate_policy’:
lib/deepin_pw_check.c:62:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
   62 |         fgets(buff, 512, f);
      |         ^~~~~~~~~~~~~~~~~~~
go: downloading github.com/stretchr/testify v1.8.1
go: downloading github.com/fsnotify/fsnotify v1.6.0
go: downloading github.com/linuxdeepin/go-gir v0.0.0-20230331033513-a8d7a9e89f9b
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading github.com/stretchr/objx v0.5.0
go: downloading golang.org/x/sys v0.0.0-20220908164124-27713097b956
go: downloading gopkg.in/yaml.v3 v3.0.1
cd out; ln -s libdeepin_pw_check.so.1.1 libdeepin_pw_check.so
# github.com/linuxdeepin/go-gir/gobject-2.0
fix_gobject.c:74:13: warning: Deprecated pre-processor symbol
   74 | GType _g_type_param_value_array()       { return G_TYPE_PARAM_VALUE_ARRAY; }
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Build failed, check /home/leming/armv7/leming/build