Boost logo

Boost Users :

Subject: Re: [Boost-users] [filesystem] Strange problems on Cygwin with 1.36.0
From: Boris (boriss_at_[hidden])
Date: 2008-09-17 06:18:24


On Wed, 17 Sep 2008 11:53:03 +0200, Boris <boriss_at_[hidden]> wrote:

> On Wed, 17 Sep 2008 03:09:50 +0200, Steven Watanabe
> <watanabesj_at_[hidden]> wrote:
>
>> AMDG
>>
>> Boris wrote:
>>> unknown location(0): fatal error in "test_find_param":
>>> std::runtime_error: boost::filesystem::equivalent: No such file or
>>> directory:
>>> "\home\Boris\boost_1_36_0\libs\process\test\..\..\..\bin.v2\libs\process\test\gcc-3.4.4\debug\link-static\runtime-link-static\helpers.exe",
>>> "\home\Boris\boost_1_36_0\libs\process\test\..\..\..\bin.v2\libs\process\test\gcc-3.4.4\debug\link-static\runtime-link-static\helpers.exe"
>>> Both strings are exactly the same and contain valid Cygwin paths. Is
>>> Boost.Filesystem broken on Cygwin?
>>
>> Do the filesystem regressions pass?

I also tried now 'bjam.exe cxxflags=-DBOOST_CYGWIN_PATH -q':

gcc.link
../../../bin.v2/libs/filesystem/test/path_test.test/gcc-3.4.4/debug/link-static/path_test.exe
testing.capture-output
../../../bin.v2/libs/filesystem/test/path_test.test/gcc-3.4.4/debug/link-static/path_test.run
====== BEGIN OUTPUT ======
Platform is Windows
(933) source.directory_string(): "/foo\bar\" != expected: "\foo\bar\"
(934) source.directory_string(): "/\foo\bar\\" != expected: "\\foo\bar\\"
(935) source.directory_string(): "/foo\\\bar\\\" != expected:
"\foo\\\bar\\\"
../../../boost/test/minimal.hpp(117): test run_result == 0 || run_result
== boost::exit_success failed in function: 'int main(int, char**)'

**** 1 error detected

Inserter and extractor test...foo/bar...foo/bar complete
3 errors detected

EXIT STATUS: 201
====== END OUTPUT ======

If I try 'bjam.exe -q' the Windows API is used for the test cases and I
get a linker error (as I built all libraries with BOOST_POSIX_API). That's
the only error I understand. :)

Boris


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net