Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357605 - [patch] media-gfx/exiv2 dev-libs/boost-1.46 -
Summary: [patch] media-gfx/exiv2 dev-libs/boost-1.46 -
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Briesenick (RETIRED)
Depends on:
Reported: 2011-03-06 09:51 UTC by Myk Taylor
Modified: 2011-04-02 23:49 UTC (History)
0 users

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

exiv code patch (exiv2-boost-1_46.patch,318 bytes, patch)
2011-03-06 09:53 UTC, Myk Taylor
Details | Diff
exiv manifest and ebuild patch (exiv2_boost_1_46_ebuild.patch,5.16 KB, patch)
2011-03-06 09:54 UTC, Myk Taylor
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
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

Actual Results:  
build failure

Expected Results:  
build success

# emerge --info
Portage (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: (sys-kernel/linux-headers)
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 skype-eula PUEL"
CFLAGS="-O2 -pipe -march=native"
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"
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"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en-US en vi zh_TW zh"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
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" 
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.