Summary: | net-misc/tor-0.2.7.2_alpha : openssl needs -bindist now (was: src/common/tortls.c:476:7: error: unknown type name ‘EC_KEY’) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | base-system |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://bugs.torproject.org/17109 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-history.txt
net-misc:tor-0.2.7.2_alpha:20150918-074955.log |
Description
Toralf Förster
2015-09-18 16:40:23 UTC
Created attachment 412192 [details]
emerge-history.txt
Created attachment 412194 [details]
net-misc:tor-0.2.7.2_alpha:20150918-074955.log
From IRC : [15:39] <toralf> is https://bugs.gentoo.org/560780 a Gentoo specific bug ? [15:41] <Yawning> what openssl are you building against [15:44] <toralf> Yawning: 1.0.2d AFAICR [15:44] <Yawning> was it built correctly? [15:45] <Yawning> where correctly is "has ECC support" in this context [15:45] <toralf> Yawning: oh yes - FWIW there's since today another user having the same bug [15:45] <toralf> Yawning: mom - that's of course another question [15:47] <Yawning> https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/openssl-1.0.2d.ebuild?view=markup [15:47] <toralf> Yawning: unfortuanetly I re-formatted my data disk to get rid of BTRFS entirely at my server, so I kicked off that image with that error [15:47] <Yawning> would appear to indicate that gentoo is doing special snowflake bullshit [15:47] <Yawning> and striping out the ECC support [15:48] <Yawning> 0.2.7.x will not build against openssl built that way [15:49] <Yawning> maybe autoconf should check to see if the openssl has that sort of braindamage at compile time, but this is the first time someone's gotten bit by that [15:49] <toralf> Yawning: ah,ok, so at least I do know where to look for - thx [15:49] <Yawning> (as in 0.2.7.x and later *require* ECC along with P256 or P244) [15:51] <Yawning> patches to fail earlier accepted, patches to revert what was an explicit decision probably not so much [15:52] <Wizzup> Yawning: gentoo seems to hide EC algorithms behind a bindist useflag, because they may be patented [15:52] <Wizzup> I am not sure if that is braindamaged, but it may be good to check for said functionality [15:52] <Yawning> it's braindamaged [15:52] <Yawning> redhat used to do that but stopped a while ago [15:52] <Wizzup> I think this is the case for many packages - for example, texture compression in mesa is the same, not just in gentoo Upstream would like a tester for a proposed patch to detect this error early, available at https://gitweb.torproject.org/sebastian/tor.git/patch/?id=9a237285816a09911d82e160f827649112bfd70c For 0.2.7.2-alpha this can be applied : https://gitweb.torproject.org/sebastian/tor.git/patch/?id=3c09da814a59567599de95a3bb7c249615e473c0 and yields then to an : checking whether we need extra options to link openssl... (none) configure: error: OpenSSL is built without full ECC support, including curves P256 and P224. You can specify a path to one with ECC support with --with-openssl-dir. Makefile:1895: recipe for target 'config.status' failed make: *** [config.status] Error 1 * ERROR: net-misc/tor-0.2.7.2_alpha::gentoo failed (compile phase): * emake failed * if the bindist USE flag was used to build openssl (which is the case for the stage3 images). (In reply to Toralf Förster from comment #4) their characterization of redhat is severely misleading. read what redhat actually does in bug 531540. *** This bug has been marked as a duplicate of bug 556210 *** |