All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Yegor Yefremov <yegorslists@googlemail.com>
Cc: buildroot@buildroot.org, Fabrice Fontaine <fontaine.fabrice@gmail.com>
Subject: Re: [Buildroot] [PATCH] package/libroxml: switch to GitHub
Date: Thu, 26 Nov 2026 23:15:45 +0100	[thread overview]
Message-ID: <awivMBQ-DwKHC7b6@windsurf> (raw)
In-Reply-To: <20261125104644.434701-1-yegorslists@googlemail.com>

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

      reply	other threads:[~2026-11-26 22:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=awivMBQ-DwKHC7b6@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=yegorslists@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.