RUN_TESTS vc++ 2010 build failure

17 views
Skip to first unread message

musi...@gmail.com

unread,
Nov 26, 2017, 1:02:48 PM11/26/17
to libarchive-discuss
Win7x64 - x32 release build:

1>  The following tests FAILED:
1>      375 - libarchive_test_sparse_basic (Failed)
1>      376 - libarchive_test_fully_sparse_files (Failed)
1>      389 - libarchive_test_warn_missing_hardlink_target (Failed)
1>      517 - bsdcat_test_version (Failed)
1>      578 - bsdtar_test_version (Failed)
1>      609 - bsdcpio_test_option_version (Failed)
1>  Errors while running CTest
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "setlocal
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake\bin\ctest.exe" --force-new-ctest-process -C Release
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 8.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:06:32.85
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

I'm clueless.  Any idea what I'm doing wrong?

Tim Kientzle

unread,
Nov 26, 2017, 1:41:02 PM11/26/17
to musi...@gmail.com, libarchiv...@googlegroups.com

Win7x64 - x32 release build:

1>  The following tests FAILED:
1>      375 - libarchive_test_sparse_basic (Failed)
1>      376 - libarchive_test_fully_sparse_files (Failed)

Libarchive does not currently support sparse files when running on Windows; we should probably skip those tests.

1>      389 - libarchive_test_warn_missing_hardlink_target (Failed)

Libarchive does not currently support hardlinks when running on Windows; we should probably also skip this test.

1>      517 - bsdcat_test_version (Failed)
1>      578 - bsdtar_test_version (Failed)
1>      609 - bsdcpio_test_option_version (Failed)

I’m not sure what’s happening here.  The test harness leaves log files for all failing tests.  If you could send us the log for these, that would be appreciated.

Tim



MusicLovr

unread,
Nov 26, 2017, 1:58:46 PM11/26/17
to Tim Kientzle, libarchiv...@googlegroups.com
All 3 are the same:
 
..\..\test_utils\test_main.c(2101): Assertion failed: *q == ' '
   Description: No space after version: `` ''
test_version.log
test_option_version.log
test_version.log

Tim Kientzle

unread,
Dec 2, 2017, 1:49:54 AM12/2/17
to MusicLovr, libarchiv...@googlegroups.com
Thank you.  That does narrow down the problem.  Apparently, your build of the command-line programs has a different version output for some reason.

Could you please run 

    bsdtar --version

and let me know what you see as the output?
Reply all
Reply to author
Forward
0 new messages