Wireshark-dev: [Wireshark-dev] Build of Wireshark 2.4.0 source is failing with 4 errors related
From: Michael Lum <michael.lum@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Jul 2017 12:09:52 -0700
Hello,
I have built 2.2.0, 2.2.1, 2.2.5 with no
problems.
I unpacked 2.4.0 source and created a build directory
ws240-64.
The first issue was a complaint about cmake version 3.5 not being
good enough.
I have now
installed cmake 3.8.2 which fixed the
previous problem. (Thank you Pascal
Quantin)
Thank you in
advance.
Windows 7
64-bit
Build
FAILED.
"C:\ws240-64\Wireshark.sln" (default target) (1)
->
"C:\ws240-64\docbook\release_notes_html.vcxproj.metaproj" (default target) (90) ->
"C:\ws240-64\docbook\release_notes_html.vcxproj" (default target) (95) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\ws240-64\docbook\release_notes_html.vcxproj]
"C:\ws240-64\docbook\release_notes_html.vcxproj.metaproj" (default target) (90) ->
"C:\ws240-64\docbook\release_notes_html.vcxproj" (default target) (95) ->
(CustomBuild target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\ws240-64\docbook\release_notes_html.vcxproj]
"C:\ws240-64\Wireshark.sln" (default target) (1) ->
"C:\ws240-64\docbook\developer_guide_chm.vcxproj.metaproj" (default target) (17) ->
"C:\ws240-64\docbook\generate_developer-guide.xml.vcxproj.metaproj" (default target) (50) ->
"C:\ws240-64\docbook\generate_developer-guide.xml.vcxproj" (default target) (54) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\ws240-64\docbook\generate_developer-guide.xml.vcxproj]
"C:\ws240-64\Wireshark.sln" (default target) (1) ->
"C:\ws240-64\copy_data_files.vcxproj.metaproj" (default target) (14) ->
"C:\ws240-64\doc\docs.vcxproj.metaproj" (default target) (44) ->
"C:\ws240-64\doc\docs.vcxproj" (default target) (100) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 2. [C:\ws240-64\doc\docs.vcxproj]
"C:\ws240-64\Wireshark.sln" (default target) (1) ->
"C:\ws240-64\docbook\all_guides.vcxproj.metaproj" (default target) (3) ->
"C:\ws240-64\docbook\user_guides.vcxproj.metaproj" (default target) (22) ->
"C:\ws240-64\docbook\user_guide_chm.vcxproj.metaproj" (default target) (23) ->
"C:\ws240-64\docbook\generate_user-guide.xml.vcxproj.metaproj" (default target) (26) ->
"C:\ws240-64\docbook\generate_user-guide.xml.vcxproj" (default target) (109) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\ws240-64\docbook\generate_user-guide.xml.vcxproj]
0 Warning(s)
4 Error(s)
4 Error(s)
Time Elapsed 00:00:19.16
C:\ws240-64>
I have the following
Cygwin components installed from the "Text" category:
(As far as I recall
from my previous Cygin setup I only chose the ones indicated in section 2.2.5 of
the Win32/Win64 setup page.)
asciidoc
8.6.9-1
biber
2.5-1
build-docbook-catalog 1.5-2
dblatex
0.3.10-1
docbook-xml45
4.5-1
docbook-xsl
1.77.1-1
groff
1.22.3-1
iso-codes
3.75-1
less
487-1
libaspell15
0.60.6.1-1
libteckit0
2.5.6-1
libthai0
0.1.26-1
poppler-data
0.4.7-1
sgml-common
0.6.3-3
suomi-malaga
1.19-1
xmlto
0.0.26-1
The build was done
using the following script with command '..\wireshark-2.4.0\mybuild.cmd
build:
C:\ws240-64>type
..\wireshark-2.4.0\mybuild.cmd
@echo off
set myPath=%~dp0
@echo off
set myPath=%~dp0
IF
[%WIRESHARK_BASE_DIR%] == [] (
REM
REM change this if you change version
REM
set WIRESHARK_BASE_DIR=C:\ws240-64
REM
REM change this if you change version
REM
set WIRESHARK_BASE_DIR=C:\ws240-64
REM
REM Note if you want to change this AFTER you have built:
REM Do 'clean', then 'prep', then 'build', 'package'
REM
set WIRESHARK_VERSION_EXTRA=-StarSolutions-1
REM Note if you want to change this AFTER you have built:
REM Do 'clean', then 'prep', then 'build', 'package'
REM
set WIRESHARK_VERSION_EXTRA=-StarSolutions-1
set
CYGWIN=nodosfilewarning
set WIRESHARK_TARGET_PLATFORM=win64
set QT5_BASE_DIR=C:\Qt\Qt5.6.2\5.6\msvc2013_64
set WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin64
set WIRESHARK_TARGET_PLATFORM=win64
set QT5_BASE_DIR=C:\Qt\Qt5.6.2\5.6\msvc2013_64
set WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin64
REM set
WIRESHARK_CYGWIN_INSTALL_PATH=c:\cygwin or whatever other path that is
applicable to your setup
)
)
echo
"WIRESHARK_CYGWIN_INSTALL_PATH=%WIRESHARK_CYGWIN_INSTALL_PATH%"
IF [%myPath%] ==
[%cd%\] (
echo Do not run this command from the source directory
echo "(run it from the target output directory %WIRESHARK_BASE_DIR%)"
echo i.e. ..\wireshark-xxx\mybuild.cmd %*
exit /b
)
echo Do not run this command from the source directory
echo "(run it from the target output directory %WIRESHARK_BASE_DIR%)"
echo i.e. ..\wireshark-xxx\mybuild.cmd %*
exit /b
)
IF [%1] == [build]
(
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln
exit /b
)
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln
exit /b
)
IF [%1] == [clean]
(
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln /t:Clean
exit /b
)
msbuild /m /p:Configuration=RelWithDebInfo Wireshark.sln /t:Clean
exit /b
)
IF [%1] == [package]
(
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
exit /b
)
msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
exit /b
)
IF [%1] == [prep]
(
@echo cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath%
cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath%
exit /b
)
@echo cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath%
cmake -DPYTHON_EXECUTABLE=c:\Python27\python -DENABLE_CHM_GUIDES=on -G "Visual Studio 12 2013 Win64" %myPath%
exit /b
)
echo
%myPath%mybuild.cmd {prep^|build^|clean^|package}
exit /b
exit /b
C:\ws240-64>
Michael Lum (michael.lum@xxxxxxxxxxxxxxxxx) | STAR SOLUTIONS | Principal Software Engineer
4600 Jacombs Road,
Richmond BC, Canada V6V 3B1 | +1.604.303.2315
- Prev by Date: [Wireshark-dev] win64 CMake bug - (CYGWIN_INSTALL_PATH redefinition)
- Next by Date: Re: [Wireshark-dev] Conditional compilation (debug)
- Previous by thread: [Wireshark-dev] win64 CMake bug - (CYGWIN_INSTALL_PATH redefinition)
- Next by thread: [Wireshark-dev] Master build fails without pcap
- Index(es):