This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients eric.araujo, loewis, ocean-city, tarek
Date 2010-08-11.05:13:55
SpamBayes Score 0.00018053091
Marked as misclassified No
Message-id <1281503639.97.0.974433671816.issue9558@psf.upfronthosting.co.za>
In-reply-to
Content
> Does test_build_ext pass?

Here are results. py26 is calling python_d.exe built with VS8.0.
I installed VS8.0 very recently, so I'm not familier with historical
reason. ;-)

# Translate error message into English...
# LINK : fatal error LNK1104: cannot open 'python26_d.lib'

//////////////////////////////////////////////////////
// Before applying patch

E:\python-dev\release26-maint>py26 -m distutils.tests.test_build_ext
test_build_ext (__main__.BuildExtTestCase) ... xxmodule.c
LINK : fatal error LNK1104: ファイル 'python26_d.lib' を開くことができません。
ERROR
test_build_ext_inplace (__main__.BuildExtTestCase) ... ok
test_build_ext_path_cross_platform (__main__.BuildExtTestCase) ... ok
test_build_ext_path_with_os_sep (__main__.BuildExtTestCase) ... ok
test_check_extensions_list (__main__.BuildExtTestCase) ... ok
test_compiler_option (__main__.BuildExtTestCase) ... ok
test_ext_fullpath (__main__.BuildExtTestCase) ... ok
test_finalize_options (__main__.BuildExtTestCase) ... ok
test_get_outputs (__main__.BuildExtTestCase) ... foo.c
   ライブラリ c:\docume~1\ocean\locals~1\temp\pythontest_mq7y1g\tempt\docume~1\o
cean\locals~1\temp\tmpt9b30o\foo_d.lib とオブジェクト c:\docume~1\ocean\locals~1
\temp\pythontest_mq7y1g\tempt\docume~1\ocean\locals~1\temp\tmpt9b30o\foo_d.exp
を作成中
foo.c
   ライブラリ c:\docume~1\ocean\locals~1\temp\pythontest_mq7y1g\tempt\docume~1\o
cean\locals~1\temp\tmpt9b30o\foo_d.lib とオブジェクト c:\docume~1\ocean\locals~1
\temp\pythontest_mq7y1g\tempt\docume~1\ocean\locals~1\temp\tmpt9b30o\foo_d.exp
を作成中
ok
test_get_source_files (__main__.BuildExtTestCase) ... ok
test_setuptools_compat (__main__.BuildExtTestCase) ... ok
test_solaris_enable_shared (__main__.BuildExtTestCase) ... ok

======================================================================
ERROR: test_build_ext (__main__.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "e:\python-dev\release26-maint\lib\distutils\tests\test_build_ext.py", li
ne 58, in test_build_ext
    cmd.run()
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
340, in run
    self.build_extensions()
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
449, in build_extensions
    self.build_extension(ext)
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
531, in build_extension
    target_lang=language)
  File "e:\python-dev\release26-maint\lib\distutils\ccompiler.py", line 769, in
link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "e:\python-dev\release26-maint\lib\distutils\msvc9compiler.py", line 647,
 in link
    raise LinkError(msg)
LinkError: command '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.exe"
' failed with exit status 1104

----------------------------------------------------------------------
Ran 12 tests in 31.005s

FAILED (errors=1)
Traceback (most recent call last):
  File "e:\python-dev\release26-maint\lib\runpy.py", line 122, in _run_module_as
_main
    "__main__", fname, loader, pkg_name)
  File "e:\python-dev\release26-maint\lib\runpy.py", line 34, in _run_code
    exec code in run_globals
  File "e:\python-dev\release26-maint\lib\distutils\tests\test_build_ext.py", li
ne 407, in <module>
    test_support.run_unittest(test_suite())
  File "e:\python-dev\release26-maint\lib\test\test_support.py", line 820, in ru
n_unittest
    _run_suite(suite)
  File "e:\python-dev\release26-maint\lib\test\test_support.py", line 803, in _r
un_suite
    raise TestFailed(err)
test.test_support.TestFailed: Traceback (most recent call last):
  File "e:\python-dev\release26-maint\lib\distutils\tests\test_build_ext.py", li
ne 58, in test_build_ext
    cmd.run()
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
340, in run
    self.build_extensions()
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
449, in build_extensions
    self.build_extension(ext)
  File "e:\python-dev\release26-maint\lib\distutils\command\build_ext.py", line
531, in build_extension
    target_lang=language)
  File "e:\python-dev\release26-maint\lib\distutils\ccompiler.py", line 769, in
link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "e:\python-dev\release26-maint\lib\distutils\msvc9compiler.py", line 647,
 in link
    raise LinkError(msg)
LinkError: command '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\link.exe"
' failed with exit status 1104

[34753 refs]

//////////////////////////////////////////////////////
// After applying patch

E:\python-dev\release26-maint>py26 -m distutils.tests.test_build_ext
test_build_ext (__main__.BuildExtTestCase) ... xxmodule.c
   ライブラリ c:\docume~1\ocean\locals~1\temp\pythontest_picqhq\Debug\docume~1\o
cean\locals~1\temp\pythontest_picqhq\xx_d.lib とオブジェクト c:\docume~1\ocean\l
ocals~1\temp\pythontest_picqhq\Debug\docume~1\ocean\locals~1\temp\pythontest_pic
qhq\xx_d.exp を作成中
ok
test_build_ext_inplace (__main__.BuildExtTestCase) ... ok
test_build_ext_path_cross_platform (__main__.BuildExtTestCase) ... ok
test_build_ext_path_with_os_sep (__main__.BuildExtTestCase) ... ok
test_check_extensions_list (__main__.BuildExtTestCase) ... ok
test_compiler_option (__main__.BuildExtTestCase) ... ok
test_ext_fullpath (__main__.BuildExtTestCase) ... ok
test_finalize_options (__main__.BuildExtTestCase) ... ok
test_get_outputs (__main__.BuildExtTestCase) ... foo.c
   ライブラリ c:\docume~1\ocean\locals~1\temp\pythontest_rm2eak\tempt\docume~1\o
cean\locals~1\temp\tmpg_ea28\foo_d.lib とオブジェクト c:\docume~1\ocean\locals~1
\temp\pythontest_rm2eak\tempt\docume~1\ocean\locals~1\temp\tmpg_ea28\foo_d.exp
を作成中
foo.c
   ライブラリ c:\docume~1\ocean\locals~1\temp\pythontest_rm2eak\tempt\docume~1\o
cean\locals~1\temp\tmpg_ea28\foo_d.lib とオブジェクト c:\docume~1\ocean\locals~1
\temp\pythontest_rm2eak\tempt\docume~1\ocean\locals~1\temp\tmpg_ea28\foo_d.exp
を作成中
ok
test_get_source_files (__main__.BuildExtTestCase) ... ok
test_setuptools_compat (__main__.BuildExtTestCase) ... ok
test_solaris_enable_shared (__main__.BuildExtTestCase) ... ok

----------------------------------------------------------------------
Ran 12 tests in 38.636s

OK
[34825 refs]
History
Date User Action Args
2010-08-11 05:14:00ocean-citysetrecipients: + ocean-city, loewis, tarek, eric.araujo
2010-08-11 05:13:59ocean-citysetmessageid: <1281503639.97.0.974433671816.issue9558@psf.upfronthosting.co.za>
2010-08-11 05:13:58ocean-citylinkissue9558 messages
2010-08-11 05:13:55ocean-citycreate