public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta/recipes-bsp/libubootenv: use BPN instead of PN
@ 2025-11-19  4:54 srinuvasan.a via isar-users
  2025-11-26  9:45 ` Zhihang Wei
  0 siblings, 1 reply; 2+ messages in thread
From: srinuvasan.a via isar-users @ 2025-11-19  4:54 UTC (permalink / raw)
  To: isar-users; +Cc: cedric.hombourger, srinuvasan

From: srinuvasan <srinuvasan.a@siemens.com>

dpkg-source fails for libubootenv-native because the orig tarball was named
using PN, which includes the "-native" suffix. Debian expects orig tarballs
to use the base package name. Switch to BPN so both native and non-native
builds use the correct upstream tarball.

Err Logs:
DEBUG: Executing shell function do_dpkg_source
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../libubootenv_0.3.5-0.1+isar.orig.tar.{bz2,gz,lzma,xz}
WARNING: exit code 25 from a shell command.

Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
 meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
index 08eab73c..4d64ff8e 100644
--- a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
+++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
@@ -25,5 +25,5 @@ CHANGELOG_V ?= "${PV}+isar-${SRCREV}"
 do_prepare_build() {
     deb_add_changelog
     cd ${WORKDIR}
-    tar cJf ${PN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
+    tar cJf ${BPN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
 }
-- 
2.39.5

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20251119045444.408086-1-srinuvasan.a%40siemens.com.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] meta/recipes-bsp/libubootenv: use BPN instead of PN
  2025-11-19  4:54 [PATCH] meta/recipes-bsp/libubootenv: use BPN instead of PN srinuvasan.a via isar-users
@ 2025-11-26  9:45 ` Zhihang Wei
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2025-11-26  9:45 UTC (permalink / raw)
  To: srinuvasan.a, isar-users; +Cc: cedric.hombourger

Applied to next, thanks.

On 11/19/25 05:54, srinuvasan.a via isar-users wrote:
> From: srinuvasan <srinuvasan.a@siemens.com>
>
> dpkg-source fails for libubootenv-native because the orig tarball was named
> using PN, which includes the "-native" suffix. Debian expects orig tarballs
> to use the base package name. Switch to BPN so both native and non-native
> builds use the correct upstream tarball.
>
> Err Logs:
> DEBUG: Executing shell function do_dpkg_source
> dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../libubootenv_0.3.5-0.1+isar.orig.tar.{bz2,gz,lzma,xz}
> WARNING: exit code 25 from a shell command.
>
> Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
> ---
>   meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
> index 08eab73c..4d64ff8e 100644
> --- a/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
> +++ b/meta/recipes-bsp/libubootenv/libubootenv_0.3.5-0.1.bb
> @@ -25,5 +25,5 @@ CHANGELOG_V ?= "${PV}+isar-${SRCREV}"
>   do_prepare_build() {
>       deb_add_changelog
>       cd ${WORKDIR}
> -    tar cJf ${PN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
> +    tar cJf ${BPN}_${PV}+isar.orig.tar.xz --exclude=.git --exclude=debian ${P}
>   }

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/8f6e7aca-ab53-4d1b-b8d6-a2ce60709b20%40ilbers.de.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-26  9:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-19  4:54 [PATCH] meta/recipes-bsp/libubootenv: use BPN instead of PN srinuvasan.a via isar-users
2025-11-26  9:45 ` Zhihang Wei

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