Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 373893 - media-gfx/digikam-1.9.0-r1 doesn't build with media-libs/libpgf-6.11.24
Summary: media-gfx/digikam-1.9.0-r1 doesn't build with media-libs/libpgf-6.11.24
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-03 10:57 UTC by PM
Modified: 2011-07-06 06:08 UTC (History)
10 users (show)

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


Attachments
digikam-1.9.0-pgf.patch (digikam-1.9.0-pgf.patch,1.21 KB, patch)
2011-07-04 08:50 UTC, Nickolay Kolchin-Semyonov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2011-07-03 10:57:06 UTC
/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp: In member function ‘virtual bool Digikam::PGFLoader::save(const QString&, Digikam::DImgLoaderObserver*)’:                                                                                                               
/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:438:70: error: no matching function for call to ‘CPGFImage::Write(CPGFFileStream*, int, bool (&)(double, bool, void*), UINT32*, Digikam::PGFLoader* const)’                                                              
/usr/include/libpgf/PGFimage.h:209:7: note: candidates are: void CPGFImage::Write(CPGFStream*, UINT32*, bool (*)(double, bool, void*), void*)               
/usr/include/libpgf/PGFimage.h:236:9: note:                 UINT32 CPGFImage::Write(int, bool (*)(double, bool, void*), void*)      

Reproducible: Always




Portage 2.2.0_alpha43 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-pf3 x86_64)
=================================================================
System uname: Linux-2.6.39-pf3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7400_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 03 Jul 2011 10:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo sunrise multimedia dupa
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=core2 -msse3 -mssse3 -msse4.1 -pipe -g"
GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.po.opole.pl http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/layman/multimedia /usr/local/portage/moje"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb apng async audiofile automount bash-completion berkdb bfq bineditor branding bzip2 cairo cdda cddb cdparanoia cdr chdir cli consolekit cracklib crypt css cuda cups curl cxx dbus dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix enca encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm gdu geoip gif glitz gmedia gphoto2 gpm gtk hddtemp iconv id3 id3tag imagemagick inotify ipod jpeg kde kde4 kdehiddenvisibility kipi kompare kpathsea kqemu ladspa lame laptop lastfm latex lcms libass libcaca libnotify libsamplerate lm_sensors lzma lzo mad matroska midi mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg okteta openal opencore-amr opengl openmp pam pango pch pcre pdf perl plasma png policykit portage ppds pppd private-headers python qt3 qt3support qt4 qthelp readline realmedia roe scanner schroedinger sdl secure-delete semantic-desktop sensord session shaders slang sndfile solver soundtouch sourceview sparse spell sse sse2 sse3 sse4 sse4a ssl ssse3 startup-notification suid svg swat symlink sysfs syslog tcpd theora threads tiff truetype udev unicode upnp usb vaapi vamp vcd vdpau vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xv xvid xvmc 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stefan Triller 2011-07-03 11:40:34 UTC
Happens to me also, same problem.
Comment 2 Sylvia 2011-07-03 12:32:30 UTC
~x86 : same

/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp: In member function 'virtual bool Digikam::PGFLoader::save(const QString&, Digikam::DImgLoaderObserver*)':
/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:438:70: error: no matching function for call to 'CPGFImage::Write(CPGFFileStream*, int, bool (&)(double, bool, void*), UINT32*, Digikam::PGFLoader* const)'
/var/tmp/portage/media-gfx/digikam-1.9.0-r1/work/digikam-1.9.0/libs/dimg/loaders/pgfloader.cpp:438:70: note: candidates are:
/usr/include/libpgf/PGFimage.h:209:7: note: void CPGFImage::Write(CPGFStream*, UINT32*, CallbackPtr, void*)
/usr/include/libpgf/PGFimage.h:209:7: note:   candidate expects 4 arguments, 5 provided
/usr/include/libpgf/PGFimage.h:236:9: note: UINT32 CPGFImage::Write(int, CallbackPtr, void*)
/usr/include/libpgf/PGFimage.h:236:9: note:   candidate expects 3 arguments, 5 provided
make[2]: *** [digikam/CMakeFiles/digikamcore.dir/__/libs/dimg/loaders/pgfloader.o] Error 1
make[1]: *** [digikam/CMakeFiles/digikamcore.dir/all] Error 2
Comment 3 Andreas Sturmlechner gentoo-dev 2011-07-03 21:48:13 UTC
Same here on ~amd64.
Comment 4 Nickolay Kolchin-Semyonov 2011-07-04 08:50:14 UTC
Created attachment 279021 [details, diff]
digikam-1.9.0-pgf.patch

Simple patch, from KDE recommendations.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-07-04 12:34:10 UTC
Ack. Problem is known and the fix is also known, just no time right now (for details see the linked KDE bug, this will just have to be placed in the proper conditionals so all libpgf versions still work.) Give me a few days...

Temporary workarounds: 
* package.mask new libpgf, or 
* use digikam-2.0.0-rc from kde overlay (needs kde-4.7 rc also from kde overlay)
Comment 6 Andreas Sturmlechner gentoo-dev 2011-07-04 12:57:07 UTC
I tried 2.0.0_rc, but it failed with the same error (as far as I remember).
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-07-05 07:13:54 UTC
(In reply to comment #6)
> I tried 2.0.0_rc, but it failed with the same error (as far as I remember).

Resync your overlay, it should work now. (Much easier to fix. :)
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2011-07-05 11:41:10 UTC
Fixed in 1.9.0-r1 now as well.