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.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to