On Sun, Mar 8, 2026 at 9:55 PM Bruce Ashfield via lists.yoctoproject.org <[email protected]> wrote:
> > > On Sun, Mar 8, 2026 at 2:57 PM Ricardo Salveti via lists.yoctoproject.org > <[email protected]> wrote: > >> Hi, >> >> I was trying to build docker-compose with GO_MOD_FETCH_MODE set to vcs >> today and it fails to build due duplicated entries pointing to the >> same tag but with different commit revisions (failed on fetch). This >> seems to be caused by >> >> https://git.yoctoproject.org/meta-virtualization/commit/scripts?id=dbf720ccb0519a4dbf143dbaed1633527b8d7b60 >> and you can see the problematic diff done as part of >> >> https://git.yoctoproject.org/meta-virtualization/commit/recipes-containers/docker-compose?id=56a7b72a93fd20d9c21ecdc45487a888b76d194c >> : >> >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=33540a1f603772f9d4b761f416f5c10dade23e96;name=git_da0444fc_1;destsuffix=vcs_cache/74df1e05ff5bf1317fe42883ce7a496c0ad3800044d955163fd3f3acca0a0166 >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=33da011f77ade50ff5b6a6fb4a9a1e6d6b285809;name=git_da0444fc_2;destsuffix=vcs_cache/144d2f77c6aa06af51d5820df4e7506c5ecad01c86e770e0027b682ff0d3f9a9 >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=43e1dd70ce54ee5b1711930029ae5b4926f78f72;name=git_da0444fc_3;destsuffix=vcs_cache/61395547cb668a679b4d7508a904d02fd50ffe1630e5ffd6f4ef293a97c2d3ba >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=59db8d763f22395595c26ee1cae0886b57141b3a;name=git_da0444fc_4;destsuffix=vcs_cache/34a6c6ff0efd234ebc0cc2a5cfdad07405fca7403da460f8d25bfb69091bc0c5 >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=5ac8a444bdc56cee774f8f2b3382156bd27c63c3;name=git_da0444fc_5;destsuffix=vcs_cache/fefde8e557c698aecc8d48f3c3d82b7fea1eb55451adbc71dbed3a8871ed8e13 >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=665e8c7367d1ecf644cea2d163019ef59c13d554;name=git_da0444fc_6;destsuffix=vcs_cache/7389e79775019a8b50e34efbdfd1a6f9ee910ef3822e04963ba444b3d04db399 >> " >> +SRC_URI += "git:// >> go.googlesource.com/sys;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=8c9f86f7a55f5af45a9080f6ed3ac915382d369c;name=git_da0444fc_7;destsuffix=vcs_cache/2b23297aec08f23623501029a20a4eee604e87ce090001ef6ad0a5930d799dd5 >> " >> >> They are all pointing to the v0.3.0 tag, but all using different git >> revisions, which will cause fetcher to fail. I tried to have a quick >> look into the go mod fetcher but wasn't able to quickly identify a fix >> there. >> > > This was already reported, but I can't reproduce the failure. > oh, this is with the pure vcs, and not the hybrid / default mode This was reported, I have a fix, I'll regenerate the recipes in this update cycle and that should fix things up. Bruce > > Obviously if I wasn't building and testing it, it wouldn't be in the tree. > > Bruce > > > >> >> Example of the failure: >> >> ERROR: docker-compose-v5.0.0-r0 do_unpack: Bitbake Fetcher Error: >> FetchError("The revision the git tag 'v0.3.0' resolved to didn't match >> the SRCREV in use (97ca0e3821bf3a3cf6ea2441ece139e524802385 vs >> 03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50)", >> 'git:// >> go.googlesource.com/term;protocol=https;nobranch=1;tag=v0.3.0;shallow=1;rev=03fcf44c2211dcd5eb77510b5f7c1fb02d6ded50;name=git_2e975dd2_0;destsuffix=vcs_cache/39b5e1daf17afc894da71452dbc3a21bfd60c2a69143fd621e2f4c38e90360ea >> ') >> ERROR: Logfile of failure stored in: >> >> /home/rsalveti/build/lmp-next/build-lmp/tmp-lmp/work/corei7-64-lmp-linux/docker-compose/v5.0.0/temp/log.do_unpack.7110 >> ERROR: Task >> (/home/rsalveti/build/lmp-next/build-lmp/conf/../../layers/meta-virtualization/recipes-containers/docker-compose/ >> docker-compose_git.bb:do_unpack) >> failed with exit code '1' >> >> Other recipes probably have similar issues. >> >> Thanks, >> >> Ricardo >> >> >> >> > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await thee > at its end > - "Use the force Harry" - Gandalf, Star Trek II > > > > > -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9627): https://lists.yoctoproject.org/g/meta-virtualization/message/9627 Mute This Topic: https://lists.yoctoproject.org/mt/118208278/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
