<span style="font-family: Verdana; font-size: 12px;">Hi,</span><br><div><span style="font-family: Verdana; font-size: 12px;">going on building on XStream/illumos, gbuild runs a unit test and fails:</span><br><br><div><span style="font-size: 12px;"><font face="courier new">[build CUT] basic_scanner</font></span></div><div><span style="font-size: 12px;"><font face="courier new">DynamicLibraryManagerException: "Failed to load dynamic library: /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/LinkTarget/CppunitTest/libtest_basic_scanner.so</font></span></div><div><span style="font-size: 12px;"><font face="courier new">"</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">Error: a unit test failed, please do one of:</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">export DEBUGCPPUNIT=TRUE            # for exception catching</font></span></div><div><span style="font-size: 12px;"><font face="courier new">export GDBCPPUNITTRACE="gdb --args" # for interactive debugging</font></span></div><div><span style="font-size: 12px;"><font face="courier new">export VALGRIND=memcheck            # for memory checking</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">and retry using: make CppunitTest_basic_scanner</font></span></div><div style="font-family: Verdana; font-size: 12px;"><br></div><div style="font-family: Verdana; font-size: 12px;"><br></div><div style="font-family: Verdana; font-size: 12px;">So I went into the "basic" folder, and ran the first suggested option:</div></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><span style="font-size: 12px;"><font face="courier new">sonicle@vbxstreamdev:/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/basic$ export DEBUGCPPUNIT=TRUE</font></span></div><div><span style="font-size: 12px;"><font face="courier new">sonicle@vbxstreamdev:/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/basic$ gmake CppunitTest_basic_scanner LD_ALTEXEC=/usr/gnu/bin/ld</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[build CUT] basic_scanner</font></span></div><div><span style="font-size: 12px;"><font face="courier new">S=/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1 && O=$S/solver/unxsogi.pro && W=$S/workdir/unxsogi.pro &&  mkdir -p $W/CppunitTest/ &&   rm -fr $W/CppunitTest/basic_scanner.test.core && mkdir $W/CppunitTest/basic_scanner.test.core && cd $W/CppunitTest/basic_scanner.test.core && (LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib:$S/instdir/unxsogi.pro/program":$O/lib/sqlite   DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t   gdb -nx -ex "add-auto-load-safe-path $O/lib" --command=$S/solenv/bin/gdbtrycatchtrace-stdout -return-child-result --args  $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_basic_scanner.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install"    > $W/CppunitTest/basic_scanner.test.log 2>&1 || (RET=$? && cat $W/CppunitTest/basic_scanner.test.log && printf '\nError: a unit test failed, please do one of:\n\nexport DEBUGCPPUNIT=TRUE            # for exception catching\nexport GDBCPPUNITTRACE="gdb --args" # for interactive debugging\nexport VALGRIND=memcheck            # for memory checking\n\nand retry using: make %sTest_%s\n\n' Cppunit basic_scanner  && $S/solenv/bin/gdb-core-bt.sh $O/bin/cppunit/cppunittester $W/CppunitTest/basic_scanner.test.core $RET && false))</font></span></div><div><span style="font-size: 12px;"><font face="courier new">GNU gdb (GDB) 7.2</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Copyright (C) 2010 Free Software Foundation, Inc.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html></font></span></div><div><span style="font-size: 12px;"><font face="courier new">This is free software: you are free to change and redistribute it.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">There is NO WARRANTY, to the extent permitted by law.  Type "show copying"</font></span></div><div><span style="font-size: 12px;"><font face="courier new">and "show warranty" for details.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">This GDB was configured as "x86_64-pc-solaris2.11".</font></span></div><div><span style="font-size: 12px;"><font face="courier new">For bug reporting instructions, please see:</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><http://www.gnu.org/software/gdb/bugs/>...</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Reading symbols from /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/solver/unxsogi.pro/bin/cppunit/cppunittester...(no debugging symbols found)...done.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Undefined command: "add-auto-load-safe-path".  Try "help".</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Catchpoint 1 (throw)</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Catchpoint 2 (catch)</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Traceback (most recent call last):</font></span></div><div><span style="font-size: 12px;"><font face="courier new">  File "/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/solver/unxsogi.pro/lib/libuno_sal.so.3-gdb.py", line 12, in <module></font></span></div><div><span style="font-size: 12px;"><font face="courier new">    import importlib</font></span></div><div><span style="font-size: 12px;"><font face="courier new">ImportError: No module named importlib</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[Thread debugging using libthread_db enabled]</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[New Thread 1 (LWP 1)]</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[New LWP    2        ]</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[Switching to Thread 1 (LWP 1)]</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Catchpoint 1 (exception thrown), __cxxabiv1::__cxa_throw (obj=0x80511f0, tinfo=0xfef32bb4, dest=0xfeedfa20 <CppUnit::DynamicLibraryManagerException::~DynamicLibraryManagerException()>) at /sources/userlands/xstream-userland-gate/components/gcc44/gcc-4.4.7/libstdc++-v3/libsupc++/eh_throw.cc:66</font></span></div><div><span style="font-size: 12px;"><font face="courier new">66          = __get_refcounted_exception_header_from_obj (obj);</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#0  __cxxabiv1::__cxa_throw (obj=0x80511f0, tinfo=0xfef32bb4, dest=0xfeedfa20 <CppUnit::DynamicLibraryManagerException::~DynamicLibraryManagerException()>) at /sources/userlands/xstream-userland-gate/components/gcc44/gcc-4.4.7/libstdc++-v3/libsupc++/eh_throw.cc:66</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#1  0xfeedf9c6 in CppUnit::DynamicLibraryManager::loadLibrary(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/libcppunit-1.12.so.1</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#2  0xfeedf715 in CppUnit::DynamicLibraryManager::DynamicLibraryManager(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/libcppunit-1.12.so.1</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#3  0xfeee56e7 in CppUnit::PlugInManager::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, CppUnit::PlugInParameters const&) () from /usr/lib/libcppunit-1.12.so.1</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#4  0x0804a5f6 in (anonymous namespace)::ProtectedFixtureFunctor::run() const ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#5  0x0804afd7 in sal_main() ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#6  0x0804aaaf in main ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">Catchpoint 2 (exception caught), __cxxabiv1::__cxa_begin_catch (exc_obj_in=0x80511d0) at /sources/userlands/xstream-userland-gate/components/gcc44/gcc-4.4.7/libstdc++-v3/libsupc++/eh_catch.cc:43</font></span></div><div><span style="font-size: 12px;"><font face="courier new">43          = reinterpret_cast <_Unwind_Exception *>(exc_obj_in);</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#0  __cxxabiv1::__cxa_begin_catch (exc_obj_in=0x80511d0) at /sources/userlands/xstream-userland-gate/components/gcc44/gcc-4.4.7/libstdc++-v3/libsupc++/eh_catch.cc:43</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#1  0x0804a646 in (anonymous namespace)::ProtectedFixtureFunctor::run() const ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#2  0x0804afd7 in sal_main() ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">#3  0x0804aaaf in main ()</font></span></div><div><span style="font-size: 12px;"><font face="courier new">DynamicLibraryManagerException: "Failed to load dynamic library: /sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/LinkTarget/CppunitTest/libtest_basic_scanner.so</font></span></div><div><span style="font-size: 12px;"><font face="courier new">"</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[LWP    2         exited]</font></span></div><div><span style="font-size: 12px;"><font face="courier new">[New Thread 2        ]</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">Program exited with code 01.</font></span></div><div><span style="font-size: 12px;"><font face="courier new">No stack.</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">Error: a unit test failed, please do one of:</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">export DEBUGCPPUNIT=TRUE            # for exception catching</font></span></div><div><span style="font-size: 12px;"><font face="courier new">export GDBCPPUNITTRACE="gdb --args" # for interactive debugging</font></span></div><div><span style="font-size: 12px;"><font face="courier new">export VALGRIND=memcheck            # for memory checking</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">and retry using: make CppunitTest_basic_scanner</font></span></div><div><span style="font-size: 12px;"><font face="courier new"><br></font></span></div><div><span style="font-size: 12px;"><font face="courier new">gmake: *** [/sources/userlands/xstream-userland-gate/components/libreoffice/libreoffice-4.1.0.1/workdir/unxsogi.pro/CppunitTest/basic_scanner.test] Error 1</font></span></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><font face="Verdana"><span style="font-size: 12px;"><br></span></font></div><div><font face="Verdana"><span style="font-size: 12px;">What's happening?<br>Gabriele.</span></font></div><div style="color: rgb(0, 0, 0); font-family: Verdana; font-size: 12px;"><br></div>