Re: 1.31.0 release candidate 3

I have tested 1.31.0 RC3 by using it to compile the test suite for my personal library libnuwen. The compile was clean without errors or warnings, including shadow warnings. So everything looks fine from my perspective, although I don't come close to using all of Boost. Stephan T. Lavavej http://nuwen.net

From the Darwin dept. I checked out a clean copy of boost using the tag Version_1_31_0 and ran the regression tests via tools/regression/run_tests.sh shell script. My compiler is: gcc (GCC) 3.3 20030304 (Apple Computer, Inc. build 1495) And the following pertinent environment variables were set prior to my test runs: TOOLS=darwin PYTHON_ROOT=/System/Library/Frameworks/Python.framework/Versions/2.3 PYTHON_VERSION=2.3 I compared (via eyeball) the results against the darwin results available from the boost web page. The existing results appear to be mostly the same, but I notice that the Boost.Python results are not run on that machine (see http://boost.sourceforge.net/regression-logs/cs-Darwin.html). Many python tests seem to fail on my machine (A G4 laptop running Panther, minus the most recent Software Update). Specifically, all 'run_pyd' tests fail. The results are along the lines of the following: (cut from cs-Darwin-links.html) running... ***************************************************************** Failure in example: from args_ext import * from line #1 of __main__ Exception raised: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/doctest.py", line 441, in _run_examples_inner compileflags, 1) in globs File "<string>", line 1, in ? ImportError: Failure linking new module: ../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib: dyld: /System/Library/Frameworks/Python.framework/Versions/2.3/bin/python2.3 can't open library: ../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib (No such file or directory, errno = 2) ***************************************************************** Failure in example: raw(3, 4, foo = 'bar', baz = 42) from line #3 of __main__ Exception raised: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/doctest.py", line 441, in _run_examples_inner compileflags, 1) in globs File "<string>", line 1, in ? NameError: name 'raw' is not defined ***************************************************************** Failure in example: raw(3, 4) from line #8 of __main__ Exception raised: Traceback (most recent call last): File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/doctest.py", line 441, in _run_examples_inner compileflags, 1) in globs File "<string>", line 1, in ? NameError: name 'raw' is not defined etcetera, etcetera, etcetera. To see if I could make some sense of this, I by hand made my way to the "hello world" example in libs/python/example/tutorial, and built it using bjam. Then, upon backtracking and finding the hello.so file (in bin/boost/libs/python/example/tutorial/hello.so/darwin/debug/shared-linkable-true), I tried to run python got the following feedback:
import hello Traceback (most recent call last): File "<stdin>", line 1, in ? ImportError: Failure linking new module: ../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib: dyld: python can't open library: ../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib (No such file or directory, errno = 2)
This seems to make sense, since in this case, the above search path doesn't have enough "../" repetitions in it. moving hello.so to a location where the above path is "relatively" valid (ie. three directories down from the "bin" directory) causes it to work correctly. Since I'm not very familiar with Boost.Build or Boost Jam, or dynamic linking on darwin for that matter, I don't know if these errors are due to some oversight on my part. I'd appreciate any input from others using a similar configuration. Cheers, ron

--- garcia <garcia@cs.indiana.edu> wrote:
(cut from cs-Darwin-links.html)
running... ***************************************************************** Failure in example: from args_ext import * from line #1 of __main__ Exception raised: Traceback (most recent call last): File
"/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/doctest.py",
line 441, in _run_examples_inner compileflags, 1) in globs File "<string>", line 1, in ? ImportError: Failure linking new module:
../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib:
dyld: /System/Library/Frameworks/Python.framework/Versions/2.3/bin/python2.3 can't open library:
../../../bin/boost/libs/python/build/libboost_python.dylib/darwin/debug/shared-linkable-true/libboost_python.dylib
(No such file or directory, errno = 2)
I am not familiar with bjam, so this is just a comment: Using our own SCons-based build system the Boost.Python library (from the rc3 zip file posted by Beman) incl. all regression tests compile and work without any problems under both OS 10.2 and 10.3. This suggests that the issues you are seeing must be due problems in the Jamfiles or bjam toolsets. Rene: If you need a fast machine (G5, Panther) to look at this you can use your account on scarlet.lbl.gov. Ralf __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/

At 09:27 PM 2/3/2004, Stephan T. Lavavej wrote:
I have tested 1.31.0 RC3 by using it to compile the test suite for my personal library libnuwen. The compile was clean without errors or warnings, including shadow warnings. So everything looks fine from my perspective, although I don't come close to using all of Boost.
Thanks for the report. Part of the point of public release candidates is to get different perspectives on the RC. So your experience is valuable to us. --Beman
participants (4)
-
Beman Dawes
-
garcia
-
Ralf W. Grosse-Kunstleve
-
Stephan T. Lavavej