Skip to contentSkip to conversation

Fixes SRC_URI for meta-java recipe

PATCH New Ashish Mishra 1 participant 5 messages May 5, 2025

lore
Share & tools
lore
#0 lore raw

cover Fixes SRC_URI for meta-java recipe

Below patches fixes the link's used as SRC_URI

- The recipes are failing to feth the compressed tar from the link mentioned in the recipe of scarthgap branch.
- These patches fixes the path & tested on qemuarm

Ashish Mishra (4):
Updates the SRC_URI for xalan-j recipe Updates the SRC_URI for xml-commons-resolver recipe Updates the SRC_URI for avalon-framework-api recipe Updates the SRC_URI for fastjar recipe

 recipes-core/fastjar/fastjar.inc                        | 2 +-
 recipes-core/jakarta-libs/avalon-framework-api_4.3.bb   | 2 +-
 recipes-core/xalan-j/xalan-j_2.7.1.bb                   | 2 +-
 recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)
#1 lore raw

PATCH 1/4 Updates the SRC_URI for xalan-j recipe

---
 recipes-core/xalan-j/xalan-j_2.7.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/xalan-j/xalan-j_2.7.1.bb +1 -1
index 5e72a34..a1f4ea2 100644
@@ -12,7 +12,7 @@ PR = "r2"
 DEPENDS = "xerces-j regexp jlex cup jaxp1.3 bcel"
 
 SRC_URI = "\
-	http://archive.apache.org/dist/xml/${BPN}/${BPN}_2_7_1-src.tar.gz;name=archive \
+	https://archive.apache.org/dist/xml/xalan-j/source/${BPN}_2_7_1-src.tar.gz;name=archive \
 	https://dlcdn.apache.org/commons/bsf/source/bsf-src-2.4.0.tar.gz;name=bsf \
 	"
 
#2 lore raw

PATCH 2/4 Updates the SRC_URI for xml-commons-resolver recipe

In reply to Ashish Mishra
---
 recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/xml-commons/xml-commons-resolver1.1_1.2.bb +1 -1
index 0fafcea..790b2e7 100644
@@ -4,7 +4,7 @@ LICENSE = "Apache-2.0"
 PR = "r1"
 LIC_FILES_CHKSUM = "file://LICENSE.resolver.txt;md5=d229da563da18fe5d58cd95a6467d584"
 
-SRC_URI = "http://archive.apache.org/dist/xml/commons/xml-commons-resolver-${PV}.tar.gz"
+SRC_URI = "https://archive.apache.org/dist/xml/commons/binaries/xml-commons-resolver-${PV}.tar.gz"
 
 inherit java-library
 
#3 lore raw

PATCH 3/4 Updates the SRC_URI for avalon-framework-api recipe

In reply to Ashish Mishra
---
 recipes-core/jakarta-libs/avalon-framework-api_4.3.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/jakarta-libs/avalon-framework-api_4.3.bb +1 -1
index 081cfe7..e7b4d55 100644
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=1dece7821bf3fd70fe1309eaa37d52a2"
 PR = "r1"
 
 SRC_URI = " \
-	   http://archive.apache.org/dist/excalibur/avalon-framework/source/${BP}-src.tar.gz;name=archive \
+           https://archive.apache.org/dist/excalibur/excalibur-framework/source/${BP}-src.tar.gz;name=archive \
 	   http://archive.apache.org/dist/avalon/logkit/source/logkit-1.2.2-src.tar.gz;name=logkit \
 	  "
 
#4 lore raw

PATCH 4/4 Updates the SRC_URI for fastjar recipe

In reply to Ashish Mishra
---
 recipes-core/fastjar/fastjar.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/fastjar/fastjar.inc +1 -1
index 8412236..97e79bb 100644
@@ -7,7 +7,7 @@ PR = "r1"
 
 DEPENDS = "zlib"
 
-SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"
+SRC_URI = "http://download-mirror.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"
 
 inherit autotools update-alternatives