Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-526427-79041/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1772150400 Wrote: /builddir/build/SRPMS/deepin-devicemanager-6.0.28.9-1.an23.01.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.spec'], chrootPath='/var/lib/mock/dist-an23-dde-build-526427-79041/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1772150400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ohidX1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf deepin-devicemanager-6.0.28.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/deepin-devicemanager_6.0.28.9.orig.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd deepin-devicemanager-6.0.28.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/fix-incorrect-storage-size.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.BAFpia + 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-devicemanager-6.0.28.9 + export PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ find . -name CMakeLists.txt + sed -i 's|^cmake_minimum_required.*|cmake_minimum_required(VERSION 3.0)|' ./CMakeLists.txt ./deepin-devicemanager-server/CMakeLists.txt ./deepin-devicemanager-server/deepin-devicecontrol/CMakeLists.txt ./deepin-devicemanager-server/tests/CMakeLists.txt ./deepin-devicemanager-server/deepin-deviceinfo/CMakeLists.txt ./deepin-devicemanager/CMakeLists.txt ./deepin-devicemanager/tests/CMakeLists.txt + mkdir build + pushd build ~/build/BUILD/deepin-devicemanager-6.0.28.9/build ~/build/BUILD/deepin-devicemanager-6.0.28.9 + 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 + /usr/bin/cmake -S . -B anolis-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON ../ -DCMAKE_BUILD_TYPE=Release -DAPP_VERSION=6.0.28.9 -DVERSION=6.0.28.9 -DDISABLE_DRIVER=true CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/deepin-devicemanager-6.0.28.9/build" CMake Warning (dev) at CMakeLists.txt:1 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 12.3.0 -- The CXX compiler identification is GNU 12.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at deepin-devicemanager/CMakeLists.txt:20 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. cat: /etc/os-version: No such file or directory process translations/deepin-devicemanager.ts Updating 'translations/deepin-devicemanager.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_az.ts Updating 'translations/deepin-devicemanager_az.qm'... Generated 708 translation(s) (677 finished and 31 unfinished) Ignored 51 untranslated source text(s) process translations/deepin-devicemanager_bo.ts Updating 'translations/deepin-devicemanager_bo.qm'... Generated 651 translation(s) (626 finished and 25 unfinished) Ignored 108 untranslated source text(s) process translations/deepin-devicemanager_ca.ts Updating 'translations/deepin-devicemanager_ca.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_cs.ts Updating 'translations/deepin-devicemanager_cs.qm'... Generated 653 translation(s) (628 finished and 25 unfinished) Ignored 106 untranslated source text(s) process translations/deepin-devicemanager_de.ts Updating 'translations/deepin-devicemanager_de.qm'... Generated 628 translation(s) (600 finished and 28 unfinished) Ignored 131 untranslated source text(s) process translations/deepin-devicemanager_en_AU.ts Updating 'translations/deepin-devicemanager_en_AU.qm'... Generated 526 translation(s) (499 finished and 27 unfinished) Ignored 233 untranslated source text(s) process translations/deepin-devicemanager_es.ts Updating 'translations/deepin-devicemanager_es.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_fi.ts Updating 'translations/deepin-devicemanager_fi.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_fr.ts Updating 'translations/deepin-devicemanager_fr.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_gl_ES.ts Updating 'translations/deepin-devicemanager_gl_ES.qm'... Generated 585 translation(s) (562 finished and 23 unfinished) Ignored 174 untranslated source text(s) process translations/deepin-devicemanager_hu.ts Updating 'translations/deepin-devicemanager_hu.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_it.ts Updating 'translations/deepin-devicemanager_it.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_ko.ts Updating 'translations/deepin-devicemanager_ko.qm'... Generated 552 translation(s) (523 finished and 29 unfinished) Ignored 207 untranslated source text(s) process translations/deepin-devicemanager_ms.ts Updating 'translations/deepin-devicemanager_ms.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_nl.ts Updating 'translations/deepin-devicemanager_nl.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_pl.ts Updating 'translations/deepin-devicemanager_pl.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_pt.ts Updating 'translations/deepin-devicemanager_pt.qm'... Generated 683 translation(s) (647 finished and 36 unfinished) Ignored 76 untranslated source text(s) process translations/deepin-devicemanager_pt_BR.ts Updating 'translations/deepin-devicemanager_pt_BR.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_ro.ts Updating 'translations/deepin-devicemanager_ro.qm'... Generated 585 translation(s) (562 finished and 23 unfinished) Ignored 174 untranslated source text(s) process translations/deepin-devicemanager_ru.ts Updating 'translations/deepin-devicemanager_ru.qm'... Generated 577 translation(s) (541 finished and 36 unfinished) Ignored 182 untranslated source text(s) process translations/deepin-devicemanager_sl.ts Updating 'translations/deepin-devicemanager_sl.qm'... Generated 589 translation(s) (566 finished and 23 unfinished) Ignored 170 untranslated source text(s) process translations/deepin-devicemanager_sq.ts Updating 'translations/deepin-devicemanager_sq.qm'... Generated 665 translation(s) (629 finished and 36 unfinished) Ignored 94 untranslated source text(s) process translations/deepin-devicemanager_sr.ts Updating 'translations/deepin-devicemanager_sr.qm'... Generated 589 translation(s) (566 finished and 23 unfinished) Ignored 170 untranslated source text(s) process translations/deepin-devicemanager_tr.ts Updating 'translations/deepin-devicemanager_tr.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_ug.ts Updating 'translations/deepin-devicemanager_ug.qm'... Generated 651 translation(s) (626 finished and 25 unfinished) Ignored 108 untranslated source text(s) process translations/deepin-devicemanager_uk.ts Updating 'translations/deepin-devicemanager_uk.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_zh_CN.ts Updating 'translations/deepin-devicemanager_zh_CN.qm'... Generated 760 translation(s) (760 finished and 0 unfinished) process translations/deepin-devicemanager_zh_HK.ts Updating 'translations/deepin-devicemanager_zh_HK.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) process translations/deepin-devicemanager_zh_TW.ts Updating 'translations/deepin-devicemanager_zh_TW.qm'... Generated 713 translation(s) (677 finished and 36 unfinished) Ignored 46 untranslated source text(s) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- DConfig is supported by DTK CMake Deprecation Warning at deepin-devicemanager-server/deepin-deviceinfo/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at deepin-devicemanager-server/deepin-devicecontrol/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 3.30) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done (1.0s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: APP_VERSION CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/deepin-devicemanager-6.0.28.9/build/anolis-linux-build + /usr/bin/make -O -j80 V=1 VERBOSE=1 make: *** No targets specified and no makefile found. Stop. error: Bad exit status from /var/tmp/rpm-tmp.BAFpia (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BAFpia (%build) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.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 610, 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 aarch64 --nodeps /builddir/build/SPECS/deepin-devicemanager.spec'