Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


On 12/05/2016 04:04 PM, jrattur wrote:
I'm building in win7 with cygwin (not using lode) and I added
--with-visual-studio=2015 to the autogen command (I have multiple versions
of visual studio installed). It ran happily for an hour and a half or so and
failed with this output:

/[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-document.cxx
[CXX] workdir/UnpackedTarball/cmis/src/libcmis/onedrive-folder.cxx
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx:437:Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Test_osl_executeProcess::osl_execProc_test_batch finished in: 30427ms
E:/sources/libo-core/sal/qa/osl/process/osl_process.cxx(437) : error :
Assertion
Test name: Test_osl_executeProcess::osl_execProc_test_batch
equality assertion failed
- Expected: 0
- Actual  : 4
- osl_createProcess failed

Failures !!!
Run: 1   Failure total: 1   Failures: 1   Errors: 0

Error: a unit test failed, please do one of:
make CppunitTest_sal_osl_process CPPUNITTRACE=TRUE # which is a shortcut for
the following line
make CppunitTest_sal_osl_process
CPPUNITTRACE="'C:/PROGRA~2/MICROS~3.0/VC//../Common7/IDE/devenv.exe'
/debugexe" # for interactive deb
ugging in Visual Studio

There should be a file workdir/LinkTarget/Executable/batch.bat, and the call to osl_executeProcess at line 422 of sal/qa/osl/process/osl_process.cxx is trying to execute that, but fails with osl_Process_E_Unknown (that's the "4" above, see enum oslProcessError in include/osl/process.h).

Hard to tell why something fundamental like that fails for you (best bet on Windows is always: anti virus software?). You can debug it via one of the two 'make CppunitTest_sal_osl_process ...' commands given above; the code of the failing osl_executeProcess is in sal/osl/w32/procimpl.cxx.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.