Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/openimageio - errore in configurazione. [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4791
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Dec 10, 2023 1:44 pm    Post subject: media-libs/openimageio - errore in configurazione. [risolto] Reply with quote

openimageio è un pacchetto presente nel mio sistema, di cui è stato richiesto un rebuild dopo l'aggiornamento di portage (e l'aggiunta della useflag qt6)a livello globale.

rilevato un errore, ho provato l'aggiornamento alla versione 2.5.4.0, come consigliato qui.

tuttavia ottengo sempre lo stesso comportamento, che non cambia modificando le useflag opengl o qt5, richiamatenel messaggio di errore:
Code:

cloc3 ~ # ebuild /var/gentoo-var/portage/media-libs/openimageio/openimageio-2.5.4.0.ebuild configure
>>> Existing ${T}/environment for 'openimageio-2.5.4.0' will be sourced.
>>> Run 'clean' to start with a fresh environment.
>>> Checking openimageio-2.5.4.0.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
 * checking ebuild checksums ;-) ...                                                                                                                                                                                     [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                   [ ok ]
>>> It appears that 'setup' has already executed for 'openimageio-2.5.4.0'; skipping.
>>> Remove '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/.setuped' to force setup.
>>> It appears that 'unpack' has already executed for 'openimageio-2.5.4.0'; skipping.
>>> Remove '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/.unpacked' to force unpack.
>>> It appears that 'prepare' has already executed for 'openimageio-2.5.4.0'; skipping.
>>> Remove '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/.prepared' to force prepare.
>>> Configuring source in /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0 ...
 * Source directory (CMAKE_USE_DIR): "/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0"
 * Build directory  (BUILD_DIR):     "/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build"
cmake -C /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DVERBOSE=ON -DOIIO_BUILD_TOOLS=yes -DBUILD_TESTING=no -DOIIO_BUILD_TESTS=no -DOIIO_DOWNLOAD_MISSING_TESTDATA=OFF -DINSTALL_FONTS=OFF -DBUILD_DOCS=no -DINSTALL_DOCS=no -DSTOP_ON_WARNING=OFF -DUSE_CCACHE=OFF -DUSE_DCMTK=no -DUSE_EXTERNAL_PUGIXML=ON -DUSE_NUKE=OFF -DUSE_FFMPEG=yes -DUSE_GIF=yes -DUSE_OPENJPEG=yes -DUSE_OPENCV=no -DUSE_OPENVDB=yes -DUSE_PTEX=yes -DUSE_PYTHON=yes -DUSE_LIBRAW=yes -DUSE_FREETYPE=yes -DUSE_SIMD=aes,sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,avx512f,f16c -DENABLE_IV=OFF -DUSE_QT=OFF -DPYTHON_VERSION=3.11 -DPYTHON_SITE_DIR=/usr/lib/python3.11/site-packages -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build/gentoo_toolchain.cmake /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0
loading initial cache file /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build/gentoo_common_config.cmake
-- Configuring OpenImageIO 2.5.4.0
-- CMake 3.27.7
-- CMake system           = Linux-6.1.41-gentoo-zenBook
-- CMake system name      = Linux
-- Project source dir     = /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0
-- Project build dir      = /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build
-- Project install prefix = /usr
-- Configuration types    =
-- Build type             = RelWithDebInfo
-- Supported release      = ON
-- CMAKE_UNITY_BUILD_MODE =
-- CMAKE_UNITY_BUILD_BATCH_SIZE =
-- Setting Namespace to: OpenImageIO_v2_5
-- CMAKE_CXX_COMPILER     = /usr/bin/x86_64-pc-linux-gnu-g++
-- CMAKE_CXX_COMPILER_ID  = GNU
-- Building with C++14, downstream minimum C++14
-- Compiling with SIMD level aes,sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,avx512f,f16c
-- Using Boost::filesystem
-- clang-format found: /usr/lib/llvm/16/bin/clang-format
--
-- * Checking for dependencies...
-- *   - Missing a dependency 'Package'?
-- *     Try cmake -DPackage_ROOT=path or set environment var Package_ROOT=path
-- *     For many dependencies, we supply src/build-scripts/build_Package.bash
-- *   - To exclude an optional dependency (even if found),
-- *     -DUSE_Package=OFF or set environment var USE_Package=OFF
--
-- Boost_COMPONENTS = thread;filesystem
-- Found Boost 1.83.0
--     Boost_INCLUDE_DIR = /usr/include
--     Boost_INCLUDE_DIRS = /usr/include
--     Boost_LIBRARIES = /usr/lib64/libboost_thread.so;/usr/lib64/libboost_filesystem.so;/usr/lib64/libboost_chrono.so;/usr/lib64/libboost_atomic.so
-- Found ZLIB 1.3
--     ZLIB_INCLUDE_DIR = /usr/include
--     ZLIB_INCLUDE_DIRS = /usr/include
--     ZLIB_LIBRARIES = /usr/lib64/libz.so
-- Found TIFF 4.6.0
--     TIFF_INCLUDE_DIR = /usr/include
--     TIFF_INCLUDE_DIRS = /usr/include
--     TIFF_LIBRARIES = /usr/lib64/libtiff.so
-- Found CONFIG for OpenEXR 3 (OpenEXR_VERSION=3.1.11)
-- Found OpenEXR 3.1.11
--     OPENEXR_INCLUDES = /usr/include
--     OPENEXR_LIBRARIES = OpenEXR::IlmThreadConfig;Imath::Imath;OpenEXR::IlmThreadConfig;OpenEXR::Iex;OpenEXR::IlmThread;ZLIB::ZLIB;OpenEXR::IlmThreadConfig;OpenEXR::IlmThreadConfig;OpenEXR::IlmThreadConfig;OpenEXR::IlmThreadConfig;OpenEXR::Iex;Threads::Threads;Imath::ImathConfig;m
--     IMATH_INCLUDES = /usr/include
-- Found libjpeg-turbo 3.0.0
-- Found pugixml 1.14
--     PUGIXML_INCLUDES = /usr/include
--     PUGIXML_LIBRARIES = pugixml::shared
-- Found Python 3.11.6
--     Python_INCLUDE_DIRS = /usr/include/python3.11
--     Python_LIBRARIES = /usr/lib64/libpython3.11.so
--     Python_VERSION = 3.11.6
--     Python_EXECUTABLE = /tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/temp/python3.11/bin/python3
--     Python_Development_FOUND = TRUE
--     Python_Interpreter_FOUND = TRUE
-- Found PNG 1.6.40+apng
--     PNG_INCLUDE_DIR = /usr/include;/usr/include
--     PNG_INCLUDE_DIRS = /usr/include;/usr/include
--     PNG_LIBRARIES = /usr/lib64/libpng.so;/usr/lib64/libz.so
-- Found BZip2 1.0.8
--     BZIP2_INCLUDE_DIR = /usr/include
--     BZIP2_INCLUDE_DIRS = /usr/include
--     BZIP2_LIBRARIES = /usr/lib64/libbz2.so
-- Found Freetype 2.13.2
--     FREETYPE_INCLUDE_DIRS = /usr/include/freetype2
--     FREETYPE_LIBRARIES = /usr/lib64/libfreetype.so
CMake Error at /usr/lib64/cmake/OpenColorIO/OpenColorIOConfig.cmake:63:
  Parse error.  Function missing ending ")".  End of file reached.
Call Stack (most recent call first):
  src/cmake/modules/FindOpenColorIO.cmake:35 (find_package)
  src/cmake/checked_find_package.cmake:127 (find_package)
  src/cmake/externalpackages.cmake:177 (checked_find_package)
  CMakeLists.txt:166 (include)


CMake Error at src/cmake/modules/FindOpenColorIO.cmake:35 (find_package):
  find_package Error reading CMake code from
  "/usr/lib64/cmake/OpenColorIO/OpenColorIOConfig.cmake".
Call Stack (most recent call first):
  src/cmake/checked_find_package.cmake:127 (find_package)
  src/cmake/externalpackages.cmake:177 (checked_find_package)
  CMakeLists.txt:166 (include)


-- Found OpenColorIO 2.3.0
--     OPENCOLORIO_INCLUDES = /usr/include
--     OPENCOLORIO_INCLUDE_DIR = /usr/include
--     OPENCOLORIO_LIBRARIES = /usr/lib64/libOpenColorIO.so
-- Not using OpenCV -- disabled 
-- Found TBB 2021.11.0 from CONFIG
-- Not using DCMTK -- disabled 
-- Found FFmpeg 4.4
--     FFMPEG_INCLUDES = /usr/include
--     FFMPEG_INCLUDE_DIR = /usr/include
--     FFMPEG_LIBRARIES = /usr/lib64/libavcodec.so;/usr/lib64/libavformat.so;/usr/lib64/libavutil.so;/usr/lib64/libswscale.so
-- Found GIF 5.2.1
--     GIF_INCLUDE_DIR = /usr/include
--     GIF_INCLUDE_DIRS = /usr/include
--     GIF_LIBRARIES = /usr/lib64/libgif.so
-- Found Libheif 1.13.0
--     LIBHEIF_INCLUDES = /usr/include
--     LIBHEIF_INCLUDE_DIR = /usr/include
--     LIBHEIF_LIBRARIES = /usr/lib64/libheif.so
-- Found LibRaw 0.21.1
--     LibRaw_INCLUDE_DIR = /usr/include
--     LibRaw_LIBRARIES = /usr/lib64/libraw.so
--     LibRaw_r_LIBRARIES = /usr/lib64/libraw_r.so
-- Found OpenJPEG 2.5
--     OPENJPEG_INCLUDES = /usr/include/openjpeg-2.5
--     OPENJPEG_INCLUDE_DIR = /usr/include/openjpeg-2.5
--     OPENJPEG_LIBRARIES = /usr/lib64/libopenjp2.so
-- Found OpenVDB 10.0.1
--     OPENVDB_INCLUDES = /usr/include
--     OPENVDB_INCLUDE_DIR = /usr/include
--     OPENVDB_LIBRARIES = /usr/lib64/libopenvdb.so
-- Found Ptex 2.4 from CONFIG
--     Ptex_INCLUDE_DIRS = /usr/include
-- Found WebP 
--     WEBP_INCLUDES = /usr/include
--     WEBP_INCLUDE_DIR = /usr/include
--     WEBP_LIBRARIES = /usr/lib64/libwebp.so;/usr/lib64/libwebpdemux.so
-- Not using R3DSDK -- disabled 
-- Not using Nuke -- disabled 
-- Found fmt 90100
--     FMT_INCLUDES = /usr/include
--     FMT_INCLUDE_DIR = /usr/include
-- Found Robinmap 
--     ROBINMAP_INCLUDES = /usr/include
--     ROBINMAP_INCLUDE_DIR = /usr/include
-- OpenEXR core library will be used by default
-- Create imagio_pvt.h from imageio_pvt.h.in
-- OpenEXR core library will be used by default
--

   WARNING: Qt or OpenGL not found -- 'iv' will not be built!

-- Found pybind11: /usr/include (found version "2.11.1")
-- Found pybind11 2.11.1
--     pybind11_INCLUDE_DIR = /usr/include
--     pybind11_INCLUDE_DIRS = /usr/include;/usr/include/python3.11
-- Create oiioversion.h from oiioversion.h.in
-- Create half.h from half.h.in
-- Create Imath.h from Imath.h.in
-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe
C++             -march=native -O2 -pipe
Linker flags:
Executable      -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Module          -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu
Shared          -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu

-- Configuring incomplete, errors occurred!
 * ERROR: media-libs/openimageio-2.5.4.0::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3401:  Called cmake_src_configure
 *   environment, line 1660:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
 * If you need support, post the output of `emerge --info '=media-libs/openimageio-2.5.4.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/openimageio-2.5.4.0::gentoo'`.
 * The complete build log is located at '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/temp/build.log'.
 * The ebuild environment file is located at '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/temp/environment'.
 * Working directory: '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0_build'
 * S: '/tmp/ramtmp/.znb/portage/media-libs/openimageio-2.5.4.0/work/OpenImageIO-2.5.4.0'


che genere di fenomeno può essere?
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Tue Dec 12, 2023 7:47 am; edited 1 time in total
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4791
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Tue Dec 12, 2023 7:47 am    Post subject: Reply with quote

a quanto pare si è trattato di un conflitto con la versione corrente di media-libs/opencolorio.
riportando opencolorio dalla versione 2.3.0 alla versione 2.2.1 il fenomeno e scomparso, e successivamente è stato possibile aggiornare entrambi i pacchetti alla versione più recente.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum