There seems to be incompatibility between Digikam 2.2 and libpng 1.5.5. After I've upgraded to libpng 1.5.5 and recompiled all the corresponding files, DigiKam starts normally but displayes no images in the albums. Running Digikam from terminal produces the following trace (which suggests issues with libpng): digikam(10430)/digikam (core) Digikam::AlbumManager::slotPeopleJobResult: Failed to list face tags QPainter::begin: Widget painting can only begin as a result of a paintEvent QPainter::translate: Painter not active QPainter::setClipRect: Painter not active QPainter::font: Painter not active QPainter::setFont: Painter not active QPainter::setPen: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active QPainter::setFont: Painter not active QPainter::fontMetrics: Painter not active QPainter::setPen: Painter not active QPainter::setBrush: Painter not active libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated libpng warning: Ignoring extra png_start_read_image() call; row buffer not reallocated Notice that DigiKam is aware that images in the file directories do exist (I can query it database), but does not display any of them most probably because it cannot generate thumbnails from images due to libpng problem. Recreating thumbnails manually from a corresponding menu does not help. My emerge --info: Portage 2.1.10.31 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14-r0, 3.0.7-gentoo i686) ================================================================= System uname: Linux-3.0.7-gentoo-i686-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-gentoo-2.1 Timestamp of tree: Mon, 24 Oct 2011 00:00:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 3.1.6 [enabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3, 3.1.3-r1, 3.2.2 dev-util/ccache: 3.1.6 dev-util/cmake: 2.8.6-r1 dev-util/pkgconfig: 0.25-r2 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.4 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r4 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.14 Repositories: gentoo local ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe" CHOST="i686-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/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="-O2 -march=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="uk_UA.UTF-8" LC_ALL="uk_UA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en pl uk be de en_GB" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi adns alsa amarok amr amrnb amrr amrwb ao apng arts aspnet auto-completion autoipd automount avahi bash-completion bidi bittorrent-external bluetooth bonjour bookmarks branding bzip2 c++ cairo calendar caps ccache cdaudio cdda cdio cdr chm cisco cli consolekit context cracklib crypt css cups curl cxx cyrillic daap dbus declarative desktopglobe detex device-mapper dga dia directfb divx djvu docbook dot dri drm dts dv dvd dvdnav dvdr dvdread dvi2tty ebook emovix enca encode exif expat expoblending extra extras fam fax fbcon ffmpeg firefox flac font-server fontconfig fortran ftp fts3 games gd gdbm geoip geolocation ggi gif glib glitz gmail gmedia gnutls google gpg2-experimental gphoto2 gpm gps graphics gsm gstreamer gtk h224 h281 h323 html htmlhandbook http humanities hyperestraier iconv icq icu ide idn imagemagick inotify ipod ipv6 ipw3945 jadetex java javascript jce jpeg jpeg2k justify kde kerberos kpathsea ladspa lame laptop lastfm latex latex3 lcms lensfun libcaca libsamplerate libssh2 libwww live lm_sensors lzo mad marble matroska matrox mbrola md5sum mdnsresponder-compat minizip mjpeg mmap mmx mmxext mng modplug modules moonlight motif mp2 mp3 mp4 mp4live mpeg mpeg2 mpi mplayer msn mtp mudflap musepack music musicbrainz mysql nas ncurses neXt net netbeans netboot network network-cron networking nfs nls npp nptl nptlonly nsplugin ntfs ntp nvidia nvram nvtv obex ogg omega openal openct openexr opengl openmp openssh openvpn oss overlays pam pch pcmcia pcre pcsc-lite pda pdf phonon plasma player plotutils plugins pmu png policykit pppd pstricks publishers python python3 qalculate qos qt3support qt4 quicktime radio rar raw rdesktop rdp readline redeyes reiser4 reiserfs romio rss rtc rtf samba sasl scanner science sdl semantic-desktop session sip skype slp smartcard smbclient sms sndfile snmp socks5 sourceview speech speex spell sql sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcl tcpd templates tetex tex4ht tga themedesigner theora threads tiff timidity tk tools truetype unicode usb v4l v4l2 vcd video vidix visualization vorbis wav wavpack webinterface webkit wifi win32codecs wma wmf wmp wps wxwindows x264 x86 xanim xcb xcomposite xetex xindy xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yv12 zeroconf zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 stage tables krita karbon braindump" CAMERAS="nikon" 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="keyboard mouse evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl uk be de en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I see the warnings as well, but the program works fine otherwise- which makes me suspect the real problem is somewhere else. Please try the following things, in the following order: 1) log out, log in again- does it work? (ioslaves from old kde version still running?) 2) stop digikam, kbuildsyscoca4, start digikam, does it work? (invalid cached settings) 3) revdep-rebuild
Thanks for the prompt response! 3. I did revdep-rebuild - that did not help. 1. Logging in and out does not help. However, when starting Digikam, it complains about not bein able to start io-slave: QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work. digikam(8636): couldn't create slave: "Couldn't create io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamalbums». " digikam(8636)/digikam (core) Digikam::AlbumManager::slotAlbumsJobResult: Failed to list albums digikam(8636): couldn't create slave: "Couldn't create io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamtags». The Cyrillic warnings are in Ukrainian and say something like "warning by klauncher: Error in loading "kio_digikam{albums,tags}" 2. How do I stop kbuildsyscoca4? Or do you mean just run it? If I stop Digikam, run kbuildsycoca4 and then restart Digikam, it does not help :( But, I also get a message about crushing Nepomuk
> digikam(8636): couldn't create slave: "Couldn't create io-slave: > повідомлення klauncher: Помилка завантаження «kio_digikamalbums». > " > digikam(8636)/digikam (core) Digikam::AlbumManager::slotAlbumsJobResult: > Failed to list albums > digikam(8636): couldn't create slave: "Couldn't create io-slave: > повідомлення klauncher: Помилка завантаження «kio_digikamtags». > > The Cyrillic warnings are in Ukrainian and say something like "warning by > klauncher: Error in loading "kio_digikam{albums,tags}" OK that's the real problem. I'm not sure where it comes from though... Please add (only for the moment) "keeptemp" to FEATURES in your make.conf This means that the build log is not deleted, even if the build succeeds. Then, please rebuild digikam and attach the build log here...
Created attachment 290751 [details] Build log That makes sense! Build log is attached. Thank you for helping me with this!
Apparently, the issue is that my environment variable DIGIKAMDEST is incorrect. I set export DIGIKAMDEST=/usr/ export LD_LIBRARY_PATH="$DIGIKAMDEST/lib:$DIGIKAMDEST/lib/kde4:$DIGIKAMDEST/lib:$LD_LIBRARY_PATH" To make sure thatb Digikam finds files like kio_digikamalbums.so located in /usr/lib/kde4/ But then, another problem arises. When I start Digikam, here is what I get: Could not open library '/usr/lib/kde4/kio_digikamtags.so'. Cannot load library /usr/lib/kde4/kio_digikamtags.so: (libgomp.so.1: shared object cannot be dlopen()ed) digikam(783): couldn't create slave: "Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamtags». " digikam(783)/digikam (core) Digikam::AlbumManager::slotTagsJobResult: Failed to list tags Could not open library '/usr/lib/kde4/kio_digikamdates.so'. Cannot load library /usr/lib/kde4/kio_digikamdates.so: (libgomp.so.1: shared object cannot be dlopen()ed) digikam(783): couldn't create slave: "Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamdates». " digikam(783)/digikam (core) Digikam::AlbumManager::slotDatesJobResult: Failed to list dates Could not open library '/usr/lib/kde4/kio_digikamalbums.so'. Cannot load library /usr/lib/kde4/kio_digikamalbums.so: (libgomp.so.1: shared object cannot be dlopen()ed) digikam(783): couldn't create slave: "Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamalbums». " digikam(783)/digikam (core) Digikam::AlbumManager::slotAlbumsJobResult: Failed to list albums Could not open library '/usr/lib/kde4/kio_digikamtags.so'. Cannot load library /usr/lib/kde4/kio_digikamtags.so: (libgomp.so.1: shared object cannot be dlopen()ed) digikam(783): couldn't create slave: "Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamtags». " digikam(783)/digikam (core) Digikam::AlbumManager::slotPeopleJobResult: Failed to list face tags Could not open library '/usr/lib/kde4/kio_digikamalbums.so'. Cannot load library /usr/lib/kde4/kio_digikamalbums.so: (libgomp.so.1: shared object cannot be dlopen()ed) digikam(783): couldn't create slave: "Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamalbums». " digikam(783)/digikam (core) Digikam::ImageAlbumModel::slotResult: Failed to list url: "Не вдалося запустити процес Неможливо створити io-slave: повідомлення klauncher: Помилка завантаження «kio_digikamalbums». No idea how to deal with this (libgomp.so.1: shared object cannot be dlopen()ed) issue :(
> No idea how to deal with this (libgomp.so.1: shared object cannot be > dlopen()ed) issue :( Maybe you rebuilt your gcc recently and changed the openmp useflag from on to off? Please try running revdep-rebuild, and also try building digikam-2.3.0
Ran revdep-rebuild and upgraded to the lastest Digikam. The issue still remains :( Showfoto works without a glitch.
I also tried disabling openmp use flag and recompiling gcc. Didn't help, unfortunately.
Mystery got solved. I deleted all the libgomp* from /lib and then recompiled gcc again and Digikam started working. Curious, why would I have leftover ol libgomps in my /lib directory. I looked at the timestamps on those files and found that they were compiled ages ago (about a year ago). I guess, I can close this bug. Do you think I should let anyone supporting gcc know about this? Thanks for your helpful suggestions! Best wishes from Ukraine!