lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAK7LNASVcLMPVECckdeGKgtgNy=48ONUDyKcbEF6wtvzaQ+jEQ@mail.gmail.com>
Date:   Sat, 4 Jan 2020 00:03:03 +0900
From:   Masahiro Yamada <masahiroy@...nel.org>
To:     Ard Biesheuvel <ardb@...nel.org>
Cc:     Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Michal Marek <michal.lkml@...kovi.net>,
        Riku Voipio <riku.voipio@...aro.org>
Subject: Re: [PATCH] kbuild/deb-pkg: annotate libelf-dev dependency as :native

On Mon, Dec 30, 2019 at 11:07 PM Ard Biesheuvel <ardb@...nel.org> wrote:
>
> Cross compiling the x86 kernel on a non-x86 build machine produces
> the following error when CONFIG_UNWINDER_ORC is enabled, regardless
> of whether libelf-dev is installed or not.
>
>   dpkg-checkbuilddeps: error: Unmet build dependencies: libelf-dev
>   dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
>   dpkg-buildpackage: warning: (Use -d flag to override.)
>
> Since this is a build time dependency for a build tool, we need to
> depend on the native version of libelf-dev so add the appropriate
> annotation.
>
> Signed-off-by: Ard Biesheuvel <ardb@...nel.org>

Applied to linux-kbuild/fixes.
Thanks.


> ---
>  scripts/package/mkdebian | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
> index 7c230016b08d..357dc56bcf30 100755
> --- a/scripts/package/mkdebian
> +++ b/scripts/package/mkdebian
> @@ -136,7 +136,7 @@ mkdir -p debian/source/
>  echo "1.0" > debian/source/format
>
>  echo $debarch > debian/arch
> -extra_build_depends=", $(if_enabled_echo CONFIG_UNWINDER_ORC libelf-dev)"
> +extra_build_depends=", $(if_enabled_echo CONFIG_UNWINDER_ORC libelf-dev:native)"
>  extra_build_depends="$extra_build_depends, $(if_enabled_echo CONFIG_SYSTEM_TRUSTED_KEYRING libssl-dev:native)"
>
>  # Generate a simple changelog template
> --
> 2.20.1
>


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ