Fix gitsm LFS support
v2 cover Fix gitsm LFS support
This patch series fixes a number of issues we observed when using the gitsm fetcher in conjunction with git-lfs.
I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a good reason on why the code so far preferred the content of .gitattributes on the repository's branch instead of always considering the state of the target revision. Please let me know if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not replicate the git-lfs fetch behaviour in versions going back to 2.13.2 released in 2021. This leads me to believe that the issue leading to this workaround is no longer in place. However, if anyone remembers the actual issue / versions involved I can also retest to confirm that there are no regression.
---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled. This ensures consistent behaviour in setups where git-lfs is installed but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make sure that git-lfs is actually used for storing the files.
Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFS
lib/bb/fetch2/git.py | 69 ++++++---------- lib/bb/fetch2/gitsm.py | 13 ++- lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++----------- 3 files changed, 163 insertions(+), 102 deletions(-)
PATCH v2 1/8 fetch2: Clean up no longer used name parameter
There's no need to pass name when it is no longer used.
--- lib/bb/fetch2/git.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
lib/bb/fetch2/git.py +4 -4
@@ -327,7 +327,7 @@ class Git(FetchMethod): if self.clonedir_need_update(ud, d): return True - if not self._lfs_objects_downloaded(ud, d, ud.name, ud.clonedir): + if not self._lfs_objects_downloaded(ud, d, ud.clonedir): return True return False
@@ -802,7 +802,7 @@ class Git(FetchMethod): raise bb.fetch2.FetchError("The command '%s' gave output with more then 1 line unexpectedly, output: '%s'" % (cmd, output)) return output.split()[0] != "0" - def _lfs_objects_downloaded(self, ud, d, name, wd): + def _lfs_objects_downloaded(self, ud, d, wd): """ Verifies whether the LFS objects for requested revisions have already been downloaded """
@@ -841,7 +841,7 @@ class Git(FetchMethod): if ud.nobranch: # If no branch is specified, use the current git commit - refname = self._build_revision(ud, d, ud.name) + refname = ud.revision elif wd == ud.clonedir: # The bare clonedir doesn't use the remote names; it has the branch immediately. refname = ud.branch
@@ -995,7 +995,7 @@ class Git(FetchMethod): Return a sortable revision number by counting commits in the history Based on gitpkgv.bblass in meta-openembedded """ - rev = self._build_revision(ud, d, name) + rev = ud.revision localpath = ud.localpath rev_file = os.path.join(localpath, "oe-gitpkgv_" + rev) if not os.path.exists(localpath):
PATCH v2 2/8 tests/fetch: Move commonly used imports to top
In reply to Philip LorenzAvoid multiple import statements for anything that is used more than once. Additionally, drop no longer used imports.
--- lib/bb/tests/fetch.py | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-)
lib/bb/tests/fetch.py +2 -17
@@ -7,7 +7,9 @@ # import contextlib +import shutil import unittest +import urllib.parse import hashlib import tempfile import collections
@@ -1275,7 +1277,6 @@ class FetcherNetworkTest(FetcherTest): class SVNTest(FetcherTest): def skipIfNoSvn(): - import shutil if not shutil.which("svn"): return unittest.skip("svn not installed, tests being skipped")
@@ -1398,8 +1399,6 @@ class TrustedNetworksTest(FetcherTest): self.assertFalse(bb.fetch.trusted_network(self.d, url)) class URLHandle(unittest.TestCase): - import urllib.parse - # Quote password as per RFC3986 password = urllib.parse.quote(r"!#$%^&*()-_={}[]\|:?,.<>~`", r"!$&'/()*+,;=") datatable = {
@@ -1426,7 +1425,6 @@ class URLHandle(unittest.TestCase): self.assertEqual(result, v) def test_encodeurl(self): - import urllib.parse for k, v in self.datatable.items(): result = bb.fetch.encodeurl(v) if result.startswith("file:"):
@@ -2271,7 +2269,6 @@ class GitShallowTest(FetcherTest): class GitLfsTest(FetcherTest): def skipIfNoGitLFS(): - import shutil if not shutil.which('git-lfs'): return unittest.skip('git-lfs not installed') return lambda f: f
@@ -2391,8 +2388,6 @@ class GitLfsTest(FetcherTest): @skipIfNoGitLFS() def test_lfs_enabled(self): - import shutil - uri = 'git://%s;protocol=file;lfs=1;branch=master' % self.srcdir self.d.setVar('SRC_URI', uri)
@@ -2403,8 +2398,6 @@ class GitLfsTest(FetcherTest): @skipIfNoGitLFS() def test_lfs_disabled(self): - import shutil - uri = 'git://%s;protocol=file;lfs=0;branch=master' % self.srcdir self.d.setVar('SRC_URI', uri)
@@ -2414,8 +2407,6 @@ class GitLfsTest(FetcherTest): fetcher.unpack(self.d.getVar('WORKDIR')) def test_lfs_enabled_not_installed(self): - import shutil - uri = 'git://%s;protocol=file;lfs=1;branch=master' % self.srcdir self.d.setVar('SRC_URI', uri)
@@ -2436,8 +2427,6 @@ class GitLfsTest(FetcherTest): ud.method._find_git_lfs = old_find_git_lfs def test_lfs_disabled_not_installed(self): - import shutil - uri = 'git://%s;protocol=file;lfs=0;branch=master' % self.srcdir self.d.setVar('SRC_URI', uri)
@@ -2611,7 +2600,6 @@ class CrateTest(FetcherTest): class NPMTest(FetcherTest): def skipIfNoNpm(): - import shutil if not shutil.which('npm'): return unittest.skip('npm not installed') return lambda f: f
@@ -3294,7 +3282,6 @@ class FetchPremirroronlyNetworkTest(FetcherTest): self.d.setVar("PREMIRRORS", self.recipe_url + " " + "file://{}".format(self.mirrordir) + " \n") def make_git_repo(self): - import shutil self.mirrorname = "git2_git.yoctoproject.org.fstests.tar.gz" os.makedirs(self.clonedir) self.git("clone --bare {}".format(self.recipe_url), self.clonedir)
@@ -3324,7 +3311,6 @@ class FetchPremirroronlyMercurialTest(FetcherTest): the test covers also basic hg:// clone (see fetch_and_create_tarball """ def skipIfNoHg(): - import shutil if not shutil.which('hg'): return unittest.skip('Mercurial not installed') return lambda f: f
@@ -3380,7 +3366,6 @@ class FetchPremirroronlyBrokenTarball(FetcherTest): targz.write("This is not tar.gz file!") def test_mirror_broken_download(self): - import sys self.d.setVar("SRCREV", "0"*40) fetcher = bb.fetch.Fetch([self.recipe_url], self.d) with self.assertRaises(bb.fetch2.FetchError), self.assertLogs() as logs:
PATCH v2 3/8 fetch2: Check for git-lfs existence before using it
In reply to Philip LorenzSo far, existence of git-lfs was only checked during unpacking. As the binary is also used in earlier steps also check for its existence there.
Additionally, factor out the LFS existence check into a dedicated function and call it wherever git-lfs is used for the first time.
--- lib/bb/fetch2/git.py | 26 ++++++++++++++++++-------- lib/bb/tests/fetch.py | 26 ++++++++++---------------- 2 files changed, 28 insertions(+), 24 deletions(-)
lib/bb/fetch2/git.py +18 -8
@@ -324,6 +324,11 @@ class Git(FetchMethod): return False def lfs_need_update(self, ud, d): + if not self._need_lfs(ud): + return False + + self._ensure_git_lfs(d, ud) + if self.clonedir_need_update(ud, d): return True
@@ -507,7 +512,9 @@ class Git(FetchMethod): def lfs_fetch(self, ud, d, clonedir, revision, fetchall=False, progresshandler=None): """Helper method for fetching Git LFS data""" try: - if self._need_lfs(ud) and self._contains_lfs(ud, d, clonedir) and self._find_git_lfs(d) and len(revision): + if self._need_lfs(ud) and self._contains_lfs(ud, d, clonedir) and len(revision): + self._ensure_git_lfs(d, ud) + # Using worktree with the revision because .lfsconfig may exists worktree_add_cmd = "%s worktree add wt %s" % (ud.basecmd, revision) runfetchcmd(worktree_add_cmd, d, log=progresshandler, workdir=clonedir)
@@ -740,11 +747,11 @@ class Git(FetchMethod): runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=destdir) if self._contains_lfs(ud, d, destdir): - if need_lfs and not self._find_git_lfs(d): - raise bb.fetch2.FetchError("Repository %s has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)" % (repourl)) - elif not need_lfs: + if not need_lfs: bb.note("Repository %s has LFS content but it is not being fetched" % (repourl)) else: + self._ensure_git_lfs(d, ud) + runfetchcmd("%s lfs install --local" % ud.basecmd, d, workdir=destdir) if not ud.nocheckout:
@@ -807,7 +814,7 @@ class Git(FetchMethod): Verifies whether the LFS objects for requested revisions have already been downloaded """ # Bail out early if this repository doesn't use LFS - if not self._need_lfs(ud) or not self._contains_lfs(ud, d, wd): + if not self._contains_lfs(ud, d, wd): return True # The Git LFS specification specifies ([1]) the LFS folder layout so it should be safe to check for file
@@ -859,11 +866,14 @@ class Git(FetchMethod): pass return False - def _find_git_lfs(self, d): + def _ensure_git_lfs(self, d, ud): """ - Return True if git-lfs can be found, False otherwise. + Ensures that git-lfs is available, raising a FetchError if it isn't. """ - return shutil.which("git-lfs", path=d.getVar('PATH')) is not None + if shutil.which("git-lfs", path=d.getVar('PATH')) is None: + raise bb.fetch2.FetchError( + "Repository %s has LFS content, install git-lfs on host to download (or set lfs=0 " + "to ignore it)" % self._get_repo_url(ud)) def _get_repo_url(self, ud): """
lib/bb/tests/fetch.py +10 -16
@@ -9,6 +9,7 @@ import contextlib import shutil import unittest +import unittest.mock import urllib.parse import hashlib import tempfile
@@ -2413,18 +2414,17 @@ class GitLfsTest(FetcherTest): # Careful: suppress initial attempt at downloading fetcher, ud = self.fetch(uri=None, download=False) - # Artificially assert that git-lfs is not installed, so - # we can verify a failure to unpack in it's absence. - old_find_git_lfs = ud.method._find_git_lfs - try: - # If git-lfs cannot be found, the unpack should throw an error + # If git-lfs cannot be found, the download should throw an error + with unittest.mock.patch("shutil.which", return_value=None): with self.assertRaises(bb.fetch2.FetchError): fetcher.download() - ud.method._find_git_lfs = lambda d: False + + fetcher.download() + # If git-lfs cannot be found, the unpack should throw an error + with self.assertRaises(bb.fetch2.FetchError): + with unittest.mock.patch("shutil.which", return_value=None): shutil.rmtree(self.gitdir, ignore_errors=True) fetcher.unpack(self.d.getVar('WORKDIR')) - finally: - ud.method._find_git_lfs = old_find_git_lfs def test_lfs_disabled_not_installed(self): uri = 'git://%s;protocol=file;lfs=0;branch=master' % self.srcdir
@@ -2433,17 +2433,11 @@ class GitLfsTest(FetcherTest): # Careful: suppress initial attempt at downloading fetcher, ud = self.fetch(uri=None, download=False) - # Artificially assert that git-lfs is not installed, so - # we can verify a failure to unpack in it's absence. - old_find_git_lfs = ud.method._find_git_lfs - try: - # Even if git-lfs cannot be found, the unpack should be successful + # Even if git-lfs cannot be found, the download / unpack should be successful + with unittest.mock.patch("shutil.which", return_value=None): fetcher.download() - ud.method._find_git_lfs = lambda d: False shutil.rmtree(self.gitdir, ignore_errors=True) fetcher.unpack(self.d.getVar('WORKDIR')) - finally: - ud.method._find_git_lfs = old_find_git_lfs class GitURLWithSpacesTest(FetcherTest): test_git_urls = {
PATCH v2 4/8 fetch2: Simplify git LFS detection
In reply to Philip LorenzIts unclear why this function does not operate on the desired source revision to begin with (which really should be the decider on whether a particular source revision uses LFS or not). Simplify the decision logic by always checking the .gitattributes file of the target revision.
--- lib/bb/fetch2/git.py | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-)
lib/bb/fetch2/git.py +1 -11
@@ -845,18 +845,8 @@ class Git(FetchMethod): """ Check if the repository has 'lfs' (large file) content """ - - if ud.nobranch: - # If no branch is specified, use the current git commit - refname = ud.revision - elif wd == ud.clonedir: - # The bare clonedir doesn't use the remote names; it has the branch immediately. - refname = ud.branch - else: - refname = "origin/%s" % ud.branch - cmd = "%s grep lfs %s:.gitattributes | wc -l" % ( - ud.basecmd, refname) + ud.basecmd, ud.revision) try: output = runfetchcmd(cmd, d, quiet=True, workdir=wd)
PATCH v2 5/8 fetch2: Use git-lfs fetch to download objects
In reply to Philip LorenzIts not clear which exact git-lfs versions failed to work with bare repositories, however git-lfs 2.13.2 which is shipped by Debian 10 (i.e. the oldest supported distribution by scarthgap) shows no issue when fetching into a bare repository. Switch to git-lfs fetch which in turn eliminates issues seen when using the gitsm fetcher with submodules utilizing lfs.
In these scenarios, fetching of LFS objects did not actually happen as the gitsm fetcher parametrizes the to be fetched repositories with bareclone=1 which in turn means that the target revision was never checked out (and therefore no LFS objects were fetched).
--- lib/bb/fetch2/git.py | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-)
lib/bb/fetch2/git.py +1 -24
@@ -484,30 +484,7 @@ class Git(FetchMethod): raise bb.fetch2.FetchError("Unable to find revision %s even from upstream" % missing_rev) if self.lfs_need_update(ud, d): - # Unpack temporary working copy, use it to run 'git checkout' to force pre-fetching - # of all LFS blobs needed at the srcrev. - # - # It would be nice to just do this inline here by running 'git-lfs fetch' - # on the bare clonedir, but that operation requires a working copy on some - # releases of Git LFS. - with tempfile.TemporaryDirectory(dir=d.getVar('DL_DIR')) as tmpdir: - # Do the checkout. This implicitly involves a Git LFS fetch. - Git.unpack(self, ud, tmpdir, d) - - # Scoop up a copy of any stuff that Git LFS downloaded. Merge them into - # the bare clonedir. - # - # As this procedure is invoked repeatedly on incremental fetches as - # a recipe's SRCREV is bumped throughout its lifetime, this will - # result in a gradual accumulation of LFS blobs in <ud.clonedir>/lfs - # corresponding to all the blobs reachable from the different revs - # fetched across time. - # - # Only do this if the unpack resulted in a .git/lfs directory being - # created; this only happens if at least one blob needed to be - # downloaded. - if os.path.exists(os.path.join(ud.destdir, ".git", "lfs")): - runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/.git" % ud.destdir) + self.lfs_fetch(ud, d, ud.clonedir, ud.revision) def lfs_fetch(self, ud, d, clonedir, revision, fetchall=False, progresshandler=None): """Helper method for fetching Git LFS data"""
PATCH v2 6/8 fetch2: Fix incorrect lfs parametrization for submodules
In reply to Philip LorenzThe existing code would pass True or False to the git fetcher. As the fetcher expects lfs to be set to 1 this always lead to LFS fetching being disabled.
---
V1 -> V2: Fix invalid value being passed when LFS was disabled
--- lib/bb/fetch2/gitsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bb/fetch2/gitsm.py +1 -1
@@ -122,7 +122,7 @@ class GitSM(Git): url += ";name=%s" % module url += ";subpath=%s" % module url += ";nobranch=1" - url += ";lfs=%s" % self._need_lfs(ud) + url += ";lfs=%s" % ("1" if self._need_lfs(ud) else "0") # Note that adding "user=" here to give credentials to the # submodule is not supported. Since using SRC_URI to give git:// # URL a password is not supported, one have to use one of the
PATCH v2 7/8 fetch2: Fix LFS object checkout in submodules
In reply to Philip LorenzSkipping smudging prevents the LFS objects from replacing their placeholder files when git submodule update actually checks out the target revision in the submodule. Smudging cannot happen earlier as the clone stored in .git/modules is bare.
This should be fine as long as all LFS objects are available in the download cache (which they are after the other fixes are applied).
---
V1 -> V2: Continue to set GIT_LFS_SKIP_SMUDGE=1 when LFS is explicitly disabled
--- lib/bb/fetch2/gitsm.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-)
lib/bb/fetch2/gitsm.py +5 -6
@@ -245,12 +245,11 @@ class GitSM(Git): ret = self.process_submodules(ud, ud.destdir, unpack_submodules, d) if not ud.bareclone and ret: - # All submodules should already be downloaded and configured in the tree. This simply - # sets up the configuration and checks out the files. The main project config should - # remain unmodified, and no download from the internet should occur. As such, lfs smudge - # should also be skipped as these files were already smudged in the fetch stage if lfs - # was enabled. - runfetchcmd("GIT_LFS_SKIP_SMUDGE=1 %s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir) + cmdprefix = "" + # Avoid LFS smudging (replacing the LFS pointers with the actual content) when LFS shouldn't be used but git-lfs is installed. + if not self._need_lfs(ud): + cmdprefix = "GIT_LFS_SKIP_SMUDGE=1 " + runfetchcmd("%s%s submodule update --recursive --no-fetch" % (cmdprefix, ud.basecmd), d, quiet=True, workdir=ud.destdir) def clean(self, ud, d): def clean_submodule(ud, url, module, modpath, workdir, d): url += ";bareclone=1;nobranch=1"
PATCH v2 8/8 tests/fetch: Test gitsm with LFS
In reply to Philip LorenzAdd a test case to verify that the gitsm fetcher properly handles repositories storing objects with LFS.
The test case verifies that LFS objects are fetched on the initial clone but also ensures that consecutive updates extend the original clone with any newly referenced LFS objects.
---
V1 -> V2:
* Add testcase for lfs=0
* Fix missing LFS installation in submodules
--- lib/bb/tests/fetch.py | 138 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 122 insertions(+), 16 deletions(-)
lib/bb/tests/fetch.py +122 -16
@@ -20,6 +20,7 @@ import tarfile from bb.fetch2 import URI from bb.fetch2 import FetchMethod import bb +import bb.utils from bb.tests.support.httpserver import HTTPService def skipIfNoNetwork():
@@ -27,6 +28,18 @@ def skipIfNoNetwork(): return unittest.skip("network test") return lambda f: f + [email protected] +def hide_directory(directory): + """Hide the given directory and restore it after the context is left""" + temp_name = directory + ".bak" + os.rename(directory, temp_name) + try: + yield + finally: + os.rename(temp_name, directory) + + class TestTimeout(Exception): # Indicate to pytest that this is not a test suite __test__ = False
@@ -2293,12 +2306,18 @@ class GitLfsTest(FetcherTest): self.git_init(cwd=self.srcdir) self.commit_file('.gitattributes', '*.mp3 filter=lfs -text') - def commit_file(self, filename, content): - with open(os.path.join(self.srcdir, filename), "w") as f: + def commit(self, *, cwd=None): + cwd = cwd or self.srcdir + self.git(["commit", "-m", "Change"], cwd=cwd) + return self.git(["rev-parse", "HEAD"], cwd=cwd).strip() + + def commit_file(self, filename, content, *, cwd=None): + cwd = cwd or self.srcdir + + with open(os.path.join(cwd, filename), "w") as f: f.write(content) - self.git(["add", filename], cwd=self.srcdir) - self.git(["commit", "-m", "Change"], cwd=self.srcdir) - return self.git(["rev-parse", "HEAD"], cwd=self.srcdir).strip() + self.git(["add", filename], cwd=cwd) + return self.commit(cwd=cwd) def fetch(self, uri=None, download=True): uris = self.d.getVar('SRC_URI').split()
@@ -2318,26 +2337,113 @@ class GitLfsTest(FetcherTest): unpacked_lfs_file = os.path.join(self.d.getVar('WORKDIR'), 'git', "Cat_poster_1.jpg") return unpacked_lfs_file + @skipIfNoGitLFS() + def test_gitsm_lfs(self): + """Test that the gitsm fetcher caches objects stored via LFS""" + self.git(["lfs", "install", "--local"], cwd=self.srcdir) + + def fetch_and_verify(revision, filename, content): + self.d.setVar('SRCREV', revision) + fetcher, ud = self.fetch() + + with hide_directory(submoduledir), hide_directory(self.srcdir): + workdir = self.d.getVar('WORKDIR') + fetcher.unpack(workdir) + + with open(os.path.join(workdir, "git", filename)) as f: + self.assertEqual(f.read(), content) + + # Create the git repository that will later be used as a submodule + submoduledir = self.tempdir + "/submodule" + bb.utils.mkdirhier(submoduledir) + self.git_init(submoduledir) + self.git(["lfs", "install", "--local"], cwd=submoduledir) + self.commit_file('.gitattributes', '*.mp3 filter=lfs -text', cwd=submoduledir) + + submodule_commit_1 = self.commit_file("a.mp3", "submodule version 1", cwd=submoduledir) + _ = self.commit_file("a.mp3", "submodule version 2", cwd=submoduledir) + + # Add the submodule to the repository at its current HEAD revision + self.git(["-c", "protocol.file.allow=always", "submodule", "add", submoduledir, "submodule"], + cwd=self.srcdir) + base_commit_1 = self.commit() + + # Let the submodule point at a different revision + self.git(["checkout", submodule_commit_1], self.srcdir + "/submodule") + self.git(["add", "submodule"], cwd=self.srcdir) + base_commit_2 = self.commit() + + # Add a LFS file to the repository + base_commit_3 = self.commit_file("a.mp3", "version 1") + # Update the added LFS file + base_commit_4 = self.commit_file("a.mp3", "version 2") + + self.d.setVar('SRC_URI', "gitsm://%s;protocol=file;lfs=1;branch=master" % self.srcdir) + + # Verify that LFS objects referenced from submodules are fetched and checked out + fetch_and_verify(base_commit_1, "submodule/a.mp3", "submodule version 2") + # Verify that the repository inside the download cache of a submodile is extended with any + # additional LFS objects needed when checking out a different revision. + fetch_and_verify(base_commit_2, "submodule/a.mp3", "submodule version 1") + # Verify that LFS objects referenced from the base repository are fetched and checked out + fetch_and_verify(base_commit_3, "a.mp3", "version 1") + # Verify that the cached repository is extended with any additional LFS objects required + # when checking out a different revision. + fetch_and_verify(base_commit_4, "a.mp3", "version 2") + + @skipIfNoGitLFS() + def test_gitsm_lfs_disabled(self): + """Test that the gitsm fetcher does not use LFS when explicitly disabled""" + self.git(["lfs", "install", "--local"], cwd=self.srcdir) + + def fetch_and_verify(revision, filename, content): + self.d.setVar('SRCREV', revision) + fetcher, ud = self.fetch() + + with hide_directory(submoduledir), hide_directory(self.srcdir): + workdir = self.d.getVar('WORKDIR') + fetcher.unpack(workdir) + + with open(os.path.join(workdir, "git", filename)) as f: + # Assume that LFS did not perform smudging when the expected content is + # missing. + self.assertNotEqual(f.read(), content) + + # Create the git repository that will later be used as a submodule + submoduledir = self.tempdir + "/submodule" + bb.utils.mkdirhier(submoduledir) + self.git_init(submoduledir) + self.git(["lfs", "install", "--local"], cwd=submoduledir) + self.commit_file('.gitattributes', '*.mp3 filter=lfs -text', cwd=submoduledir) + + submodule_commit_1 = self.commit_file("a.mp3", "submodule version 1", cwd=submoduledir) + + # Add the submodule to the repository at its current HEAD revision + self.git(["-c", "protocol.file.allow=always", "submodule", "add", submoduledir, "submodule"], + cwd=self.srcdir) + base_commit_1 = self.commit() + + # Add a LFS file to the repository + base_commit_2 = self.commit_file("a.mp3", "version 1") + + self.d.setVar('SRC_URI', "gitsm://%s;protocol=file;lfs=1;branch=master;lfs=0" % self.srcdir) + + # Verify that LFS objects referenced from submodules are not fetched nor checked out + fetch_and_verify(base_commit_1, "submodule/a.mp3", "submodule version 1") + # Verify that the LFS objects referenced from the base repository are not fetched nor + # checked out + fetch_and_verify(base_commit_2, "a.mp3", "version 1") + @skipIfNoGitLFS() def test_fetch_lfs_on_srcrev_change(self): """Test if fetch downloads missing LFS objects when a different revision within an existing repository is requested""" self.git(["lfs", "install", "--local"], cwd=self.srcdir) - @contextlib.contextmanager - def hide_upstream_repository(): - """Hide the upstream repository to make sure that git lfs cannot pull from it""" - temp_name = self.srcdir + ".bak" - os.rename(self.srcdir, temp_name) - try: - yield - finally: - os.rename(temp_name, self.srcdir) - def fetch_and_verify(revision, filename, content): self.d.setVar('SRCREV', revision) fetcher, ud = self.fetch() - with hide_upstream_repository(): + with hide_directory(self.srcdir): workdir = self.d.getVar('WORKDIR') fetcher.unpack(workdir)
Quoted 37 lines · Philip Lorenz via lists.openembedded.org
This patch series fixes a number of issues we observed when using the gitsm fetcher in conjunction with git-lfs.
I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a good reason on why the code so far preferred the content of.gitattributeson the repository's branch instead of always considering the state of the target revision. Please let me know if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not replicate thegit-lfs fetchbehaviour in versions going back to 2.13.2 released in 2021. This leads me to believe that the issue leading to this workaround is no longer in place. However, if anyone remembers the actual issue / versions involved I can also retest to confirm that there are no regression.---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled. This ensures consistent behaviour in setups where git-lfs is installed but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make sure that git-lfs is actually used for storing the files.Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFS
Quoted 4 lines
lib/bb/fetch2/git.py | 69 ++++++----------
lib/bb/fetch2/gitsm.py| 13 ++-
lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++-----------3 files changed, 163 insertions(+), 102 deletions(-)
With this series applied, OE-Core throws a lot of errors, see below. I'm not convinced we have that much LFS use so something seems wrong...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/logs/stdio
Cheers,
Richard
stdio: ERROR: acpica-20240827-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/acpica/acpica has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: acpica-native-20240827-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/acpica/acpica has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: argp-standalone-1.4.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ericonr/argp-standalone has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: asciidoc-10.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/asciidoc/asciidoc-py has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: asciidoc-native-10.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/asciidoc/asciidoc-py has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: avahi-libnss-mdns-0.15.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/lathiat/nss-mdns has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: babeltrace-1.5.11-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.efficios.com/babeltrace.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: babeltrace2-2.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.efficios.com/babeltrace.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: baremetal-helloworld-0.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ahcbb6/baremetal-helloqemu.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bindgen-cli-0.71.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rust-lang/rust-bindgen.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bindgen-cli-native-0.71.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rust-lang/rust-bindgen.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-cross-canadian-x86-64-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-crosssdk-x86_64-pokysdk-linux-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-cross-x86_64-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-native-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: binutils-testsuite-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: blktrace-1.3.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.dk/blktrace.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bmaptool-3.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/yoctoproject/bmaptool has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bmaptool-native-3.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/yoctoproject/bmaptool has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: boost-build-native-1_1.87.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/boostorg/build has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bootchart2-0.14.9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/xrmx/bootchart.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bootchart2-native-0.14.9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/xrmx/bootchart.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: btrfs-tools-6.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/kdave/btrfs-progs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: btrfs-tools-native-6.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/kdave/btrfs-progs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: build-appliance-image-15.0.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.yoctoproject.org/poky has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: bzip2-1.0.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/bzip2-tests.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: connman-gnome-0.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/connectivity/connman-gnome.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cracklib-2.10.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cracklib/cracklib has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cracklib-native-2.10.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cracklib/cracklib has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: createrepo-c-1.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/createrepo_c has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: createrepo-c-native-1.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/createrepo_c has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cross-localedef-native-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cryptodev-linux-1.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cryptodev-linux/cryptodev-linux has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cryptodev-linux-native-1.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cryptodev-linux/cryptodev-linux has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cryptodev-module-1.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cryptodev-linux/cryptodev-linux has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: cryptodev-tests-1.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cryptodev-linux/cryptodev-linux has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dbus-wait-0.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/dbus-wait has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: debianutils-5.21-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/debian/debianutils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: debianutils-native-5.21-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/debian/debianutils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: devtool-upgrade-test2-0.1+git-r2 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.yoctoproject.org/dbus-wait has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dhcpcd-10.2.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/NetworkConfiguration/dhcpcd has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: distcc-3.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/distcc/distcc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dnf-4.22.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/dnf.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dnf-native-4.22.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/dnf.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dos2unix-7.5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/dos2unix/dos2unix has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dos2unix-native-7.5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/dos2unix/dos2unix has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dpkg-1.22.11-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/dpkg-team/dpkg.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dpkg-native-1.22.11-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/dpkg-team/dpkg.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dtc-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: dtc-native-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: e2fsprogs-1.47.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: e2fsprogs-native-1.47.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: efibootmgr-18-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rhinstaller/efibootmgr.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: efivar-39-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rhinstaller/efivar.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: efivar-native-39-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rhinstaller/efivar.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: erofs-utils-1.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: erofs-utils-native-1.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: fastfloat-8.0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fastfloat/fast_float.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: file-5.46-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/file/file.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: fmt-11.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fmtlib/fmt has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: fmt-native-11.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fmtlib/fmt has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: fts-1.2.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/pullmoll/musl-fts.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gcompat-1.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.adelielinux.org/adelie/gcompat.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gi-docgen-2025.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/gi-docgen.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gi-docgen-native-2025.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/gi-docgen.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gitrepotest-1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/git/matchbox-panel-2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: git-submodule-test-1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.yoctoproject.org/git-submodule-test has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gitunpackoffline-0.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/git/matchbox-panel-2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gitunpackoffline-fail-1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/git/matchbox-panel-2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: glibc-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: glibc-testsuite-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: glibc-y2038-tests-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: glslang-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/glslang.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: glslang-native-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/glslang.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gnome-desktop-testing-2021.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/gnome-desktop-testing.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gnu-config-20240823+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.savannah.gnu.org/git/config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gnu-config-native-20240823+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.savannah.gnu.org/git/config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gnu-efi-4.0.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ncroxon/gnu-efi has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gnu-efi-native-4.0.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ncroxon/gnu-efi has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: go-helloworld-0.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://go.googlesource.com/example has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: gst-examples-1.18.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/gstreamer/gst-examples.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: hello-rs-0.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/akiernan/hello-bin.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: hwdata-0.394-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vcrhonek/hwdata.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: hwdata-native-0.394-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vcrhonek/hwdata.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: hwlatdetect-1_2.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ifupdown-0.8.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/debian/ifupdown.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: igt-gpu-tools-1.30-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/drm/igt-gpu-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: init-system-helpers-1.68-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/debian/init-system-helpers.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: iputils-20240905-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/iputils/iputils has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: iso-codes-4.17.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/iso-codes-team/iso-codes.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: iso-codes-native-4.17.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/iso-codes-team/iso-codes.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: kern-tools-native-0.3+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/yocto-kernel-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: kmscube-0.0.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/mesa/kmscube has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: l3afpad-0.8.18.1.11+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevenhoneyman/l3afpad.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libaio-0.3.113-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://pagure.io/libaio.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libaio-native-0.3.113-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://pagure.io/libaio.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcap-ng-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcap-ng-native-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcap-ng-python-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcap-ng-python-native-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcomps-0.1.21-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libcomps.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libcomps-native-0.1.21-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libcomps.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libc-test-0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://repo.or.cz/libc-test has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libdisplay-info-0.2.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/emersion/libdisplay-info.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libdnf-0.74.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libdnf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libdnf-native-0.74.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libdnf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libepoxy-1.5.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/anholt/libepoxy has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libepoxy-native-1.5.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/anholt/libepoxy has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libfakekey-0.3+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/libfakekey has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libgit2-1.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/libgit2/libgit2.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libgit2-native-1.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/libgit2/libgit2.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libgloss-4.4.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/newlib-cygwin.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libhandy-1.8.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/libhandy.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libinput-1.28.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/libinput/libinput.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libjitterentropy-3.6.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/smuellerDD/jitterentropy-library.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libmatchbox-1.13-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/libmatchbox has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libmodulemd-2.15.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fedora-modularity/libmodulemd has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libmodulemd-native-2.15.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fedora-modularity/libmodulemd has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libnsl2-2.0.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnsl has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libnsl2-native-2.0.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnsl has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libnss-nis-3.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnss_nis has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libnss-nis-native-3.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnss_nis has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libportal-0.9.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/flatpak/libportal.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libproxy-0.5.9-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/libproxy/libproxy has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: librepo-1.19.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/librepo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: librepo-native-1.19.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/librepo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libsass-3.6.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sass/libsass.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libsass-native-3.6.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sass/libsass.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libseccomp-2.6.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/seccomp/libseccomp.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libslirp-4.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/slirp/libslirp.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libslirp-native-4.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/slirp/libslirp.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libsolv-0.7.31-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/openSUSE/libsolv.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libsolv-native-0.7.31-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/openSUSE/libsolv.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libtraceevent-1.8.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libubootenv-0.3.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sbabic/libubootenv has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libubootenv-native-0.3.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sbabic/libubootenv has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libucontext-1.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/kaniini/libucontext has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libuv-1.50.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/libuv/libuv.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libuv-native-1.50.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/libuv/libuv.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libva-utils-2.22.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/intel/libva-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxcrypt-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxcrypt-compat-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxcrypt-compat-native-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxcrypt-native-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxcvt-0.1.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/xorg/lib/libxcvt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxkbcommon-1.8.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/xkbcommon/libxkbcommon has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxkbcommon-native-1.8.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/xkbcommon/libxkbcommon has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxmlb-0.3.22-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/hughsie/libxmlb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: libxmlb-native-0.3.22-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/hughsie/libxmlb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: linux-yocto-6.12.23+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/linux-yocto.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: llvm-20.1.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-LLVM-Translator has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: llvm-native-20.1.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-LLVM-Translator has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: lsof-4.99.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/lsof-org/lsof has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ltp-20250130-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/linux-test-project/ltp.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: lz4-1_1.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/lz4/lz4.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: lz4-native-1_1.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/lz4/lz4.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: makedumpfile-1.7.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/makedumpfile/makedumpfile has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-config-gtk-0.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-config-gtk has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-desktop-2.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-desktop-2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-keyboard-0.1.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-keyboard has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-panel-2-2.12-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-panel-2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-terminal-0.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-terminal has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-theme-sato-0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-sato has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: matchbox-wm-1.2.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/matchbox-window-manager has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mdadm-4.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mmc-utils-0.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mobile-broadband-provider-info-1_20240407-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/mobile-broadband-provider-info.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mtd-utils-2.3.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mtd-utils-native-2.3.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mtd-utils-selftest-2.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: mtd-utils-selftest-native-2.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: musl-1.2.5+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.musl-libc.org/musl has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: musl-obstack-1.2.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/void-linux/musl-obstack has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: musl-utils-20170421-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/boltlinux/musl-utils has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-acpica-20240827-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/acpica/acpica has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-asciidoc-10.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/asciidoc/asciidoc-py has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-babeltrace-1.5.11-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.efficios.com/babeltrace.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-babeltrace2-2.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.efficios.com/babeltrace.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-binutils-2.44-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/binutils-gdb.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-bmaptool-3.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/yoctoproject/bmaptool has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-btrfs-tools-6.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/kdave/btrfs-progs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-bzip2-1.0.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/bzip2-tests.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-cracklib-2.10.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cracklib/cracklib has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-createrepo-c-1.2.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/createrepo_c has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-cryptodev-linux-1.14-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/cryptodev-linux/cryptodev-linux has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-dnf-4.22.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/dnf.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-dos2unix-7.5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/dos2unix/dos2unix has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-dpkg-1.22.11-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/dpkg-team/dpkg.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-dtc-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-e2fsprogs-1.47.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-erofs-utils-1.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-file-5.46-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/file/file.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-fmt-11.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fmtlib/fmt has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-gi-docgen-2025.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.gnome.org/GNOME/gi-docgen.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-glibc-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-glibc-testsuite-2.41+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/glibc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-glslang-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/glslang.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-gnu-config-20240823+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.savannah.gnu.org/git/config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libaio-0.3.113-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://pagure.io/libaio.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libcap-ng-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libcap-ng-python-0.8.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/stevegrubb/libcap-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libcomps-0.1.21-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libcomps.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libdnf-0.74.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/libdnf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libepoxy-1.5.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/anholt/libepoxy has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libmodulemd-2.15.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fedora-modularity/libmodulemd has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libnsl2-2.0.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnsl has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libnss-nis-3.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/libnss_nis has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-librepo-1.19.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/librepo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libslirp-4.9.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/slirp/libslirp.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libsolv-0.7.31-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/openSUSE/libsolv.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libxcrypt-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-libxcrypt-compat-4.4.38-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/besser82/libxcrypt.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-llvm-20.1.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-LLVM-Translator has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-lz4-1_1.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/lz4/lz4.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-mtd-utils-2.3.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-mtd-utils-selftest-2.1.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.infradead.org/mtd-utils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-ncurses-6.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ThomasDickey/ncurses-snapshots.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-net-tools-2.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/net-tools/code has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-ninja-1.12.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ninja-build/ninja.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-opkg-utils-0.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/opkg-utils has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-p11-kit-0.25.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/p11-glue/p11-kit has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-patchelf-0.18.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/NixOS/patchelf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-pkgconfig-0.29.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/pkg-config/pkg-config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-pseudo-1.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/pseudo has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-python3-calver-2025.04.02-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/di/calver has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-python3-dtc-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-python3-pefile-2024.8.26-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/erocarrera/pefile has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-python3-unittest-automake-output-0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/rossburton/python-unittest-automake-output has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-repo-2.53-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gerrit.googlesource.com/git-repo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-rpcsvc-proto-1.4.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/rpcsvc-proto has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-rpm-1_4.20.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/rpm has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-shaderc-2025.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/google/shaderc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-shared-mime-info-2.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/xdg/shared-mime-info.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-spirv-headers-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Headers has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-spirv-tools-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-squashfs-tools-4.6.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/plougher/squashfs-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-systemtap-5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/systemtap.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-systemtap-native-5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/systemtap.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-u-boot-tools-1_2025.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://source.denx.de/u-boot/u-boot.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-unfs3-0.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/unfs3/unfs3.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-update-rc.d-0.8+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/update-rc.d has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-vim-9.1.1198-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vim/vim.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-virglrenderer-1.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/virgl/virglrenderer.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-xxhash-0.8.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/Cyan4973/xxHash.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: nativesdk-zstd-1.5.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/facebook/zstd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ncurses-6.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ThomasDickey/ncurses-snapshots.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ncurses-native-6.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ThomasDickey/ncurses-snapshots.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: neard-0.19-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/network/nfc/neard.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: net-tools-2.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/net-tools/code has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: net-tools-native-2.10-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.code.sf.net/p/net-tools/code has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: newlib-4.4.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/newlib-cygwin.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ninja-1.12.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ninja-build/ninja.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ninja-native-1.12.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ninja-build/ninja.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: numactl-2.0.19-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/numactl/numactl has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: opensbi-1.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/riscv/opensbi.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: opkg-utils-0.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/opkg-utils has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: opkg-utils-native-0.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/opkg-utils has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ovmf-edk2-stable202411-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/tianocore/edk2.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ovmf-native-edk2-stable202411-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/tianocore/edk2.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: p11-kit-0.25.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/p11-glue/p11-kit has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: p11-kit-native-0.25.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/p11-glue/p11-kit has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: patchelf-0.18.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/NixOS/patchelf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: patchelf-native-0.18.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/NixOS/patchelf has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: piglit-1.0+gitr-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/mesa/piglit.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: pkgconfig-0.29.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/pkg-config/pkg-config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: pkgconfig-native-0.29.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/pkg-config/pkg-config.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: powertop-2.15-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/fenrus75/powertop has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: procps-4.0.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/procps-ng/procps.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: pseudo-1.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/pseudo has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: pseudo-native-1.9.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/pseudo has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: psmisc-23.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/psmisc/psmisc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: psplash-0.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/psplash has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ptest-runner-2.4.5.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/ptest-runner2 has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: puzzles-2_0.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.tartarus.org/simon/puzzles.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-calver-2025.04.02-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/di/calver has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-calver-native-2025.04.02-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/di/calver has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-dtc-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-dtc-native-1.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository git://git.kernel.org/pub/scm/utils/dtc/dtc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-guessing-game-0.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/guessing-game.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-pefile-2024.8.26-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/erocarrera/pefile has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-pefile-native-2024.8.26-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/erocarrera/pefile has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-unittest-automake-output-0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/rossburton/python-unittest-automake-output has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: python3-unittest-automake-output-native-0.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/rossburton/python-unittest-automake-output has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: repo-2.53-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gerrit.googlesource.com/git-repo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: repo-native-2.53-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gerrit.googlesource.com/git-repo.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: resolvconf-1.92-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://salsa.debian.org/debian/resolvconf.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rng-tools-6.17-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/nhorman/rng-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpcsvc-proto-1.4.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/rpcsvc-proto has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpcsvc-proto-native-1.4.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/thkukuk/rpcsvc-proto has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-1_4.20.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/rpm has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-native-1_4.20.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/rpm has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-sequoia-1.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/rpm-sequoia.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-sequoia-crypto-policy-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/redhat-crypto/fedora-crypto-policies.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-sequoia-crypto-policy-native-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/redhat-crypto/fedora-crypto-policies.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rpm-sequoia-native-1.7.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/rpm-software-management/rpm-sequoia.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rt-tests-1_2.8-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rust-c-lib-example-bin-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/fmartinsonsHome/rust-c-lib-example.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: rust-c-lib-example-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.com/fmartinsonsHome/rust-c-lib-example.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sassc-3.6.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sass/sassc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sassc-native-3.6.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sass/sassc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sato-icon-theme-git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/sato-icon-theme.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sato-screenshot-0.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/screenshot has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: scdoc-1.11.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.sr.ht/~sircmpwn/scdoc has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: scdoc-native-1.11.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.sr.ht/~sircmpwn/scdoc has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: seatd-0.9.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.sr.ht/~kennylevinsen/seatd has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: settings-daemon-0.0.2+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/xsettings-daemon has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: shaderc-2025.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/google/shaderc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: shaderc-native-2025.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/google/shaderc.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: shared-mime-info-2.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/xdg/shared-mime-info.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: shared-mime-info-native-2.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/xdg/shared-mime-info.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: spirv-headers-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Headers has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: spirv-headers-native-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Headers has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: spirv-tools-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: spirv-tools-native-1_1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/SPIRV-Tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: squashfs-tools-4.6.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/plougher/squashfs-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: squashfs-tools-native-4.6.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/plougher/squashfs-tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: stress-ng-0.18.12-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ColinIanKing/stress-ng.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sysdig-selftest-0.28.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/draios/sysdig.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sysfsutils-2.1.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/linux-ras/sysfsutils.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sysklogd-2.7.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/troglobit/sysklogd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: sysstat-12.7.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/sysstat/sysstat.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: systemd-boot-257.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/systemd/systemd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: systemd-boot-native-257.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/systemd/systemd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: systemd-systemctl-native-257.5-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/systemd/systemd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: systemtap-5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/systemtap.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: systemtap-native-5.2-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://sourceware.org/git/systemtap.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: tcf-agent-1.8.0+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.eclipse.org/eclipse/tcf/tcf.agent.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: ttyrun-2.37.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/ibm-s390-linux/s390-tools has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: u-boot-1_2025.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://source.denx.de/u-boot/u-boot.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: u-boot-tools-1_2025.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://source.denx.de/u-boot/u-boot.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: u-boot-tools-native-1_2025.04-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://source.denx.de/u-boot/u-boot.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: unfs3-0.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/unfs3/unfs3.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: unfs3-native-0.10.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/unfs3/unfs3.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: update-rc.d-0.8+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/update-rc.d has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: update-rc.d-native-0.8+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/update-rc.d has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: utfcpp-4.0.6-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/nemtrif/utfcpp has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vim-9.1.1198-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vim/vim.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vim-native-9.1.1198-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vim/vim.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vim-tiny-9.1.1198-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/vim/vim.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: virglrenderer-1.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/virgl/virglrenderer.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: virglrenderer-native-1.1.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/virgl/virglrenderer.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-headers-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/Vulkan-Headers.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-loader-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/Vulkan-Loader.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-tools-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/Vulkan-Tools.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-utility-libraries-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-validation-layers-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/KhronosGroup/Vulkan-ValidationLayers.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: vulkan-volk-1.4.309.0-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/zeux/volk.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: waffle-1.8.1-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/mesa/waffle.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xcursor-transparent-theme-0.1.1+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://git.yoctoproject.org/xcursor-transparent-theme has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xf86-video-intel-2_2.99.917+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://gitlab.freedesktop.org/xorg/driver/xf86-video-intel.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xinetd-2.3.15.4-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/openSUSE/xinetd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xinput-calibrator-0.7.5+git-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/kreijack/xinput_calibrator.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xmlto-0.0.29-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://pagure.io/xmlto.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xmlto-native-0.0.29-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://pagure.io/xmlto.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xxhash-0.8.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/Cyan4973/xxHash.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: xxhash-native-0.8.3-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/Cyan4973/xxHash.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: zstd-1.5.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/facebook/zstd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
stdio: ERROR: zstd-native-1.5.7-r0 do_fetch: Bitbake Fetcher Error: FetchError('Repository https://github.com/facebook/zstd.git has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)', None)
Quoted 55 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Friday, April 25, 2025 14:36
To: [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [bitbake-devel] [PATCH v2 0/8] Fix gitsm LFS supportQuoted 37 lines · Philip Lorenz via lists.openembedded.org
This patch series fixes a number of issues we observed when using the gitsm fetcher in conjunction with git-lfs.
I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a good reason on why the code so far preferred the content of.gitattributeson the repository's branch instead of always considering the state of the target revision. Please let me know if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not replicate thegit-lfs fetchbehaviour in versions going back to 2.13.2 released in 2021. This leads me to believe that the issue leading to this workaround is no longer in place. However, if anyone remembers the actual issue / versions involved I can also retest to confirm that there are no regression.---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled. This ensures consistent behaviour in setups where git-lfs is installed but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make sure that git-lfs is actually used for storing the files.Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFSQuoted 4 lines
lib/bb/fetch2/git.py | 69 ++++++----------
lib/bb/fetch2/gitsm.py| 13 ++-
lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++-----------3 files changed, 163 insertions(+), 102 deletions(-)
Quoted 5 lines
With this series applied, OE-Core throws a lot of errors, see below. I'm not convinced we have that much LFS use so something seems wrong...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/log
s/stdio
I think what is wrong is the default for lfs (enabled).
It badly chosen default if lfs is not a requirement and whole core builds without it.
Adding additional commit to switch lfs default to disabled should solve it.
I think it will not break the core itself as until now it built successfully without git-lfs installed, but migration note will be needed for the custom layers.
Peter
Hi Peter, hi Richard,
Quoted 10 lines · Peter
Quoted 5 lines
With this series applied, OE-Core throws a lot of errors, see below. I'm not convinced we have that much LFS use so something seems wrong...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/log
s/stdioI think what is wrong is the default for lfs (enabled).
It badly chosen default if lfs is not a requirement and whole core builds without it.Adding additional commit to switch lfs default to disabled should solve it.
I think it will not break the core itself as until now it built successfully without git-lfs installed, but migration note will be needed for the custom layers.
This is actually caused by a bad placement of the new validation code. This slipped in while porting the change to latest master (and I didn't hit this code path while doing the retesting). I'll add a test for this scenario and send a follow up. Sorry for all the noise...
Philip
Signature · 7 lines
Philip Lorenz BMW Car IT GmbH, Software-Plattform, -Integration Connected Company, Lise-Meitner-Straße 14, 89081 Ulm ------------------------------------------------------------------------- BMW Car IT GmbH Management: Chris Brandt, Michael Böttrich, Christian Salzmann Domicile and Court of Registry: München HRB 134810 -------------------------------------------------------------------------
Quoted 81 lines · Peter
Quoted 69 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Friday, April 25, 2025 14:36
To: [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [bitbake-devel] [PATCH v2 0/8] Fix gitsm LFS supportQuoted 49 lines · Philip Lorenz via lists.openembedded.org
This patch series fixes a number of issues we observed when using the
gitsm fetcher in conjunction with git-lfs.I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a
good reason on why the code so far preferred the content of.gitattributeson the repository's branch instead of always considering the state of the target revision. Please let me know
if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not
replicate thegit-lfs fetchbehaviour in versions going back to
2.13.2 released in 2021. This leads me to believe that the issue
leading to this workaround is no longer in place. However, if anyone
remembers the actual issue / versions involved I can also retest to
confirm that there are no regression.---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is
explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled.
This ensures consistent behaviour in setups where git-lfs is installed
but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make
sure that git-lfs is actually used for storing the files.Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFSQuoted 5 lines
lib/bb/fetch2/git.py | 69 ++++++----------
lib/bb/fetch2/gitsm.py| 13 ++-
lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++-----
------3 files changed, 163 insertions(+), 102 deletions(-)Quoted 7 lines
With this series applied, OE-Core throws a lot of errors, see below.
I'm not convinced we have that much LFS use so something seems wrong...https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/log
s/stdioI think what is wrong is the default for lfs (enabled). It badly chosen default if lfs is not a requirement and whole core builds without it.
Quoted 5 lines
Adding additional commit to switch lfs default to disabled should solve it.
I think it will not break the core itself as until now it built successfully without git-lfs installed, but migration note will be needed for the custom layers.
I'm not quite convinced that it is a "default". The code was meant to detect if lfs was needed and error if the tool wasn't present or the repo wasn't specifically marked as needing lfs.
I think we have the following scenarios:
url has no lfs listed - error if lfs detected
url has lfs=0 - don't do anything with lfs and we don't need git-lfs
url has lfs=1 - error if git-lfs isn't present
Cheers,
Richard
Hi Peter, hi Richard,
Quoted 55 lines · Peter
Quoted 55 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Friday, April 25, 2025 14:36
To: [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [bitbake-devel] [PATCH v2 0/8] Fix gitsm LFS supportQuoted 37 lines · Philip Lorenz via lists.openembedded.org
This patch series fixes a number of issues we observed when using the gitsm fetcher in conjunction with git-lfs.
I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a good reason on why the code so far preferred the content of.gitattributeson the repository's branch instead of always considering the state of the target revision. Please let me know if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not replicate thegit-lfs fetchbehaviour in versions going back to 2.13.2 released in 2021. This leads me to believe that the issue leading to this workaround is no longer in place. However, if anyone remembers the actual issue / versions involved I can also retest to confirm that there are no regression.---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled. This ensures consistent behaviour in setups where git-lfs is installed but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make sure that git-lfs is actually used for storing the files.Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFSQuoted 4 lines
lib/bb/fetch2/git.py | 69 ++++++---------- lib/bb/fetch2/gitsm.py | 13 ++- lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++----------- 3 files changed, 163 insertions(+), 102 deletions(-)With this series applied, OE-Core throws a lot of errors, see below. I'm not convinced we have that much LFS use so something seems wrong...
Quoted 7 lines
Quoted 2 lines
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/log
s/stdioI think what is wrong is the default for lfs (enabled).
It badly chosen default if lfs is not a requirement and whole core builds without it.Adding additional commit to switch lfs default to disabled should solve it.
I think it will not break the core itself as until now it built successfully without git-lfs installed, but migration note will be needed for the custom layers.
I'd actually like to come back to this suggestion as I noticed some conceptual issues with the existing implementation of LFS support. As of now, the implementation assumes that the presence of a lfs filter in .gitattributes means that the repository uses LFS. However, this assumption does not necessarily hold as the filters are *not* required for a repository to contain LFS objects (it is merely a convenience method to ensure that files matching a certain pattern automatically get handled by LFS).
One example of this is the Vulkan-Samples-Assets repository [1] (fetched via vulkan-samples.bb) which does not have a .gitattributes file but does contain files (e.g. [2]) managed by LFS. This is not an issue as the vulkan-samples recipe explicitly disables LFS but may affect other recipes referencing repositories with a similar setup.
As such I actually believe that changing the lfs parameter default value to off would be the sensible thing to do. Recipes dealing with LFS content can then explicitly opt in and opting in implies that git-lfs must be available and the .gitattributes check is no longer needed and can be dropped.
Does that sound sensible? If so I can fix things up in a future patch series (together with a migration note).
Philip
[1] https://github.com/KhronosGroup/Vulkan-Samples-Assets/tree/8db8ce9c528330f0b1261b07531b009732b08731
[2] https://github.com/KhronosGroup/Vulkan-Samples-Assets/blob/8db8ce9c528330f0b1261b07531b009732b08731/scenes/morpheus_team/lego_ball_phone/shape0.obj
Signature · 7 lines
Philip Lorenz BMW Car IT GmbH, Software-Plattform, -Integration Connected Company, Lise-Meitner-Straße 14, 89081 Ulm ------------------------------------------------------------------------- BMW Car IT GmbH Management: Michael Böttrich ,Chris Brandt, Christian Salzmann Domicile and Court of Registry: München HRB 134810 -------------------------------------------------------------------------
Quoted 97 lines
-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Philip Lorenz via lists.openembedded.org
Sent: den 29 april 2025 10:36
To: Marko, Peter <[email protected]>; [email protected]
Cc: [email protected]
Subject: Re: [bitbake-devel] [PATCH v2 0/8] Fix gitsm LFS supportHi Peter, hi Richard,
Quoted 58 lines · Peter
Quoted 53 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Richard Purdie via lists.openembedded.org
Sent: Friday, April 25, 2025 14:36
To: [email protected]; [email protected]
Cc: [email protected]
Subject: Re: [bitbake-devel] [PATCH v2 0/8] Fix gitsm LFS supportQuoted 37 lines · Philip Lorenz via lists.openembedded.org
This patch series fixes a number of issues we observed when using the gitsm fetcher in conjunction with git-lfs.
I'd like to highlight two patches in this series:
* 0004-fetch2-Simplify-git-LFS-detection: I could not come up with a good reason on why the code so far preferred the content of.gitattributeson the repository's branch instead of always considering the state of the target revision. Please let me know if there's something I didn't take into account.
* 0005-fetch2-Use-git-lfs-fetch-to-download-objects.patch: I could not replicate thegit-lfs fetchbehaviour in versions going back to 2.13.2 released in 2021. This leads me to believe that the issue leading to this workaround is no longer in place. However, if anyone remembers the actual issue / versions involved I can also retest to confirm that there are no regression.---
V1 -> V2:
* The correct parameter is now passed for each submodule URL when LFS is explicitly disabled
* Smudging for submodules is now skipped when LFS is explcitly disabled. This ensures consistent behaviour in setups where git-lfs is installed but should not be used.
* Test cases are extended to test the LFS disabled state.
* Explicitly install git lfs into submodule in the test cases to make sure that git-lfs is actually used for storing the files.Philip Lorenz (8):
fetch2: Clean up no longer used name parameter tests/fetch: Move commonly used imports to top
fetch2: Check for git-lfs existence before using it
fetch2: Simplify git LFS detection
fetch2: Use git-lfs fetch to download objects
fetch2: Fix incorrect lfs parametrization for submodules
fetch2: Fix LFS object checkout in submodules tests/fetch: Test gitsm with LFSQuoted 4 lines
lib/bb/fetch2/git.py | 69 ++++++---------- lib/bb/fetch2/gitsm.py | 13 ++- lib/bb/tests/fetch.py | 183 ++++++++++++++++++++++++++++++----------- 3 files changed, 163 insertions(+), 102 deletions(-)Quoted 4 lines
With this series applied, OE-Core throws a lot of errors, see below. I'm not convinced we have that much LFS use so something seems wrong...
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1465/steps/13/logs/stdio
Quoted 7 lines
I think what is wrong is the default for lfs (enabled).
It badly chosen default if lfs is not a requirement and whole core builds without it.Adding additional commit to switch lfs default to disabled should solve it. I think it will not break the core itself as until now it built successfully without git-lfs installed, but migration note will be needed for the custom layers.
I'd actually like to come back to this suggestion as I noticed some conceptual issues with the existing implementation of LFS support. As of now, the implementation assumes that the presence of a lfs filter in .gitattributes means that the repository uses LFS. However, this assumption does not necessarily hold as the filters are *not* required for a repository to contain LFS objects (it is merely a convenience method to ensure that files matching a certain pattern automatically get handled by LFS).
One example of this is the Vulkan-Samples-Assets repository [1] (fetched via vulkan-samples.bb) which does not have a .gitattributes file but does contain files (e.g. [2]) managed by LFS. This is not an issue as the vulkan-samples recipe explicitly disables LFS but may affect other recipes referencing repositories with a similar setup.
As such I actually believe that changing the lfs parameter default value to off would be the sensible thing to do. Recipes dealing with LFS content can then explicitly opt in and opting in implies that git-lfs must be available and the .gitattributes check is no longer needed and can be dropped.
Quoted 8 lines
Does that sound sensible? If so I can fix things up in a future patch series (together with a migration note).
Philip
[1] https://github.com/KhronosGroup/Vulkan-Samples-Assets/tree/8db8ce9c528330f0b1261b07531b009732b08731
To me, this sounds like a good plan. One thing you could do, to ease the transition, would be to not remove the check for .gitattributes at this stage. Instead, turn it into an error if it exists, but the SRC_URI does not specify an lfs= parameter. As you noted, almost all repositories that use LFS have a .gitattributes file, so this should prevent anyone from missing to add the lfs=1 parameter to recipes that today rely on LFS support without specifying it.
//Peter