Yocto build system permission issues.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Yocto build system permission issues.

27 次查看
abrafo78777
Contributor I

I am trying to build a Yocto project with the project folder in an external hardisk. The SSTATEDIR is loacted on my local hardisk. I had mounted the external hardisk with execute and write permission. Not sure why this file is a read only file read-only file. Any idea how to fix it?

WARNING: You have included the meta-tpm layer, but 'tpm or tpm2' has not been enabled in your DISTRO_FEATURES. Some bbappend files and preferred version setting may not take effect. See the meta-tpm README for details on enabling tpm support.Guy
Loading cache: 100% |################################################################################################| Time: 0:00:01
Loaded 5596 entries from dependency cache.
Parsing recipes: 100% |##############################################################################################| Time: 0:01:40
Parsing of 3577 .bb files complete (3575 cached, 2 parsed). 5598 targets, 681 skipped, 1 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "2.8.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "aarch64-tdx-linux"
MACHINE = "apalis-imx8"
DISTRO = "tdx-xwayland"
DISTRO_VERSION = "7.0.0-devel-20241114073617+build.0"
TUNE_FEATURES = "aarch64 armv8a crypto"
TARGET_FPU = ""
meta-toradex-nxp = "HEAD:c6c49e30fb8660768830b8fab9e48e4f5b2bc5d3"
meta-freescale = "HEAD:a5213ff1f0d1c67e0155b41231d935da962eb79a"
meta-freescale-3rdparty = "HEAD:6c063450d464eb2f380443c7d9af1b94ce9b9d75"
meta-toradex-ti = "HEAD:05ce7d7f931fb8398bdf9f535410ccc8a11dc00e"
meta-arm-toolchain
meta-arm = "HEAD:1947c000299c0330e8a866996505221a14c0e1ea"
meta-ti-bsp
meta-ti-extras = "HEAD:9a12c2b49b775fd76b8fc592847c1e5afe11442c"
meta-toradex-bsp-common = "HEAD:6cdf564762805ec382409a2ba23d33bcde5bec9f"
meta-oe
meta-filesystems
meta-gnome
meta-xfce
meta-networking
meta-multimedia
meta-python = "HEAD:1235dd4ed4a57e67683c045ad76b6a0f9e896b45"
meta-freescale-distro = "HEAD:b9d6a5d9931922558046d230c1f5f4ef6ee72345"
meta-toradex-demos = "HEAD:9471606777e3566864b19dc04025bdadd3ecad3a"
meta-qt5 = "HEAD:eb828418264a49b8d00035cb3d7b12fcea3be801"
meta-tpm = "HEAD:459d837338ca230254baa2994f870bf6eb9d0139"
meta-toradex-distro = "HEAD:f37f10e2eb0f0793915b583078f70c30c3135f19"
meta-poky = "HEAD:9a4b3f7d66c5546855805e284585a550b235c313"
meta = "HEAD:343f40b0bc8ef65cc1e2abd6c9c33bb2e08bad3d"
meta-imx-ml = "<unknown>:<unknown>"

Sstate summary: Wanted 60 Local 0 Mirrors 0 Missed 60 Current 428 (0% match, 87% complete)################# | ETA: 0:00:00
Initialising tasks: 100% |###########################################################################################| Time: 0:00:00
NOTE: Executing Tasks
ERROR: tcp-wrappers-7.6-r0 do_patch: Applying patch '00_man_quoting.diff' on target directory '/media/abrafo/T7/yocto-ml-build/bsp-toradex/build/tmp/work/armv8a-tdx-linux/tcp-wrappers/7.6/tcp_wrappers_7.6'
CmdError('quilt --quiltrc /media/abrafo/T7/yocto-ml-build/bsp-toradex/build/tmp/work/armv8a-tdx-linux/tcp-wrappers/7.6/recipe-sysroot-native/etc/quiltrc push', 0, "stdout: Applying patch 00_man_quoting.diff
patching file hosts_access.5
File hosts_options.5 is read-only; trying to patch anyway
patching file hosts_options.5
patch: setting attribute '$LXUID' for '$LXUID': Permission denied
patch: setting attribute '$LXGID' for '$LXGID': Permission denied
patch: setting attribute '$LXMOD' for '$LXMOD': Permission denied
Patch 00_man_quoting.diff does not apply (enforce with -f)

stderr: ")
ERROR: Logfile of failure stored in: /media/abrafo/T7/yocto-ml-build/bsp-toradex/build/tmp/work/armv8a-tdx-linux/tcp-wrappers/7.6/temp/log.do_patch.664765
ERROR: Task (/media/abrafo/T7/yocto-ml-build/bsp-toradex/build/../layers/openembedded-core/meta/recipes-extended/tcp-wrappers/tcp-wrappers_7.6.bb:do_patch) failed with exit code '1'

Second Keyboard Interrupt, stopping..., 

 

 

 

0 项奖励
回复
0 回复数