* [ptxdist] [PATCH] libsolv: Change URL to one accepted by SBOM generator
@ 2026-05-06 10:15 Alexander Dahl via ptxdist
2026-05-18 7:54 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Dahl via ptxdist @ 2026-05-06 10:15 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl, Sven Püschel
With PTXCONF_PROJECT_GENERATE_REPORTS=y and
PTXCONF_PROJECT_DEFAULT_REPORTS="license-compliance spdx-sbom" set I got
the following error when running `ptxdist images`:
------------------------------
target: image-root-tgz.reports
------------------------------
generating [redacted]/platform-xyz/release/image-root-tgz-license-compliance.pdf ...
generating [redacted]/platform-xyz/release/image-root-tgz-spdx-sbom.json ...
Report Generation failed: libsolv: url "https://github.com/openSUSE/libsolv/archive/0.7.35/libsolv-0.7.35.tar.gz" should match purl pattern
make: *** [/usr/local/lib/ptxdist-2026.04.0/rules/post/ptxd_make_world_report.make:18: [redacted]/platform-xyz/state/image-root-tgz.reports] Error 1
Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
Notes:
Maybe errors of this type could be catched early at pengutronix CI?
rules/libsolv.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/libsolv.make b/rules/libsolv.make
index 2bfdea36f..1a6ac8b03 100644
--- a/rules/libsolv.make
+++ b/rules/libsolv.make
@@ -18,7 +18,7 @@ LIBSOLV_VERSION := 0.7.35
LIBSOLV_MD5 := 442f8283a03bae0b0591536a9aac4c29
LIBSOLV := libsolv-$(LIBSOLV_VERSION)
LIBSOLV_SUFFIX := tar.gz
-LIBSOLV_URL := https://github.com/openSUSE/libsolv/archive/$(LIBSOLV_VERSION)/$(LIBSOLV).$(LIBSOLV_SUFFIX)
+LIBSOLV_URL := https://github.com/openSUSE/libsolv/archive/refs/tags/$(LIBSOLV_VERSION).$(LIBSOLV_SUFFIX)
LIBSOLV_SOURCE := $(SRCDIR)/$(LIBSOLV).$(LIBSOLV_SUFFIX)
LIBSOLV_DIR := $(BUILDDIR)/$(LIBSOLV)
LIBSOLV_LICENSE := BSD-3-Clause
base-commit: 95f4dc82aa9c947b15cebbd45f032153625b21cc
--
2.47.3
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [ptxdist] [APPLIED] libsolv: Change URL to one accepted by SBOM generator
2026-05-06 10:15 [ptxdist] [PATCH] libsolv: Change URL to one accepted by SBOM generator Alexander Dahl via ptxdist
@ 2026-05-18 7:54 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2026-05-18 7:54 UTC (permalink / raw)
To: ptxdist; +Cc: Alexander Dahl
Thanks, applied as 216efa2fa9e048a9068351866e2293b281905bc6.
Michael
[sent from post-receive hook]
On Mon, 18 May 2026 09:54:16 +0200, Alexander Dahl <ada@thorsis.com> wrote:
> With PTXCONF_PROJECT_GENERATE_REPORTS=y and
> PTXCONF_PROJECT_DEFAULT_REPORTS="license-compliance spdx-sbom" set I got
> the following error when running `ptxdist images`:
>
> ------------------------------
> target: image-root-tgz.reports
> ------------------------------
>
> generating [redacted]/platform-xyz/release/image-root-tgz-license-compliance.pdf ...
> generating [redacted]/platform-xyz/release/image-root-tgz-spdx-sbom.json ...
> Report Generation failed: libsolv: url "https://github.com/openSUSE/libsolv/archive/0.7.35/libsolv-0.7.35.tar.gz" should match purl pattern
> make: *** [/usr/local/lib/ptxdist-2026.04.0/rules/post/ptxd_make_world_report.make:18: [redacted]/platform-xyz/state/image-root-tgz.reports] Error 1
>
> Signed-off-by: Alexander Dahl <ada@thorsis.com>
> Message-Id: <20260506101540.2797642-1-ada@thorsis.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/libsolv.make b/rules/libsolv.make
> index 2bfdea36fda3..1a6ac8b03d8f 100644
> --- a/rules/libsolv.make
> +++ b/rules/libsolv.make
> @@ -18,7 +18,7 @@ LIBSOLV_VERSION := 0.7.35
> LIBSOLV_MD5 := 442f8283a03bae0b0591536a9aac4c29
> LIBSOLV := libsolv-$(LIBSOLV_VERSION)
> LIBSOLV_SUFFIX := tar.gz
> -LIBSOLV_URL := https://github.com/openSUSE/libsolv/archive/$(LIBSOLV_VERSION)/$(LIBSOLV).$(LIBSOLV_SUFFIX)
> +LIBSOLV_URL := https://github.com/openSUSE/libsolv/archive/refs/tags/$(LIBSOLV_VERSION).$(LIBSOLV_SUFFIX)
> LIBSOLV_SOURCE := $(SRCDIR)/$(LIBSOLV).$(LIBSOLV_SUFFIX)
> LIBSOLV_DIR := $(BUILDDIR)/$(LIBSOLV)
> LIBSOLV_LICENSE := BSD-3-Clause
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-18 7:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-06 10:15 [ptxdist] [PATCH] libsolv: Change URL to one accepted by SBOM generator Alexander Dahl via ptxdist
2026-05-18 7:54 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox