Skip to contentSkip to conversation

Issue with

DISCUSSION sateesh m 2 participants 2 messages Sep 23, 2024

lore
Share & tools
lore

sateesh m

author
#0 lore raw

Hi Team,

I am facing issue as mentioned below. its very important to me can anyone respond immediate basis to solve issue as mentioned below.

WARNING: sota-image-1.0-r0 do_rootfs: Postinstall for package tx-init failed with 1:
ln -s /lib/systemd/system/tx-init.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-init.service ln -s /lib/systemd/system/tx-appfs-setup.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-appfs-setup.service ln -s /lib/systemd/system/tx-usb-pwr.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-usb-pwr.service ln -s /lib/systemd/system/tx-hostname.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-hostname.service ln -s /lib/systemd/system/tx-comport.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-comport.service ln -s /lib/systemd/system/tx-app.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-app.service Traceback (most recent call last):
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 348, in <module>
main()
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 334, in main SystemdUnit(root, service).enable()
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 219, in enable
config = SystemdFile(self.root, path, instance_unit_name)
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 31, in __init__ self._parse(root, path)
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 81, in _parse
if k not in section:
TypeError: argument of type 'NoneType' is not iterable
ERROR: sota-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['tx-init'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.2043283
ERROR: Task (/home/z0254762/transics/sota/oe/layers/meta-tx-sota/recipes-core/sota/sota-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4961 tasks of which 4947 didn't need to be rerun and 1 failed.

Regards,
Sateesh

#1 lore raw
Quoted 15 lines · sateesh m via lists.yoctoproject.org

Hi Team,

I am facing issue as mentioned below. its very important to me can anyone respond immediate basis to solve issue as mentioned below.

WARNING: sota-image-1.0-r0 do_rootfs: Postinstall for package tx-init failed with 1:
ln -s /lib/systemd/system/tx-init.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-init.service ln -s /lib/systemd/system/tx-appfs-setup.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-appfs-setup.service ln -s /lib/systemd/system/tx-usb-pwr.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-usb-pwr.service ln -s /lib/systemd/system/tx-hostname.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-hostname.service ln -s /lib/systemd/system/tx-comport.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-comport.service ln -s /lib/systemd/system/tx-app.service /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/rootfs/etc/systemd/system/multi-user.target.wants/tx-app.service Traceback (most recent call last):
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 348, in <module>

    main()
Quoted 10 lines

File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 334, in main
SystemdUnit(root, service).enable()
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 219, in enable
config = SystemdFile(self.root, path, instance_unit_name)
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 31, in __init__
self._parse(root, path)
File "/home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/recipe-sysroot-native/usr/bin/systemctl", line 81, in _parse
if k not in section:
TypeError: argument of type 'NoneType' is not iterable
ERROR: sota-image-1.0-r0 do_rootfs: Postinstall scriptlets of ['tx-init'] have failed. If the intention is to defer them to first boot,

You might want to look into the tx-init recipe and see what it is doing perhaps SYSTEMD_SERVICE:${PN} is not set properly and also look into SYSTEMD_AUTO_ENABLE settings for this recipe. Without sources we can only guess what might
be going on.

Quoted 19 lines

then please place them into pkg_postinst_ontarget:${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/z0254762/transics/sota/oe/build-openstlinuxweston-stm32mp13-sota/tmp-glibc/work/stm32mp13_sota-ostl-linux-gnueabi/sota-image/1.0-r0/temp/log.do_rootfs.2043283
ERROR: Task (/home/z0254762/transics/sota/oe/layers/meta-tx-sota/recipes-core/sota/sota-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 4961 tasks of which 4947 didn't need to be rerun and 1 failed.

Regards,
Sateesh

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#63876): https://lists.yoctoproject.org/g/yocto/message/63876
Mute This Topic: https://lists.yoctoproject.org/mt/108602382/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-