* [Buildroot] Build failure with 2017.05.1
@ 2017-07-19 18:06 Carlos Santos
2017-07-19 19:09 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Santos @ 2017-07-19 18:06 UTC (permalink / raw)
To: buildroot
I got this error while building protobuf with Buildroot 2017.05.1:
>>> host-protobuf 3.2.0 Downloading
[...]
--2017-07-18 17:30:20-- https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
[...]
ERROR: 416f90939d4de58fe1a4e2489120010313183291.patch has wrong sha256 hash:
ERROR: expected: da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3
ERROR: got : 61e5b65b65e10f3ae7549b3a38eb30162ef298e387b1779d997ddf3633d63700
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
Looks like the "patches downloaded from Github are not stable"
issue already fixed by Thomas Petazzoni in several recipes.
I solved the problem by means of a local change that brings
the patch in the tree.
Should I submit a patch specific for the 2017.05.x branch or it
would be preferable to cherry-pick the commits that bump protobuf
to v3.3.0 from master to 2017.05.x?
--
Carlos Santos (Casantos) - DATACOM, P&D
Rua Am?rica, 1000 - Eldorado do Sul, RS, Brasil - 92990-000
casantos at datacom.ind.br +55 51 3933.3000 ext. 3627
http://www.datacom.ind.br
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Build failure with 2017.05.1
2017-07-19 18:06 [Buildroot] Build failure with 2017.05.1 Carlos Santos
@ 2017-07-19 19:09 ` Thomas Petazzoni
2017-07-19 19:38 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2017-07-19 19:09 UTC (permalink / raw)
To: buildroot
Hello,
On Wed, 19 Jul 2017 15:06:21 -0300 (BRT), Carlos Santos wrote:
> I got this error while building protobuf with Buildroot 2017.05.1:
>
> >>> host-protobuf 3.2.0 Downloading
> [...]
> --2017-07-18 17:30:20-- https://github.com/google/protobuf/commit/416f90939d4de58fe1a4e2489120010313183291.patch
> [...]
> ERROR: 416f90939d4de58fe1a4e2489120010313183291.patch has wrong sha256 hash:
> ERROR: expected: da80c39838515913633f4cbd875fdd4ad711be95c83a50ff5096b9f1254033b3
> ERROR: got : 61e5b65b65e10f3ae7549b3a38eb30162ef298e387b1779d997ddf3633d63700
> ERROR: Incomplete download, or man-in-the-middle (MITM) attack
>
> Looks like the "patches downloaded from Github are not stable"
> issue already fixed by Thomas Petazzoni in several recipes.
>
> I solved the problem by means of a local change that brings
> the patch in the tree.
>
> Should I submit a patch specific for the 2017.05.x branch or it
> would be preferable to cherry-pick the commits that bump protobuf
> to v3.3.0 from master to 2017.05.x?
We definitely don't want the bump to v3.3.0 in the maintenance branch,
unless there are security fixes associated.
However, I think we want to do in 2017.02.x and 2017.05.x what we did
in master: remove all Github patch downloads, and put the patches in
the tree instead. For most of the packages, I believe the commits can
be cherry-picked from master. A few packages will need specific
adjustments though.
Peter, do you agree?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Build failure with 2017.05.1
2017-07-19 19:09 ` Thomas Petazzoni
@ 2017-07-19 19:38 ` Peter Korsgaard
0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-07-19 19:38 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Hi,
> We definitely don't want the bump to v3.3.0 in the maintenance branch,
> unless there are security fixes associated.
> However, I think we want to do in 2017.02.x and 2017.05.x what we did
> in master: remove all Github patch downloads, and put the patches in
> the tree instead. For most of the packages, I believe the commits can
> be cherry-picked from master. A few packages will need specific
> adjustments though.
> Peter, do you agree?
Yes, I'll get to it once I'm done with build testing the current pile of
backports.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-19 19:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-19 18:06 [Buildroot] Build failure with 2017.05.1 Carlos Santos
2017-07-19 19:09 ` Thomas Petazzoni
2017-07-19 19:38 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox