[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-08-07 Thread Valeo de Vries

New submission from Valeo de Vries :

I'm under the impression that this is issue is known about, however I couldn't 
find an existing bug, so I'm creating a new one for the following test failure:


test_distutils
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lpython2.6
collect2: ld returned 1 exit status
test test_distutils failed -- Traceback (most recent call last):
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/tests/test_build_ext.py",
 line 258, in test_get_outputs
cmd.run()
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/command/build_ext.py",
 line 340, in run
self.build_extensions()
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/command/build_ext.py",
 line 449, in build_extensions
self.build_extension(ext)
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/command/build_ext.py",
 line 531, in build_extension
target_lang=language)
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/ccompiler.py",
 line 848, in link_shared_object
extra_preargs, extra_postargs, build_temp, target_lang)
  File 
"/var/tmp/paludis/build/dev-lang-python-2.6.4-r1/work/Python-2.6.4/Lib/distutils/unixccompiler.py",
 line 265, in link
raise LinkError, msg
LinkError: command 'i686-pc-linux-gnu-gcc' failed with exit status 1


Perhaps I'm missing something here, but surely trying to link against the 
system (i.e. already installed, pre-existing) libpython2.6 defeats the purpose 
of having a testsuite, if you're not actually going to be testing what you're 
actually installing?

Any enlightenment here would be appreciated.

--
components: Tests
messages: 113217
nosy: valeo
priority: normal
severity: normal
status: open
title: python-2.6.4: test failure in test_distutils due to linking to system 
libpython2.6
versions: Python 2.6

___
Python tracker 
<http://bugs.python.org/issue9539>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue9539] python-2.6.4: test failure in test_distutils due to linking to system libpython2.6

2010-08-08 Thread Valeo de Vries

Valeo de Vries  added the comment:

Thanks for the speedy response! I'm fairly certain that this affects 2.6.5 as 
well. I'll test and report back when I'm in front of my development machine 
(sometime tomorrow).

--

___
Python tracker 
<http://bugs.python.org/issue9539>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com