* [Buildroot] Python 3 bcrypt error
@ 2023-01-14 6:31 Ernie Carp
2023-01-14 8:03 ` Yann E. MORIN
0 siblings, 1 reply; 3+ messages in thread
From: Ernie Carp @ 2023-01-14 6:31 UTC (permalink / raw)
To: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1279 bytes --]
Hello,
When compiling python3 on buildroot version 2022-11 I get an error message
about bcrypt.
The PyPi.org lists the sha256 hash as
27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
Need a little help to fix it.
[source.vendored-sources]
directory = "VENDOR"
ERROR: bcrypt-4.0.1.tar.gz has wrong sha256 hash:
ERROR: expected:
d64daee0af1afe137718674e67a49b8bb791842aab265b588a6d68d44a449c70
ERROR: got :
108aaa38326360d716f4a6e2e98bfe84969542e559bd8bfe3b09ccc93e6c2944
ERROR: Incomplete download, or man-in-the-middle (MITM) attack
wget --passive-ftp -nd -t 3 -O
'/home/ethertek/rms200v2/buildroot/output/build/.bcrypt-4.0.1.tar.gz.CquFUP/output'
'http://sources.buildroot.net/bcrypt-4.0.1.tar.gz'
--2023-01-14 06:19:19-- http://sources.buildroot.net/bcrypt-4.0.1.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 104.26.0.37,
172.67.72.56, 104.26.1.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|104.26.0.37|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2023-01-14 06:19:19 ERROR 404: Not Found.
make[1]: *** [package/pkg-generic.mk:189:
/home/ethertek/rms200v2/buildroot/output/build/python-bcrypt-4.0.1/.stamp_downloaded]
Error 1
make: *** [Makefile:84: _all] Error 2
Thank you,
Ernie.
[-- Attachment #1.2: Type: text/html, Size: 1984 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] Python 3 bcrypt error
2023-01-14 6:31 [Buildroot] Python 3 bcrypt error Ernie Carp
@ 2023-01-14 8:03 ` Yann E. MORIN
2023-01-14 8:41 ` Ernie Carp
0 siblings, 1 reply; 3+ messages in thread
From: Yann E. MORIN @ 2023-01-14 8:03 UTC (permalink / raw)
To: Ernie Carp; +Cc: buildroot
Ernie, All,
On 2023-01-13 22:31 -0800, Ernie Carp spake thusly:
> Hello,
> When compiling python3 on buildroot version 2022-11 I get an error message about bcrypt.
In Buildroot 2022.11, as well as in the 2022.11.x maintenance branch,
we only have pythonbcrypt 3.2.0, but the traces below refer to 4.0.1,
which is only in master.
So, are you sure you are using buildroot 2022.11? If so, how can you be
using python-bcrypt 4.0.1?
> The PyPi.org lists the sha256 hash as 27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
> Need a little help to fix it.
> [source.vendored-sources]
> directory = "VENDOR"
> ERROR: bcrypt-4.0.1.tar.gz has wrong sha256 hash:
> ERROR: expected: d64daee0af1afe137718674e67a49b8bb791842aab265b588a6d68d44a449c70
> ERROR: got : 108aaa38326360d716f4a6e2e98bfe84969542e559bd8bfe3b09ccc93e6c2944
> ERROR: Incomplete download, or man-in-the-middle (MITM) attack
This has now supposedly been fixed in master with commit ac2b26fba2ad
(support/download: fix cargo vendoring).
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] Python 3 bcrypt error
2023-01-14 8:03 ` Yann E. MORIN
@ 2023-01-14 8:41 ` Ernie Carp
0 siblings, 0 replies; 3+ messages in thread
From: Ernie Carp @ 2023-01-14 8:41 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: buildroot
[-- Attachment #1.1: Type: text/plain, Size: 1933 bytes --]
Hello Yann, All,
A few days ago I ran: git clone git://git.buildroot.net/buildroot
It grabbed Buildroot 2022.11-822-ga0a428f135-dirty
Not sure what's up with -dirty. I will try the buildroot-2022.11.tar.gz
archive instead.
Thank you,
Ernie.
On Sat, Jan 14, 2023 at 12:03 AM Yann E. MORIN <yann.morin.1998@free.fr>
wrote:
> Ernie, All,
>
> On 2023-01-13 22:31 -0800, Ernie Carp spake thusly:
> > Hello,
> > When compiling python3 on buildroot version 2022-11 I get an error
> message about bcrypt.
>
> In Buildroot 2022.11, as well as in the 2022.11.x maintenance branch,
> we only have pythonbcrypt 3.2.0, but the traces below refer to 4.0.1,
> which is only in master.
>
> So, are you sure you are using buildroot 2022.11? If so, how can you be
> using python-bcrypt 4.0.1?
>
> > The PyPi.org lists the sha256 hash as
> 27d375903ac8261cfe4047f6709d16f7d18d39b1ec92aaf72af989552a650ebd
> > Need a little help to fix it.
> > [source.vendored-sources]
> > directory = "VENDOR"
> > ERROR: bcrypt-4.0.1.tar.gz has wrong sha256 hash:
> > ERROR: expected:
> d64daee0af1afe137718674e67a49b8bb791842aab265b588a6d68d44a449c70
> > ERROR: got :
> 108aaa38326360d716f4a6e2e98bfe84969542e559bd8bfe3b09ccc93e6c2944
> > ERROR: Incomplete download, or man-in-the-middle (MITM) attack
>
> This has now supposedly been fixed in master with commit ac2b26fba2ad
> (support/download: fix cargo vendoring).
>
> Regards,
> Yann E. MORIN.
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___
> |
> | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is
> no |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v
> conspiracy. |
>
> '------------------------------^-------^------------------^--------------------'
>
[-- Attachment #1.2: Type: text/html, Size: 2659 bytes --]
[-- Attachment #2: Type: text/plain, Size: 150 bytes --]
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-01-14 8:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-14 6:31 [Buildroot] Python 3 bcrypt error Ernie Carp
2023-01-14 8:03 ` Yann E. MORIN
2023-01-14 8:41 ` Ernie Carp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox