Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412945 - sci-libs/vtk-5.8.0 fails to build with dev-libs/boost-1.49.0
Summary: sci-libs/vtk-5.8.0 fails to build with dev-libs/boost-1.49.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL: http://www.vtk.org/Bug/view.php?id=12988
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-04-21 18:24 UTC by Severin Strobl
Modified: 2012-06-07 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Modified version of vtk-5.8.0-boost.patch (vtk-5.8.0-boost.patch,1.23 KB, patch)
2012-04-21 18:32 UTC, Severin Strobl
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Severin Strobl 2012-04-21 18:24:33 UTC
The fix introduced to resolve bug 400901 does not work with boost 1.49.0 any more, as it makes use of boost internals (boost::detail). Unfortunately there is no real fix available moving away from using boost::detail.

However a workaround is available upstream:
https://github.com/Kitware/VTK/commit/87e0c1eba39307ebd31d8d9bf21b1b621a800634



Reproducible: Always
Comment 1 Severin Strobl 2012-04-21 18:28:14 UTC
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.14.1-r3, 3.3.1-gentoo x86_64)
=================================================================
System uname: Linux-3.3.1-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 21 Apr 2012 11:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo spring science x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @FSF-APPROVED dlj-1.1 googleearth PUEL ut2003 QUAKE4 AdobeFlash-10.3 Intel-SDP Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/Spring /var/lib/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd64 avi bash-completion berkdb bluetooth branding bzip2 cairo cdda cdparanoia cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds emboss encode eselect evo exif fam ffmpeg firefox flac fortran ftp gdbm gdu gif gimpprint gmp gnome gnome-keyring gnome-online-accounts gnutls gpm gstreamer gtk gtk2 hal iconv icu ipv6 jabber java joystick jpeg kerberos kpathsea lcms libnotify lm_sensors loop-aes mad mmx mmxext mng modules mp3 mp4 mpeg mpi mplayer mudflap multilib nautilus ncurses nls nodrm nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pango pcre pdf png policykit postscript ppds pppd python qt3support qt4 readline recode rtc sasl sdl session socialweb spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs tcpd threads tiff truetype udev unicode usb vdpau vim-syntax vorbis wxwidgets x264 xcb xinerama xml xmms xorg xulrunner xv xvid zlib" ALSA_CARDS="ice1712" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Severin Strobl 2012-04-21 18:32:08 UTC
Created attachment 309737 [details, diff]
Modified version of vtk-5.8.0-boost.patch

The patch created in response to bug 400901 (vtk-5.8.0-boost.patch) can easily be modified to include this new fix. The attached version of the patch allows me to build sci-libs/vtk-5.8.0 with dev-libs/boost-1.49.0.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2012-06-07 14:39:28 UTC
+*vtk-5.10.0 (07 Jun 2012)
+
+  07 Jun 2012; Justin Lecher <jlec@gentoo.org> files/vtk-5.8.0-boost.patch,
+  +vtk-5.10.0.ebuild, metadata.xml:
+  Version Bump, #420103; Update boost patch, #412945
+