microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.17k stars 6.39k forks source link

OpenImageIO build fails #4316

Closed anadodik closed 5 years ago

anadodik commented 6 years ago

I tried running ./vcpkg install openimageio but the build fails. I have pulled the newest version of vcpkg from the repo:

  Package: openimageio:x64-linux
  Vcpkg version: 0.0.113-unknownhash

Here are the relevant log files:

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../bmpsuite -- -> Will not run tests bmp -- -> You can find it at http://entropymine.com/jason/bmpsuite/bmpsuite.zip

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../libtiffpic -- -> Will not run tests tiff-suite;tiff-depths;tiff-misc -- -> You can find it at http://www.simplesystems.org/libtiff/images.html

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../openexr-images -- -> Will not run tests openexr-suite;openexr-multires;openexr-chroma;openexr-v2;perchannel -- -> You can find it at http://www.openexr.com/downloads.html

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../oiio-images -- -> Will not run tests gif -- -> You can find it at Recent checkout of oiio-images

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../j2kp4files_v1_5 -- -> Will not run tests jpeg2000 -- -> You can find it at http://www.itu.int/net/ITU-T/sigdb/speimage/ImageForm-s.aspx?val=10100803

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../oiio-images/pnm -- -> Will not run tests pnm -- -> You can find it at Recent checkout of oiio-images

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../oiio-images/raw -- -> Will not run tests raw -- -> You can find it at Recent checkout of oiio-images

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../TGAUTILS -- -> Will not run tests targa-tgautils -- -> You can find it at http://tgautils.inequation.org/

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../fits-images -- -> Will not run tests fits -- -> You can find it at http://www.cv.nrao.edu/fits/data/tests/

--

Did not find /home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/../webp-images -- -> Will not run tests webp -- -> You can find it at http://code.google.com/speed/webp/gallery.html

-- Configuring done -- Generating done -- Build files have been written to: /home/dfp/Downloads/vcpkg/buildtrees/openimageio/x64-linux-rel

* buildtrees/openimageio/config-x64-linux-rel-err.log

CMake Deprecation Warning at CMakeLists.txt:17 (cmake_policy): The OLD behavior for policy CMP0046 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:839 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:950 (_Boost_COMPONENT_DEPENDENCIES) /home/dfp/Downloads/vcpkg/downloads/tools/cmake-3.11.4-linux/cmake-3.11.4-Linux-x86_64/share/cmake-3.11/Modules/FindBoost.cmake:1618 (_Boost_MISSING_DEPENDENCIES) /home/dfp/Downloads/vcpkg/scripts/buildsystems/vcpkg.cmake:189 (_find_package) src/cmake/externalpackages.cmake:106 (find_package) CMakeLists.txt:118 (include)

CMake Warning at src/dicom.imageio/CMakeLists.txt:7 (message): DICOM plugin will not be built, no DCMTK

CMake Warning at src/gif.imageio/CMakeLists.txt:7 (message): GIF plugin will not be built

CMake Warning at src/jpeg2000.imageio/CMakeLists.txt:16 (message): Jpeg-2000 plugin will not be built

CMake Warning at src/raw.imageio/CMakeLists.txt:7 (message): Raw plugin will not be built

CMake Error at src/libOpenImageIO/CMakeLists.txt:166 (add_dependencies): The dependency target "/home/dfp/Downloads/vcpkg/buildtrees/openimageio/src/ase-1.8.13-0a66a686a3/src/build-scripts/hidesymbols.map" of target "OpenImageIO" does not exist.

CMake Warning: Manually-specified variables were not used by the project:

BUILD_MISSING_DEPS
BUILD_MISSING_PYBIND11
CMAKE_DISABLE_FIND_PACKAGE_Git
VCPKG_CRT_LINKAGE
VCPKG_PLATFORM_TOOLSET


Any help would be appreciated.
NancyLi1013 commented 5 years ago

Hi @anadodik, thanks for posting this issue. This port has been upgraded to 2.0.8. This issue should be fixed now. Please try to update and use this port.