Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenImageIO build fails #4316

Closed
anadodik opened this issue Sep 20, 2018 · 1 comment
Closed

OpenImageIO build fails #4316

anadodik opened this issue Sep 20, 2018 · 1 comment
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@anadodik
Copy link

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:

  • buildtrees/openimageio/config-x64-linux-rel-out.log
-- The CXX compiler identification is GNU 7.1.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- CMake version is 3.11.4
-- Project build dir   = /home/dfp/Downloads/vcpkg/buildtrees/openimageio/x64-linux-rel
-- Project install dir = /home/dfp/Downloads/vcpkg/packages/openimageio_x64-linux
-- platform = linux64
-- CMAKE_CXX_COMPILER is /usr/bin/c++
-- CMAKE_CXX_COMPILER_ID is GNU
-- Building for C++11
-- Building static libraries
-- Statically linking external libraries
-- Setting Namespace to: OpenImageIO_v1_8
-- OpenColorIO disabled
-- No Qt5 -- skipping components that need Qt5.
-- Found BZip2: /home/dfp/Downloads/vcpkg/installed/x64-linux/lib/libbz2.a (found version "1.0.6") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Field3d will not be used
-- Not using LibRaw
-- Not using OpenCV
-- Not using Freetype
-- OpenSSL disabled
-- DCMTK_INCLUDE_DIR = DCMTK_INCLUDE_DIR-NOTFOUND
-- DCMTK not found. Specify DCMTK_PATH to locate it
-- FFmpeg not found: ffmpeg plugin will not be built
-- 

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.

@anadodik anadodik changed the title OpenImageIO OpenImageIO build fails Sep 20, 2018
@PhoebeHui PhoebeHui added the category:port-bug The issue is with a library, which is something the port should already support label Jan 24, 2019
@NancyLi1013
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

No branches or pull requests

3 participants