Build failure with 2017.05.1
I got this error while building protobuf with Buildroot 2017.05.1:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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?
Signature · 4 lines
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
Hello,
Quoted 14 lines · Carlos Santos
I got this error while building protobuf with Buildroot 2017.05.1:
Quoted 1 line
Quoted 1 line
Quoted 1 line
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) attackLooks like the "patches downloaded from Github are not stable" issue already fixed by Thomas Petazzoni in several recipes.
Quoted 6 lines
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
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Petazzoni <[email protected]> writes:
Hi,
Quoted 10 lines
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.
Signature · 1 line
Bye, Peter Korsgaard