Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614770 - dev-python/cryptography fails to build with openssl-1.1
Summary: dev-python/cryptography fails to build with openssl-1.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-1.1
  Show dependency tree
 
Reported: 2017-04-05 15:24 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2018-06-13 11:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,3.84 KB, application/x-xz)
2017-04-05 15:25 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
cryptography-2.1.1-openssl-1.1.patch (cryptography-2.1.1-openssl-1.1.patch,11.86 KB, patch)
2017-10-17 06:36 UTC, Mark Wright
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.