I'm stumped.

Very little has changed since 1.5.17 on July 20 that you say worked fine. In 
particular, nothing using regex has changed in any way. It's behaving as if it 
can't find some boost::regex components, though the log plainly shows it 
linking against libboost_regex.

Maybe something on your side? I'm somewhat suspicious about the interplay 
between gcc 4.9, std::string, and boost. Is it possible that you are compiling 
OIIO with gcc 4.9 in non-C++11 mode, but the boost you're linking against was 
compiled with gcc 5.x? Or the new std::string implementation? Or in C++11 mode 
(which may well simply pass it through to std::regex without supplying any of 
its own components)?

If you aren't keen to investigate, you may also want to try just compiling with 
OIIO_BUILD_TESTS=0, in the hopes that whatever is going wrong is limited to the 
tests, and not the main binaries you're really after.

        -- lg


> On Aug 6, 2015, at 8:40 AM, Ghislain Vaillant <[email protected]> wrote:
> 
> This is the error message from the log:
> 
> 
> Linking CXX executable array_view_test
> cd "/«PKGBUILDDIR»/build/src/libutil" && /usr/bin/cmake -E cmake_link_script 
> CMakeFiles/array_view_test.dir/link.txt --verbose=1
> /usr/bin/g++-4.9   -g -O2 -fstack-protector-strong -Wformat 
> -Werror=format-security -D_FORTIFY_SOURCE=2    -Wl,-z,relro -latomic 
> CMakeFiles/array_view_test.dir/array_view_test.cpp.o  -o array_view_test 
> -rdynamic libOpenImageIO_Util.so.1.5.18 -lboost_filesystem -lboost_regex 
> -lboost_system -lboost_thread -lpthread -lrt -ldl -lHalf -lIex -lImath 
> -lIlmThread -lpthread -Wl,-rpath,"/«PKGBUILDDIR»/build/src/libutil"
> libOpenImageIO_Util.so.1.5.18: undefined reference to 
> `boost::match_results<__gnu_cxx::__normal_iterator<char const*, std::string>, 
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, 
> std::string> > > 
> >::maybe_assign(boost::match_results<__gnu_cxx::__normal_iterator<char 
> const*, std::string>, 
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, 
> std::string> > > > const&)'
> libOpenImageIO_Util.so.1.5.18: undefined reference to 
> `boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, 
> std::string>, 
> std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, 
> std::string> > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > 
> >::construct_init(boost::basic_regex<char, boost::regex_traits<char, 
> boost::cpp_regex_traits<char> > > const&, 
> boost::regex_constants::_match_flags)'
> collect2: error: ld returned 1 exit status
> 
> 
> Ghis
> 
> 
> 
> On 06/08/15 16:09, Larry Gritz wrote:
>> I don't see any error messages there. Spurious problem with the build 
>> machine? Try again making sure that VERBOSE=1?
>> 
>>      -- lg
>> 
>> 
>>> On Aug 6, 2015, at 2:01 AM, Matteo F. Vescovi <[email protected]> wrote:
>>> 
>>> Hi Larry!
>>> 
>>> On Wed, Aug 5, 2015 at 2:48 AM, Larry Gritz <[email protected]> wrote:
>>>> I have tagged Release-1.5.18 (and updated the "release" branch to it).
>>>> 
>>>> This contains several minor bug fixes from the past few weeks.
>>> 
>>> ... but actually it fails for me:
>>> 
>>>  
>>> http://debomatic-amd64.debian.net/distribution#unstable/openimageio/1.5.18~dfsg0-1/buildlog
>>> 
>>> It's still using gcc 4.9.x but 1.5.17 built on July 20th went smoothly.
>>> 
>>> No idea. Could you please check? I could retry a re-build to see if
>>> it's a machine problem.
>>> 
>>> Cheers.
>>> 
>>> --
>>> Matteo F. Vescovi
>>> _______________________________________________
>>> Oiio-dev mailing list
>>> [email protected]
>>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> 
>> --
>> Larry Gritz
>> [email protected]
>> 
>> 
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
>> 

--
Larry Gritz
[email protected]


_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to