Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 614770

Summary: dev-python/cryptography fails to build with openssl-1.1
Product: Gentoo Linux Reporter: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 592438    
Attachments: build.log.xz
cryptography-2.1.1-openssl-1.1.patch

Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 15:24:20 UTC
See attached build.log file.

Please note that installed openssl-1.1 has been compiled with all deprecated
features being removed (--api=1.1.0)!
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-04-05 15:25:18 UTC
Created attachment 469246 [details]
build.log.xz
Comment 2 Mark Wright gentoo-dev 2017-10-17 06:36:03 UTC
Created attachment 498940 [details, diff]
cryptography-2.1.1-openssl-1.1.patch

Patch by me, I can try to upstream it if you like, thanks.  Its to dev-python/cryptography-2.1.1 which I just bumped it to in my /usr/local/portage by renaming cryptography-2.0.3.ebuild to cryptography-2.1.1.ebuild.

I could not run the ebuild tests.  I had to look at the warning messages in the build.log to see if I did anything silly, I can't spot anything.
Comment 3 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-03-31 18:49:26 UTC
can you retry with 2.1.4?  also, did you submit this upstream? (iirc I half remember something to do with ossl-1.1 and cryptography happening upstream.)
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-06-13 11:30:46 UTC
2.1.4-r2 also fails to build against openssl-1.1
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-06-13 11:55:05 UTC
Nevermind. Compiled against openssl-1.1 not coming from ::gentoo. With the ::gentoo package it compiles.