Summary: | net-wireless/crda-3.18-r1 with >=dev-libs/openssl-1.1.0 - keys-ssl.c:57:19: error: field āeā has incomplete type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Quentin Minster <quentin> |
Component: | Current packages | Assignee: | Rick Farina (Zero_Chaos) <zerochaos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, cryptopsy, quentin |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 592438 | ||
Attachments: |
build.log
crda-3.18-openssl-1.1.0-compatibility.patch |
Created attachment 526534 [details, diff]
crda-3.18-openssl-1.1.0-compatibility.patch
Here is the patch I just sent upstream for this issue. It applies cleanly to upstream's master as well as Gentoo's crda 3.18.
Ugh sorry, that's not quite correct: it applies cleanly (though with line adjustments that `patch` figures out on its own) to Gentoo's crda after you remove the crda-3.18-openssl.patch patch. *** Bug 655684 has been marked as a duplicate of this bug. *** Thanks for your patch, what's the status upstream? Please add a link so we are able to track its inclusion. Package builds fine for me with your patch, thanks! Sorry for not providing an update earlier: upstream did not respond. I'm still not entirely sure I sent my email to the right address though. Right now I don't have time to spare to follow up on this, and I'm afraid that's not going to change before a while. Please feel free to pick up the patch and try to upstream it. However, how is this still an issue on Gentoo? I thought most of those OpenSSL 1.1 problems were gone when Gentoo decided to drop the `--api=` and `disable-deprecated` flags when configuring >=dev-libs/openssl-1.1.0. Only lunatics like me that still have those flags enabled should need this now. :p The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b3d816ab59a4e9a0b213743555f869141f0a071 commit 7b3d816ab59a4e9a0b213743555f869141f0a071 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-10-24 21:09:00 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-10-24 21:09:34 +0000 net-wireless/crda: Revbump to fix openssl-1.1 build failure. Also bumped ebuild to EAPI-6. Closes: https://bugs.gentoo.org/652428 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-wireless/crda/crda-3.18-r2.ebuild | 81 ++++++ .../crda-3.18-openssl-1.1.0-compatibility.patch | 315 +++++++++++++++++++++ 2 files changed, 396 insertions(+) *** Bug 669550 has been marked as a duplicate of this bug. *** |
Created attachment 526532 [details] build.log Since OpenSSL 1.1.0 made most structures opaque, net-wireless/crda fails to build against it. This is due to crda constructing OpenSSL bignums manually instead of using OpenSSL's API.