Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 357605

Summary: [patch] media-gfx/exiv2 dev-libs/boost-1.46 -
Product: Gentoo Linux Reporter: Myk Taylor <myk002>
Component: [OLD] LibraryAssignee: Stefan Briesenick (RETIRED) <sbriesen>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: exiv code patch
exiv manifest and ebuild patch

Description Myk Taylor 2011-03-06 09:51:04 UTC
media-gfx/exiv-* fails to build with boost-1.46 due to boost filesystem API v3 becoming the default.  This is easily fixed by adding a
  #define BOOST_FILESYSTEM_VERSION 2
to source files that include boost/filesystem.hpp.  Patch to ebuilds attached

Reproducible: Always

Steps to Reproduce:
1. upgrade to boost-1.46 (see bug 356479)
2. attempt to compile any exiv2 version in the tree
3.

Actual Results:  
build failure

Expected Results:  
build success

# emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-tuxonice-r3 x86_64)
=================================================================
System uname: Linux-2.6.36-tuxonice-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 06 Mar 2011 08:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 skype-eula PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /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="-O2 -pipe -march=native"
DISTDIR="/var/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.arcticnetwork.ca/source/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en-US en vi zh_TW zh"
MAKEOPTS="-j1"
PKGDIR="/var/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi adns alsa amd64 ao audiofile avahi bash-completion berkdb bidi blas branding bzip2 cairo calendar caps cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt cscope css cups curl cxx dbus dga djvu dri dts dvd dvdr emboss encode exif expat fam ffmpeg fftw firefox flac fontconfig foomaticdb fortran ftp gd gdbm gdu geoip geolocation ggi gif gimp gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk gtkhtml iconv icu idn ieee1394 imagemagick imap imlib ipod java java6 javascript jbig jikes jpeg jpeg2k kde kerberos lame lcms ldap libnotify libsamplerate lm_sensors lzma lzo mad matroska mikmod mmap mmx mng modules mono mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg openal openexr opengl openmp pam pango pch pcre pdf perl phonon plasma plotutils png policykit portaudio ppds pppd python qt3support qt4 quicktime raw readline samba sasl scanner sdl semantic-desktop session slang slp smp sndfile snmp sox speex spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog szip taglib tcl tcpd theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vdpau vim-syntax vnc vorbis wavpack webkit wifi wmf wxwidgets x264 xcb xcomposite xine xinerama xml xmp xorg xosd xpm xprint xscreensaver xulrunner xv xvid zlib" 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" 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" 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" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en-US en vi zh_TW zh" NETBEANS_MODULES="*" PHP_TARGETS="php5-3" RUBY_TARGETS="jruby ruby18" 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" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Myk Taylor 2011-03-06 09:53:23 UTC
Created attachment 264897 [details, diff]
exiv code patch

goes in media-gfx/exiv2/files
Comment 2 Myk Taylor 2011-03-06 09:54:56 UTC
Created attachment 264899 [details, diff]
exiv manifest and ebuild patch

apply to ebuilds
Comment 3 Myk Taylor 2011-03-06 09:56:25 UTC
patches tested for all exiv versions on amd64 and x86
Comment 4 Myk Taylor 2011-03-06 10:00:05 UTC
patches also tested with boost-1.46.0 and boost-1.42.0-r2

Comment 5 Stefan Briesenick (RETIRED) gentoo-dev 2011-04-02 23:48:37 UTC
new version in CVS. Your fix included, but implemented via "sed" to avoid patch-files until it is fixed upstream.

Please report this issue also upstream. Thanks.