mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libsolv: Change URL to one accepted by SBOM generator
@ 2026-05-06 10:15 Alexander Dahl via ptxdist
  0 siblings, 0 replies; only message 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] only message in thread

only message in thread, other threads:[~2026-05-06 10:16 UTC | newest]

Thread overview: (only message) (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

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