Skip to contentSkip to conversation

libxslt: use HTTP instead of FTP in SRC_URI

PATCH In review Ross Burton 3 participants 6 messages Dec 6, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 libxslt: use HTTP instead of FTP in SRC_URI

FTP isn't as reliable as HTTP.

[ YOCTO #12398 ]

---
 meta/recipes-support/libxslt/libxslt_1.1.32.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libxslt/libxslt_1.1.32.bb +1 -1
index e8b1409d79b..b8951ab3a8b 100644
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
 SECTION = "libs"
 DEPENDS = "libxml2"
 
-SRC_URI = "ftp://xmlsoft.org/libxslt/libxslt-${PV}.tar.gz \
+SRC_URI = "http://xmlsoft.org/sources/libxslt-${PV}.tar.gz \
            file://pkgconfig_fix.patch \
            "
 
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 libxslt: remove inappropriate patch

This was patching -lxslt directly into the pkgconfig file, but XSLT_LIBS already contains this so the patch is redundant.

---
 .../libxslt/libxslt/pkgconfig_fix.patch            | 24 ----------------------
 meta/recipes-support/libxslt/libxslt_1.1.32.bb     |  5 +----
 2 files changed, 1 insertion(+), 28 deletions(-)
 delete mode 100644 meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch
meta/recipes-support/libxslt/libxslt/pkgconfig_fix.patch deleted +0 -24
deleted file mode 100644
index 16a801010ca..00000000000
@@ -1,24 +0,0 @@
-Upstream-Status: Inappropriate [configuration]
-
-Index: libxslt-1.1.27/libexslt.pc.in
-===================================================================
---- libxslt-1.1.27.orig/libexslt.pc.in
-+++ libxslt-1.1.27/libexslt.pc.in
-@@ -8,5 +8,5 @@ Name: libexslt
- Version: @LIBEXSLT_VERSION@
- Description: EXSLT Extension library
- Requires: libxml-2.0
--Libs: @EXSLT_LIBDIR@ @EXSLT_LIBS@
-+Libs: -lexslt @EXSLT_LIBDIR@ @EXSLT_LIBS@
- Cflags: @EXSLT_INCLUDEDIR@
-Index: libxslt-1.1.27/libxslt.pc.in
-===================================================================
---- libxslt-1.1.27.orig/libxslt.pc.in
-+++ libxslt-1.1.27/libxslt.pc.in
-@@ -8,5 +8,5 @@ Name: libxslt
- Version: @VERSION@
- Description: XSLT library version 2.
- Requires: libxml-2.0
--Libs: @XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@
-+Libs: -lxslt @XSLT_LIBDIR@ @XSLT_LIBS@ @EXTRA_LIBS@
- Cflags: @XSLT_INCLUDEDIR@
meta/recipes-support/libxslt/libxslt_1.1.32.bb +1 -4
index b8951ab3a8b..6a03f776992 100644
@@ -8,10 +8,7 @@ LIC_FILES_CHKSUM = "file://Copyright;md5=0cd9a07afbeb24026c9b03aecfeba458"
 SECTION = "libs"
 DEPENDS = "libxml2"
 
-SRC_URI = "http://xmlsoft.org/sources/libxslt-${PV}.tar.gz \
-           file://pkgconfig_fix.patch \
-           "
-
+SRC_URI = "http://xmlsoft.org/sources/libxslt-${PV}.tar.gz"
 SRC_URI[md5sum] = "1fc72f98e98bf4443f1651165f3aa146"
 SRC_URI[sha256sum] = "526ecd0abaf4a7789041622c3950c0e7f2c4c8835471515fd77eec684a355460"
 
Signature · 1 line
2.11.0
#2 lore raw

✗ patchtest: failure for "libxslt: use HTTP instead of F..." and 1 more

In reply to Ross Burton

== Series Details ==

Series: "libxslt: use HTTP instead of F..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/10099/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue SRC_URI changed but checksums are the same [test_src_uri_checksums_not_changed]
Suggested fix Include the SRC_URI's checksums changes into your patch

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
#3 lore raw

Re: ✗ patchtest: failure for "libxslt: use HTTP instead of F..." and 1 more

Quoted 10 lines · On Wed, 06 Dec 2017 15:02:57 -0000 Patchwork…

== Series Details ==

Series: "libxslt: use HTTP instead of F..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/10099/
State : failure

== Summary ==

Quoted 8 lines

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue SRC_URI changed but checksums are the same [test_src_uri_checksums_not_changed]
Suggested fix Include the SRC_URI's checksums changes into your patch

I believe we need to improve this check. checksums do not necessary change if URL changes.

Quoted 20 lines

If you believe any of these test results are incorrect, please reply to the mailing list ([email protected]) raising your concerns. Otherwise we would appreciate you correcting the issues and submitting a new version of the patchset if applicable. Please ensure you add/increment the version number when sending the new version (i.e. [PATCH] -> [PATCH v2] -> [PATCH v3] -> ...).

---

Guidelines:     https://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines
Test framework: http://git.yoctoproject.org/cgit/cgit.cgi/patchtest
Test suite:     http://git.yoctoproject.org/cgit/cgit.cgi/patchtest-oe
Signature · 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#4 lore raw

Re: ✗ patchtest: failure for "libxslt: use HTTP instead of F..." and 1 more

Quoted 19 lines · Leonardo Sandoval
Quoted 16 lines · On Wed, 06 Dec 2017 15:02:57 -0000 Patchwork…

== Series Details ==

Series: "libxslt: use HTTP instead of F..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/10099/
State : failure

== Summary ==

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

Quoted 9 lines
Quoted 1 line

* Issue SRC_URI changed but checksums are the same

[test_src_uri_checksums_not_changed]

Quoted 1 line

Suggested fix Include the SRC_URI's checksums changes into your

patch

I believe we need to improve this check. checksums do not necessary change if URL changes.

Not sure how to improve it. Maybe making the wording vague, as that is a common mistake and the URL changing but checksums not changing is not common.

Ross

#5 lore raw

Re: ✗ patchtest: failure for "libxslt: use HTTP instead of F..." and 1 more

Quoted 28 lines · Ross
Quoted 25 lines · Leonardo Sandoval
Quoted 10 lines · On Wed, 06 Dec 2017 15:02:57 -0000 Patchwork…

== Series Details ==

Series: "libxslt: use HTTP instead of F..." and 1 more
Revision: 1
URL : https://patchwork.openembedded.org/series/10099/
State : failure

== Summary ==

Quoted 7 lines

Thank you for submitting this patch series to OpenEmbedded Core. This is an automated response. Several tests have been executed on the proposed series by patchtest resulting in the following failures:

* Issue SRC_URI changed but checksums are the same

[test_src_uri_checksums_not_changed]

Quoted 1 line

Suggested fix Include the SRC_URI's checksums changes into your

patch

Quoted 7 lines
Quoted 3 lines

I believe we need to improve this check. checksums do not necessary change if URL changes.

Not sure how to improve it. Maybe making the wording vague, as that is a common mistake and the URL changing but checksums not changing is not common.

Rigth. Also bitbake fails if downloaded tarball does not match its checksums with the ones defined on recipe. Time to disable this check.

Quoted 2 lines

Ross