【SDX62】useradd: group ‘input‘ does not existERROR: libsystemdq: useradd command did not succeed.

 问题log

Initialising tasks...WARNING: Unable to get checksum for linux-msm-headers SRC_URI entry bindings: [Errno 2] No such file or directory: '/home/sdx62/apps_proc/src/kernel/msm-5.4/Documentation/devicetree/bindings'
WARNING: Unable to get checksum for linux-msm-headers SRC_URI entry vendor: [Errno 2] No such file or directory: '/home/sdx62/apps_proc/src/kernel/msm-5.4/arch/arm/boot/dts/vendor'
WARNING: Unable to get checksum for edk2 SRC_URI entry X11IncludeHack: [Errno 2] No such file or directory: '/home/sdx62/apps_proc/src/bootable/bootloader/edk2/EmulatorPkg/Unix/Host/X11IncludeHack'
WARNING: Unable to get checksum for linux-msm SRC_URI entry bindings: [Errno 2] No such file or directory: '/home/sdx62/apps_proc/src/kernel/msm-5.4/Documentation/devicetree/bindings'
WARNING: Unable to get checksum for linux-msm SRC_URI entry vendor: [Errno 2] No such file or directory: '/home/sdx62/apps_proc/src/kernel/msm-5.4/arch/arm/boot/dts/vendor'
done.
Sstate summary: Wanted 554 Found 299 Missed 255 Current 1863 (53% match, 89% complete)
NOTE: Executing Tasks
NOTE: Running setscene task 1984 of 2449 (/home/sdx62/apps_proc/poky/meta-qti-args/recipes/ats/ats_git.bb:do_package_write_ipk_setscene)
NOTE: recipe ats-git-r0: task do_package_write_ipk_setscene: Started
NOTE: recipe ats-git-r0: task do_package_write_ipk_setscene: Succeeded
NOTE: Running task 2072 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi/qmi-client-helper_git.bb:do_package)
NOTE: Running task 2170 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/data/data_git.bb:do_prepare_recipe_sysroot)
NOTE: recipe qmi-client-helper-git-r0: task do_package: Started
NOTE: Running task 2553 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes-connectivity/data-binary/qdpr_git.bb:do_rm_work)
NOTE: recipe data-git-r26: task do_prepare_recipe_sysroot: Started
NOTE: Running task 2774 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-agm/recipes/agm/agm_git.bb:do_install)
NOTE: recipe qdpr-git-r0: task do_rm_work: Started
NOTE: Running task 2963 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-bt-prop/recipes/hci-qcomm-init/hci-qcomm-init_git.bb:do_install)
NOTE: recipe agm-git-r0: task do_install: Started
NOTE: recipe qdpr-git-r0: task do_rm_work: Succeeded
NOTE: recipe agm-git-r0: task do_install: Succeeded
NOTE: Running task 3428 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-agm/recipes/agm/agm_git.bb:do_package)
NOTE: Running task 3429 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-agm/recipes/agm/agm_git.bb:do_populate_sysroot)
NOTE: recipe hci-qcomm-init-git-r0: task do_install: Started
NOTE: recipe agm-git-r0: task do_populate_sysroot: Started
NOTE: recipe agm-git-r0: task do_package: Started
NOTE: Running task 3738 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-core-prop/recipes/fs-scrub-daemon/fs-scrub-daemon.bb:do_generate_prebuilt)
NOTE: Running task 3739 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-core-prop/recipes/fs-scrub-daemon/fs-scrub-daemon.bb:do_populate_sysroot)
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_generate_prebuilt: Started
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_populate_sysroot: Started
NOTE: Running task 4206 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-ss-mgr-prop/recipes/diag-reboot-app/diag-reboot-app_git.bb:do_compile)
NOTE: Running task 4208 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/mbim/mbim_git.bb:do_prepare_recipe_sysroot)
NOTE: Running task 4223 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi-simple-ril/qmi-simple-ril.bb:do_install)
NOTE: Running task 4353 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-wlan/recipes/wlan/qcacld32-ll_git.bb:do_rm_work)
NOTE: recipe hci-qcomm-init-git-r0: task do_install: Succeeded
NOTE: Running task 4407 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-bt-prop/recipes/hci-qcomm-init/hci-qcomm-init_git.bb:do_package)
NOTE: Running task 4408 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-bt-prop/recipes/hci-qcomm-init/hci-qcomm-init_git.bb:do_populate_sysroot)
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_generate_prebuilt: Succeeded
NOTE: Running task 4441 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-core-prop/recipes/fs-scrub-daemon/fs-scrub-daemon.bb:do_package)
NOTE: recipe mbim-git-r3: task do_prepare_recipe_sysroot: Started
NOTE: recipe diag-reboot-app-git-r5: task do_compile: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_install: Started
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_populate_sysroot: Succeeded
NOTE: recipe hci-qcomm-init-git-r0: task do_package: Started
NOTE: recipe hci-qcomm-init-git-r0: task do_populate_sysroot: Started
NOTE: recipe qcacld32-ll-git-r8: task do_rm_work: Started
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_package: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_install: Succeeded
NOTE: recipe agm-git-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 4918 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi-simple-ril/qmi-simple-ril.bb:do_generate_prebuilt)
NOTE: Running task 4924 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi-simple-ril/qmi-simple-ril.bb:do_populate_sysroot)
NOTE: Running task 4925 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-pal/recipes/pal/pal_git.bb:do_prepare_recipe_sysroot)
NOTE: Running task 4926 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-agm/recipes/sndparser/sndparser_git.bb:do_prepare_recipe_sysroot)
NOTE: Running task 4927 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-audio-prop/recipes/audio-ftm/audio-ftm_git.bb:do_prepare_recipe_sysroot)
NOTE: recipe qmi-simple-ril-1.0-r1: task do_generate_prebuilt: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_populate_sysroot: Started
NOTE: recipe pal-git-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe sndparser-git-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe qmi-client-helper-git-r0: task do_package: Succeeded
NOTE: Running task 5172 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi/qmi-client-helper_git.bb:do_packagedata)
NOTE: recipe audio-ftm-git-r5: task do_prepare_recipe_sysroot: Started
NOTE: Running task 5192 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-wlan/recipes/wpa-supplicant/wpa-supplicant-qcacld-ks3_git.bb:do_package)
NOTE: Running task 5193 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-wlan/recipes/wpa-supplicant/wpa-supplicant-qcacld-ks3_git.bb:do_populate_sysroot)
NOTE: recipe diag-reboot-app-git-r5: task do_compile: Succeeded
NOTE: Running task 5241 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-ss-mgr-prop/recipes/diag-reboot-app/diag-reboot-app_git.bb:do_install)
NOTE: recipe qmi-client-helper-git-r0: task do_packagedata: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_generate_prebuilt: Succeeded
NOTE: Running task 5354 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/qmi-simple-ril/qmi-simple-ril.bb:do_package)
NOTE: recipe hci-qcomm-init-git-r0: task do_populate_sysroot: Succeeded
NOTE: Running task 5369 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-bt/recipes/libbt-vendor/libbt-vendor_git.bb:do_prepare_recipe_sysroot)
NOTE: recipe wpa-supplicant-qcacld-ks3-git-r5.3: task do_package: Started
NOTE: recipe wpa-supplicant-qcacld-ks3-git-r5.3: task do_populate_sysroot: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_populate_sysroot: Succeeded
NOTE: recipe qcacld32-ll-git-r8: task do_rm_work: Succeeded
NOTE: Running noexec task 5428 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-wlan/recipes/wlan/qcacld32-ll_git.bb:do_rm_work_all)
NOTE: Running noexec task 5429 of 7294 (/home/sdx62/apps_proc/poky/meta-qti-wlan/recipes/wlan/qcacld32-ll_git.bb:do_build)
NOTE: recipe diag-reboot-app-git-r5: task do_install: Started
NOTE: recipe qmi-simple-ril-1.0-r1: task do_package: Started
ERROR: mbim-git-r3 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: 
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/home/sdx62/apps_proc/poky/meta/classes/staging.bbclass', lineno: 595, function: extend_recipe_sysroot
     0591:    for f in fixme:
     0592:        staging_processfixme(fixme[f], f, recipesysroot, recipesysrootnative, d)
     0593:
     0594:    for p in postinsts:
 *** 0595:        subprocess.check_output(p, shell=True, stderr=subprocess.STDOUT)
     0596:
     0597:    for dep in manifests:
     0598:        c = setscenedeps[dep][0]
     0599:        os.symlink(manifests[dep], depdir + "/" + c + ".complete")
File: '/usr/local/lib/python3.8/subprocess.py', lineno: 411, function: check_output
     0407:        # Explicitly passing input=None was previously equivalent to passing an
     0408:        # empty string. That is maintained here for backwards compatibility.
     0409:        kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
     0410:
 *** 0411:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0412:               **kwargs).stdout
     0413:
     0414:
     0415:class CompletedProcess(object):
File: '/usr/local/lib/python3.8/subprocess.py', lineno: 512, function: run
     0508:            # We don't call process.wait() as .__exit__ does that for us.
     0509:            raise
     0510:        retcode = process.poll()
     0511:        if check and retcode:
 *** 0512:            raise CalledProcessError(retcode, process.args,
     0513:                                     output=stdout, stderr=stderr)
     0514:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0515:
     0516:
Exception: subprocess.CalledProcessError: Command '/home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot/usr/bin/postinst-useradd-libsystemdq' returned non-zero exit status 1.

Subprocess output:
/home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot-native/usr/sbin/useradd
Running groupadd commands...
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                          -g 2901 kmsg]
NOTE: libsystemdq: group kmsg already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3004 net_raw]
NOTE: libsystemdq: group net_raw already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3005 net_admin]
NOTE: libsystemdq: group net_admin already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3009 readproc]
NOTE: libsystemdq: group readproc already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3010 wakelock]
NOTE: libsystemdq: group wakelock already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3013 qwes]
NOTE: libsystemdq: group qwes already exists, not re-creating it
NOTE: libsystemdq: Performing groupadd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                      -g 3018 gpio]
NOTE: libsystemdq: group gpio already exists, not re-creating it
Running useradd commands...
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 5002 -U leprop]
NOTE: libsystemdq: user leprop already exists, not re-creating it
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 1000 -U system]
NOTE: libsystemdq: user system already exists, not re-creating it
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 1001 -U radio]
NOTE: libsystemdq: user radio already exists, not re-creating it
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -G leprop -u 1002 -U bluetooth]
NOTE: libsystemdq: user bluetooth already exists, not re-creating it
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 1003 -U graphics]
NOTE: libsystemdq: user graphics already exists, not re-creating it
NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 1004 -g input input]
useradd: group 'input' does not exist
ERROR: libsystemdq: useradd command did not succeed.

ERROR: Logfile of failure stored in: /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/temp/log.do_prepare_recipe_sysroot.29935
NOTE: recipe mbim-git-r3: task do_prepare_recipe_sysroot: Failed
NOTE: recipe libbt-vendor-git-r0: task do_prepare_recipe_sysroot: Started
ERROR: Task (/home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/mbim/mbim_git.bb:do_prepare_recipe_sysroot) failed with exit code '1'
NOTE: recipe diag-reboot-app-git-r5: task do_install: Succeeded
NOTE: recipe audio-ftm-git-r5: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe sndparser-git-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe pal-git-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe libbt-vendor-git-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: recipe qmi-client-helper-git-r0: task do_packagedata: Succeeded
NOTE: recipe agm-git-r0: task do_package: Succeeded
NOTE: recipe hci-qcomm-init-git-r0: task do_package: Succeeded
NOTE: recipe wpa-supplicant-qcacld-ks3-git-r5.3: task do_populate_sysroot: Succeeded
NOTE: recipe qmi-simple-ril-1.0-r1: task do_package: Succeeded
NOTE: recipe fs-scrub-daemon-1.0-r1: task do_package: Succeeded
NOTE: recipe wpa-supplicant-qcacld-ks3-git-r5.3: task do_package: Succeeded
NOTE: recipe data-git-r26: task do_prepare_recipe_sysroot: Succeeded
NOTE: Tasks Summary: Attempted 5597 tasks of which 5568 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 13 seconds

Summary: 1 task failed:
  /home/sdx62/apps_proc/poky/meta-qti-data-prop/recipes/mbim/mbim_git.bb:do_prepare_recipe_sysroot
Summary: There were 177 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
20220311_09:59:57 [TURBOX BUILD ERROR]: build_hlos Error****

错误log分析

首次出现ERROR如下

ERROR: mbim-git-r3 do_prepare_recipe_sysroot: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: 
     0001:
 *** 0002:extend_recipe_sysroot(d)
     0003:
File: '/home/sdx62/apps_proc/poky/meta/classes/staging.bbclass', lineno: 595, function: extend_recipe_sysroot
     0591:    for f in fixme:
     0592:        staging_processfixme(fixme[f], f, recipesysroot, recipesysrootnative, d)
     0593:
     0594:    for p in postinsts:
 *** 0595:        subprocess.check_output(p, shell=True, stderr=subprocess.STDOUT)
     0596:
     0597:    for dep in manifests:
     0598:        c = setscenedeps[dep][0]
     0599:        os.symlink(manifests[dep], depdir + "/" + c + ".complete")
File: '/usr/local/lib/python3.8/subprocess.py', lineno: 411, function: check_output
     0407:        # Explicitly passing input=None was previously equivalent to passing an
     0408:        # empty string. That is maintained here for backwards compatibility.
     0409:        kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
     0410:
 *** 0411:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0412:               **kwargs).stdout
     0413:
     0414:
     0415:class CompletedProcess(object):
File: '/usr/local/lib/python3.8/subprocess.py', lineno: 512, function: run
     0508:            # We don't call process.wait() as .__exit__ does that for us.
     0509:            raise
     0510:        retcode = process.poll()
     0511:        if check and retcode:
 *** 0512:            raise CalledProcessError(retcode, process.args,
     0513:                                     output=stdout, stderr=stderr)
     0514:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0515:
     0516:

最终退出错误log

NOTE: libsystemdq: Performing useradd with [--root /home/sdx62/apps_proc/build-qti-distro-nogplv3-perf/tmp-glibc/work/armv7vet2hf-neon-oe-linux-gnueabi/mbim/git-r3/recipe-sysroot                       -u 1004 -g input input]
useradd: group 'input' does not exist
ERROR: libsystemdq: useradd command did not succeed.

分析发现是由于python错误导致libsystemdq错误。

解决方案

删除build-qti-distro-nogplv3-perf和state-cache文件夹,重新编译即可

rm apps_proc/build-qti-distro-nogplv3-perf -rf
rm apps_proc/sstate-cache -rf

你可能感兴趣的:(sdx62,Qualcomm)