From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: "Alexander Dahl" <ada@thorsis.com>,
"Sven Püschel" <s.pueschel@pengutronix.de>
Subject: [ptxdist] [PATCH] libsolv: Change URL to one accepted by SBOM generator
Date: Wed, 6 May 2026 12:15:40 +0200 [thread overview]
Message-ID: <20260506101540.2797642-1-ada@thorsis.com> (raw)
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
reply other threads:[~2026-05-06 10:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20260506101540.2797642-1-ada@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
--cc=s.pueschel@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox