******************************************************************************** conan install libxml2/2.9.12@#c87245cf97d9e38e1b274eb6da5a63e7 --build=libxml2 -pr C:\J\w\prod\BuildSingleReference@3\117212\059584a8-330c-4460-95eb-b481a9b914cf/profile_windows_15_md_vs_release_64.libxml2-shared-True.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference@3\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference@3\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=15 os=Windows [options] libxml2:shared=True [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True zlib/1.2.13: Not found in local cache, looking in remotes... zlib/1.2.13: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.13: Downloaded recipe revision 647c91ed13c0a6c9ea9add6ca968ea93 libiconv/1.17: Not found in local cache, looking in remotes... libiconv/1.17: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libiconv/1.17: Downloaded recipe revision 3832bf4490d1a4ed8eae6722927ce589 libxml2/2.9.12: Forced build from source Installing package: libxml2/2.9.12 Requirements libiconv/1.17 from 'conan-center' - Downloaded libxml2/2.9.12 from local cache - Cache zlib/1.2.13 from 'conan-center' - Downloaded Packages libiconv/1.17:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download libxml2/2.9.12:e3ba3db01db2e183be2df759ca7bae564ef27315 - Build zlib/1.2.13:6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 - Download Installing (downloading, building) binaries... libiconv/1.17: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libiconv/1.17: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 libiconv/1.17: Downloaded package revision 23d76fb91016562e8af066b99c77c443 zlib/1.2.13: Retrieving package 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.13: Package installed 6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7 zlib/1.2.13: Downloaded package revision be952911dc48257f69f0a387caa1ab4f libiconv/1.17: Appending PATH environment var: C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\bin [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libxml2/2.9.12: Configuring sources in C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\source\src libxml2/2.9.12: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK libxml2/2.9.12: Copying sources to build folder libxml2/2.9.12: Building your package in C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315 libxml2/2.9.12: Generator txt created conanbuildinfo.txt libxml2/2.9.12: Calling generate() libxml2/2.9.12: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK libxml2/2.9.12: Calling build() libxml2/2.9.12: cscript configure.js compiler=msvc prefix=C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\package\e3ba3db01db2e183be2df759ca7bae564ef27315 cruntime=/MD debug=no static=no include="C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include" lib="C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib" c14n=yes catalog=yes docb=yes ftp=yes http=yes html=yes iconv=yes icu=no iso8859x=yes legacy=yes mem_debug=no output=yes pattern=yes push=yes python=no reader=yes regexps=yes run_debug=no sax1=yes schemas=yes schematron=yes threads=yes tree=yes valid=yes writer=yes xinclude=yes xpath=yes xptr=yes zlib=yes lzma=no ----Running------ > "C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315\build-release\conan\conanbuild.bat" && cscript configure.js compiler=msvc prefix=C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\package\e3ba3db01db2e183be2df759ca7bae564ef27315 cruntime=/MD debug=no static=no include="C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include" lib="C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib" c14n=yes catalog=yes docb=yes ftp=yes http=yes html=yes iconv=yes icu=no iso8859x=yes legacy=yes mem_debug=no output=yes pattern=yes push=yes python=no reader=yes regexps=yes run_debug=no sax1=yes schemas=yes schematron=yes threads=yes tree=yes valid=yes writer=yes xinclude=yes xpath=yes xptr=yes zlib=yes lzma=no ----------------- ********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.9.50 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. libxml2 version: 2.9.12 Created Makefile. Created config.h. XML processor configuration --------------------------- Trio: no Thread safety: yes FTP client: yes HTTP client: yes HTML processor: yes C14N support: yes Catalog support: yes DocBook support: yes XPath support: yes XPointer support: yes XInclude support: yes iconv support: yes icu support: no iso8859x support: yes zlib support: yes lzma support: no Debugging module: yes Memory debugging: no Runtime debugging: no Regexp support: yes Module support: yes Tree support: yes Reader support: yes Writer support: yes Walker support: yes Pattern support: yes Push support: yes Validation support: yes SAX1 support: yes Legacy support: yes Output support: yes XML Schema support: yes Schematron support: yes Python bindings: no Win32 build configuration ------------------------- Compiler: msvc C-Runtime option: /MD Embed Manifest: no Debug symbols: no Static xmllint: no Install prefix: C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\package\e3ba3db01db2e183be2df759ca7bae564ef27315 Put tools in: $(PREFIX)\bin Put headers in: $(PREFIX)\include Put static libs in: $(PREFIX)\lib Put shared libs in: $(PREFIX)\bin Include path: C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\include Lib path: C:\J\w\prod\BuildSingleReference@3\.conan\data\zlib\1.2.13\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib;C:\J\w\prod\BuildSingleReference@3\.conan\data\libiconv\1.17\_\_\package\6cc50b139b9c3d27b3e9042d5f5372d327b3a9f7\lib ----Running------ > "C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315\build-release\conan\conanbuild.bat" && nmake /f Makefile.msvc libxml libxmla libxmladll ----------------- ********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.9.50 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' if not exist bin.msvc mkdir bin.msvc if not exist int.msvc mkdir int.msvc cl.exe /EP /nologo /I..\include /D "NOLIBTOOL" /D "_REENTRANT" libxml2.def.src > int.msvc\libxml2.def rc -Fo int.msvc\libxml2.res libxml2.rc Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384 Copyright (C) Microsoft Corporation. All rights reserved. cl.exe /nologo /D "_WINDOWS" /D "_MBCS" /D "NOLIBTOOL" /W3 /wd4244 /wd4267 /MD /I.. /I..\include /IC:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\package\e3ba3db01db2e183be2df759ca7bae564ef27315\include /D "_REENTRANT" /D "HAVE_WIN32_THREADS" /D "HAVE_COMPILER_TLS" /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /D "NDEBUG" /O2 /Foint.msvc\ /c ..\buf.c ..\c14n.c ..\catalog.c ..\chvalid.c ..\debugXML.c ..\dict.c ..\DOCBparser.c ..\encoding.c ..\entities.c ..\error.c ..\globals.c ..\hash.c ..\HTMLparser.c ..\HTMLtree.c ..\legacy.c ..\list.c ..\nanoftp.c ..\nanohttp.c ..\parser.c ..\parserInternals.c ..\pattern.c ..\relaxng.c ..\SAX2.c ..\SAX.c ..\schematron.c ..\threads.c ..\tree.c ..\uri.c ..\valid.c ..\xinclude.c ..\xlink.c ..\xmlIO.c ..\xmlmemory.c ..\xmlreader.c ..\xmlregexp.c ..\xmlmodule.c ..\xmlsave.c ..\xmlschemas.c ..\xmlschemastypes.c ..\xmlunicode.c ..\xmlwriter.c ..\xpath.c ..\xpointer.c ..\xmlstring.c buf.c c14n.c catalog.c chvalid.c debugXML.c dict.c DOCBparser.c encoding.c ..\encoding.c(1833): warning C4090: 'function': different 'const' qualifiers entities.c error.c globals.c hash.c HTMLparser.c HTMLtree.c legacy.c list.c nanoftp.c ..\nanoftp.c(927): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winsock2.h(2225): note: see declaration of 'gethostbyname' ..\nanoftp.c(929): warning C4996: 'gethostbyname': Use getaddrinfo() or GetAddrInfoW() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um\winsock2.h(2225): note: see declaration of 'gethostbyname' nanohttp.c parser.c parserInternals.c Generating Code... Compiling... pattern.c relaxng.c SAX2.c SAX.c schematron.c threads.c tree.c uri.c valid.c xinclude.c xlink.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlmodule.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlunicode.c Generating Code... Compiling... xmlwriter.c xpath.c xpointer.c xmlstring.c Generating Code... c:\j\w\prod\buildsinglereference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315\src\xpath.c(506) : warning C4723: potential divide by 0 c:\j\w\prod\buildsinglereference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315\src\xpath.c(505) : warning C4723: potential divide by 0 link.exe /nologo /VERSION:2.9 /LIBPATH:bin.msvc /LIBPATH:C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\package\e3ba3db01db2e183be2df759ca7bae564ef27315\lib /DLL /IMPLIB:bin.msvc\libxml2.lib /OUT:bin.msvc\libxml2.dll int.msvc\buf.obj int.msvc\c14n.obj int.msvc\catalog.obj int.msvc\chvalid.obj int.msvc\debugXML.obj int.msvc\dict.obj int.msvc\DOCBparser.obj int.msvc\encoding.obj int.msvc\entities.obj int.msvc\error.obj int.msvc\globals.obj int.msvc\hash.obj int.msvc\HTMLparser.obj int.msvc\HTMLtree.obj int.msvc\legacy.obj int.msvc\list.obj int.msvc\nanoftp.obj int.msvc\nanohttp.obj int.msvc\parser.obj int.msvc\parserInternals.obj int.msvc\pattern.obj int.msvc\relaxng.obj int.msvc\SAX2.obj int.msvc\SAX.obj int.msvc\schematron.obj int.msvc\threads.obj int.msvc\tree.obj int.msvc\uri.obj int.msvc\valid.obj int.msvc\xinclude.obj int.msvc\xlink.obj int.msvc\xmlIO.obj int.msvc\xmlmemory.obj int.msvc\xmlreader.obj int.msvc\xmlregexp.obj int.msvc\xmlmodule.obj int.msvc\xmlsave.obj int.msvc\xmlschemas.obj int.msvc\xmlschemastypes.obj int.msvc\xmlunicode.obj int.msvc\xmlwriter.obj int.msvc\xpath.obj int.msvc\xpointer.obj int.msvc\xmlstring.obj int.msvc\libxml2.res wsock32.lib ws2_32.lib iconv.lib charset.lib zlib.lib kernel32.lib LINK : fatal error LNK1181: cannot open input file 'wsock32.lib' libxml2/2.9.12: Microsoft (R) Program Maintenance Utility Version 14.16.27048.0 Copyright (C) Microsoft Corporation. All rights reserved. libxml2.def.src NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe"' : return code '0x49d' Stop. libxml2/2.9.12: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libxml2/2.9.12: ERROR: Package 'e3ba3db01db2e183be2df759ca7bae564ef27315' build failed libxml2/2.9.12: WARN: Build folder C:\J\w\prod\BuildSingleReference@3\.conan\data\libxml2\2.9.12\_\_\build\e3ba3db01db2e183be2df759ca7bae564ef27315\build-release ERROR: libxml2/2.9.12: Error in build() method, line 291 self._build_msvc() while calling '_build_msvc', line 209 self.run("nmake /f Makefile.msvc libxml libxmla libxmladll") ConanException: Error 2 while executing nmake /f Makefile.msvc libxml libxmla libxmladll