* [Buildroot] [PATCH v2] package/libroxml: switch to GitHub
@ 2026-11-27 4:54 Yegor Yefremov via buildroot
2026-11-29 11:59 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-11-27 4:54 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni
download.libroxml.net is broken: it serves a certificate for
*.blunderer.org and answers every request with an HTTP 500 error, so the
download fails:
HSTS in effect for download.libroxml.net:80
[0] Downloading 'https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz' ...
HTTP ERROR response 500 [https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz]
Fetch the 3.0.2 sources from the upstream GitHub repository instead,
which the libroxml homepage links to. Apart from the generated autotools
files, their content is identical to the release tarball, so autoreconf
the package. configure.ac uses PKG_CHECK_MODULES (for the optional
fuse helper), so add host-pkgconf to provide pkg.m4.
Use the commit the 3.0.2 tag points to as the version rather than the
tag itself: a GitHub tarball of the tag would be named
libroxml-3.0.2.tar.gz like the release tarball already on
sources.buildroot.net, but with a different hash, which breaks the
download from the backup site.
The download site has been used since the package was added and only
broke recently, so there is no culprit commit; all maintained branches
(2025.02.x, 2026.02.x, ...) use the same URL and are affected.
Fixes:
https://autobuild.buildroot.org/results/54c4c3522ae4e337ef7818988866dff2e961027d
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
---
Changes v1 -> v2:
- Use the commit of the 3.0.2 tag as version, so that the tarball name
differs from the release tarball on sources.buildroot.net (Thomas).
package/libroxml/libroxml.hash | 2 +-
package/libroxml/libroxml.mk | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/package/libroxml/libroxml.hash b/package/libroxml/libroxml.hash
index 208272f2fa..8f4d3cf821 100644
--- a/package/libroxml/libroxml.hash
+++ b/package/libroxml/libroxml.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 de41c88952c896e9a43ca630e88ac75e24af74a8731e21858b12e3cb2385c3f4 libroxml-3.0.2.tar.gz
+sha256 3ac23695f4aaf42050a261481d0986bf7910613e9ddb5dcf159ff9424c07a553 libroxml-ec1f9155471abb28724a21d14223a0467204aa04.tar.gz
sha256 fe11466c265ad0a6c3896ea113af9403c0a8372b1fdd78712db64f0f1bac6387 License.txt
diff --git a/package/libroxml/libroxml.mk b/package/libroxml/libroxml.mk
index e658b82d15..e350f3026c 100644
--- a/package/libroxml/libroxml.mk
+++ b/package/libroxml/libroxml.mk
@@ -4,7 +4,10 @@
#
################################################################################
-LIBROXML_VERSION = 3.0.2
+# Git commit of the 3.0.2 tag. Using the tag name would produce a
+# tarball with the same name, but a different hash, as the release
+# tarball formerly downloaded from download.libroxml.net.
+LIBROXML_VERSION = ec1f9155471abb28724a21d14223a0467204aa04
LIBROXML_SITE = $(call github,blunderer,libroxml,$(LIBROXML_VERSION))
LIBROXML_INSTALL_STAGING = YES
# From GitHub, no configure script
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH v2] package/libroxml: switch to GitHub
2026-11-27 4:54 [Buildroot] [PATCH v2] package/libroxml: switch to GitHub Yegor Yefremov via buildroot
@ 2026-11-29 11:59 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2026-11-29 11:59 UTC (permalink / raw)
To: Yegor Yefremov via buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni
>>>>> "Yegor" == Yegor Yefremov via buildroot <buildroot@buildroot.org> writes:
> download.libroxml.net is broken: it serves a certificate for
> *.blunderer.org and answers every request with an HTTP 500 error, so the
> download fails:
> HSTS in effect for download.libroxml.net:80
> [0] Downloading 'https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz' ...
> HTTP ERROR response 500 [https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz]
> Fetch the 3.0.2 sources from the upstream GitHub repository instead,
> which the libroxml homepage links to. Apart from the generated autotools
> files, their content is identical to the release tarball, so autoreconf
> the package. configure.ac uses PKG_CHECK_MODULES (for the optional
> fuse helper), so add host-pkgconf to provide pkg.m4.
This issue seems to be resolved upstream in the mean time:
curl -v https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz
* Host download.libroxml.net:443 was resolved.
* IPv6: (none)
* IPv4: 5.135.157.10
* Trying 5.135.157.10:443...
* ALPN: curl offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* CAfile: /etc/ssl/certs/ca-certificates.crt
* CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384 / X25519MLKEM768 / RSASSA-PSS
* ALPN: server accepted h2
* Server certificate:
* subject: CN=*.blunderer.org
* start date: Nov 15 16:21:22 2026 GMT
* expire date: Feb 13 16:21:21 2027 GMT
* subjectAltName: host "download.libroxml.net" matched cert's "*.libroxml.net"
* issuer: C=US; O=Let's Encrypt; CN=YR2
* SSL certificate verify ok.
* Certificate level 0: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 2: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* Certificate level 3: Public key type RSA (4096/152 Bits/secBits), signed using sha256WithRSAEncryption
* Connected to download.libroxml.net (5.135.157.10) port 443
* using HTTP/2
* [HTTP/2] [1] OPENED stream for https://download.libroxml.net/pool/v3.x/libroxml-3.0.2.tar.gz
* [HTTP/2] [1] [:method: GET]
* [HTTP/2] [1] [:scheme: https]
* [HTTP/2] [1] [:authority: download.libroxml.net]
* [HTTP/2] [1] [:path: /pool/v3.x/libroxml-3.0.2.tar.gz]
* [HTTP/2] [1] [user-agent: curl/8.14.1]
* [HTTP/2] [1] [accept: */*]
> GET /pool/v3.x/libroxml-3.0.2.tar.gz HTTP/2
> Host: download.libroxml.net
> User-Agent: curl/8.14.1
> Accept: */*
>
* Request completely sent off
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
< HTTP/2 200
< server: nginx
< date: Sun, 29 Nov 2026 11:58:06 GMT
< content-type: application/octet-stream
< content-length: 568991
< content-description: File Transfer
< content-disposition: attachment; filename=libroxml-3.0.2.tar.gz
< content-transfer-encoding: binary
< expires: 0
< cache-control: must-revalidate, post-check=0, pre-check=0
< pragma: public
< strict-transport-security: max-age=31536000
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< referrer-policy: strict-origin-when-cross-origin
So I've marked this patch as superseeded.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-11-29 11:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-27 4:54 [Buildroot] [PATCH v2] package/libroxml: switch to GitHub Yegor Yefremov via buildroot
2026-11-29 11:59 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox