Message ID | cover.1659105705.git.steve@sakoman.com |
---|---|
State | New, archived |
Headers | show |
On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > Security update > With this update we're getting: Parsing recipes...WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: Exception during build_dependencies for AUTOREV WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: Error during finalise of /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb ERROR: ExpansionError during parsing /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb Traceback (most recent call last): File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>): > ud.setup_revisions(d) File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>): for name in self.names: > self.revisions[name] = srcrev_internal_helper(self, d, name) File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, name='default'): if srcrev == "AUTOINC": > srcrev = ud.method.latest_revision(ud, d, name) File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, name='default'): except KeyError: > revs[key] = rev = self._latest_revision(ud, d, name) return rev File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, name='default'): return sha1 > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ (ud.unresolvedrev[name], ud.host+ud.path)) bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in upstream git repository in git ls-remote output for github.com/JeffyCN/xorg-xserver The variable dependency chain for the failure is: SRCPV -> AUTOREV[vardepvalue] Kind regards, Marta
On Tue, Aug 2, 2022 at 7:56 AM Marta Rybczynska <rybczynska@gmail.com> wrote: > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > Security update > > > > With this update we're getting: > > Parsing recipes...WARNING: > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > Exception during build_dependencies for AUTOREV > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > Error during finalise of > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > ERROR: ExpansionError during parsing > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > Traceback (most recent call last): > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > 0x7fc0cafbd0d0>): > > ud.setup_revisions(d) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > object at 0x7fc0cafbd0d0>): > for name in self.names: > > self.revisions[name] = srcrev_internal_helper(self, d, name) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > if srcrev == "AUTOINC": > > srcrev = ud.method.latest_revision(ud, d, name) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > except KeyError: > > revs[key] = rev = self._latest_revision(ud, d, name) > return rev > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > return sha1 > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > (ud.unresolvedrev[name], ud.host+ud.path)) > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > upstream git repository in git ls-remote output for > github.com/JeffyCN/xorg-xserver > The variable dependency chain for the failure is: SRCPV -> AUTOREV[vardepvalue] > Additional information: it happens on zephyr and freertos builds. Regards, Marta
On Mon, Aug 1, 2022 at 7:57 PM Marta Rybczynska <rybczynska@gmail.com> wrote: > > On Tue, Aug 2, 2022 at 7:56 AM Marta Rybczynska <rybczynska@gmail.com> wrote: > > > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > > > Security update > > > > > > > With this update we're getting: > > > > Parsing recipes...WARNING: > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > Exception during build_dependencies for AUTOREV > > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > Error during finalise of > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > ERROR: ExpansionError during parsing > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > Traceback (most recent call last): > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > > 0x7fc0cafbd0d0>): > > > ud.setup_revisions(d) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > > object at 0x7fc0cafbd0d0>): > > for name in self.names: > > > self.revisions[name] = srcrev_internal_helper(self, d, name) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > if srcrev == "AUTOINC": > > > srcrev = ud.method.latest_revision(ud, d, name) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > except KeyError: > > > revs[key] = rev = self._latest_revision(ud, d, name) > > return rev > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > return sha1 > > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > > (ud.unresolvedrev[name], ud.host+ud.path)) > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > > upstream git repository in git ls-remote output for > > github.com/JeffyCN/xorg-xserver > > The variable dependency chain for the failure is: SRCPV -> AUTOREV[vardepvalue] > > > Additional information: it happens on zephyr and freertos builds. Do you see this on master too? Since this is a backport it would be interesting to see if it fails there too. Steve
On Mon, Aug 1, 2022 at 7:56 PM Marta Rybczynska <rybczynska@gmail.com> wrote: > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > Security update > > > > With this update we're getting: > > Parsing recipes...WARNING: > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > Exception during build_dependencies for AUTOREV > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > Error during finalise of > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > ERROR: ExpansionError during parsing > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > Traceback (most recent call last): > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > 0x7fc0cafbd0d0>): > > ud.setup_revisions(d) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > object at 0x7fc0cafbd0d0>): > for name in self.names: > > self.revisions[name] = srcrev_internal_helper(self, d, name) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > if srcrev == "AUTOINC": > > srcrev = ud.method.latest_revision(ud, d, name) > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > except KeyError: > > revs[key] = rev = self._latest_revision(ud, d, name) > return rev > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > name='default'): > return sha1 > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > (ud.unresolvedrev[name], ud.host+ud.path)) > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > upstream git repository in git ls-remote output for > github.com/JeffyCN/xorg-xserver Is there a bbappend to xserver-xorg somewhere in your layers? The recipe in core is building from a tarball fetched from https://www.x.org/releases/ It appears that a bbappend is changing this to look in github.com/JeffyCN/xorg-xserver, which doesn't have 21.1.4 So my best guess is that the issue is with a bbappend in some other layer, not with this patch in oe-core. Steve > The variable dependency chain for the failure is: SRCPV -> AUTOREV[vardepvalue]
On Tue, Aug 2, 2022 at 4:37 AM Steve Sakoman via lists.openembedded.org <steve=sakoman.com@lists.openembedded.org> wrote: > > On Mon, Aug 1, 2022 at 7:56 PM Marta Rybczynska <rybczynska@gmail.com> wrote: > > > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > > > Security update > > > > > > > With this update we're getting: > > > > Parsing recipes...WARNING: > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > Exception during build_dependencies for AUTOREV > > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > Error during finalise of > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > ERROR: ExpansionError during parsing > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > Traceback (most recent call last): > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > > 0x7fc0cafbd0d0>): > > > ud.setup_revisions(d) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > > object at 0x7fc0cafbd0d0>): > > for name in self.names: > > > self.revisions[name] = srcrev_internal_helper(self, d, name) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > if srcrev == "AUTOINC": > > > srcrev = ud.method.latest_revision(ud, d, name) > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > except KeyError: > > > revs[key] = rev = self._latest_revision(ud, d, name) > > return rev > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > name='default'): > > return sha1 > > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > > (ud.unresolvedrev[name], ud.host+ud.path)) > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > > upstream git repository in git ls-remote output for > > github.com/JeffyCN/xorg-xserver > > Is there a bbappend to xserver-xorg somewhere in your layers? > > The recipe in core is building from a tarball fetched from > https://www.x.org/releases/ > > It appears that a bbappend is changing this to look in > github.com/JeffyCN/xorg-xserver, which doesn't have 21.1.4 > > So my best guess is that the issue is with a bbappend in some other > layer, not with this patch in oe-core. I'm going to guess you've included meta-rockchip in your build which does include this bbappend: https://github.com/JeffyCN/meta-rockchip/blob/master/recipes-graphics/xorg-xserver/xserver-xorg_%25.bbappend That's where github.com/JeffyCN/xorg-xserver and the AUTOREV are coming from. Steve
On Tue, Aug 2, 2022 at 4:57 PM Steve Sakoman <steve@sakoman.com> wrote: > > On Tue, Aug 2, 2022 at 4:37 AM Steve Sakoman via > lists.openembedded.org <steve=sakoman.com@lists.openembedded.org> > wrote: > > > > On Mon, Aug 1, 2022 at 7:56 PM Marta Rybczynska <rybczynska@gmail.com> wrote: > > > > > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > > > > > Security update > > > > > > > > > > With this update we're getting: > > > > > > Parsing recipes...WARNING: > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > > Exception during build_dependencies for AUTOREV > > > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > > Error during finalise of > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > > ERROR: ExpansionError during parsing > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > > Traceback (most recent call last): > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > > > 0x7fc0cafbd0d0>): > > > > ud.setup_revisions(d) > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > > > object at 0x7fc0cafbd0d0>): > > > for name in self.names: > > > > self.revisions[name] = srcrev_internal_helper(self, d, name) > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > name='default'): > > > if srcrev == "AUTOINC": > > > > srcrev = ud.method.latest_revision(ud, d, name) > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > name='default'): > > > except KeyError: > > > > revs[key] = rev = self._latest_revision(ud, d, name) > > > return rev > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > name='default'): > > > return sha1 > > > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > > > (ud.unresolvedrev[name], ud.host+ud.path)) > > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > > > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > > > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > > > upstream git repository in git ls-remote output for > > > github.com/JeffyCN/xorg-xserver > > > > Is there a bbappend to xserver-xorg somewhere in your layers? > > > > The recipe in core is building from a tarball fetched from > > https://www.x.org/releases/ > > > > It appears that a bbappend is changing this to look in > > github.com/JeffyCN/xorg-xserver, which doesn't have 21.1.4 > > > > So my best guess is that the issue is with a bbappend in some other > > layer, not with this patch in oe-core. > > I'm going to guess you've included meta-rockchip in your build which > does include this bbappend: > > https://github.com/JeffyCN/meta-rockchip/blob/master/recipes-graphics/xorg-xserver/xserver-xorg_%25.bbappend > > That's where github.com/JeffyCN/xorg-xserver and the AUTOREV are coming from. > Oh my yes. I was grepping around in meta-zephyr as it fails only there. Marta
On Tue, Aug 2, 2022 at 6:19 AM Marta Rybczynska <rybczynska@gmail.com> wrote: > > On Tue, Aug 2, 2022 at 4:57 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > On Tue, Aug 2, 2022 at 4:37 AM Steve Sakoman via > > lists.openembedded.org <steve=sakoman.com@lists.openembedded.org> > > wrote: > > > > > > On Mon, Aug 1, 2022 at 7:56 PM Marta Rybczynska <rybczynska@gmail.com> wrote: > > > > > > > > On Fri, Jul 29, 2022 at 4:47 PM Steve Sakoman <steve@sakoman.com> wrote: > > > > > > > > > > From: Alexander Kanavin <alex.kanavin@gmail.com> > > > > > > > > > > Security update > > > > > > > > > > > > > With this update we're getting: > > > > > > > > Parsing recipes...WARNING: > > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > > > Exception during build_dependencies for AUTOREV > > > > WARNING: /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb: > > > > Error during finalise of > > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > > > ERROR: ExpansionError during parsing > > > > /tmp/workspace.Pvlp4fXTtK/oe-core/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.4.bb > > > > Traceback (most recent call last): > > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > > > 249, in Git.urldata_init(ud=<bb.fetch2.FetchData object at > > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at > > > > 0x7fc0cafbd0d0>): > > > > > ud.setup_revisions(d) > > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > > line 1347, in FetchData.setup_revisions(d=<bb.data_smart.DataSmart > > > > object at 0x7fc0cafbd0d0>): > > > > for name in self.names: > > > > > self.revisions[name] = srcrev_internal_helper(self, d, name) > > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > > line 1212, in srcrev_internal_helper(ud=<bb.fetch2.FetchData object at > > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > > name='default'): > > > > if srcrev == "AUTOINC": > > > > > srcrev = ud.method.latest_revision(ud, d, name) > > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/__init__.py", > > > > line 1624, in Git.latest_revision(ud=<bb.fetch2.FetchData object at > > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > > name='default'): > > > > except KeyError: > > > > > revs[key] = rev = self._latest_revision(ud, d, name) > > > > return rev > > > > File "/tmp/workspace.Pvlp4fXTtK/bitbake/lib/bb/fetch2/git.py", line > > > > 752, in Git._latest_revision(ud=<bb.fetch2.FetchData object at > > > > 0x7fc0cb054970>, d=<bb.data_smart.DataSmart object at 0x7fc0cafbd0d0>, > > > > name='default'): > > > > return sha1 > > > > > raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \ > > > > (ud.unresolvedrev[name], ud.host+ud.path)) > > > > bb.data_smart.ExpansionError: Failure expanding variable SRCPV, > > > > expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception > > > > FetchError: Fetcher failure: Unable to resolve '21.1.4_2022_05_23' in > > > > upstream git repository in git ls-remote output for > > > > github.com/JeffyCN/xorg-xserver > > > > > > Is there a bbappend to xserver-xorg somewhere in your layers? > > > > > > The recipe in core is building from a tarball fetched from > > > https://www.x.org/releases/ > > > > > > It appears that a bbappend is changing this to look in > > > github.com/JeffyCN/xorg-xserver, which doesn't have 21.1.4 > > > > > > So my best guess is that the issue is with a bbappend in some other > > > layer, not with this patch in oe-core. > > > > I'm going to guess you've included meta-rockchip in your build which > > does include this bbappend: > > > > https://github.com/JeffyCN/meta-rockchip/blob/master/recipes-graphics/xorg-xserver/xserver-xorg_%25.bbappend > > > > That's where github.com/JeffyCN/xorg-xserver and the AUTOREV are coming from. > > > > Oh my yes. I was grepping around in meta-zephyr as it fails only there. I'm not going to hold up this patch based on the meta-rockchip bbappend. IMHO the use of a fork of xserver-xorg and an AUTOREV is beyond the scope of what the LTS should deal with! Steve