Re: [PATCH] kbuild: deb-pkg: Add libdw-dev:native to Build-Depends-Arch

From: WangYuli
Date: Wed Apr 02 2025 - 23:07:04 EST


Hi Petr,

On 2025/3/28 18:19, Petr Pavlu wrote:
If scripts/package/mkdebian is updated in this way then I think
scripts/package/mkspec -> scripts/package/kernel.spec should be adjusted
as well for consistency.

File scripts/package/kernel.spec contains:
BuildRequires: (elfutils-libelf-devel or libelf-devel) flex

elfutils-libelf-devel is for Fedora/RH distros, libelf-devel is for
(open)SUSE.

If I'm looking correctly, a new dependency to make dwarf.h available for
both would be:
BuildRequires: elfutils-devel or libdw-devel

Alright, thank you for the feedback.
But it appears that the dependency package is named differently on Fedora and openSUSE.
I will expand my testing scope to address this in the patch and will resubmit it once the merge window has closed.

Thanks,
--
WangYuli

Attachment: OpenPGP_0xC5DA1F3046F40BEE.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature