<div dir="ltr">Unfortunately, I have no idea. You might want to ask someone who's more familiar with the Python source than I am.<div><br></div><div>What exactly appears? Does it say anything about the source of the error?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 3:24 PM, Cyd Haselton <span dir="ltr"><<a href="mailto:chaselton@gmail.com" target="_blank">chaselton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>No traceback unfortunately...the fakechroot in the environment throws the error and <a href="http://setup.py" target="_blank">setup.py</a> fails.<br>
<br>
I'll roll back that change...any idea where I could find info about the original method?<div><div class="h5"><br><br><div class="gmail_quote">On February 2, 2015 3:17:54 PM CST, Ryan Gonzalez <<a href="mailto:rymg19@gmail.com" target="_blank">rymg19@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">In reality, things just got broken even more. I don't know when that patch was created, but it's now very out of date: importlib._bootstrap has no load function. That's what the error you're getting is telling you. Since it isn't getting to load anything, the issue seems "solved". Not really.<div><br></div><div>What's the full traceback for the undefined reference exception?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 2, 2015 at 2:04 PM, Cyd Haselton <span dir="ltr"><<a href="mailto:chaselton@gmail.com" target="_blank">chaselton@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Update: While waiting for replies I made the change referenced here: <a href="https://bugs.python.org/review/5309/diff2/12811:12826/setup.py?context=3&column_width=80" target="_blank">https://bugs.python.org/review/5309/diff2/12811:12826/setup.py?context=3&column_width=80</a><br>
<br>
specifically changing <br>
       importlib. _bootstrap._SpecMethods(spec).load()<br>
to<br>
       importlib._bootstrap.load(spec)<br>
<br>
I no longer get a terminating 'undefined reference to dlopen' error, but I do get 'importing extensions failed' errors for each extension...like this:<br>
<br>
*** WARNING: importing extension "_pickle" failed with <class 'AttributeError'>: 'module' object has no attribute 'load'<div><div><br><br><div class="gmail_quote">On February 2, 2015 1:36:29 PM CST, Cyd Haselton <<a href="mailto:chaselton@gmail.com" target="_blank">chaselton@gmail.com</a>> wrote:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
After fixing a segfault issue (many thanks Ryan) I'm back to the same issue I was having with Python 2.7.8; the newly built python throws an undefined reference to dlopen when running <a href="http://setup.py" target="_blank">setup.py</a>...specifically when importing just-built extensions<br>
<br>
I've managed to narrow the problem down to the following line:<br>
<br>
importlib._bootstrap._SpecMethods(spec).load()<br>
<br>
Googling this brings up a few hits from <a href="http://bugs.python.org" target="_blank">bugs.python.org</a> and not much else.  I'm new to Python; any ideas what this does...or where I can read up on it for troubleshooting purposes?<br></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></div><br>_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org" target="_blank">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com" target="_blank">https://mail.python.org/mailman/options/python-dev/rymg19%40gmail.com</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Ryan<div><div>If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated."</div></div>Personal reality distortion fields are immune to contradictory evidence. - srean<div>Check out my website: <a href="http://kirbyfan64.github.io/" target="_blank">http://kirbyfan64.github.io/</a></div></div></div>
</div>
</blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</div></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Ryan<div><div>If anybody ever asks me why I prefer C++ to C, my answer will be simple: "It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was nul-terminated."</div></div>Personal reality distortion fields are immune to contradictory evidence. - srean<div>Check out my website: <a href="http://kirbyfan64.github.io/" target="_blank">http://kirbyfan64.github.io/</a></div></div></div>
</div>