Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254049 - media-gfx/gwenview-1.4.2 fails to build with media-gfx/exiv2-0.18 installed
Summary: media-gfx/gwenview-1.4.2 fails to build with media-gfx/exiv2-0.18 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 254354 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-07 10:38 UTC by Johannes Truschnigg
Modified: 2009-01-10 11:55 UTC (History)
5 users (show)

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


Attachments
gwenview-1.4.2-r1.ebuild (gwenview-1.4.2-r1.ebuild,1.45 KB, text/plain)
2009-01-09 10:27 UTC, Yar Odin
Details
gwenview-1.4.2-exiv2.patch (gwenview-1.4.2-exiv2.patch,717 bytes, patch)
2009-01-09 10:28 UTC, Yar Odin
Details | Diff
gwenview-1.4.2.ebuild.diff (gwenview-1.4.2.ebuild.diff,435 bytes, patch)
2009-01-09 14:14 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
gwenview-1.4.2-r2.ebuild (gwenview-1.4.2-r2.ebuild,1.46 KB, text/plain)
2009-01-09 18:01 UTC, Yar Odin
Details
gwenview-1.4.2-exiv2-r2.patch (gwenview-1.4.2-exiv2-r2.patch,1.27 KB, patch)
2009-01-09 18:02 UTC, Yar Odin
Details | Diff
gwenview-1.4.2.ebuild.patch (gwenview-1.4.2.ebuild.patch,2.07 KB, patch)
2009-01-09 19:27 UTC, Yar Odin
Details | Diff
gwenview-1.4.2.ebuild.patch - fixed (gwenview-1.4.2.ebuild.patch,1.99 KB, patch)
2009-01-09 19:29 UTC, Yar Odin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Truschnigg 2009-01-07 10:38:56 UTC
When building gwenview with exiv2-0.18 installed, the build process fails with:

jpegcontent.cpp: In member function 'bool ImageUtils::JPEGContent::Private::readSize()':
jpegcontent.cpp:191: warning: unused variable 'mark'
jpegcontent.cpp: In member function 'QImage ImageUtils::JPEGContent::thumbnail() const':
jpegcontent.cpp:592: error: 'class Exiv2::ExifData' has no member named 'copyThumbnail'
jpegcontent.cpp: In member function 'void ImageUtils::JPEGContent::setThumbnail(const QImage&)':
jpegcontent.cpp:614: error: 'class Exiv2::ExifData' has no member named 'setJpegThumbnail'
make[3]: *** [jpegcontent.lo] Error 1
make[3]: Leaving directory `/var/tmp/paludis/media-gfx-gwenview-1.4.2/work/gwenview-1.4.2/src/imageutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/paludis/media-gfx-gwenview-1.4.2/work/gwenview-1.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/paludis/media-gfx-gwenview-1.4.2/work/gwenview-1.4.2'
make: *** [all] Error 2
/usr/libexec/paludis/utils/emake: emake returned error 2



Reproducible: Always

Steps to Reproduce:
1. install media-gfx/exiv2-0.18
2. try to (re)install media-gfx/gwenview-1.4.2

Actual Results:  
media-gfx/gwenview-1.4.2 fails to install.

Expected Results:  
media-gfx/gwenview-1.4.2 is supposed to install properly.

After a downgrade of media-gfx/exiv2 to 0.17.1, gwenview installs fine.
media-gfx/gwenview-1.4.2 won't work unless being rebuilt after installation of media-gfx/exiv2-0.18 due to missing shared objects.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-07 14:22:34 UTC
Same problem here.

# emerge --info
Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27.10 x86_64)
=================================================================
System uname: Linux-2.6.27.10-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2354-with-glibc2.2.5
Timestamp of tree: Wed, 07 Jan 2009 07:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.2_pre
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bash_completion.d /etc/bonobo-activation /etc/ca-certificates.conf /etc/cups /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/fish /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gtk /etc/gtk-2.0 /etc/hotplug /etc/hotplug.d /etc/imlib /etc/init.d /etc/iproute2 /etc/nas /etc/ntop /etc/pam.d /etc/pango /etc/profile.d /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sgml /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/udev/rules.d /etc/xinetd.d /etc/xml /etc/zsh"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -finline-functions -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs=1 --with-bdeps=y"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror ftp://ftp.tu-clausthal.de/pub/linux/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dvd dvdr dvdread emboss encode fam ffmpeg flac gdbm gif gnutls gpg gtk iconv idn imagemagick imlib isdnlog jpeg jpeg2k kde kdehiddenvisibility lame mad midi mikmod mjpeg mmx mmxext mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf png ppds pppd qt3 qt3support quicktime readline reflection sdl session silc slang smp spell spl sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype usb v4l2 vcd vorbis x264 xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel usb-audio" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Yar Odin 2009-01-09 10:27:40 UTC
Created attachment 177858 [details]
gwenview-1.4.2-r1.ebuild
Comment 3 Yar Odin 2009-01-09 10:28:36 UTC
Created attachment 177859 [details, diff]
gwenview-1.4.2-exiv2.patch

put this file to files dir on gwenview-1.4.2-r1.ebuild dir
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-09 14:14:07 UTC
Created attachment 177874 [details, diff]
gwenview-1.4.2.ebuild.diff

The exiv2-patch works but I suggest to add the attached changes to the ebuild as gwenview does not compile with exiv2 versions older than 0.18 when the exiv2-patch was applied to gwenview before.
Comment 5 Yar Odin 2009-01-09 18:00:42 UTC
(In reply to comment #4)
> Created an attachment (id=177874) [edit]
> gwenview-1.4.2.ebuild.diff
> 
> The exiv2-patch works but I suggest to add the attached changes to the ebuild
> as gwenview does not compile with exiv2 versions older than 0.18 when the
> exiv2-patch was applied to gwenview before.
> 

fixed at r2
Comment 6 Yar Odin 2009-01-09 18:01:22 UTC
Created attachment 177897 [details]
gwenview-1.4.2-r2.ebuild
Comment 7 Yar Odin 2009-01-09 18:02:14 UTC
Created attachment 177898 [details, diff]
gwenview-1.4.2-exiv2-r2.patch

put this file to files dir on gwenview-1.4.2-r2.ebuild dir
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-01-09 19:16:10 UTC
Comment on attachment 177874 [details, diff]
gwenview-1.4.2.ebuild.diff

Nice improvement. That renders my patch useless :)
I'm still not happy with the changes you made to the ebuild. All epatch stuff belongs to src_unpack() (*).
Maybe attaching diffs containing only the changes you did to an ebuild is a bit more handy than attaching the whole ebuild. So the devs can see with one click, what changes you did to the ebuild.

(*) Except of ebuilds using EAPI-2 where src_prepare() is used for epatch stuff.
Comment 9 Yar Odin 2009-01-09 19:27:33 UTC
Created attachment 177901 [details, diff]
gwenview-1.4.2.ebuild.patch

Patch to gwenview-1.4.2.ebuild
Comment 10 Yar Odin 2009-01-09 19:29:42 UTC
Created attachment 177902 [details, diff]
gwenview-1.4.2.ebuild.patch - fixed

gwenview-1.4.2.ebuild.patch - fixed
fixed typo
Comment 11 Billy DeVincentis 2009-01-09 22:57:44 UTC
Works  for  me!!!!!
Comment 12 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-01-09 23:20:11 UTC
*** Bug 254354 has been marked as a duplicate of this bug. ***
Comment 13 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-01-10 11:55:11 UTC
Thanks for the patch, applied in 1.4.2-r1 (although it's version-agnostic, stable packages shouldn't be touched much).