MarkusIppy / PowerTune

PowerTune Frontend
GNU General Public License v3.0
3 stars 0 forks source link

hash dont match #1

Closed flubbynl closed 3 years ago

flubbynl commented 3 years ago

i get this weirdness. what seems to be the problem? safe to say i'm a total newbie @ linux this error stuff pops up at the end i hope xD aren't there any prebuilt rpi images available?

rpi-userland 29835184aa70c13d77a11d721e934a7298bdf46a Downloading --2021-03-14 02:12:44-- https://github.com/raspberrypi/userland/archive/29835184aa70c13d77a11d721e934a7298bdf46a/rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/raspberrypi/userland/tar.gz/29835184aa70c13d77a11d721e934a7298bdf46a [following] --2021-03-14 02:12:44-- https://codeload.github.com/raspberrypi/userland/tar.gz/29835184aa70c13d77a11d721e934a7298bdf46a Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: ‘/home/fluffy/buildroot/output/build/.rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz.0qQXC9/output’

/home/fluffy/buildroot/output/build/.rpi-u [ <=> ] 31,40M 9,01MB/s in 3,6s

2021-03-14 02:12:48 (8,83 MB/s) - ‘/home/fluffy/buildroot/output/build/.rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz.0qQXC9/output’ saved [32927039]

ERROR: rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz has wrong sha256 hash: ERROR: expected: 476cde13d0d4bbf44ffc4d1d545847464d5c270bb72e4d940e43e5972c4de9da ERROR: got : 46a37eaf0de598ce5804e48a5efc2120e07d753a57ed83463ebfa551562eefe6 ERROR: Incomplete download, or man-in-the-middle (MITM) attack --2021-03-14 02:12:48-- http://sources.buildroot.net/rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz Resolving sources.buildroot.net (sources.buildroot.net)... 2606:4700:20::ac43:4838, 2606:4700:20::681a:25, 2606:4700:20::681a:125, ... Connecting to sources.buildroot.net (sources.buildroot.net)|2606:4700:20::ac43:4838|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 32927039 (31M) [application/x-gtar-compressed] Saving to: ‘/home/fluffy/buildroot/output/build/.rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz.9Q3EWr/output’

/home/fluffy/buildroot/output/build/.rpi-u 100%[=====================================================================================>] 31,40M 10,0MB/s in 3,1s

2021-03-14 02:12:51 (10,0 MB/s) - ‘/home/fluffy/buildroot/output/build/.rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz.9Q3EWr/output’ saved [32927039/32927039]

ERROR: rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz has wrong sha256 hash: ERROR: expected: 476cde13d0d4bbf44ffc4d1d545847464d5c270bb72e4d940e43e5972c4de9da ERROR: got : 46a37eaf0de598ce5804e48a5efc2120e07d753a57ed83463ebfa551562eefe6 ERROR: Incomplete download, or man-in-the-middle (MITM) attack package/pkg-generic.mk:139: recipe for target '/home/fluffy/buildroot/output/build/rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a/.stamp_downloaded' failed make[1]: [/home/fluffy/buildroot/output/build/rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a/.stamp_downloaded] Error 1 Makefile:79: recipe for target '_all' failed make: [_all] Error 2

cakelesscoder commented 3 years ago

Hey Flubby,

just been through this myself.

it is possible to change the expected hash to match the hash that will be received.

new to this whole compiling and github thing so bear with me:

open /home//buildroot/package/rpi-userland/rpi-userland.hash

now replace the code with the below code:

Locally computed

sha256 476cde13d0d4bbf44ffc4d1d545847464d5c270bb72e4d940e43e5972c4de9da rpi-#userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz

sha256 46a37eaf0de598ce5804e48a5efc2120e07d753a57ed83463ebfa551562eefe6 rpi-userland-29835184aa70c13d77a11d721e934a7298bdf46a.tar.gz

what that does is comments out the old expected hash, and replaces it with the hash key that will be received from the server.

save and continue to make!

I hope it helps you out!

flubbynl commented 3 years ago

seems that done the trick , happy compiling

cakelesscoder commented 3 years ago

Hey Flubbynl,

Were you able to successfully compile powertune?

I have reached an error “unknown modules in qt: charts location positioning sensors multimedia” and was wondering if you encountered it too and if so how you resolved it?

On Thu, 1 Apr 2021 at 1:20 pm, flubbynl @.***> wrote:

seems that done the trick , happy compiling

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarkusIppy/PowerTune/issues/1#issuecomment-811589129, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD54A5M4IVQ4ZBKWXN3TGPJ7NANCNFSM4ZENDWNA .

flubbynl commented 3 years ago

Hey Flubbynl, Were you able to successfully compile powertune? I have reached an error “unknown modules in qt: charts location positioning sensors multimedia” and was wondering if you encountered it too and if so how you resolved it? On Thu, 1 Apr 2021 at 1:20 pm, flubbynl @.***> wrote: seems that done the trick , happy compiling — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD54A5M4IVQ4ZBKWXN3TGPJ7NANCNFSM4ZENDWNA .

No man , tried replacing the qt5 files with newer version of buildroot but to no avail :( ended up fucking up the whole compile XD so is gonna be for another day u still on the qt error?

cakelesscoder commented 3 years ago

Yeah, still stuck. First time compiling anything at all. Quite lost on this unfortunately 😅

Have you got Insta or fb at all? May be more convenient to talk and troubleshoot if you wanted than emails haha. Going to be working on this today so hopefully will resolve it.

Good luck on your side too! Let me know if you are able to fix it up

On Fri, 2 Apr 2021 at 9:07 am, flubbynl @.***> wrote:

Hey Flubbynl, Were you able to successfully compile powertune? I have reached an error “unknown modules in qt: charts location positioning sensors multimedia” and was wondering if you encountered it too and if so how you resolved it? … <#m1807437287367523518> On Thu, 1 Apr 2021 at 1:20 pm, flubbynl @.***> wrote: seems that done the trick , happy compiling — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment) https://github.com/MarkusIppy/PowerTune/issues/1#issuecomment-811589129>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD54A5M4IVQ4ZBKWXN3TGPJ7NANCNFSM4ZENDWNA .

No man , tried replacing the qt5 files with newer version of buildroot but to no avail :( ended up fucking up the whole compile XD so is gonna be for another day u still on the qt error?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarkusIppy/PowerTune/issues/1#issuecomment-812200226, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD24MPSW3FRSMRKHIJTTGTVCNANCNFSM4ZENDWNA .

flubbynl commented 3 years ago

ghehe ye same here first time compiling. i have facebook ,but am not comfortable posting my full name on here XD

cakelesscoder commented 3 years ago

Have just seen your comment on GitHub re using another buildroots qt5 files. Did that end up working for you?

On Fri, 2 Apr 2021 at 9:13 am, flubbynl @.***> wrote:

ghehe ye same here first time compiling

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/MarkusIppy/PowerTune/issues/1#issuecomment-812202407, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD5QY43XK2VU5GPEZOLTGTVZTANCNFSM4ZENDWNA .

flubbynl commented 3 years ago

Have just seen your comment on GitHub re using another buildroots qt5 files. Did that end up working for you? On Fri, 2 Apr 2021 at 9:13 am, flubbynl @.***> wrote: ghehe ye same here first time compiling — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANONQD5QY43XK2VU5GPEZOLTGTVZTANCNFSM4ZENDWNA .

nope didnt work out :(