Summary: | media-libs/openimageio-1.3.5 with media-libs/giflib-5.1.2: too few arguments to function DGifCloseFile(GifFileType*, int*) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jura <me> |
Component: | Current packages | Assignee: | Gentoo Graphics Project <graphics+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrzej.kardas, b.buschinski, chalucha, daniel, dschridde+gentoobugs, hendrik, kensington, kripton, michael, navid.zamani, ooblick, r3lgar, tk.alexander |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 451324 | ||
Attachments: |
build.log
openimageio-1.6.9.ebuild |
Description
Jura
2016-01-12 20:51:32 UTC
Created attachment 422742 [details]
build.log
I bump openimageio to v1.6.9 and bug disapper *** Bug 571878 has been marked as a duplicate of this bug. *** (In reply to Jura from comment #2) > I bump openimageio to v1.6.9 and bug disapper Hello, what do you mean by bump? Did you create or found a new ebuild for the latest version? If so would be nice if you could shere it. Or maybe you just compiled it from the sources without a new ebuild? (In reply to Andrzej Kardas from comment #4) > (In reply to Jura from comment #2) > > I bump openimageio to v1.6.9 and bug disapper > > Hello, what do you mean by bump? > Did you create or found a new ebuild for the latest version? > If so would be nice if you could shere it. > Or maybe you just compiled it from the sources without a new ebuild? I create ebuild in local overlay from openimageio-1.3.5.ebuild Confirmed the same issue happens here (this is caused by an update to giflib). Bumping to 1.6.9 does indeed fix the problem. I'm attaching the ebuild. Created attachment 423014 [details]
openimageio-1.6.9.ebuild
(In reply to Hector Martin from comment #7) > Created attachment 423014 [details] > openimageio-1.6.9.ebuild Thanks Hector. That ebuild worked for me as well. Both media-libs/opencolorio-1.0.9 and media-gfx/blender-2.72b-r3 built against the media-libs/openimageio-1.6.9 ~ $ emerge --info Portage 2.2.27 (python 3.5.1-final-0, default/linux/amd64/13.0/desktop, gcc-5.3.0, glibc-2.22-r1, 4.4.0 x86_64) ================================================================= System uname: Linux-4.4.0-x86_64-Intel-R-_Core-TM-_i7-3930K_CPU_@_3.20GHz-with-gentoo-2.2 KiB Mem: 65991728 total, 8496624 free KiB Swap: 7810800 total, 7810168 free Timestamp of repository gentoo: Wed, 20 Jan 2016 17:00:01 +0000 sh bash 4.3_p42-r1 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 app-shells/bash: 4.3_p42-r1::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo dev-util/cmake: 3.4.1::gentoo dev-util/pkgconfig: 0.29::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.20.3::gentoo sys-apps/sandbox: 2.10-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r1::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo sys-devel/binutils: 2.25.1-r1::gentoo sys-devel/gcc: 4.8.5::gentoo, 4.9.3::gentoo, 5.3.0::gentoo sys-devel/gcc-config: 1.8::gentoo sys-devel/libtool: 2.4.6-r1::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) sys-libs/glibc: 2.22-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 anders-larsson location: /var/lib/layman/anders-larsson masters: gentoo priority: 50 gentoo-mate-112 location: /var/lib/layman/gentoo-mate-112 masters: gentoo priority: 50 multimedia location: /var/lib/layman/multimedia masters: gentoo priority: 50 sabayon location: /var/lib/layman/sabayon masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" 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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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://gentoo.mirrors.tera-byte.com/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j13" PKGDIR="/usr/portage/packages" 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 alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt css cuda cups cxx dbus device-mapper dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fluidsynth fontforge fortran gdbm gif gimp git glamor glut gphoto2 gpm gstreamer gtk iconv icu imagemagick infinality introspection ipv6 jpeg jpeg2k lcms ldap libnotify lm_sensors mad midi mmx mmxext mng modules mp3 mp4 mpeg mpi multilib ncurses nls nptl nsplugin offensive ogg openexr opengl openmp pam pango pcre pcre16 pdf perl png policykit ppds printsupport python qt3support qt5 readline samba scripttools sdl seccomp session smp spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff timidity tk truetype udev udisks unicode upower usb vdpau vorbis webkit wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" CALLIGRA_FEATURES="krita" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby22 ruby23" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia" 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" USE_PYTHON="2.7 3.4 3.5" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS twk (In reply to Tim from comment #8) > (In reply to Hector Martin from comment #7) > > Created attachment 423014 [details] > > openimageio-1.6.9.ebuild > > Thanks Hector. That ebuild worked for me as well. Both > media-libs/opencolorio-1.0.9 and media-gfx/blender-2.72b-r3 built against > the media-libs/openimageio-1.6.9 Any chance of seeing this in the Gentoo tree, soon? Could someone please add "with media-libs/giflib-5.1.2" to the summary to ease search? From the cmake logs: CMake Warning at src/cmake/modules/FindIlmBase.cmake:177 (message): Could not determine ILMBase library version, assuming 2.0. Call Stack (most recent call first): src/cmake/externalpackages.cmake:69 (find_package) CMakeLists.txt:297 (include) -- Boost python support not found -- will not build python components! -- OpenColorIO disabled -- Field3d will not be used -- Not using OpenCV -- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2f") -- OpenSSL enabled -- OPENSSL_INCLUDES: /usr/include -- Field3D plugin will not be built -- Using embedded PTex source -- Could not Find Nuke. Skipping build of Nuke plugins. Boost-Python, OpenColorIO and OpenCV are expected with my useflags (gif jpeg2k opengl qt4 ssl tbb truetype -colorio -opencv -python PYTHON_TARGETS="python2_7"). Field3D is a voxel storage format and library, that is not yet available in Gentoo: https://github.com/imageworks/Field3D Nuke appears to be a visual effects tool and scene compositor, which is not closed-source: http://www.thefoundry.co.uk/products/nuke/ The bundled PTex is a texture mapping library, which is also currently missing in Gentoo: https://github.com/wdas/ptex A bit disturbing is that media-libs/ilmbase cannot be found by openimageio, even though version 2.1.0 is installed on my system. (In reply to Dennis Schridde from comment #10) > Field3D is a voxel storage format and library, that is not yet available in > Gentoo: https://github.com/imageworks/Field3D bug #573440 > Nuke appears to be a visual effects tool and scene compositor, which is not > closed-source: http://www.thefoundry.co.uk/products/nuke/ > > The bundled PTex is a texture mapping library, which is also currently > missing in Gentoo: https://github.com/wdas/ptex bug #573444 > A bit disturbing is that media-libs/ilmbase cannot be found by openimageio, > even though version 2.1.0 is installed on my system. Regarding the long list of plugins that CMake lists as not being build: It appears that CMakeLists.txt contains a long list of switched for optional dependencies that are currently unused by the ebuild: https://github.com/OpenImageIO/oiio/blob/3f9a41d23f6761dd0fd121f1d93a5e43070b8e21/CMakeLists.txt#L167 Should support for this be added to the ebuild? [ 70%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/softimage.imageio/softimageinput.cpp.o [ 71%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/softimage.imageio/softimageoutput.cpp.o [ 71%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/softimage.imageio/softimage_pvt.cpp.o [ 72%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/targa.imageio/targainput.cpp.o [ 73%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/targa.imageio/targaoutput.cpp.o [ 73%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/tiff.imageio/tiffinput.cpp.o [ 74%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/tiff.imageio/tiffoutput.cpp.o [ 74%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/zfile.imageio/zfile.cpp.o [ 75%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/socket.imageio/socketinput.cpp.o [ 76%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/socket.imageio/socketoutput.cpp.o [ 76%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/socket.imageio/socket_pvt.cpp.o [ 77%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpeginput.cpp.o [ 77%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpegoutput.cpp.o [ 78%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifinput.cpp.o /var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9/src/ffmpeg.imageio/ffmpeginput.cpp: In member function ‘virtual bool OpenImageIO::v1_6::FFmpegInput::open(const string&, OpenImageIO::v1_6::ImageSpec&)’: /var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9/src/ffmpeg.imageio/ffmpeginput.cpp:210:17: error: ‘AVStream {aka struct AVStream}’ has no member named ‘r_frame_rate’ if (stream->r_frame_rate.num != 0 && stream->r_frame_rate.den != 0) { ^ /var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9/src/ffmpeg.imageio/ffmpeginput.cpp:210:50: error: ‘AVStream {aka struct AVStream}’ has no member named ‘r_frame_rate’ if (stream->r_frame_rate.num != 0 && stream->r_frame_rate.den != 0) { ^ /var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9/src/ffmpeg.imageio/ffmpeginput.cpp:211:32: error: ‘AVStream {aka struct AVStream}’ has no member named ‘r_frame_rate’ m_frame_rate = stream->r_frame_rate; ^ [ 79%] Building CXX object src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/gif.imageio/gifoutput.cpp.o src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/build.make:2774: recipe for target 'src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpeginput.cpp.o' failed make[2]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/ffmpeg.imageio/ffmpeginput.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:1036: recipe for target 'src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all' failed make[1]: *** [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: media-libs/openimageio-1.6.9::lokal failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/openimageio-1.6.9::lokal'`, * the complete build log and the output of `emerge -pqv '=media-libs/openimageio-1.6.9::lokal'`. * The complete build log is located at '/mnt/portage/logs/media-libs:openimageio-1.6.9:20160220-063345.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/openimageio-1.6.9/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9_build' * S: '/var/tmp/portage/media-libs/openimageio-1.6.9/work/openimageio-1.6.9/' >>> Failed to emerge media-libs/openimageio-1.6.9, Log file: >>> '/mnt/portage/logs/media-libs:openimageio-1.6.9:20160220-063345.log' Thanks, fixed with a version bump. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0622effb52a56dbcdef5a2e6781fc2509e8ae02 |