Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-19 Thread Masahiro Yamada
Hi Riku, On Tue, Feb 19, 2019 at 11:15 AM Masahiro Yamada wrote: > > The way we dealt with this in Debian before flex was fixed was (c): use > > "flex:native". But for reasons I don't understand that *isn't* > > compatible with (b), so to be compatible with both old and new versions > > of fle

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-18 Thread Masahiro Yamada
On Tue, Feb 19, 2019 at 4:13 AM Ben Hutchings wrote: > > On Tue, 2019-02-19 at 02:05 +0900, Masahiro Yamada wrote: > [...] > > "make allnoconfig; make bindeb-pkg" > > failed on Ubuntu 16.04, but succeeded on Ubuntu 18.04 > > > > I am puzzled... > [...] > > dpkg-buildpackage: host architecture i386

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-18 Thread Ben Hutchings
On Mon, 2019-02-18 at 17:54 +, Ben Hutchings wrote: [...] > The way we dealt with this in Debian before flex was fixed was (c): use > "flex:native". But for reasons I don't understand that *isn't* > compatible with (b), so to be compatible with both old and new versions > of flex you should bu

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-18 Thread Ben Hutchings
On Tue, 2019-02-19 at 02:05 +0900, Masahiro Yamada wrote: [...] > "make allnoconfig; make bindeb-pkg" > failed on Ubuntu 16.04, but succeeded on Ubuntu 18.04 > > I am puzzled... [...] > dpkg-buildpackage: host architecture i386 > dpkg-source --before-build linux > dpkg-checkbuilddeps: error: Unme

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-18 Thread Masahiro Yamada
On Tue, Feb 19, 2019 at 1:00 AM Masahiro Yamada wrote: > > Hi Riku, > > > On Thu, Jan 3, 2019 at 6:28 AM Masahiro Yamada > wrote: > > > > Hi Riku, > > > > > > > > On Wed, Jan 2, 2019 at 6:28 PM wrote: > > > > > > From: Riku Voipio > > > > > > bison/flex is now needed always for building for kco

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-02-18 Thread Masahiro Yamada
Hi Riku, On Thu, Jan 3, 2019 at 6:28 AM Masahiro Yamada wrote: > > Hi Riku, > > > > On Wed, Jan 2, 2019 at 6:28 PM wrote: > > > > From: Riku Voipio > > > > bison/flex is now needed always for building for kconfig. Some build > > dependencies depend on kernel configuration, enable them as neede

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-01-02 Thread Masahiro Yamada
Hi Riku, On Wed, Jan 2, 2019 at 6:28 PM wrote: > > From: Riku Voipio > > bison/flex is now needed always for building for kconfig. Some build > dependencies depend on kernel configuration, enable them as needed: > > - libelf-dev when UNWINDER_ORC is set > - libssl-dev for SYSTEM_TRUSTED_KEYRIN

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-01-02 Thread maximilian attems
On Wed, Jan 02, 2019 at 07:48:12PM +, Ben Hutchings wrote: > On Wed, 2019-01-02 at 11:23 +0200, riku.voi...@linaro.org wrote: > > From: Riku Voipio > > > > bison/flex is now needed always for building for kconfig. Some build > > dependencies depend on kernel configuration, enable them as need

Re: [PATCH v2] deb-pkg: generate correct build dependencies

2019-01-02 Thread Ben Hutchings
On Wed, 2019-01-02 at 11:23 +0200, riku.voi...@linaro.org wrote: > From: Riku Voipio > > bison/flex is now needed always for building for kconfig. Some build > dependencies depend on kernel configuration, enable them as needed: > > - libelf-dev when UNWINDER_ORC is set > - libssl-dev for SYSTEM_

[PATCH v2] deb-pkg: generate correct build dependencies

2019-01-02 Thread riku . voipio
From: Riku Voipio bison/flex is now needed always for building for kconfig. Some build dependencies depend on kernel configuration, enable them as needed: - libelf-dev when UNWINDER_ORC is set - libssl-dev for SYSTEM_TRUSTED_KEYRING Since the libssl-dev is needed for extract_cert binary, denote