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 <[email protected]>
---

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


Reply via email to