* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
@ 2018-08-28 17:01 Giulio Benetti
2018-08-28 17:12 ` Mirza Krak
2018-08-28 19:56 ` Thomas Petazzoni
0 siblings, 2 replies; 14+ messages in thread
From: Giulio Benetti @ 2018-08-28 17:01 UTC (permalink / raw)
To: buildroot
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@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
new file mode 100644
index 0000000000..f8aeaae143
--- /dev/null
+++ b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
@@ -0,0 +1,31 @@
+From 0c15fedbfe962912c8ad5e16073f4fc5ad03797f Mon Sep 17 00:00:00 2001
+From: Giulio Benetti <giulio.benetti@micronovasrl.com>
+Date: Tue, 28 Aug 2018 18:48:22 +0200
+Subject: [PATCH] ioctl: allow building for ppc64le
+
+ppc64le is not supported at the moment.
+
+Add ppc64le to // +build of ioctl_64_bit.go allowing building for
+powerpc64le.
+
+Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
+---
+ ioctl_64_bit.go | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ioctl_64_bit.go b/ioctl_64_bit.go
+index 6f61a6c..dc4c38f 100644
+--- a/ioctl_64_bit.go
++++ b/ioctl_64_bit.go
+@@ -12,7 +12,7 @@
+ // See the License for the specific language governing permissions and
+ // limitations under the License.
+
+-// +build amd64 arm64
++// +build amd64 arm64 ppc64le
+
+ package main
+
+--
+2.17.1
+
--
2.17.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 17:01 [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8 Giulio Benetti
@ 2018-08-28 17:12 ` Mirza Krak
2018-08-28 17:26 ` Giulio Benetti
2018-08-28 19:56 ` Thomas Petazzoni
1 sibling, 1 reply; 14+ messages in thread
From: Mirza Krak @ 2018-08-28 17:12 UTC (permalink / raw)
To: buildroot
On Tue, Aug 28, 2018 at 7:01 PM, Giulio Benetti
<giulio.benetti@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@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.
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.
[1]. https://github.com/mendersoftware/mender/commit/d7064c82c66cb7e4093c71c44b2c976c0caac8a2
--
Mirza Krak | Embedded Solutions Architect | https://mender.io
Northern.tech AS | @northerntechHQ
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 17:12 ` Mirza Krak
@ 2018-08-28 17:26 ` Giulio Benetti
2018-08-28 19:57 ` Thomas Petazzoni
0 siblings, 1 reply; 14+ messages in thread
From: Giulio Benetti @ 2018-08-28 17:26 UTC (permalink / raw)
To: buildroot
Hello,
Il 28/08/2018 19:12, Mirza Krak ha scritto:
> On Tue, Aug 28, 2018 at 7:01 PM, Giulio Benetti
> <giulio.benetti@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@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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 17:01 [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8 Giulio Benetti
2018-08-28 17:12 ` Mirza Krak
@ 2018-08-28 19:56 ` Thomas Petazzoni
2018-08-28 20:34 ` Giulio Benetti
1 sibling, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2018-08-28 19:56 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 28 Aug 2018 19:01:53 +0200, Giulio Benetti wrote:
> diff --git a/package/mender/0001-ioctl-allow-building-for-ppc64le.patch b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
> new file mode 100644
> index 0000000000..f8aeaae143
> --- /dev/null
> +++ b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
> @@ -0,0 +1,31 @@
> +From 0c15fedbfe962912c8ad5e16073f4fc5ad03797f Mon Sep 17 00:00:00 2001
> +From: Giulio Benetti <giulio.benetti@micronovasrl.com>
> +Date: Tue, 28 Aug 2018 18:48:22 +0200
> +Subject: [PATCH] ioctl: allow building for ppc64le
So you allow building for ppc64le...
> +ppc64le is not supported at the moment.
... but ppc64le is not supported ?
This commit message doesn't make much sense I'm afraid :-/
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 17:26 ` Giulio Benetti
@ 2018-08-28 19:57 ` Thomas Petazzoni
2018-08-28 20:35 ` Giulio Benetti
0 siblings, 1 reply; 14+ messages in thread
From: Thomas Petazzoni @ 2018-08-28 19:57 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 28 Aug 2018 19:26:53 +0200, Giulio Benetti wrote:
> If this makes sense I can resend this patch using the patch you've
> pointed me to.
Yes, if there is already the same patch committed upstream, we want to
backport the upstream patch. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 19:56 ` Thomas Petazzoni
@ 2018-08-28 20:34 ` Giulio Benetti
0 siblings, 0 replies; 14+ messages in thread
From: Giulio Benetti @ 2018-08-28 20:34 UTC (permalink / raw)
To: buildroot
Hello,
Il 28/08/2018 21:56, Thomas Petazzoni ha scritto:
> Hello,
>
> On Tue, 28 Aug 2018 19:01:53 +0200, Giulio Benetti wrote:
>
>> diff --git a/package/mender/0001-ioctl-allow-building-for-ppc64le.patch b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
>> new file mode 100644
>> index 0000000000..f8aeaae143
>> --- /dev/null
>> +++ b/package/mender/0001-ioctl-allow-building-for-ppc64le.patch
>> @@ -0,0 +1,31 @@
>> +From 0c15fedbfe962912c8ad5e16073f4fc5ad03797f Mon Sep 17 00:00:00 2001
>> +From: Giulio Benetti <giulio.benetti@micronovasrl.com>
>> +Date: Tue, 28 Aug 2018 18:48:22 +0200
>> +Subject: [PATCH] ioctl: allow building for ppc64le
>
> So you allow building for ppc64le...
>
>> +ppc64le is not supported at the moment.
>
> ... but ppc64le is not supported ?
>
> This commit message doesn't make much sense I'm afraid :-/
>
Thanks for pointing me a good one in IRC channel.
Giulio
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 19:57 ` Thomas Petazzoni
@ 2018-08-28 20:35 ` Giulio Benetti
2018-08-29 5:44 ` Angelo Compagnucci
0 siblings, 1 reply; 14+ messages in thread
From: Giulio Benetti @ 2018-08-28 20:35 UTC (permalink / raw)
To: buildroot
Hello,
Il 28/08/2018 21:57, Thomas Petazzoni ha scritto:
> Hello,
>
> On Tue, 28 Aug 2018 19:26:53 +0200, Giulio Benetti wrote:
>
>> If this makes sense I can resend this patch using the patch you've
>> pointed me to.
>
> Yes, if there is already the same patch committed upstream, we want to
> backport the upstream patch. Thanks!
Sure, I will use the upstream one I've missed when searching.
Thanks
Giulio Benetti
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-28 20:35 ` Giulio Benetti
@ 2018-08-29 5:44 ` Angelo Compagnucci
2018-08-29 7:12 ` Thomas Petazzoni
2018-08-29 7:35 ` Peter Korsgaard
0 siblings, 2 replies; 14+ messages in thread
From: Angelo Compagnucci @ 2018-08-29 5:44 UTC (permalink / raw)
To: buildroot
Hi Giulio
On Tue, Aug 28, 2018 at 10:35 PM, Giulio Benetti
<giulio.benetti@micronovasrl.com> wrote:
> Hello,
>
> Il 28/08/2018 21:57, Thomas Petazzoni ha scritto:
>>
>> Hello,
>>
>> On Tue, 28 Aug 2018 19:26:53 +0200, Giulio Benetti wrote:
>>
>>> If this makes sense I can resend this patch using the patch you've
>>> pointed me to.
>>
>>
>> Yes, if there is already the same patch committed upstream, we want to
>> backport the upstream patch. Thanks!
>
>
> Sure, I will use the upstream one I've missed when searching.
Mizra, one of the authors of Mender is releasing a bump of the package
with other fixes. We agreed on waiting on the package bump to fix the
error instead of carrying a patch in buildroot that will bu useful
only for a short period of time.
Sincerely, Angelo
>
> Thanks
> Giulio Benetti
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 5:44 ` Angelo Compagnucci
@ 2018-08-29 7:12 ` Thomas Petazzoni
2018-08-29 7:35 ` Peter Korsgaard
1 sibling, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2018-08-29 7:12 UTC (permalink / raw)
To: buildroot
Hello Angelo,
On Wed, 29 Aug 2018 07:44:37 +0200, Angelo Compagnucci wrote:
> Mizra, one of the authors of Mender is releasing a bump of the package
> with other fixes. We agreed on waiting on the package bump to fix the
> error instead of carrying a patch in buildroot that will bu useful
> only for a short period of time.
Hum, not really. I suppose your bump will include plenty of other
changes. At this time, "master" is frozen in terms of version bumps: we
only do version bumps for security fixes. The other version bumps are
only done on the next branch, but we still want to fix build failures
on master.
If the Mender version bump that is coming really only bug fixes, then
we sometimes make exceptions and merge such version bumps in master.
But as a general rule, after -rc1 is released, version bumps go in
next, and therefore build issues may need to be fixed by backporting
patches from upstream.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 5:44 ` Angelo Compagnucci
2018-08-29 7:12 ` Thomas Petazzoni
@ 2018-08-29 7:35 ` Peter Korsgaard
2018-08-29 9:39 ` Giulio Benetti
1 sibling, 1 reply; 14+ messages in thread
From: Peter Korsgaard @ 2018-08-29 7:35 UTC (permalink / raw)
To: buildroot
>>>>> "Angelo" == Angelo Compagnucci <angelo@amarulasolutions.com> writes:
Hi,
>> Sure, I will use the upstream one I've missed when searching.
> Mizra, one of the authors of Mender is releasing a bump of the package
> with other fixes. We agreed on waiting on the package bump to fix the
> error instead of carrying a patch in buildroot that will bu useful
> only for a short period of time.
Ok, if it indeed is a "short time", we are very close to releasing
2018.08.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 7:35 ` Peter Korsgaard
@ 2018-08-29 9:39 ` Giulio Benetti
2018-08-29 9:49 ` Thomas Petazzoni
2018-08-29 9:56 ` Mirza Krak
0 siblings, 2 replies; 14+ messages in thread
From: Giulio Benetti @ 2018-08-29 9:39 UTC (permalink / raw)
To: buildroot
Hi,
Il 29/08/2018 09:35, Peter Korsgaard ha scritto:
>>>>>> "Angelo" == Angelo Compagnucci <angelo@amarulasolutions.com> writes:
>
> Hi,
>
> >> Sure, I will use the upstream one I've missed when searching.
>
> > Mizra, one of the authors of Mender is releasing a bump of the package
> > with other fixes. We agreed on waiting on the package bump to fix the
> > error instead of carrying a patch in buildroot that will bu useful
> > only for a short period of time.
>
> Ok, if it indeed is a "short time", we are very close to releasing
> 2018.08.
>
So can I send v2 patch? Sorry, I'm new and I don't understand.
Thanks
Giulio
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 9:39 ` Giulio Benetti
@ 2018-08-29 9:49 ` Thomas Petazzoni
2018-08-29 9:56 ` Mirza Krak
1 sibling, 0 replies; 14+ messages in thread
From: Thomas Petazzoni @ 2018-08-29 9:49 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 29 Aug 2018 11:39:42 +0200, Giulio Benetti wrote:
> > > Mizra, one of the authors of Mender is releasing a bump of the package
> > > with other fixes. We agreed on waiting on the package bump to fix the
> > > error instead of carrying a patch in buildroot that will bu useful
> > > only for a short period of time.
> >
> > Ok, if it indeed is a "short time", we are very close to releasing
> > 2018.08.
>
> So can I send v2 patch? Sorry, I'm new and I don't understand.
Yes, please. Having the backport now is good. And when/if a new Mender
version is released, we will decide what to do.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 9:39 ` Giulio Benetti
2018-08-29 9:49 ` Thomas Petazzoni
@ 2018-08-29 9:56 ` Mirza Krak
2018-08-29 13:43 ` Peter Korsgaard
1 sibling, 1 reply; 14+ messages in thread
From: Mirza Krak @ 2018-08-29 9:56 UTC (permalink / raw)
To: buildroot
On Wed, Aug 29, 2018 at 11:39 AM, Giulio Benetti
<giulio.benetti@micronovasrl.com> wrote:
> Hi,
>
> Il 29/08/2018 09:35, Peter Korsgaard ha scritto:
>>>>>>>
>>>>>>> "Angelo" == Angelo Compagnucci <angelo@amarulasolutions.com> writes:
>>
>>
>> Hi,
>>
>> >> Sure, I will use the upstream one I've missed when searching.
>>
>> > Mizra, one of the authors of Mender is releasing a bump of the package
>> > with other fixes. We agreed on waiting on the package bump to fix the
>> > error instead of carrying a patch in buildroot that will bu useful
>> > only for a short period of time.
Thank you Angelo for flattering me but I am far from "one of the
authors of Mender" and simply a community member gone employee that
gets paid to work on Mender :).
>>
>> Ok, if it indeed is a "short time", we are very close to releasing
>> 2018.08.
Providing some basis for a easier decision (sorry if it is a bit late
and might add confusion)
The options are (all fix the build error for ppc64le):
- Backport fix for the build failure (v2 sent by Giulio)
- Bump package to 1.5.0 (existing release)
- Bump package to 1.6.0 (in process of being released 1-2 weeks)
If it acceptable to bump the package I/or someone else could bump it
to 1.5.0 right now or wait 1-2 weeks for 1.6.0. Otherwise backport
patch and bump to 1.6.0 once it is released (guessing that this would
be after 2018.08 release, do not know what "very close" means :)).
--
Mirza Krak | Embedded Solutions Architect | https://mender.io
Northern.tech AS | @northerntechHQ
^ permalink raw reply [flat|nested] 14+ messages in thread
* [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8
2018-08-29 9:56 ` Mirza Krak
@ 2018-08-29 13:43 ` Peter Korsgaard
0 siblings, 0 replies; 14+ messages in thread
From: Peter Korsgaard @ 2018-08-29 13:43 UTC (permalink / raw)
To: buildroot
>>>>> "Mirza" == Mirza Krak <mirza.krak@northern.tech> writes:
Hi,
>>> Ok, if it indeed is a "short time", we are very close to releasing
>>> 2018.08.
> Providing some basis for a easier decision (sorry if it is a bit late
> and might add confusion)
> The options are (all fix the build error for ppc64le):
> - Backport fix for the build failure (v2 sent by Giulio)
> - Bump package to 1.5.0 (existing release)
> - Bump package to 1.6.0 (in process of being released 1-2 weeks)
> If it acceptable to bump the package I/or someone else could bump it
> to 1.5.0 right now or wait 1-2 weeks for 1.6.0. Otherwise backport
> patch and bump to 1.6.0 once it is released (guessing that this would
> be after 2018.08 release, do not know what "very close" means :)).
Thanks for the overview. As mender is new in 2018.08, both option 1 and
2 could work, but given we already have option 1 ready I will commit
that.
Patches for option 2 (and 3 once released) are as always welcome.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2018-08-29 13:43 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-28 17:01 [Buildroot] [PATCH] mender: fix ioctl build failure on powerpc64le / power8 Giulio Benetti
2018-08-28 17:12 ` Mirza Krak
2018-08-28 17:26 ` Giulio Benetti
2018-08-28 19:57 ` Thomas Petazzoni
2018-08-28 20:35 ` Giulio Benetti
2018-08-29 5:44 ` Angelo Compagnucci
2018-08-29 7:12 ` Thomas Petazzoni
2018-08-29 7:35 ` Peter Korsgaard
2018-08-29 9:39 ` Giulio Benetti
2018-08-29 9:49 ` Thomas Petazzoni
2018-08-29 9:56 ` Mirza Krak
2018-08-29 13:43 ` Peter Korsgaard
2018-08-28 19:56 ` Thomas Petazzoni
2018-08-28 20:34 ` Giulio Benetti
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.