Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-526697-79264/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.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: bogus date in %changelog: Thu Dec 30 2025 mahailiang - 5.16.40.18-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1774915200 Wrote: /builddir/build/SRPMS/dde-daemon-5.16.40.18-3.an23.2.src.rpm RPM build warnings: bogus date in %changelog: Thu Dec 30 2025 mahailiang - 5.16.40.18-2 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-526697-79264/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.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: Macro expanded in comment on line 30: %systemd_requires warning: bogus date in %changelog: Thu Dec 30 2025 mahailiang - 5.16.40.18-2 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1774915200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tfH5HG + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dde-daemon-5.16.40.18 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dde-daemon_5.16.40.18.orig.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd dde-daemon-5.16.40.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-feat-fix-build-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/9000-fix-service-fail-issue.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-fix-panic.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-dde-pixmix-coredump-issue.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-get-disabled-error.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/log-content-modify.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/update-license.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/UT-2025-0011.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0013-fix-imwheel-args.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/UT-2026-0005.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + patch langselector/locale.go patching file langselector/locale.go Hunk #1 succeeded at 394 (offset -13 lines). Hunk #2 succeeded at 418 (offset -13 lines). + sed -i '/deepin/s|lib|libexec|' Makefile + sed -i '/systemd/s|lib|usr/lib|' Makefile + sed -i s:/lib/udev/rules.d:/usr/lib/udev/rules.d: Makefile + sed -i '/${DESTDIR}\/usr\/lib\/deepin-daemon\/service-trigger/s|${DESTDIR}/usr/lib/deepin-daemon/service-trigger|${DESTDIR}/usr/libexec/deepin-daemon/service-trigger|g' Makefile + sed -i '/${DESTDIR}${PREFIX}\/lib\/deepin-daemon/s|${DESTDIR}${PREFIX}/lib/deepin-daemon|${DESTDIR}${PREFIX}/usr/libexec/deepin-daemon|g' Makefile + sed -i 's|lib/NetworkManager|libexec|' network/utils_test.go ++ grep /usr/lib/deepin-daemon CHANGELOG.md LICENSE LICENSES Makefile README.md README.zh_CN.md accounts appearance appinfo apps archlinux audio bin bluetooth calltrace clipboard common dbus debug dock docs fprintd gen_test_report.sh gesture graph grub2 grub_common grub_gfx housekeeping image_effect inputdevices iw keybinding langselector lastore launcher loader mime misc network rpm screenedge screensaver service_trigger session sessionwatcher soundeffect system systeminfo timedate trayicon x_event_monitor -nR ++ awk -F: '{print $1}' + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' accounts/user.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' bin/dde-system-daemon/main.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' bin/search/main.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' bluetooth/utils_notify.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' docs/service_trigger.md + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' docs/dde-session-daemon_debug.md + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' gesture/built-in.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' keybinding/shortcuts/system_shortcut.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' keybinding/shortcuts/system_shortcut.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' keybinding/shortcuts/media_shortcut.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/dde-daemon/keybinding/system_actions.json + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/dde-daemon/keybinding/system_actions.json + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/applications/deepin-toggle-desktop.desktop + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/service-trigger/ACL.service.json + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.dde.daemon.Launcher.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Audio.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.SoundEffect.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.dde.daemon.Dock.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.LangSelector.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.EventLog.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Bluetooth.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Mime.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.SessionWatcher.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.LastoreSessionHelper.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Timedate.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Zone.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Search.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.SystemInfo.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Power.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Appearance.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.InputDevices.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Keybinding.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.daemon.Network.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/services/com.deepin.api.XEventMonitor.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-greeter-setter.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-grub2.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-helper-backlight.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-authority.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-accounts-daemon.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' misc/systemd/services/deepin-user-lock.service + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' network/secret_agent.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' rpm/dde-daemon.spec + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' rpm/dde-daemon.spec + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' rpm/dde-daemon.spec + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' service_trigger/manager.go + for file in $(grep "/usr/lib/deepin-daemon" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-daemon|/usr/libexec/deepin-daemon|g' session/power/constant.go ++ grep /usr/lib/deepin-api CHANGELOG.md LICENSE LICENSES Makefile README.md README.zh_CN.md accounts appearance appinfo apps archlinux audio bin bluetooth calltrace clipboard common dbus debug dock docs fprintd gen_test_report.sh gesture graph grub2 grub_common grub_gfx housekeeping image_effect inputdevices iw keybinding langselector lastore launcher loader mime misc network rpm screenedge screensaver service_trigger session sessionwatcher soundeffect system systeminfo timedate trayicon x_event_monitor -nR ++ awk -F: '{print $1}' + for file in $(grep "/usr/lib/deepin-api" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-api|/usr/libexec/deepin-api|g' accounts/image_blur.go + for file in $(grep "/usr/lib/deepin-api" * -nR | awk -F: '{print $1}') + sed -i 's|/usr/lib/deepin-api|/usr/libexec/deepin-api|g' grub2/modify_manger.go + sed -i 's|boot/grub|boot/grub2|' grub2/grub2.go + sed -i 's|boot/grub|boot/grub2|' grub2/grub_params.go + pushd misc/system-services/ ~/build/BUILD/dde-daemon-5.16.40.18/misc/system-services ~/build/BUILD/dde-daemon-5.16.40.18 + sed -i '$aSystemdService=deepin-accounts-daemon.service' com.deepin.system.Power.service com.deepin.daemon.Accounts.service com.deepin.daemon.Apps.service com.deepin.daemon.Daemon.service com.deepin.daemon.Gesture.service com.deepin.daemon.SwapSchedHelper.service com.deepin.daemon.Timedated.service + sed -i '$aSystemdService=dbus-com.deepin.dde.lockservice.service' com.deepin.dde.LockService.service + popd ~/build/BUILD/dde-daemon-5.16.40.18 + cat + sed -i 's|UnionTech OS|UOS|' grub2/grub_params.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z0DUav + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 dde-daemon-5.16.40.18 + go env -w GO111MODULE=off ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + BUILDID=0xc0b92e6b8dc72e5ddfe9b9adc206956a871f2288 + export GOCACHE=/tmp/gocache + GOCACHE=/tmp/gocache + export GOPATH=/usr/share/gocode + GOPATH=/usr/share/gocode + /usr/bin/make -O -j1 V=1 VERBOSE=1 GO_BUILD_FLAGS=-trimpath 'GOBUILD=go build -compiler gc -ldflags "-B 0xc0b92e6b8dc72e5ddfe9b9adc206956a871f2288"' env GOPATH="/builddir/build/BUILD/dde-daemon-5.16.40.18/gopath:/usr/share/gocode" go build -compiler gc -ldflags "-B 0xc0b92e6b8dc72e5ddfe9b9adc206956a871f2288" -o out/bin/default-terminal github.com/linuxdeepin/dde-daemon/bin/default-terminal # github.com/linuxdeepin/go-gir/gobject-2.0 fix_gobject.c: In function '_g_type_param_value_array': fix_gobject.c:74:13: warning: Deprecated pre-processor symbol 74 | GType _g_type_param_value_array() { return G_TYPE_PARAM_VALUE_ARRAY; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc bin/default-file-manager/main.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -lgio-2.0 -lglib-2.0 -lgobject-2.0 -W -Wall -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -o out/bin/default-file-manager bin/default-file-manager/main.c: In function 'main': bin/default-file-manager/main.c:14:10: warning: unused parameter 'argc' [-Wunused-parameter] 14 | main(int argc, char *argv[]) | ~~~~^~~~ bin/default-file-manager/main.c:14:22: warning: unused parameter 'argv' [-Wunused-parameter] 14 | main(int argc, char *argv[]) | ~~~~~~^~~~~~ gcc bin/desktop-toggle/main.c -lX11 -W -Wall -fPIC -fstack-protector-all -z relro -z noexecstack -z now -pie -o out/bin/desktop-toggle bin/desktop-toggle/main.c: In function 'main': bin/desktop-toggle/main.c:12:14: warning: unused parameter 'argc' [-Wunused-parameter] 12 | int main(int argc, char *argv[]) | ~~~~^~~~ bin/desktop-toggle/main.c:12:26: warning: unused parameter 'argv' [-Wunused-parameter] 12 | int main(int argc, char *argv[]) | ~~~~~~^~~~~~ env GOPATH="/builddir/build/BUILD/dde-daemon-5.16.40.18/gopath:/usr/share/gocode" go build -compiler gc -ldflags "-B 0xc0b92e6b8dc72e5ddfe9b9adc206956a871f2288" -o out/bin/dde-session-daemon github.com/linuxdeepin/dde-daemon/bin/dde-session-daemon # github.com/linuxdeepin/go-gir/gobject-2.0 fix_gobject.c: In function '_g_type_param_value_array': fix_gobject.c:74:13: warning: Deprecated pre-processor symbol 74 | GType _g_type_param_value_array() { return G_TYPE_PARAM_VALUE_ARRAY; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # github.com/linuxdeepin/dde-daemon/iw core.c: In function 'error_handler': core.c:88:46: warning: unused parameter 'nla' [-Wunused-parameter] 88 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, | ~~~~~~~~~~~~~~~~~~~~^~~ core.c: In function 'finish_handler': core.c:96:42: warning: unused parameter 'msg' [-Wunused-parameter] 96 | static int finish_handler(struct nl_msg *msg, void *arg) | ~~~~~~~~~~~~~~~^~~ core.c: In function 'ack_handler': core.c:103:39: warning: unused parameter 'msg' [-Wunused-parameter] 103 | static int ack_handler(struct nl_msg *msg, void *arg) | ~~~~~~~~~~~~~~~^~~ core.c: In function 'valid_handler': core.c:112:52: warning: unused parameter 'arg' [-Wunused-parameter] 112 | static int valid_handler(struct nl_msg *msg, void *arg) | ~~~~~~^~~ # github.com/linuxdeepin/dde-daemon/timedate/zoneinfo In file included from timestamp.c:11: zdump.h:103:20: warning: left shift of negative value [-Wshift-negative-value] 103 | ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1) | ^~ zdump.h:107:35: warning: left shift of negative value [-Wshift-negative-value] 107 | ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)) | ^~ # github.com/linuxdeepin/dde-daemon/timedate/zoneinfo In file included from zdump.c:12: zdump.h:103:20: warning: left shift of negative value [-Wshift-negative-value] 103 | ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1) | ^~ zdump.h:107:35: warning: left shift of negative value [-Wshift-negative-value] 107 | ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)) | ^~ # github.com/linuxdeepin/dde-api/dxinput/utils type.c: In function 'listener_ioerror_handler': type.c:37:36: warning: unused parameter 'display' [-Wunused-parameter] 37 | listener_ioerror_handler(Display * display) | ~~~~~~~~~~^~~~~~~ # github.com/linuxdeepin/dde-daemon/inputdevices cgo-gcc-prolog: In function '_cgo_46f448d29f25_Cfunc_end_device_listener': cgo-gcc-prolog:49:49: warning: unused variable '_cgo_a' [-Wunused-variable] # github.com/linuxdeepin/dde-daemon/inputdevices listen.c: In function 'listen_device_thread': listen.c:102:28: warning: unused parameter 'user_data' [-Wunused-parameter] 102 | listen_device_thread(void *user_data) | ~~~~~~^~~~~~~~~ # github.com/linuxdeepin/dde-daemon/session/eventlog cgo-gcc-prolog: In function '_cgo_95347d35b37f_Cfunc_CloseEventLog': cgo-gcc-prolog:49:49: warning: unused variable '_cgo_a' [-Wunused-variable] # github.com/linuxdeepin/dde-daemon/appearance cgo-gcc-prolog: In function '_cgo_7b512c849177_Cfunc_end_cursor_changed_handler': cgo-gcc-prolog:49:49: warning: unused variable '_cgo_a' [-Wunused-variable] cgo-gcc-prolog: In function '_cgo_7b512c849177_Cfunc_handle_gtk_cursor_changed': cgo-gcc-prolog:61:49: warning: unused variable '_cgo_a' [-Wunused-variable] # github.com/linuxdeepin/dde-daemon/bin/dde-session-daemon cgo-gcc-prolog: In function '_cgo_c7f2cd27830a_Cfunc_init': cgo-gcc-prolog:49:49: warning: unused variable '_cgo_a' [-Wunused-variable] env GOPATH="/builddir/build/BUILD/dde-daemon-5.16.40.18/gopath:/usr/share/gocode" go build -compiler gc -ldflags "-B 0xc0b92e6b8dc72e5ddfe9b9adc206956a871f2288" -o out/bin/dde-system-daemon github.com/linuxdeepin/dde-daemon/bin/dde-system-daemon # github.com/linuxdeepin/go-gir/gobject-2.0 fix_gobject.c: In function '_g_type_param_value_array': fix_gobject.c:74:13: warning: Deprecated pre-processor symbol 74 | GType _g_type_param_value_array() { return G_TYPE_PARAM_VALUE_ARRAY; } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # github.com/linuxdeepin/dde-daemon/timedate/zoneinfo In file included from timestamp.c:11: zdump.h:103:20: warning: left shift of negative value [-Wshift-negative-value] 103 | ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1) | ^~ zdump.h:107:35: warning: left shift of negative value [-Wshift-negative-value] 107 | ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)) | ^~ # github.com/linuxdeepin/dde-daemon/timedate/zoneinfo In file included from zdump.c:12: zdump.h:103:20: warning: left shift of negative value [-Wshift-negative-value] 103 | ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1) | ^~ zdump.h:107:35: warning: left shift of negative value [-Wshift-negative-value] 107 | ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)) | ^~ # github.com/linuxdeepin/dde-daemon/system/keyevent cgo-gcc-prolog: In function '_cgo_54bf2c1a0b1b_Cfunc_loop_stop': cgo-gcc-prolog:67:49: warning: unused variable '_cgo_a' [-Wunused-variable] # github.com/linuxdeepin/dde-daemon/system/keyevent libinput_bridge.c: In function 'open_restricted': libinput_bridge.c:19:63: warning: unused parameter 'user_data' [-Wunused-parameter] 19 | static int open_restricted(const char *path, int flags, void *user_data) | ~~~~~~^~~~~~~~~ libinput_bridge.c: In function 'close_restricted': libinput_bridge.c:25:44: warning: unused parameter 'user_data' [-Wunused-parameter] 25 | static void close_restricted(int fd, void *user_data) | ~~~~~~^~~~~~~~~ libinput_bridge.c: At top level: libinput_bridge.c:30:1: warning: 'static' is not at beginning of declaration [-Wold-style-declaration] 30 | const static struct libinput_interface interface = { | ^~~~~ # github.com/linuxdeepin/dde-daemon/system/scheduler gopath/src/github.com/linuxdeepin/dde-daemon/system/scheduler/scheduler.go:57:34: procfs.Process(pid).TrustedExe undefined (type procfs.Process has no field or method TrustedExe) # github.com/linuxdeepin/dde-daemon/system/uadp In file included from crypto.h:12, from crypto.c:5: crypto.c: In function 'cryptoInit': crypto.c:36:28: warning: pointer targets in passing argument 1 of 'DDE_TC_Start' differ in signedness [-Wpointer-sign] 36 | DDE_TC_CHECK(TC_Start, "tabrmd", handle); | ^~~~~~~~ | | | char * dde_tc.h:21:69: note: in definition of macro 'DDE_TC_INVOKE' 21 | #define DDE_TC_INVOKE(func, ...) (func == NULL ? TC_ERR_NULL : func(__VA_ARGS__)) | ^~~~~~~~~~~ crypto.c:17:25: note: in expansion of macro 'TC_Start' 17 | TC_RC err = FUNC(__VA_ARGS__); \ | ^~~~ crypto.c:36:5: note: in expansion of macro 'DDE_TC_CHECK' 36 | DDE_TC_CHECK(TC_Start, "tabrmd", handle); | ^~~~~~~~~~~~ crypto.c:36:28: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'char *' 36 | DDE_TC_CHECK(TC_Start, "tabrmd", handle); | ^~~~~~~~ dde_tc.h:21:69: note: in definition of macro 'DDE_TC_INVOKE' 21 | #define DDE_TC_INVOKE(func, ...) (func == NULL ? TC_ERR_NULL : func(__VA_ARGS__)) | ^~~~~~~~~~~ crypto.c:17:25: note: in expansion of macro 'TC_Start' 17 | TC_RC err = FUNC(__VA_ARGS__); \ | ^~~~ crypto.c:36:5: note: in expansion of macro 'DDE_TC_CHECK' 36 | DDE_TC_CHECK(TC_Start, "tabrmd", handle); | ^~~~~~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/uadp In file included from dde_tc.c:7: dde_tc.h:10:27: warning: 'DDE_TC_Start' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:12:16: note: in expansion of macro 'DDE_TC_NAME' 12 | extern TC_RC (*DDE_TC_NAME(TC_Start))(const uint8_t *device, TC_HANDLE *handle) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_CreatePrimary' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:13:16: note: in expansion of macro 'DDE_TC_NAME' 13 | extern TC_RC (*DDE_TC_NAME(TC_CreatePrimary))(TC_HANDLE handle, const TC_ALG alg_hash, const uint32_t hierarchy, const TC_BUFFER *hierarchy_auth_msg, const TC_ALG alg_primary, const TC_BUFFER *primary_auth_msg, uint32_t *primary_index) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_Create' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:14:16: note: in expansion of macro 'DDE_TC_NAME' 14 | extern TC_RC (*DDE_TC_NAME(TC_Create))(TC_HANDLE handle, const TC_ALG alg_hash, const uint32_t primary_index, const TC_BUFFER *primary_auth_msg, const TC_ALG alg_key, const TC_BUFFER *key_auth_msg, uint32_t *key_index) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_Load' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:15:16: note: in expansion of macro 'DDE_TC_NAME' 15 | extern TC_RC (*DDE_TC_NAME(TC_Load))(TC_HANDLE handle, const uint32_t key_index, const TC_BUFFER *parent_auth_msg) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_EvictControl' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:16:16: note: in expansion of macro 'DDE_TC_NAME' 16 | extern TC_RC (*DDE_TC_NAME(TC_EvictControl))(TC_HANDLE handle, const bool enable, const uint32_t persist_index, const uint32_t key_index, const uint32_t hierarchy, const TC_BUFFER *hierarchy_auth_msg) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_End' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:17:16: note: in expansion of macro 'DDE_TC_NAME' 17 | extern TC_RC (*DDE_TC_NAME(TC_End))(TC_HANDLE *handle) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_Encrypt' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:18:16: note: in expansion of macro 'DDE_TC_NAME' 18 | extern TC_RC (*DDE_TC_NAME(TC_Encrypt))(TC_HANDLE handle, const uint32_t key_index, const TC_BUFFER *key_auth_msg, const TC_ALG alg_encrypt, const TC_BUFFER *plain_text, TC_BUFFER *ciphter_text) = NULL; | ^~~~~~~~~~~ dde_tc.h:10:27: warning: 'DDE_TC_Decrypt' initialized and declared 'extern' 10 | #define DDE_TC_NAME(NAME) DDE_ ## NAME | ^~~~ dde_tc.c:19:16: note: in expansion of macro 'DDE_TC_NAME' 19 | extern TC_RC (*DDE_TC_NAME(TC_Decrypt))(TC_HANDLE handle, const uint32_t key_index, const TC_BUFFER *key_auth_msg, const TC_ALG alg_decrypt, const TC_BUFFER *ciphter_text, TC_BUFFER *plain_text) = NULL; | ^~~~~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/inputdevices dde-libinput.c: In function 'open_restricted': dde-libinput.c:25:63: warning: unused parameter 'user_data' [-Wunused-parameter] 25 | static int open_restricted(const char *path, int flags, void *user_data) { | ~~~~~~^~~~~~~~~ dde-libinput.c: In function 'close_restricted': dde-libinput.c:30:44: warning: unused parameter 'user_data' [-Wunused-parameter] 30 | static void close_restricted(int fd, void *user_data) { | ~~~~~~^~~~~~~~~ dde-libinput.c: In function 'log_handler': dde-libinput.c:39:42: warning: unused parameter 'li' [-Wunused-parameter] 39 | static void log_handler(struct libinput *li, | ~~~~~~~~~~~~~~~~~^~ # github.com/linuxdeepin/dde-daemon/system/gesture In file included from gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/core.h:8, from gesture.go:11, from _cgo_export.c:4: gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:68:15: warning: 'min_edge_distance' defined but not used [-Wunused-variable] 68 | static double min_edge_distance = 10.0; // minimum gesture distance from edge (in mm) | ^~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:67:18: warning: 'edge_move_stop_direction' defined but not used [-Wunused-variable] 67 | static Direction edge_move_stop_direction = DIR_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:66:17: warning: 'edge_move_stop_time' defined but not used [-Wunused-variable] 66 | static uint32_t edge_move_stop_time = 0; | ^~~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:65:12: warning: 'edge_error_limit' defined but not used [-Wunused-variable] 65 | static int edge_error_limit = 3; //edge error limit when swipe to touchscreen from edge | ^~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:64:12: warning: 'move_stop_distance' defined but not used [-Wunused-variable] 64 | static int move_stop_distance = 1; | ^~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:63:19: warning: 'screen' defined but not used [-Wunused-variable] 63 | static screeninfo screen; | ^~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:62:14: warning: 'last_point_scale' defined but not used [-Wunused-variable] 62 | static point last_point_scale; | ^~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:61:14: warning: 'start_point_scale' defined but not used [-Wunused-variable] 61 | static point start_point_scale; | ^~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:60:14: warning: 'last_point' defined but not used [-Wunused-variable] 60 | static point last_point; | ^~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:58:3: warning: 'moveStop' defined but not used [-Wunused-variable] 58 | } moveStop; | ^~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/gesture cgo-gcc-prolog: In function '_cgo_786485380ed3_Cfunc_quit_loop': cgo-gcc-prolog:85:49: warning: unused variable '_cgo_a' [-Wunused-variable] In file included from gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/core.h:8, from gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/gesture.go:11: gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h: At top level: gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:68:15: warning: 'min_edge_distance' defined but not used [-Wunused-variable] 68 | static double min_edge_distance = 10.0; // minimum gesture distance from edge (in mm) | ^~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:67:18: warning: 'edge_move_stop_direction' defined but not used [-Wunused-variable] 67 | static Direction edge_move_stop_direction = DIR_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:66:17: warning: 'edge_move_stop_time' defined but not used [-Wunused-variable] 66 | static uint32_t edge_move_stop_time = 0; | ^~~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:65:12: warning: 'edge_error_limit' defined but not used [-Wunused-variable] 65 | static int edge_error_limit = 3; //edge error limit when swipe to touchscreen from edge | ^~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:64:12: warning: 'move_stop_distance' defined but not used [-Wunused-variable] 64 | static int move_stop_distance = 1; | ^~~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:63:19: warning: 'screen' defined but not used [-Wunused-variable] 63 | static screeninfo screen; | ^~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:62:14: warning: 'last_point_scale' defined but not used [-Wunused-variable] 62 | static point last_point_scale; | ^~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:61:14: warning: 'start_point_scale' defined but not used [-Wunused-variable] 61 | static point start_point_scale; | ^~~~~~~~~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:60:14: warning: 'last_point' defined but not used [-Wunused-variable] 60 | static point last_point; | ^~~~~~~~~~ gopath/src/github.com/linuxdeepin/dde-daemon/system/gesture/touchscreen_core.h:58:3: warning: 'moveStop' defined but not used [-Wunused-variable] 58 | } moveStop; | ^~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/gesture core.c: In function 'start_loop': core.c:103:12: warning: missing initializer for field 't_start' of 'struct movement' [-Wmissing-field-initializers] 103 | struct movement movements[MOV_SLOTS] = {{{0}}}; | ^~~~~~~~ In file included from core.h:8, from core.c:17: touchscreen_core.h:43:18: note: 't_start' declared here 43 | uint32_t t_start; | ^~~~~~~ core.c: In function 'touch_timer_handler': core.c:205:30: warning: unused parameter 'data' [-Wunused-parameter] 205 | touch_timer_handler(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'short_press_timer_handler': core.c:215:36: warning: unused parameter 'data' [-Wunused-parameter] 215 | short_press_timer_handler(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'long_press_timer_handler2': core.c:223:36: warning: unused parameter 'data' [-Wunused-parameter] 223 | long_press_timer_handler2(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'touch_timer_destroy': core.c:231:30: warning: unused parameter 'data' [-Wunused-parameter] 231 | touch_timer_destroy(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'short_press_timer_destory': core.c:243:36: warning: unused parameter 'data' [-Wunused-parameter] 243 | short_press_timer_destory(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'long_press_timer_destroy2': core.c:249:36: warning: unused parameter 'data' [-Wunused-parameter] 249 | long_press_timer_destroy2(gpointer data) | ~~~~~~~~~^~~~ core.c: In function 'handle_tap_delay': core.c:328:1: warning: no return statement in function returning non-void [-Wreturn-type] 328 | } | ^ In file included from /usr/include/glib-2.0/glib.h:64, from core.c:13: core.c: In function 'handle_gesture_events': core.c:447:17: warning: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 447 | g_debug("[Tap begin] time: %u duration: %d fingers: %d \n", raw->t_start_tap, (libinput_event_gesture_get_time_usec(gesture) - raw->t_start_tap) / 1000, raw->fingers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/include/glib-2.0/glib/gmessages.h:362:32: note: in definition of macro 'g_debug' 362 | __VA_ARGS__) | ^~~~~~~~~~~ core.c:447:17: warning: format '%d' expects argument of type 'int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 447 | g_debug("[Tap begin] time: %u duration: %d fingers: %d \n", raw->t_start_tap, (libinput_event_gesture_get_time_usec(gesture) - raw->t_start_tap) / 1000, raw->fingers); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/include/glib-2.0/glib/gmessages.h:362:32: note: in definition of macro 'g_debug' 362 | __VA_ARGS__) | ^~~~~~~~~~~ core.c:449:87: warning: comparison of integer expressions of different signedness: 'uint64_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] 449 | && (libinput_event_gesture_get_time_usec(gesture) - raw->t_start_tap) / 1000 <= dblclick_duration | ^~ core.c: In function 'handle_touch_events': core.c:495:13: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 5 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 495 | g_debug("touch event %d time usec: %llu", ty, time_usec); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ | | | uint64_t {aka long unsigned int} /usr/include/glib-2.0/glib/gmessages.h:362:32: note: in definition of macro 'g_debug' 362 | __VA_ARGS__) | ^~~~~~~~~~~ core.c: In function 'handle_keyboard_events': core.c:619:55: warning: unused parameter 'type' [-Wunused-parameter] 619 | handle_keyboard_events(struct libinput_event *ev, int type) | ~~~~^~~~ touchscreen_core.h: At top level: touchscreen_core.h:68:15: warning: 'min_edge_distance' defined but not used [-Wunused-variable] 68 | static double min_edge_distance = 10.0; // minimum gesture distance from edge (in mm) | ^~~~~~~~~~~~~~~~~ touchscreen_core.h:67:18: warning: 'edge_move_stop_direction' defined but not used [-Wunused-variable] 67 | static Direction edge_move_stop_direction = DIR_NONE; | ^~~~~~~~~~~~~~~~~~~~~~~~ touchscreen_core.h:66:17: warning: 'edge_move_stop_time' defined but not used [-Wunused-variable] 66 | static uint32_t edge_move_stop_time = 0; | ^~~~~~~~~~~~~~~~~~~ touchscreen_core.h:65:12: warning: 'edge_error_limit' defined but not used [-Wunused-variable] 65 | static int edge_error_limit = 3; //edge error limit when swipe to touchscreen from edge | ^~~~~~~~~~~~~~~~ touchscreen_core.h:64:12: warning: 'move_stop_distance' defined but not used [-Wunused-variable] 64 | static int move_stop_distance = 1; | ^~~~~~~~~~~~~~~~~~ touchscreen_core.h:63:19: warning: 'screen' defined but not used [-Wunused-variable] 63 | static screeninfo screen; | ^~~~~~ touchscreen_core.h:62:14: warning: 'last_point_scale' defined but not used [-Wunused-variable] 62 | static point last_point_scale; | ^~~~~~~~~~~~~~~~ touchscreen_core.h:61:14: warning: 'start_point_scale' defined but not used [-Wunused-variable] 61 | static point start_point_scale; | ^~~~~~~~~~~~~~~~~ touchscreen_core.h:60:14: warning: 'last_point' defined but not used [-Wunused-variable] 60 | static point last_point; | ^~~~~~~~~~ touchscreen_core.h:58:3: warning: 'moveStop' defined but not used [-Wunused-variable] 58 | } moveStop; | ^~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/gesture touchscreen_core.c: In function 'logger': touchscreen_core.c:39:25: warning: unused parameter 'format' [-Wunused-parameter] 39 | void logger(const char *format, ...) { | ~~~~~~~~~~~~^~~~~~ touchscreen_core.c: In function 'set_edge_move_stop_time': touchscreen_core.c:56:22: warning: comparison of integer expressions of different signedness: 'int' and 'uint32_t' {aka 'unsigned int'} [-Wsign-compare] 56 | if (duration == edge_move_stop_time) { | ^~ touchscreen_core.c: In function 'handle_movements': touchscreen_core.c:458:13: warning: unused variable 'distance' [-Wunused-variable] 458 | int distance = 0; | ^~~~~~~~ # github.com/linuxdeepin/dde-daemon/system/gesture utils.c: In function 'open_restricted': utils.c:88:52: warning: unused parameter 'user_data' [-Wunused-parameter] 88 | open_restricted(const char *path, int flags, void *user_data) | ~~~~~~^~~~~~~~~ utils.c: In function 'close_restricted': utils.c:99:32: warning: unused parameter 'user_data' [-Wunused-parameter] 99 | close_restricted(int fd, void *user_data) | ~~~~~~^~~~~~~~~ # github.com/linuxdeepin/dde-daemon/accounts cgo-gcc-prolog: In function '_cgo_e61c8d01d00b_Cfunc_endspent': cgo-gcc-prolog:72:49: warning: unused variable '_cgo_a' [-Wunused-variable] cgo-gcc-prolog: In function '_cgo_e61c8d01d00b_Cfunc_setspent': cgo-gcc-prolog:125:49: warning: unused variable '_cgo_a' [-Wunused-variable] # github.com/linuxdeepin/dde-daemon/accounts reminder_info.c: In function 'count_utmpx': reminder_info.c:45:13: warning: 'strcmp' argument 2 declared attribute 'nonstring' [-Wstringop-overread] 45 | if (strcmp(user, u->ut_user) != 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/utmpx.h:31, from reminder_info.h:8, from reminder_info.c:5: /usr/include/bits/utmpx.h:63:8: note: argument 'ut_user' declared here 63 | char ut_user[__UT_NAMESIZE] | ^~~~~~~ # github.com/linuxdeepin/dde-daemon/accounts gopath/src/github.com/linuxdeepin/dde-daemon/accounts/user.go:251:19: proc.TrustedExe undefined (type procfs.Process has no field or method TrustedExe) gopath/src/github.com/linuxdeepin/dde-daemon/accounts/user.go:266:19: proc.TrustedExe undefined (type procfs.Process has no field or method TrustedExe) gopath/src/github.com/linuxdeepin/dde-daemon/accounts/user.go:519:16: p.TrustedExe undefined (type procfs.Process has no field or method TrustedExe) gopath/src/github.com/linuxdeepin/dde-daemon/accounts/user.go:540:16: p.TrustedExe undefined (type procfs.Process has no field or method TrustedExe) gopath/src/github.com/linuxdeepin/dde-daemon/accounts/user_chpwd_union_id.go:119:19: proc.TrustedExe undefined (type procfs.Process has no field or method TrustedExe) make: *** [Makefile:34: out/bin/dde-system-daemon] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.z0DUav (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 30: %systemd_requires bogus date in %changelog: Thu Dec 30 2025 mahailiang - 5.16.40.18-2 Bad exit status from /var/tmp/rpm-tmp.z0DUav (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dde-daemon.spec'