[Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8

Giulio Benetti giulio.benetti at micronovasrl.com
Tue Aug 28 17:26:53 UTC 2018


Hello,

Il 28/08/2018 19:12, Mirza Krak ha scritto:
> On Tue, Aug 28, 2018 at 7:01 PM, Giulio Benetti
> <giulio.benetti at micronovasrl.com> wrote:
>> Build fails due to missing // +build ppc64le in ioctl_64_bit.go
>>
>> Add patch to append ppc64le to // +build list.
>>
>> Fixes
>> http://autobuild.buildroot.net/results/f22/f222b4389f9308363c386da25ec22a0919bc29fb//
>>
>> Signed-off-by: Giulio Benetti <giulio.benetti at micronovasrl.com>
>> ---
>>   ...001-ioctl-allow-building-for-ppc64le.patch | 31 +++++++++++++++++++
>>   1 file changed, 31 insertions(+)
>>   create mode 100644 package/mender/0001-ioctl-allow-building-for-ppc64le.patch
>>
>> diff --git a/package/mender/0001-ioctl-allow-building-for-ppc64le.patch b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
> 
> Note that the 1.5.0 release of Mender also contains this patch [1],
> and updating the package to 1.5.0 will also fix the build problem on
> ppc64le.

Oh, I've missed that patch.
I've found this PR:
https://github.com/mendersoftware/mender/pull/302
and so I've created a new patch.

> Note that there will soon (1-2 weeks) be a new Mender release (1.6.0)
> that also contains this patch and updating to that will also fix the
> build problem on pppc64le.

Ok, but I don't know if it will be pushed to master or next.
I wanted to avoid NOK on:
http://autobuild.buildroot.net/?reason=mender-1.4.0

> 
> [1]. https://github.com/mendersoftware/mender/commit/d7064c82c66cb7e4093c71c44b2c976c0caac8a2
> 

If this makes sense I can resend this patch using the patch you've 
pointed me to.

Thanks
Giulio



More information about the buildroot mailing list