public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Uladzimir Bely <ubely@ilbers.de>
To: srinuvasan.a@siemens.com, isar-users@googlegroups.com
Subject: Re: [PATCH v2] meta/recipes-kernel/linux/files: use debhelper-compat to generate compat file
Date: Wed, 11 Sep 2024 14:28:58 +0300	[thread overview]
Message-ID: <47c19961404c3a89b9b691c6bd62d53477515adc.camel@ilbers.de> (raw)
In-Reply-To: <20240909055139.899124-1-srinuvasan.a@siemens.com>

On Mon, 2024-09-09 at 11:21 +0530, srinuvasan.a@siemens.com wrote:
> From: srinuvasan <srinuvasan.a@siemens.com>
> 
> debhelper supports the versions debhelper-compat (= 9) till
> debhelper-compat (= 13), hence set appropriate debian helper
> compatible version
> in the debian/control file and remove the debian/compat file.
> 
> Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
> ---
>  meta/recipes-kernel/linux/files/debian/compat       | 1 -
>  meta/recipes-kernel/linux/files/debian/control.tmpl | 2 +-
>  2 files changed, 1 insertion(+), 2 deletions(-)
>  delete mode 100644 meta/recipes-kernel/linux/files/debian/compat
> 
> diff --git a/meta/recipes-kernel/linux/files/debian/compat
> b/meta/recipes-kernel/linux/files/debian/compat
> deleted file mode 100644
> index f599e28b..00000000
> --- a/meta/recipes-kernel/linux/files/debian/compat
> +++ /dev/null
> @@ -1 +0,0 @@
> -10
> diff --git a/meta/recipes-kernel/linux/files/debian/control.tmpl
> b/meta/recipes-kernel/linux/files/debian/control.tmpl
> index 04ad0f4f..f4273ea9 100644
> --- a/meta/recipes-kernel/linux/files/debian/control.tmpl
> +++ b/meta/recipes-kernel/linux/files/debian/control.tmpl
> @@ -2,7 +2,7 @@ Source: linux-${KERNEL_NAME_PROVIDED}
>  Section: kernel
>  Priority: optional
>  Maintainer: ${MAINTAINER}
> -Build-Depends: bc, kmod, cpio, ${KBUILD_DEPENDS}
> +Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), bc, kmod,

This is not in TEMPLATE_VARS, so build fails with error like:

```
Filtered Build-Depends: debhelper-compat (= ${DEBIAN_COMPAT}), bc,
kmod, cpio, build-essential:amd64, libelf-dev:amd64, libncurses-
dev:amd64, libssl-dev:amd64, bison, dwarves, flex, git, rsync, build-
essential:amd64, fakeroot:amd64, crossbuild-essential-armhf:amd64,
libc-dev:armhf, libstdc++-dev:armhf

dpkg-deb: error: parsing file '/<<RESOLVERDIR>>/sbuild-build-depends-
main-dummy/DEBIAN/control' near line 4 package 'sbuild-build-depends-
main-dummy:armhf':

 'Depends' field, reference to 'debhelper-compat': version
'${DEBIAN_COMPAT}': version number does not start with digit
```

> cpio, ${KBUILD_DEPENDS}
>  Homepage: http://www.kernel.org/
>  
>  Package: linux-image-${KERNEL_NAME_PROVIDED}

-- 
Best regards,
Uladzimir.

-- 
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 on the web visit https://groups.google.com/d/msgid/isar-users/47c19961404c3a89b9b691c6bd62d53477515adc.camel%40ilbers.de.

  parent reply	other threads:[~2024-09-11 11:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09  6:51 [PATCH] " srinuvasan.a via isar-users
2024-08-09 16:43 ` 'Jan Kiszka' via isar-users
2024-08-11 14:20   ` Srinuvasan Arjunan
2024-08-27 15:45 ` Uladzimir Bely
2024-08-28  5:04   ` 'Arjunan, Srinu' via isar-users
2024-09-09  5:51   ` [PATCH v2] " srinuvasan.a via isar-users
2024-09-09  5:53     ` 'Arjunan, Srinu' via isar-users
2024-09-11 11:28     ` Uladzimir Bely [this message]
2024-12-16 11:20       ` [PATCH v3] meta/recipes-kernel: " srinuvasan.a via isar-users
2024-12-16 11:15         ` Srinuvasan Arjunan
2024-12-20  7:48         ` Uladzimir Bely
2025-01-31 12:14         ` 'Jan Kiszka' via isar-users
2025-01-31 12:31           ` 'MOESSBAUER, Felix' via isar-users
2025-01-31 12:39             ` 'Jan Kiszka' via isar-users

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=47c19961404c3a89b9b691c6bd62d53477515adc.camel@ilbers.de \
    --to=ubely@ilbers.de \
    --cc=isar-users@googlegroups.com \
    --cc=srinuvasan.a@siemens.com \
    /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