On Fri, May 17, 2019 at 6:24 PM Josef Holzmayr <holzm...@rsi-elektrotechnik.de> wrote: > > Hi Gaurav, > > On Fri, May 17, 2019 at 03:42:02PM +0900, Gaurav Kalra wrote: > > Hi, > > > > I am new in the Yocto world and have started learning the concepts recently. > > A big thanks to the broadcasts on twitch and numerous youtube videos. > > As the broadcaster on Twitch, thanks for letting us know. It is much > appreciated! > > > What I am doing: Modifying boot2qt ( > > https://codereview.qt-project.org/gitweb?p=yocto/meta-boot2qt.git;a=shortlog;h=refs/heads/thud) > > as my blueprint for raspberry-pi. > > > > Mostly: > > 1. Modifying the configuration of packages (e.g., systemd conf files) > > 2. Adding new recipes > > 3. Keeping Qt updated > > > > "Sometimes", I face this strange error in do_rootfs(), while > > installing binutils-lic package inside the image. > > > > [...] > > ERROR: seesv-embedded-qt5-image-1.0-r0 do_rootfs: Unable to install > > packages. Command > > '/media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg > > I'm not sure if it applies here, but I have encountered problems with > long pathes. Especially the leading part with the UUID *might* be > problematic. Have you tried in a location closer to root?
I tried closer to root today. But the same problem (with a different package -> this time it's otf-noto-lic). [...] ERROR: seesv-embedded-qt5-image-1.0-r0 do_rootfs: Unable to install packages. Command '/mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/recipe-sysroot-native/usr/bin/opkg --volatile-cache -f /mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/opkg.conf -t /mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/temp/ipktemp/ -o /mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/rootfs --force_postinstall --prefer-arch-to-version install opkg packagegroup-b2qt-embedded-base packagegroup-b2qt-embedded-gstreamer packagegroup-b2qt-embedded-tools packagegroup-b2qt-qt5-modules packagegroup-base-extended packagegroup-core-boot packagegroup-core-ssh-dropbear packagegroup-core-tools-debug packagegroup-core-tools-profile run-postinsts' returned -11: Installing opkg-lic (0.3.6) on root Downloading file:/mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/oe-rootfs-repo/cortexa7t2hf-neon-vfpv4/opkg-lic_0.3.6-r0_cortexa7t2hf-neon-vfpv4.ipk. Installing packagegroup-b2qt-embedded-base-lic (1.0) on root Downloading file:/mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/oe-rootfs-repo/all/packagegroup-b2qt-embedded-base-lic_1.0-r0_all.ipk. [...] Installing otf-noto-lic (1.004) on root Downloading file:/mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-lin ERROR: seesv-embedded-qt5-image-1.0-r0 do_rootfs: Function failed: do_rootfs ERROR: Logfile of failure stored in: /mnt/seesv-mnt/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/temp/log.do_rootfs.19367 ERROR: Task (/mnt/seesv-mnt/seesv-distro/sources/meta-seesv/meta-seesv-distro/recipes-qt/images/seesv-embedded-qt5-image.bb:do_rootfs) failed with exit code '1' [...] > > Greetz > Josef > > > --volatile-cache -f > > /media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/opkg.conf > > -t > > /media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/temp/ipktemp/ > > -o > > /media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/rootfs > > --force_postinstall --prefer-arch-to-version install opkg > > packagegroup-b2qt-embedded-base packagegroup-b2qt-embedded-gstreamer > > packagegroup-b2qt-embedded-tools packagegroup-b2qt-qt5-modules > > packagegroup-base-extended packagegroup-core-boot > > packagegroup-core-ssh-dropbear packagegroup-core-tools-debug > > packagegroup-core-tools-profile run-postinsts' returned -11: > > [...] > > Installing openssh-lic (7.8p1+git) on root > > Downloading > > file:/media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/oe-rootfs-repo/cortexa7t2hf-neon-vfpv4/openssh-lic_7.8p1+git-r0_cortexa7t2hf-neon-vfpv4.ipk. > > Installing binutils-lic (2.31) on root > > Downloading > > file:/media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/oe-roo > > ERROR: seesv-embedded-qt5-image-1.0-r0 do_rootfs: Function failed: do_rootfs > > ERROR: Logfile of failure stored in: > > /media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/temp/log.do_rootfs.21682 > > ERROR: Task > > (/media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/sources/meta-seesv/meta-seesv-distro/recipes-qt/images/seesv-embedded-qt5-image.bb:do_rootfs) > > failed with exit code '1' > > [...] > > > > Notice: > > In the log "Downloading > > file:/media/gvkalra/66bef40b-d84f-4ad0-ada6-a025b494ca5d/seesv-distro/build-raspberrypi3/tmp/work/raspberrypi3-poky-linux-gnueabi/seesv-embedded-qt5-image/1.0-r0/oe-roo", > > bitbake didn't finish writing the whole path to the console. (I don't know > > why) > > > > I have tried "bitbake -c cleansstate binutils" and rebuilding the image > > (again same error) > > > > Previously when I faced this error, I deleted everything and started from > > scratch (compiling everything) - it worked! > > But it takes too long, so this time I thought it's best to discuss in the > > mailing list. > > > > Any ideas of what could be the reason? > > > > PS: I am open to share any logs you'd like to have. > > > > -- > > Gaurav Kalra > > > -- > > _______________________________________________ > > yocto mailing list > > yocto@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/yocto > > > -- > ——————————————— > Josef Holzmayr > Software Developer Embedded Systems > > Tel: +49 8444 9204-48 > Fax: +49 8444 9204-50 > > R-S-I Elektrotechnik GmbH & Co. KG > Woelkestrasse 11 > D-85301 Schweitenkirchen > www.rsi-elektrotechnik.de > ——————————————— > Amtsgericht Ingolstadt – GmbH: HRB 191328 – KG: HRA 170393 > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg > Ust-IdNr: DE 128592548 > > _____________________________________________________________ > Amtsgericht Ingolstadt - GmbH: HRB 191328 - KG: HRA 170363 > Geschäftsführer: Dr.-Ing. Michael Sorg, Dipl.-Ing. Franz Sorg > USt-IdNr.: DE 128592548 > -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto