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'.
 Unable to fetch URL from any source.

Likely, upstream rewrote the Git history.

$ git clone https://github.com/upx/upx.git
$ cd upx
$ git rev-list -n 1 v4.2.4
3757579ffc6fa8710b4b7a1055529fea9dcaf149

Signed-off-by: Javier Tia <[email protected]>
---
 recipes-extended/upx/upx_git.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/upx/upx_git.bb b/recipes-extended/upx/upx_git.bb
index 
870f0883569c61a7b2e8453eb35aaf87b697bbcd..d55789afccef5e39ef426b01a8e5faad1ff86691
 100644
--- a/recipes-extended/upx/upx_git.bb
+++ b/recipes-extended/upx/upx_git.bb
@@ -2,7 +2,8 @@ SUMMARY = "Ultimate executable compressor."
 HOMEPAGE = "https://upx.github.io/";
 LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=353753597aa110e0ded3508408c6374a"
-SRCREV_upx = "03c4184067d8f6cf7a9f7bffd3b92d0035f64eda"
+# tag v4.2.4
+SRCREV_upx = "3757579ffc6fa8710b4b7a1055529fea9dcaf149"
 PV = "4.2.4+git${SRCPV}"
 
 # Note: DO NOT use released tarball in favor of the git repository with 
submodules.

---
base-commit: 72ea52031c045bb6b4e13856f324b3ec28e333df
change-id: 20241030-fix-upx-src_uri-00d3299f5af1

Best regards,
-- 
Javier Tia <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8941): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8941
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to