Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 424159 - dev-python/urlgrabber-3.9.1-r1 - import pycurl: ImportError: /usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
Summary: dev-python/urlgrabber-3.9.1-r1 - import pycurl: ImportError: /usr/lib64/pytho...
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: 434126
Blocks:
  Show dependency tree
 
Reported: 2012-06-29 20:34 UTC by David Sperling
Modified: 2012-11-06 11:31 UTC (History)
0 users

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


Attachments
url grabber emerge info (urlgrabber_emerge_info.txt,4.78 KB, text/plain)
2012-06-29 20:34 UTC, David Sperling
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Sperling 2012-06-29 20:34:59 UTC
Created attachment 316645 [details]
url grabber emerge info

Hi-

I'm updating my machine, everything in emerge world went OK but can't seem to get urlgrabber to emerge.  Seems like others are having the same issue:

http://forums.gentoo.org/viewtopic-p-7072798.html


>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 5) dev-python/urlgrabber-3.9.1-r1
 * urlgrabber-3.9.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                [ ok ]
>>> Unpacking source...
>>> Unpacking urlgrabber-3.9.1.tar.gz to /var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work
>>> Source unpacked in /var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work
>>> Preparing source in /var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1 ...
 * Applying urlgrabber-3.9.1.patch ...                                                                    [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1 ...
 * Building of dev-python/urlgrabber-3.9.1-r1 with CPython 2.7...
python2.7 setup.py build -b build-2.7
Traceback (most recent call last):
  File "setup.py", line 3, in <module>
    import urlgrabber as _urlgrabber
  File "/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1/urlgrabber/__init__.py", line 54, in <module>
    from grabber import urlgrab, urlopen, urlread
  File "/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1/urlgrabber/grabber.py", line 427, in <module>
    import pycurl
ImportError: /usr/lib64/python2.7/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback
 * ERROR: dev-python/urlgrabber-3.9.1-r1 failed (compile phase):
 *   Building failed with CPython 2.7 in distutils_building() function
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 5010:  Called distutils_src_compile
 *   environment, line 1177:  Called python_execute_function 'distutils_building'
 *   environment, line 3394:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 * 
 * If you need support, post the output of `emerge --info '=dev-python/urlgrabber-3.9.1-r1'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/urlgrabber-3.9.1-r1'`.
 * The complete build log is located at '/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1'
 * S: '/var/tmp/portage/dev-python/urlgrabber-3.9.1-r1/work/urlgrabber-3.9.1'

>>> Failed to emerge dev-python/urlgrabber-3.9.1-r1, Log file:

emerge info attached.



Cheers,
Comment 1 Rafał Mużyło 2012-06-29 21:23:46 UTC
Did you rebuild pycurl ?
What's the output of 'emerge -1pv pycurl' ?
Comment 2 David Sperling 2012-06-29 21:28:02 UTC
Thank you Rafal-

I re-emerged pycurl and then tried to emerge urlgrabber but urlgrabber still fails with the same error on emerge.

Here is the requested output:

emerge -1pv pycurl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] dev-python/pycurl-7.19.0  USE="-examples" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 David Sperling 2012-06-29 21:31:46 UTC
Not sure if this is relevant or not but throwing it out just in case:

eselect python list
Available Python interpreters:
  [1]   python2.7 *
  [2]   python3.1
  [3]   python3.2
Comment 4 Rafał Mużyło 2012-06-29 22:13:48 UTC
Try 7.19.0-r1.
Comment 5 David Sperling 2012-06-29 22:21:50 UTC
Awesome.  This resolved it:

echo 'dev-python/pycurl' >> /etc/portage/package.keywords; emerge pycurl urlgrabber;


Thank you for all the help and quick response!


Cheers,
Comment 6 Aljoscha Vollmerhaus 2012-07-03 10:24:40 UTC
(In reply to comment #5)
> Awesome.  This resolved it:
> 
> echo 'dev-python/pycurl' >> /etc/portage/package.keywords; emerge pycurl
> urlgrabber;
> 
> 
> Thank you for all the help and quick response!
> 
> 
> Cheers,

Worked for me as well! Thanks
Comment 7 Ian Delaney (RETIRED) gentoo-dev 2012-11-06 11:31:25 UTC
fixed by emerge of dev-python/pycurl 7.19.0-r1