Re: [PATCH] kbuild: deb-pkg: Add libdw-dev:native to Build-Depends-Arch
From: Masahiro Yamada
Date: Fri Apr 04 2025 - 05:00:59 EST
On Thu, Apr 3, 2025 at 12:06 PM WangYuli <wangyuli@xxxxxxxxxxxxx> wrote:
>
> 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.
Yeah, it would be appreciated if you fix the rpm-pkg as well,
but please submit two separate patches for deb-pkg and rpm-pkg.
(perhaps, pacman-pkg too?)
Also, please fix the commit log, as suggested by Sami.
--
Best Regards
Masahiro Yamada