Portage 2.2.14 (python 2.7.8-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.17.0 x86_64) ================================================================= System uname: Linux-3.17.0-x86_64-Intel-R-_Core-TM-_i5-4670K_CPU_@_3.40GHz-with-gentoo-2.2 KiB Mem: 32849428 total, 11379292 free KiB Swap: 31244284 total, 31062280 free Timestamp of tree: Sat, 01 Nov 2014 22:00:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p30 dev-java/java-config: 2.2.0 dev-lang/perl: 5.20.1-r2 dev-lang/python: 2.7.8, 3.4.2 dev-util/cmake: 3.0.2 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.13.2 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.11.6, 1.14.1 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.3-r1 sys-devel/make: 4.1-r1 sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo local gamerlay hasufell java ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -fno-stack-protector -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -fno-stack-protector -O2 -pipe" DISTDIR="/data/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build --quiet-fail --quiet-unmerge-warn --fail-clean --autounmask=y --autounmask-write --keep-going --deep --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news nodoc noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ ftp://mirror.leaseweb.com/gentoo/" LANG="en_IN.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j5" 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" PORTAGE_TMPDIR="/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/gamerlay /var/lib/layman/hasufell /var/lib/layman/java" USE="X aac accessibility acpi alsa amd64 amr android apng asf attica avcodec avformat bzip2 caps cjk cuda curl cxx dbus dds development dirac dri eigen exceptions exif faad ffmpeg fftw filecaps flac flash fontconfig gcrypt gd geoip gif git glew glib gmp gpl graphite gstreamer gudev hpn iconv icu inotify intl jemalloc jit jpeg jpeg2k kate kdcraw kde kipi kmod lcms lzma lzo mad mmx mmxext mng mp3 mp4 mpeg ncurses nptl ogg okular openal opencl openexr opengl openmp opennl openrc openssl opus pam pcre pdf phonon pm-utils png policykit posix postproc qt3support qt4 rar readline savedconfig smi smp sockets speex sqlite sse sse2 sse3 sse4_1 ssl ssse3 swscale system-sqlite system-wine systemd taglib tar theora threads tiff truetype udev udisks unicode upower urandom usb uvm vaapi vc vdpau vlc vnc vorbis vpx xcb xlib xlib-xcb xml xv zip zlib" ABI_X86="64" CURL_SSL="openssl" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" PHP_TARGETS="php5_5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" USERLAND="GNU" VIDEO_CARDS="nvidia" USE_PYTHON="2.7" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Created attachment 388298 [details] media-gfx:blender-2.72b:20141101-225111.log.gz
Created attachment 391808 [details, diff] Patch for CMake to append -ldl to the linker arguments. The error seems to be being caused by the breaking out of bundled libraries and the effect that has on the required linker arguments. For instance dlopen (part of libdl) is required by glog when it wouldn't have been in the statically linked case and thus needs to be appended to the linker arguments after -lglog. I don't know a lot about CMake so if there is a better way to do this I'd be happy to see it, but this seems to make it build.
I'm not interested in maintaining this huge collection of downstream patches anymore. Blender upstream is not collaborative, so I've added a blender ebuild without all the unbundling hackery to my overlay https://github.com/hasufell/media-overlay
*** Bug 525952 has been marked as a duplicate of this bug. ***
Can we just not remove the "hackery" from portage to make it work and require less maintenance instead of inventing hundreds of overlays that double the work. Or just remove it from portage and turn every category in portage into overlays.. sigh.
(In reply to C.J. Wijtmans from comment #5) > Can we just not remove the "hackery" from portage to make it work and > require less maintenance instead of inventing hundreds of overlays that > double the work. Or just remove it from portage and turn every category in > portage into overlays.. sigh. having a lot of overlays != doubling the work having one central repository != working together I'm not sure yet about what I/we will do about blender in portage, so nothing is committed so far.
(In reply to Julian Ospald (hasufell) from comment #6) > (In reply to C.J. Wijtmans from comment #5) > > Can we just not remove the "hackery" from portage to make it work and > > require less maintenance instead of inventing hundreds of overlays that > > double the work. Or just remove it from portage and turn every category in > > portage into overlays.. sigh. > > having a lot of overlays != doubling the work > having one central repository != working together > > I'm not sure yet about what I/we will do about blender in portage, so > nothing is committed so far. Ok i agree but i would rather have a working blender ebuild in portage now than having to add another overlay. Or having blender removed from portage.
+*blender-2.72b-r1 (21 Dec 2014) + + 21 Dec 2014; Julian Ospald <hasufell@gentoo.org> +blender-2.72b-r1.ebuild: + revbump, revert unbundling until it's supported upstream I guess it should work with the bundled one.
No, it doesn't work, blender-2.72b-r2 fails to compile with the same dlclose error. Someone already created a similar ticket: https://bugs.gentoo.org/show_bug.cgi?id=533514