Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/libroxml: switch to GitHub
@ 2026-11-25 10:46 Yegor Yefremov via buildroot
  2026-11-26 22:15 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Yegor Yefremov via buildroot @ 2026-11-25 10:46 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

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 tag from the upstream GitHub repository instead, which
the libroxml homepage links to. Apart from the generated autotools
files, its 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.

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>
---
 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 547f82b60c..208272f2fa 100644
--- a/package/libroxml/libroxml.hash
+++ b/package/libroxml/libroxml.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  ed6d68d1bceabf98e5e76907411e2e4d93b2dbd48479ab41dede851f59dad6a3  libroxml-3.0.2.tar.gz
+sha256  de41c88952c896e9a43ca630e88ac75e24af74a8731e21858b12e3cb2385c3f4  libroxml-3.0.2.tar.gz
 sha256  fe11466c265ad0a6c3896ea113af9403c0a8372b1fdd78712db64f0f1bac6387  License.txt
diff --git a/package/libroxml/libroxml.mk b/package/libroxml/libroxml.mk
index 7e2488aea4..e658b82d15 100644
--- a/package/libroxml/libroxml.mk
+++ b/package/libroxml/libroxml.mk
@@ -5,8 +5,11 @@
 ################################################################################
 
 LIBROXML_VERSION = 3.0.2
-LIBROXML_SITE = http://download.libroxml.net/pool/v3.x
+LIBROXML_SITE = $(call github,blunderer,libroxml,$(LIBROXML_VERSION))
 LIBROXML_INSTALL_STAGING = YES
+# From GitHub, no configure script
+LIBROXML_AUTORECONF = YES
+LIBROXML_DEPENDENCIES = host-pkgconf
 LIBROXML_LICENSE = LGPL-2.1+ with static link exception
 LIBROXML_LICENSE_FILES = License.txt
 
-- 
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] package/libroxml: switch to GitHub
  2026-11-25 10:46 [Buildroot] [PATCH] package/libroxml: switch to GitHub Yegor Yefremov via buildroot
@ 2026-11-26 22:15 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-11-26 22:15 UTC (permalink / raw)
  To: Yegor Yefremov; +Cc: buildroot, Fabrice Fontaine

On Wed, Nov 25, 2026 at 11:46:44AM +0100, Yegor Yefremov via buildroot wrote:
> 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 tag from the upstream GitHub repository instead, which
> the libroxml homepage links to. Apart from the generated autotools
> files, its 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.
> 
> 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>
> ---
>  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 547f82b60c..208272f2fa 100644
> --- a/package/libroxml/libroxml.hash
> +++ b/package/libroxml/libroxml.hash
> @@ -1,3 +1,3 @@
>  # Locally calculated
> -sha256  ed6d68d1bceabf98e5e76907411e2e4d93b2dbd48479ab41dede851f59dad6a3  libroxml-3.0.2.tar.gz
> +sha256  de41c88952c896e9a43ca630e88ac75e24af74a8731e21858b12e3cb2385c3f4  libroxml-3.0.2.tar.gz

Thanks, but this will unfortunately break when people will fallback to
sources.buildroot.net as it contains the old tarball. Basically in
Buildroot, you can't change the hash of a file, you must change the
file name.

So my suggestion to workaround this issue would be to use the Git
commit as LIBROXML_VERSION, using the Git commit that was tagged as
3.0.2. This way the file name will be different. I would just add a
comment above LIBROXML_VERSION explaining why we're using a Git hash
instead of a tag.

Best regards,

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
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-26 22:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-25 10:46 [Buildroot] [PATCH] package/libroxml: switch to GitHub Yegor Yefremov via buildroot
2026-11-26 22:15 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox