From: Leo Famulari <leo@famulari.name>
To: Christopher Allan Webber <cwebber@dustycloud.org>
Cc: 22876@debbugs.gnu.org
Subject: bug#22876: Python can't use https with recent grafts
Date: Tue, 1 Mar 2016 19:23:07 -0500 [thread overview]
Message-ID: <20160302002307.GB18810@jasmine> (raw)
In-Reply-To: <87oaaxspmy.fsf@dustycloud.org>
On Tue, Mar 01, 2016 at 04:13:41PM -0800, Christopher Allan Webber wrote:
> Christopher Allan Webber writes:
>
> > Most of Guix seems to be working just fine with the grafts support and
> > grafting of openssl. However, unlike most grafts that will be done
> > probably, this one removes a feature, and that seems to be creating
> > problems in Python land.
> >
> > >>> from urllib.request import HTTPSHandler
> > Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: cannot import name 'HTTPSHandler'
>
> As expected, this is for the same reasons offlineimap seemed to have
> problems:
>
> cwebber@oolong:~/devel/mediagoblin$ python3
> Python 3.4.3 (default, Jan 1 1970, 00:00:01)
> [GCC 4.9.3] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import ssl
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/gnu/store/1spkp48cbbzg6ic5qkv3qpm3mvsgwkys-python-3.4.3/lib/python3.4/ssl.py", line 97, in <module>
> import _ssl # if we can't import it, let the error propagate
> ImportError: /gnu/store/1spkp48cbbzg6ic5qkv3qpm3mvsgwkys-python-3.4.3/lib/python3.4/lib-dynload/_ssl.cpython-34m.so: undefined symbol: SSLv2_method
We need to get that SSLv2 out of there!
>
> This leads to my suspicion that it's not really grafting's fault here,
> it's the *removal* of a piece of code, thus making things
> abi-incompatible with the system we built. Hopefully most grafting
> situations won't require this. I think that's right? :)
It seems like most security updates are ABI compatible, thankfully. This
was a special case since it removed an insecure protocol completely.
>
> Unfortunately, I'd say that ssl and python isn't really optional!
> Is it possible to graft on top of a graft? Could we rebuild Python
> based on the grafted openssl, and then graft things on top of the
> grafted Python? :)
>
>
>
next prev parent reply other threads:[~2016-03-02 0:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-01 23:59 bug#22876: Python can't use https with recent grafts Christopher Allan Webber
2016-03-02 0:13 ` Leo Famulari
2016-03-02 0:13 ` Christopher Allan Webber
2016-03-02 0:23 ` Leo Famulari [this message]
2016-03-02 0:39 ` Jookia
2016-03-02 9:22 ` Ludovic Courtès
2016-03-02 7:27 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160302002307.GB18810@jasmine \
--to=leo@famulari.name \
--cc=22876@debbugs.gnu.org \
--cc=cwebber@dustycloud.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.