Re: [yocto] Anyone built Yocto with Qt5 layer for imx6?

2019-07-03 Thread Gaurav Kalra
>
> Date: Tue, 2 Jul 2019 17:48:23 +0300
> From: Onur Eser 
> To: yocto@yoctoproject.org
> Subject: [yocto] Anyone built Yocto with Qt5 layer for imx6?
> Message-ID:
> 
> Content-Type: text/plain; charset="utf-8"
>
> Hello, Yocto Community!
> Trying to build Yocto with Qt5 layer for Humming Board 2. But I had almost
> a billion of errors and I am so bored. Does anyone had it built? Can you
> guys share some steps or configurations with me?

If I am not mistaken, boot2qt has support for imx6.
Have a look here:
https://codereview.qt-project.org/gitweb?p=yocto/meta-boot2qt.git;a=blob;f=b2qt-init-build-env;h=bec9db92b8b06e01afcea7a75d204382c6f81742;hb=refs/heads/thud

>
> Thanks!
> Onur
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] do_rootfs failed (not sure why)

2019-05-21 Thread Gaurav Kalra
Hi there!

After a few trial and errors, I have been able to isolate the problem with
this commit in boot2qt:
https://codereview.qt-project.org/gitweb?p=yocto/meta-boot2qt.git;a=commitdiff;h=ded06350f2dd23b3e453f5c30247a1cffd362951

The error logs spat by bitbake don't point to the PAM module ¯\_(ツ)_/¯

--
Gaurav Kalra


On Mon, May 20, 2019 at 11:53 AM Gaurav Kalra  wrote:

> On Fri, May 17, 2019 at 6:24 PM Josef Holzmayr
>  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-embedd

Re: [yocto] do_rootfs failed (not sure why)

2019-05-19 Thread Gaurav Kalra
On Fri, May 17, 2019 at 6:24 PM Josef Holzmayr
 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-raspberr

[yocto] do_rootfs failed (not sure why)

2019-05-17 Thread Gaurav Kalra
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.

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
--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