[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH 2/2] scripts/package/builddeb: split generating packaging and build



Hi Jim,

Thanks for testing.

On 17 August 2017 at 03:24, Jim Davis <jim.epost@gmail.com> wrote:
> On Wed, Aug 16, 2017 at 4:08 AM,  <riku.voipio@linaro.org> wrote:
>>
>> deb-pkg and bindeb-pkg removing need for handrulled source/changes
>
> handrolled?
>
> A quick test on a Ubuntu 16.04 vm with these patches applied on top of
> 4.13-rc5 generated a few warnings that didn't appear before:

Before investing too much energy polishing, I'd like to know that
people find the approach reasonable. So in fact this patch was
intended more as an RFC.

> dpkg-architecture: warning: specified GNU system type i686-linux-gnu
> does not match CC system type x86_64-linux-gnu, try setting a correct
> CC environment variable
> dpkg-buildpackage: warning: debian/rules is not executable; fixing that
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent
> make rule.
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent
> make rule.
> make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent
> make rule.
> dpkg-genchanges: warning: package linux-firmware-image-4.13.0-rc5+ in
> control file but not in files list
> dpkg-genchanges: warning: package linux-image-4.13.0-rc5+-dbg in
> control file but not in files list

The last warning is becaues mkdebian make debian/control inone go.
With a little bit of added complexity we can only add the packages
that the builddeb script will generate. But then we have to keep the
logic in mkdebian and builddeb in sync.

Riku


Reply to: