hi Jassi,
On Tue, Mar 3, 2020 at 1:06 AM Jassi Brar <jassisinghbrar(a)gmail.com> wrote:
> Hi Team,
>
> I understand ubuntu-19.10 maybe too modern for Sumo builds, but I can
> not even build RPB distro with Zeus. Poky builds fine though.
>
Zeus was released at the same time as 19.10, so 19.10 is not marked as a
supported distro in zeus, see
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/p…
Can you please provide build log that is showing errors with RPB/zeus on
19.10?
> Any suggestions please, how can I build zeus/sumo rpb on ubuntu-19.10
> (I don't want to downgrade to 19.04 which is reported to build Sumo
> ok).
>
> I tried the zeus branch of https://github.com/96boards/oe-rpb-manifest
>
> Thanks!
>
hi,
we are hitting some errors with repo init since last night. After
looking into it , I came up with the following explanation and fix..
If I am correct, it will impact all our OE RPB build setup..
Can you please review that carefully?
The PR is on github:
https://github.com/96boards/oe-rpb-manifest/pull/121
I put a copy of the commit message below to bring it to your attention!
cheers
nico
==
All along we have been using a relative symlink for setup-environment
which points outside of the project path. While we've enjoyed this
hack for several years, a recent change was in repo, and repo init now
fails with:
error.ManifestInvalidPathError: <linkfile> invalid "src":
../../.repo/manifests/setup-environment: bad component: .repo
The change in repo is this one:
https://gerrit.googlesource.com/git-repo/+/07392ed32662006c029299bc06617310…
The repo documentation states: The symlink is created at “dest”
(relative to the top of the tree) and points to the path specified by
“src” which is a path in the project.
As such, repo clearly expects that 'src' is in the project path, which
is not the cause when using ../../.repo/ path.
This patch changes our folder structure in such a way that:
* the manifest git is checked out as ./conf/ folder in the top level
directory
* setup-environment link is created by repo, as a link to
conf/setup-environment-internal
The main drawback is that it feels non standard to duplicate the whole
manifest project again (since it's already checked out in .repo)
however using .repo content also meant we were making assumptions on
implementation details of repo itself.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne(a)linaro.org>
Hi,
I changed the RPB qcom-lt builds to use docker-buster-amd64 because we have
been experimenting image corruption with ext2simg tool in new RPB zeus
builds [1], there is a related bug report [1] and that's the reason why our
Debian builds uses img2simg.
I tried to use img2simg in Debian stretch but is an old version (5.x) and
fails to create images when are small size (ramdisk).
So it's a good opportunity to change the docker builder to Debian buster
with a newer img2simg (8.x) tool in qcom-lt builds, I made the change in a
way that doesn't affect current builds that uses Debian stretch [3] and
give time to other users to switch (if needed).
Regards,
Anibal
[1] https://validation.linaro.org/scheduler/job/1965964
[2] https://discuss.96boards.org/t/ext2simg-is-corrupting-custom-rootfs/8792
[3]
https://git.linaro.org/ci/job/configs.git/commit/?id=2798029ae4a2772c9b51ef…
Hi Everyone,
We are pleased to announce that support for ARM GCC 9.2-2019.12 [1]
toolchain has been added in meta-linaro [2].
- Support for ARM GCC 9.2 toolchain built from source, steps to use it:
- Add <path-to-meta-linaro-repo>/meta-linaro-toolchain/ to BBLAYERS
in conf/bblayers.conf.
- Configure: GCCVERSION = "arm-9.2" in conf/local.conf.
- Support for prebuilt ARM GCC 9.2 toolchain, steps to use it:
- Add <path-to-meta-linaro-repo>/meta-linaro-toolchain/ to BBLAYERS
in conf/bblayers.conf.
- Configure: TCMODE = "external-arm" in conf/local.conf.
- For AArch64 (eg. qemuarm64 machine in poky distro)
- Configure: EXTERNAL_TOOLCHAIN =
"<installation-path>/gcc-arm-9.2-2019.12-x86_64-aarch64-none-linux-gnu"
in
conf/local.conf.
- For AArch32 (eg. qemuarm machine in poky distro)
- Configure: EXTERNAL_TOOLCHAIN =
"<installation-path>/gcc-arm-9.2-2019.12-x86_64-arm-none-linux-gnueabihf"
in conf/local.conf.
Distro testing:
===========
- poky distro (branch: zeus, machines: qemuarm and qemuarm64)
- Build and boot tested.
- RPB distro (branch: zeus, machine: dragonboard-410c)
- Build and boot tested.
- World builds (branch: zeus, machines: qemuarm and qemuarm64) for
following layers:
- poky/meta
- poky/meta-poky
- poky/meta-yocto-bsp
- meta-openembedded/meta-oe
- meta-openembedded/meta-python
- meta-openembedded/meta-networking
Known issues:
===========
- mariadb build failure with ARM GCC 9.2 toolchain built from source:
- Recipe fix patch [3] accepted in OE upstream.
- Native tools dependency issues seen with multiple recipes (psmisc,
xclock, ndisc6, dovecot, man-db, drbd-utils and unbound) when using
prebuilt ARM GCC 9.2 toolchain.
- Fixes posted in OE upstream [4] [5].
Reporting bugs:
============
Please report any issue here [6].
[1]
https://developer.arm.com/tools-and-software/open-source-software/developer…
[2] https://git.linaro.org/openembedded/meta-linaro.git/?h=master
[3] https://patchwork.openembedded.org/patch/169296/
[4] https://patchwork.openembedded.org/patch/169289/
[5] https://patchwork.openembedded.org/series/22188/
[6] https://bugs.linaro.org/enter_bug.cgi?product=Linaro%20OpenEmbedded
Happy hacking!,
Regards,
Sumit
Hi Nico,
My WaRP7 builds are failing because meta-clang has dropped warrior support
from its master branch. The same problem will happen in oe-rpb's warrior
branch, as you're also using meta-clang master.
The meta-clang warrior branch is quite old and is missing a lot of the
patches from master that I've been building with for a long time. I wanted
to send a patch to fix oe-rpb, but I don't know if you'd prefer to use the
last known good SHA from the meta-clang master branch, or to use their
warrior branch.
I'm not using clang, so for my WaRP7 builds, I've just reverted to the
warrior branch to see if it builds, at least.
Cheers,
Ryan.
---------- Forwarded message ---------
From: <ci_notify(a)linaro.org>
Date: Thu, 14 Nov 2019 at 05:57
Subject: [CI-NOTIFY]: WaRP7 OpenEmbedded (warrior) - Build # 154 - Still
Failing!
To: <ryan.harkin(a)linaro.org>
Hello CI User,
This is notification from ci.linaro.org for project WaRP7 OpenEmbedded
(warrior).
The project WaRP7 OpenEmbedded (warrior) Build # 154 - Still Failing.
Please check console output at
https://ci.linaro.org/job/warp7-openembedded-warrior/154/ to view the
results.
Thanks!!!
CI Team
On Wed, Nov 6, 2019 at 2:19 PM Maxim Uvarov <maxim.uvarov(a)linaro.org> wrote:
>
> Yes, I did.
>
> On Wed, 6 Nov 2019 at 15:58, Nicolas Dechesne
> <nicolas.dechesne(a)linaro.org> wrote:
> >
> > hi Maxim,
> >
> > your original email didn't make it to the mailing list.. not sure why,
> > you might want to check. I am adding the list here again.
> >
> > On Wed, Nov 6, 2019 at 10:54 AM Maxim Uvarov <maxim.uvarov(a)linaro.org> wrote:
> > >
> > > looks like it is. after this patch:
> > > http://lists.openembedded.org/pipermail/bitbake-devel/2017-November/009097.…
> > > I see error:
> > > ERROR: ExpansionError during parsing
> > > /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> > > Traceback (most recent call last):
> > > File "Var <SRCPV>", line 1, in <module>
> > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > > line 768, in get_srcrev(d=<bb.data_smart.DataSmart object at
> > > 0x7faa98f59e48>, method_name='sortable_revision'):
> > > raise FetchError("The SRCREV_FORMAT variable must be set
> > > when multiple SCMs are used.\n"\
> > > > "The SCMs are:\n%s" % '\n'.join(scms))
> > >
> > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV,
> > > expression was ${(a)bb.fetch2.get_srcrev(d)} which triggered exception
> > > FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set
> > > when multiple SCMs are used.
> >
> > I don't understand the situation. do we have a problem or did you fix it?
> >
> > and btw, are we really still using this recipe from 2014? or did you
> > find that by accident?
> >
> yea fresh version of openjdk is in meta-java. But it has some issues
> to compile on aarch64.
>
> Issue with meta-linaro can be fixed in a few ways:
> 1. add SRCREV_FORMAT = "jdk8" and apply this patch
> http://lists.openembedded.org/pipermail/bitbake-devel/2017-November/009097.…
>
> or
>
> 2. HG can allow to download tar balls. So we can switch from hg:// to https://.
>
> or
>
> 3. Simple drop openjdk from meta-linaro and fix meta-java version.
>
> For my issue meta-linaro/aarch64 was in ledge rp build. And parser
> of .bb files started to fail on that recipe after we switched to zeus
> branch. Because we don't need openjdk I simply removed it from ledge
> rp layer. That fixed my current issue. But in general it will be good
> to fix it.
I think we should fix upstream. I think we used this recipe initially
for the bring up, but it should be removed now. Would be nice to have
some background on this recipe.. or at least someone who can confirm
it's safe to be removed now.
>
> Maxim.
>
> > > The SCMs are:
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jdk8;name…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/corba;nam…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/hotspot;n…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jaxp;name…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jaxws;nam…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jdk;name=…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/langtools…
> > > hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/nashorn;n…
> > >
> > >
> > >
> > > On Wed, 6 Nov 2019 at 12:33, Maxim Uvarov <maxim.uvarov(a)linaro.org> wrote:
> > > >
> > > > Hi Nicolas,
> > > >
> > > > is that known bug?
> > > >
> > > > ---------- Forwarded message ---------
> > > > From: Maxim Uvarov <maxim.uvarov(a)linaro.org>
> > > > Date: Tue, 5 Nov 2019 at 23:09
> > > > Subject: openjdk is broken on zeus branch
> > > > To: <openembedded(a)lists.linaro.org>
> > > >
> > > >
> > > > It looks like ${AUTOREV} with hg tool project is broken. openjdk from
> > > > meta-java also does not use AUTOREV. I'm not sure what is better fix
> > > > for that - remove AUTOREV or fix it?
> > > >
> > > > BR,
> > > > Maxim.
> > > >
> > > > WARNING: /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:
> > > > Exception during build_dependencies for AUTOREV | ETA:
> > > > --:--:--
> > > > WARNING: /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:
> > > > Error during finalise of
> > > > /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> > > > ERROR: ExpansionError during parsing
> > > > /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> > > > Traceback (most recent call last):
> > > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > > > line 1302, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart
> > > > object at 0x7fddc1423b38>):
> > > > for name in self.names:
> > > > > self.revisions[name] = srcrev_internal_helper(self, d, name)
> > > >
> > > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > > > line 1167, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at
> > > > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > > > name='jdk8'):
> > > > if srcrev == "AUTOINC":
> > > > > srcrev = ud.method.latest_revision(ud, d, name)
> > > >
> > > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > > > line 1558, in Hg.latest_revision(ud=<bb.fetch2.FetchData object at
> > > > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > > > name='jdk8'):
> > > > revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
> > > > > key = self.generate_revision_key(ud, d, name)
> > > > try:
> > > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > > > line 1570, in Hg.generate_revision_key(ud=<bb.fetch2.FetchData object
> > > > at 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at
> > > > 0x7fddc1423b38>, name='jdk8'):
> > > > def generate_revision_key(self, ud, d, name):
> > > > > key = self._revision_key(ud, d, name)
> > > > return "%s-%s" % (key, d.getVar("PN") or "")
> > > > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/hg.py",
> > > > line 225, in Hg._revision_key(ud=<bb.fetch2.FetchData object at
> > > > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > > > name='jdk8'):
> > > > """
> > > > > return "hg:" + ud.moddir
> > > >
> > > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV,
> > > > expression was ${(a)bb.fetch2.get_srcrev(d)} which triggered exception
> > > > AttributeError: 'FetchData' object has no attribute 'moddir'
hi Maxim,
your original email didn't make it to the mailing list.. not sure why,
you might want to check. I am adding the list here again.
On Wed, Nov 6, 2019 at 10:54 AM Maxim Uvarov <maxim.uvarov(a)linaro.org> wrote:
>
> looks like it is. after this patch:
> http://lists.openembedded.org/pipermail/bitbake-devel/2017-November/009097.…
> I see error:
> ERROR: ExpansionError during parsing
> /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> Traceback (most recent call last):
> File "Var <SRCPV>", line 1, in <module>
> File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> line 768, in get_srcrev(d=<bb.data_smart.DataSmart object at
> 0x7faa98f59e48>, method_name='sortable_revision'):
> raise FetchError("The SRCREV_FORMAT variable must be set
> when multiple SCMs are used.\n"\
> > "The SCMs are:\n%s" % '\n'.join(scms))
>
> bb.data_smart.ExpansionError: Failure expanding variable SRCPV,
> expression was ${(a)bb.fetch2.get_srcrev(d)} which triggered exception
> FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set
> when multiple SCMs are used.
I don't understand the situation. do we have a problem or did you fix it?
and btw, are we really still using this recipe from 2014? or did you
find that by accident?
> The SCMs are:
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jdk8;name…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/corba;nam…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/hotspot;n…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jaxp;name…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jaxws;nam…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/jdk;name=…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/langtools…
> hg://hg.openjdk.java.net/aarch64-port;protocol=http;destsuffix=hg/nashorn;n…
>
>
>
> On Wed, 6 Nov 2019 at 12:33, Maxim Uvarov <maxim.uvarov(a)linaro.org> wrote:
> >
> > Hi Nicolas,
> >
> > is that known bug?
> >
> > ---------- Forwarded message ---------
> > From: Maxim Uvarov <maxim.uvarov(a)linaro.org>
> > Date: Tue, 5 Nov 2019 at 23:09
> > Subject: openjdk is broken on zeus branch
> > To: <openembedded(a)lists.linaro.org>
> >
> >
> > It looks like ${AUTOREV} with hg tool project is broken. openjdk from
> > meta-java also does not use AUTOREV. I'm not sure what is better fix
> > for that - remove AUTOREV or fix it?
> >
> > BR,
> > Maxim.
> >
> > WARNING: /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:
> > Exception during build_dependencies for AUTOREV | ETA:
> > --:--:--
> > WARNING: /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb:
> > Error during finalise of
> > /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> > ERROR: ExpansionError during parsing
> > /home/maxim.uvarov/build-test-update/build-rpb/conf/../../layers/meta-linaro/meta-aarch64/recipes-core/openjdk/openjdk-8_0.1.bb
> > Traceback (most recent call last):
> > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > line 1302, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart
> > object at 0x7fddc1423b38>):
> > for name in self.names:
> > > self.revisions[name] = srcrev_internal_helper(self, d, name)
> >
> > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > line 1167, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at
> > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > name='jdk8'):
> > if srcrev == "AUTOINC":
> > > srcrev = ud.method.latest_revision(ud, d, name)
> >
> > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > line 1558, in Hg.latest_revision(ud=<bb.fetch2.FetchData object at
> > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > name='jdk8'):
> > revs = bb.persist_data.persist('BB_URI_HEADREVS', d)
> > > key = self.generate_revision_key(ud, d, name)
> > try:
> > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/__init__.py",
> > line 1570, in Hg.generate_revision_key(ud=<bb.fetch2.FetchData object
> > at 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at
> > 0x7fddc1423b38>, name='jdk8'):
> > def generate_revision_key(self, ud, d, name):
> > > key = self._revision_key(ud, d, name)
> > return "%s-%s" % (key, d.getVar("PN") or "")
> > File "/home/maxim.uvarov/build-test-update/bitbake/lib/bb/fetch2/hg.py",
> > line 225, in Hg._revision_key(ud=<bb.fetch2.FetchData object at
> > 0x7fddc17d8e80>, d=<bb.data_smart.DataSmart object at 0x7fddc1423b38>,
> > name='jdk8'):
> > """
> > > return "hg:" + ud.moddir
> >
> > bb.data_smart.ExpansionError: Failure expanding variable SRCPV,
> > expression was ${(a)bb.fetch2.get_srcrev(d)} which triggered exception
> > AttributeError: 'FetchData' object has no attribute 'moddir'
hi there,
I've pushed all needed changes to get started with Zeus builds for the
Linaro OE RPB CI:
* created zeus branch on meta-backports, meta-qcom
* created zeus branch on oe-rpb-manifest
* i did not create zeus and i am keeping master for meta-rpb,
meta-96boards, meta-linaro. it's compatible, at least for now
* our zeus manifest is using master for other layers when they don't
have a zeus branch
Build #1 is scheduled for now.. we will see how bad it goes.
I have also create the qcom/zeus branch (I recall that it is a
stripped down version of the overall Linaro manifest that only focuses
on Qualcomm BSP).
Of course, if you can keep an eye on builds and help fixing issues,
that would be much appreciated.
cheers
nico