On Thu, Oct 31, 2024 at 9:26 AM Javier Tia <[email protected]> wrote:
> Hi Bruce, > > On 10/30/24 9:37 PM, Bruce Ashfield wrote: > > On Wed, Oct 30, 2024 at 8:38 PM Javier Tia via lists.yoctoproject.org < > http://lists.yoctoproject.org> <javier.tia= > [email protected] <mailto: > [email protected]>> wrote: > > > > upx recipe fails with: > > > > ERROR: upx-4.2.4+git-r0 do_fetch: Fetcher failure: Unable to find > revision 5221596a608acbc8efed1e54f758bab1908ce7a8 in branch even from > upstream > > ERROR: upx-4.2.4+git-r0 do_fetch: gitsm: submodule download failed: > FetchError Fetcher failure for URL: 'gitsm:// > github.com/upx/upx-vendor-valgrind.git;protocol=https;name=vendor/valgrind;subpath=vendor/valgrind;nobranch=1;lfs=True;bareclone=1;nobranch=1 > < > http://github.com/upx/upx-vendor-valgrind.git;protocol=https;name=vendor/valgrind;subpath=vendor/valgrind;nobranch=1;lfs=True;bareclone=1;nobranch=1>'. > Unable to fetch URL from any source. > > > > Likely, upstream rewrote the Git history. > > > > > > I'll wait until I can reproduce this one myself: > > > > bitbake -c cleanall upx; bitbake upx > > > > I can also clone upx, reset it to the revision I'm currently using in > meta-virt and do a git submodule init without issues. > > > > Just worked fine here. Were you doing anything different than a regular > build when you hit it ? > > No, I am aware of it. > > For me, is easy to reproduce. Clone poky master, add meta-virtualization > layer, add virtualization to DISTRO_FEATURES, change MACHINE to > 'genericarm64' and `bitbake upx -c cleanall && bitbake upx` will do it. > > Exactly the same thing works fine for me. I'll continue to debug it here. I'll likely just update upx to tip, but until I see the failure in my builds, I can't be sure I've fixed anything! Bruce > For future reference here is the complete log: > > ``` > $ bitbake upx > Loading cache: 100% > |###########################################################################################################################| > Time: 0:00:00 > Loaded 4974 entries from dependency cache. > NOTE: Resolving any missing task queue dependencies > > Build Configuration: > BB_VERSION = "2.9.1" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "universal" > TARGET_SYS = "aarch64-poky-linux" > MACHINE = "genericarm64" > DISTRO = "poky" > DISTRO_VERSION = "5.1" > TUNE_FEATURES = "aarch64 armv8a crc" > TARGET_FPU = "" > meta > meta-poky > meta-yocto-bsp = "master:c83c0600f67b0806e571d9fcd6c1c267d756f54c" > meta-oe > meta-python = "master:793557a317dd0393d9a68d0aa79e041d7bfdcdda" > meta-networking > meta-filesystems = "master:793557a317dd0393d9a68d0aa79e041d7bfdcdda" > meta-virtualization = "master:72ea52031c045bb6b4e13856f324b3ec28e333df" > > Sstate summary: Wanted 245 Local 0 Mirrors 0 Missed 245 Current 0 (0% > match, 0% complete)########################################## | > ETA: 0:00:00 > Removing 10 stale sstate objects for arch armv8a: 100% > |########################################################################################| > Time: 0:00:00 > Removing 4 stale sstate objects for arch genericarm64: 100% > |###################################################################################| > Time: 0:00:00 > Removing 96 stale sstate objects for arch x86_64: 100% > |########################################################################################| > Time: 0:00:00 > NOTE: Executing Tasks > WARNING: upx-4.2.4+git-r0 do_fetch: Failed to fetch URL gitsm:// > github.com/upx/upx-vendor-valgrind.git;protocol=https;name=vendor/valgrind;subpath=vendor/valgrind;nobranch=1;lfs=True;bareclone=1;nobranch=1, > attempting MIRRORS if available > ERROR: upx-4.2.4+git-r0 do_fetch: Fetcher failure: Unable to find revision > 5221596a608acbc8efed1e54f758bab1908ce7a8 in branch even from upstream > ERROR: upx-4.2.4+git-r0 do_fetch: gitsm: submodule download failed: > FetchError Fetcher failure for URL: 'gitsm:// > github.com/upx/upx-vendor-valgrind.git;protocol=https;name=vendor/valgrind;subpath=vendor/valgrind;nobranch=1;lfs=True;bareclone=1;nobranch=1'. > Unable to fetch URL from any source. > WARNING: upx-4.2.4+git-r0 do_fetch: Failed to fetch URL gitsm:// > github.com/upx/upx;protocol=https;;name=upx;branch=devel, attempting > MIRRORS if available > ERROR: upx-4.2.4+git-r0 do_fetch: Fetcher failure for URL: 'gitsm:// > github.com/upx/upx-vendor-valgrind.git;protocol=https;name=vendor/valgrind;subpath=vendor/valgrind;nobranch=1;lfs=True;bareclone=1;nobranch=1'. > Unable to fetch URL from any source. > ERROR: upx-4.2.4+git-r0 do_fetch: Bitbake Fetcher Error: > FetchError('Unable to fetch URL from any source.', 'gitsm:// > github.com/upx/upx;protocol=https;;name=upx;branch=devel') > ERROR: Logfile of failure stored in: > /yocto-dev/build/tmp/work/armv8a-poky-linux/upx/4.2.4+git/temp/log.do_fetch.54216 > ERROR: Task > (/yocto-dev/meta-virtualization/recipes-extended/upx/upx_git.bb:do_fetch) > failed with exit code '1' > NOTE: Tasks Summary: Attempted 328 tasks of which 0 didn't need to be > rerun and 1 failed. > ``` > > » Javier Tia 🖋 > -- - 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 (#8947): https://lists.yoctoproject.org/g/meta-virtualization/message/8947 Mute This Topic: https://lists.yoctoproject.org/mt/109307127/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
