>> Emerging (1 of 7) media-libs/openimageio-1.8.13::gentoo * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * openimageio-1.8.13.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking openimageio-1.8.13.tar.gz to /var/tmp/portage/media-libs/openimageio-1.8.13/work >>> Source unpacked in /var/tmp/portage/media-libs/openimageio-1.8.13/work >>> Preparing source in /var/tmp/portage/media-libs/openimageio-1.8.13/work/oiio-Release-1.8.13 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/openimageio-1.8.13/work/oiio-Release-1.8.13 ... >>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/openimageio-1.8.13/work/openimageio-1.8.13_build" cmake -C /var/tmp/portage/media-libs/openimageio-1.8.13/work/openimageio-1.8.13_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_DOCDIR=share/doc/openimageio-1.8.13 -DINSTALL_DOCS=no -DOIIO_BUILD_TESTS=OFF -DSTOP_ON_WARNING=OFF -DUSE_CPP14=ON -DUSE_EXTERNAL_PUGIXML=ON -DUSE_FFMPEG=yes -DUSE_FIELD3D=no -DUSE_FREETYPE=yes -DUSE_GIF=yes -DUSE_JPEGTURBO=ON -DUSE_LIBRAW=yes -DUSE_NUKE=NO -DUSE_NUKE=OFF -DUSE_OCIO=no -DUSE_OPENCV=no -DUSE_OPENGL=yes -DUSE_OPENJPEG=yes -DUSE_OPENSSL=yes -DUSE_PTEX=no -DUSE_PYTHON=no -DUSE_QT=yes -DUSE_SIMD=sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2 -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/openimageio-1.8.13/work/openimageio-1.8.13_build/gentoo_toolchain.cmake /var/tmp/portage/media-libs/openimageio-1.8.13/work/oiio-Release-1.8.13 loading initial cache file /var/tmp/portage/media-libs/openimageio-1.8.13/work/openimageio-1.8.13_build/gentoo_common_config.cmake -- The CXX compiler identification is GNU 8.2.0 -- The C compiler identification is GNU 8.2.0 -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ -- 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/x86_64-pc-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- 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.12.3 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. -- Project build dir = /var/tmp/portage/media-libs/openimageio-1.8.13/work/openimageio-1.8.13_build -- Project install dir = /usr -- platform = linux64 -- CMAKE_CXX_COMPILER is /usr/bin/x86_64-pc-linux-gnu-g++ -- CMAKE_CXX_COMPILER_ID is GNU -- Building for C++11 -- Compiling with SIMD level sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2 -- Setting Namespace to: OpenImageIO_v1_8 CMake Error at src/cmake/modules/FindOpenEXR.cmake:59 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Call Stack (most recent call first): src/cmake/externalpackages.cmake:62 (find_package) CMakeLists.txt:118 (include) CMake Error at src/cmake/modules/FindOpenEXR.cmake:61 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Call Stack (most recent call first): src/cmake/externalpackages.cmake:62 (find_package) CMakeLists.txt:118 (include) CMake Error at src/cmake/modules/FindOpenEXR.cmake:63 (string): string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to command. Call Stack (most recent call first): src/cmake/externalpackages.cmake:62 (find_package) CMakeLists.txt:118 (include) CMake Error at src/cmake/externalpackages.cmake:68 (if): if given arguments: "VERSION_LESS" "2.0.0" Unknown arguments specified Call Stack (most recent call first): CMakeLists.txt:118 (include)
r9-008cln ~ # emerge --info openimageio Portage 2.3.51 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.2.0, glibc-2.27-r6, 4.18.11-gentoo-zfs x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.18.11-gentoo-zfs-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.6 KiB Mem: 16298904 total, 4700300 free KiB Swap: 20971516 total, 20169616 free Timestamp of repository gentoo: Fri, 12 Oct 2018 14:26:34 +0000 Head commit of repository gentoo: 21e27f811e81e7a5fc2ce12c72ef6866955c178f sh bash 4.4_p23 ld GNU ld (Gentoo 2.30 p3) 2.30.0 app-shells/bash: 4.4_p23::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/cmake: 3.12.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.30-r3::gentoo, 2.31.1-r1::gentoo sys-devel/gcc: 6.4.0-r4::gentoo, 7.3.0-r5::gentoo, 8.2.0-r3::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/gentoo-mirror/gentoo.git priority: -1000 sync-git-verify-commit-signature: true rugubara location: /home/anton/devel/rugubara masters: gentoo priority: 0 bumblebee location: /var/lib/layman/bumblebee masters: gentoo priority: 50 cg location: /var/lib/layman/cg masters: gentoo priority: 50 dlang location: /var/lib/layman/dlang sync-type: laymansync sync-uri: https://github.com/gentoo/dlang.git masters: gentoo priority: 50 eclipse location: /var/lib/layman/eclipse masters: gentoo priority: 50 jorgicio location: /var/lib/layman/jorgicio masters: gentoo priority: 50 kde location: /var/lib/layman/kde masters: gentoo priority: 50 proaudio location: /var/lib/layman/pro-audio masters: gentoo priority: 50 sabayon location: /var/lib/layman/sabayon masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 tlp location: /var/lib/layman/tlp masters: gentoo priority: 50 x11 location: /var/lib/layman/x11 masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -fstack-protector-strong" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=haswell -mmmx -msse -msse2 -msse3 -mssse3 -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mfma -mbmi -mbmi2 -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mfsgsbase -mfxsr -mxsave -mxsaveopt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -mtune=haswell -fstack-protector-strong" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en ru" MAKEOPTS="-j6" PKGDIR="/usr/portage/etersoft" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi aes alsa amd64 archive avahi avx avx2 bash-completion berkdb bluetooth bluray branding bzip2 cacert cairo cdda cdr cli cloudprint colord crypt cups cxx cycles dbus dhcpcd djvu dri dri3 dts dvd dvdr eds egl emboss encode equalizer evdev evo exif extras faac fam ffmpeg fftw flac fma3 fortran fprint frei0r g711 g722 g7221 gbm gdbm gif gimp gnome gnome-keyring gnome-online-accounts google gpm gstreamer gtk gtk3 http iconv idn ieee1394 introspection ipv6 jack javafx jpeg jpeg2k kms lcms ldap libnotify libsecret libtirpc linguas_en linguas_ru lv2 lxc mad midi mmx mmxext mng mp3 mp4 mpeg mtp multilib native-headset nautilus ncurses networkmanager nls nptl nsplugin nvenc ogg opengl openimageio openmp opus overlay pam pango pcre pdf png policykit popcnt postproc ppds pulseaudio qt5 rar raw readline realtime samba sdl sdl2 seccomp sendto sftp smp speex spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification steamruntime svg sync-plugin-portage systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb user-session v4l vaapi vdpau virgl vlc vnc vorbis vpx vulkan wavpack wayland winbind wxwidgets x264 x265 xattr xcb xinerama xml xv xvid zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru en_GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby23 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" XFCE_PLUGINS="brightness clock trash battery power" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= media-libs/openimageio-1.8.13::gentoo was built with the following: USE="ffmpeg gif jpeg2k opengl qt5 raw ssl truetype -colorio -doc -field3d -libressl -opencv -ptex -python" ABI_X86="(64)" CPU_FLAGS_X86="avx avx2 sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f -f16c" PYTHON_SINGLE_TARGET="python3_6 -python2_7 -python3_4 -python3_5" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Created attachment 550940 [details] build log
this is a rebuild caused by dependency. emerge history for cmake and openimagio r9-008cln /var/tmp/portage/media-libs/openimageio-1.8.13/temp # qlop -l openimageio Wed Aug 9 12:04:37 2017 >>> media-libs/openimageio-1.6.13 Sun Sep 10 17:54:15 2017 >>> media-libs/openimageio-1.6.13 Thu Oct 5 01:10:39 2017 >>> media-libs/openimageio-1.6.13 Sat Dec 2 11:19:01 2017 >>> media-libs/openimageio-1.6.13 Mon Dec 4 14:42:39 2017 >>> media-libs/openimageio-1.6.13 Fri Dec 22 11:49:10 2017 >>> media-libs/openimageio-1.7.17 Tue Jan 23 11:15:23 2018 >>> media-libs/openimageio-1.8.7 Wed Jul 4 01:33:31 2018 >>> media-libs/openimageio-1.8.7 Fri Jul 27 17:36:07 2018 >>> media-libs/openimageio-1.8.7 Thu Aug 16 19:50:35 2018 >>> media-libs/openimageio-1.8.13 r9-008cln /var/tmp/portage/media-libs/openimageio-1.8.13/temp # qlop -l cmake Tue Jun 6 12:27:25 2017 >>> dev-util/cmake-3.8.2 Fri Jul 21 11:59:46 2017 >>> dev-util/cmake-3.9.0 Fri Aug 11 15:42:06 2017 >>> dev-util/cmake-3.9.1 Fri Sep 8 10:58:54 2017 >>> dev-util/cmake-3.9.1-r1 Sun Sep 10 16:16:48 2017 >>> dev-util/cmake-3.9.2 Fri Sep 22 13:11:51 2017 >>> dev-util/cmake-3.9.3 Thu Oct 5 16:04:51 2017 >>> dev-util/cmake-3.9.4 Mon Nov 6 20:07:17 2017 >>> dev-util/cmake-3.9.5 Tue Nov 14 09:47:04 2017 >>> dev-util/cmake-3.9.6 Wed Nov 22 09:43:10 2017 >>> dev-util/cmake-3.10.0 Sat Dec 2 01:33:06 2017 >>> dev-util/cmake-3.10.0 Fri Dec 15 09:40:46 2017 >>> dev-util/cmake-3.10.1 Sat Jan 20 22:10:42 2018 >>> dev-util/cmake-3.10.2 Tue Mar 20 11:19:13 2018 >>> dev-util/cmake-3.10.3 Mon Apr 2 13:18:13 2018 >>> dev-util/cmake-3.11.0 Wed Apr 18 13:09:13 2018 >>> dev-util/cmake-3.11.1 Tue May 22 10:16:55 2018 >>> dev-util/cmake-3.11.2 Fri Jun 1 21:29:58 2018 >>> dev-util/cmake-3.11.3 Sat Jun 16 10:55:21 2018 >>> dev-util/cmake-3.11.4 Fri Jul 27 12:07:09 2018 >>> dev-util/cmake-3.12.0 Mon Aug 13 15:24:59 2018 >>> dev-util/cmake-3.12.1 Mon Sep 10 22:50:37 2018 >>> dev-util/cmake-3.12.2 Tue Oct 9 00:23:29 2018 >>> dev-util/cmake-3.12.3 I'll try to back to cmake-3.12.1 used to build in Aug.
downdrading cmake to 3.12.1 made no difference whatsoever
Looks like a duplicate of # 668444
(In reply to Daniel M. Weeks from comment #5) > Looks like a duplicate of # 668444 indeed. however the subject of 668444 is not good. everybody search for the exact error text.
This seems to be caused by media-libs/openexr-2.3.0 not including the version in the file /usr/include/OpenEXR/OpenEXRConfig.h If you add the lines below to that file, then you get past this error. #define OPENEXR_VERSION_STRING 2.3.0 #define OPENEXR_VERSION_MAJOR 2 #define OPENEXR_VERSION_MINOR 3
tried to replace the cmake modules with those from kde-frameworks/extra-cmake-modules and the problem persist. Downgrading media-libs/openexr to 2.2.0-r2 is not possible with gcc-8.2 due to an unrelated compile failure, so I cannot test.
Duplicate of bug #668444.
Shouldn't openexr get a patch and revision bump then?
The CMake file src/cmake/modules/FindOpenEXR.cmake is trying to parse the openimageio version from the include file. However that one is rewritten by multilib.eclass to just include it on supported architectures. Because the cmake just looks for some regexes it doesn't find what it's looking for resulting in ${TMP} being empty. That means strings() only gets 4 parameters instead of 5.
Sorry for previous comment, completely missed the link to the dup which has all the info.
*** This bug has been marked as a duplicate of bug 668412 ***