Created attachment 544458 [details] build.log got the following error: * Applying openssl-1.0.2o-hobble-ecc.patch ... 1 out of 3 hunks FAILED -- saving rejects to file crypto/ecdsa/ecdsatest [ !! ] * ERROR: dev-libs/openssl-1.0.2p::gentoo failed (prepare phase): * patch -p1 failed with /tmp/portage/dev-libs/openssl-1.0.2p/files/openssl-1.0.2o-hobble-ecc.patch
w520 / # cat /var/tmp/portage/dev-libs/openssl-1.0.2p/work/openssl-1.0.2p/crypto/ecdsa/ecdsatest.c.rej --- crypto/ecdsa/ecdsatest.c.fips-ec 2015-03-19 14:19:00.000000000 +0100 +++ crypto/ecdsa/ecdsatest.c 2015-04-22 19:00:19.722884536 +0200 @@ -138,11 +138,14 @@ int restore_rand(void) } static int fbytes_counter = 0; -static const char *numbers[8] = { +static const char *numbers[10] = { + "651056770906015076056810763456358567190100156695615665659", "651056770906015076056810763456358567190100156695615665659", "6140507067065001063065065565667405560006161556565665656654", "8763001015071075675010661307616710783570106710677817767166" "71676178726717", + "8763001015071075675010661307616710783570106710677817767166" + "71676178726717", "7000000175690566466555057817571571075705015757757057795755" "55657156756655", "1275552191113212300012030439187146164646146646466749494799", w520 / #
Created attachment 545660 [details, diff] corrected patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a759287ff6a18f8e07dcc1b571d1369dbace720c commit a759287ff6a18f8e07dcc1b571d1369dbace720c Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2018-08-31 20:44:18 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2018-08-31 20:45:08 +0000 dev-libs/openssl: fix USE=bindist Update hobble ECC patch against openssl-1.0.2p [Link 1]. Link 1: https://github.com/openssl/openssl/commit/949ff36623eafc3523a9f91784992965018ffb05 Closes: https://bugs.gentoo.org/664254 Package-Manager: Portage-2.3.48, Repoman-2.3.10 .../openssl/files/openssl-1.0.2p-hobble-ecc.patch | 283 +++++++++++++++++++++ dev-libs/openssl/openssl-1.0.2p.ebuild | 2 +- 2 files changed, 284 insertions(+), 1 deletion(-)