Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287921 - media-libs/netpbm-10.46.00-r1 breaks media-gfx/digikam-0.9.4
Summary: media-libs/netpbm-10.46.00-r1 breaks media-gfx/digikam-0.9.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 16:28 UTC by Nick Soveiko
Modified: 2011-09-20 22:35 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Soveiko 2009-10-06 16:28:13 UTC
upgrade from media-libs/netpbm-10.46.00 to media-libs/netpbm-10.46.00-r1 causes digikam-0.9.4 (stable) to stop recognizing and displaying JPEG files

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =media-libs/netpbm-10.46.00-r1
2. emerge media-gfx/digikam
3. start digikam from command line
4. double click on an existing JPEG file
Actual Results:  
on console:

digikam: WARNING: Cannot extract preview for /home/nsoveiko/pics/*/DSC_2305.JPG
Cannot load metadata using Exiv2  (Error #11: /home/nsoveiko/pics/*/DSC_2305.JPG: The file contains data of an unknown image type)


the weird thing is that only media-gfx/dcraw-8.73 depends on media-libs/netpbm out of all obviously relevant to digikam packages and raw files *did keep working*. as well as tiff and png. only jpegs were affected.

rolling back to media-libs/netpbm-10.46.00 fixes the problem.

# eix digikam
[I] media-gfx/digikam
     Available versions:
        (0)     0.9.4
        (3.5)   ~0.9.4-r2 ~0.9.5 ~0.9.5-r1
        (4)     ~0.10.0-r1
        {addressbook aqua arts debug doc elibc_FreeBSD geolocation gphoto2 kdeenablefinal kdehiddenvisibility linguas_ar linguas_be linguas_bg linguas_br linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en_GB linguas_es linguas_et linguas_eu linguas_fa linguas_fi linguas_fr linguas_ga linguas_gl linguas_he linguas_hi linguas_hu linguas_is linguas_it linguas_ja linguas_ka linguas_km linguas_ko linguas_lb linguas_lt linguas_lv linguas_mk linguas_ms linguas_mt linguas_nb linguas_nds linguas_ne linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_rw linguas_se linguas_sk linguas_sl linguas_sr linguas_sr@Latn linguas_sv linguas_ta linguas_th linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW nfs xinerama}
     Installed versions:  0.9.4(11:45:14 AM 06/10/09)(arts kdeenablefinal kdehiddenvisibility -debug -doc -elibc_FreeBSD -linguas_ar -linguas_bg -linguas_br -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_es -linguas_et -linguas_fa -linguas_fi -linguas_fr -linguas_gl -linguas_he -linguas_hu -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_lt -linguas_mk -linguas_ms -linguas_mt -linguas_nb -linguas_nds -linguas_nl -linguas_nn -linguas_pa -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ro -linguas_ru -linguas_rw -linguas_sk -linguas_sl -linguas_sr -linguas_sr@Latn -linguas_sv -linguas_ta -linguas_th -linguas_tr -linguas_uk -linguas_vi -linguas_zh_CN -linguas_zh_TW -nfs -xinerama)
     Homepage:            http://www.digikam.org/
     Description:         A digital photo management application for KDE.

# eix digikam
[I] media-gfx/digikam
     Available versions:
        (0)     0.9.4
        (3.5)   ~0.9.4-r2 ~0.9.5 ~0.9.5-r1
        (4)     ~0.10.0-r1
        {addressbook aqua arts debug doc elibc_FreeBSD geolocation gphoto2 kdeenablefinal kdehiddenvisibility linguas_ar linguas_be linguas_bg linguas_br linguas_ca linguas_cs linguas_cy linguas_da linguas_de linguas_el linguas_en_GB linguas_es linguas_et linguas_eu linguas_fa linguas_fi linguas_fr linguas_ga linguas_gl linguas_he linguas_hi linguas_hu linguas_is linguas_it linguas_ja linguas_ka linguas_km linguas_ko linguas_lb linguas_lt linguas_lv linguas_mk linguas_ms linguas_mt linguas_nb linguas_nds linguas_ne linguas_nl linguas_nn linguas_pa linguas_pl linguas_pt linguas_pt_BR linguas_ro linguas_ru linguas_rw linguas_se linguas_sk linguas_sl linguas_sr linguas_sr@Latn linguas_sv linguas_ta linguas_th linguas_tr linguas_uk linguas_vi linguas_zh_CN linguas_zh_TW nfs xinerama}
     Installed versions:  0.9.4(11:45:14 AM 06/10/09)(arts kdeenablefinal kdehiddenvisibility -debug -doc -elibc_FreeBSD -linguas_ar -linguas_bg -linguas_br -linguas_ca -linguas_cs -linguas_cy -linguas_da -linguas_de -linguas_el -linguas_en_GB -linguas_es -linguas_et -linguas_fa -linguas_fi -linguas_fr -linguas_gl -linguas_he -linguas_hu -linguas_is -linguas_it -linguas_ja -linguas_ka -linguas_lt -linguas_mk -linguas_ms -linguas_mt -linguas_nb -linguas_nds -linguas_nl -linguas_nn -linguas_pa -linguas_pl -linguas_pt -linguas_pt_BR -linguas_ro -linguas_ru -linguas_rw -linguas_sk -linguas_sl -linguas_sr -linguas_sr@Latn -linguas_sv -linguas_ta -linguas_th -linguas_tr -linguas_uk -linguas_vi -linguas_zh_CN -linguas_zh_TW -nfs -xinerama)
     Homepage:            http://www.digikam.org/
     Description:         A digital photo management application for KDE.

0 alerik /etc # eix netpbm
[U] media-libs/netpbm
     Available versions:  10.26.62 10.26.64 10.46.00 10.46.00-r1 ~10.48.00 {X jbig jpeg jpeg2k png rle svga tiff xml zlib}
     Installed versions:  10.46.00(12:10:27 PM 06/10/09)(X jpeg png tiff xml zlib -jbig -jpeg2k -rle -svga)
     Homepage:            http://netpbm.sourceforge.net/
     Description:         A set of utilities for converting to/from the netpbm (and related) formats

# eix exiv2
* kde-base/libkexiv2
     Available versions:
        (4.2)   ~4.2.4
        (4.3)   ~4.3.0 ~4.3.1
        {aqua debug kdeprefix}
     Homepage:            http://www.kipi-plugins.org
     Description:         KDE Image Plugin Interface: an exiv2 library wrapper

[I] media-gfx/exiv2
     Available versions:  0.17 ~0.17.1 0.18.1 ~0.18.1-r1 {contrib doc examples linguas_de linguas_es linguas_fi linguas_fr linguas_pl linguas_ru linguas_sk nls unicode xmp zlib}
     Installed versions:  0.18.1(11:22:53 PM 05/10/09)(nls unicode zlib -doc -examples -linguas_de -linguas_es -linguas_fi -linguas_fr -linguas_pl -linguas_ru -linguas_sk -xmp)
     Homepage:            http://www.exiv2.org/
     Description:         EXIF and IPTC metadata C++ library and command line utility

[I] media-libs/libkexiv2
     Available versions:
        (0)     0.1.8-r1
        (3.5)   ~0.1.9
        {debug elibc_FreeBSD xinerama}
     Installed versions:  0.1.8-r1(11:53:24 AM 06/10/09)(-debug -elibc_FreeBSD -xinerama)
     Homepage:            http://www.kipi-plugins.org
     Description:         KDE Image Plugin Interface: An exiv2 library wrapper.

# eix dcraw
* kde-base/libkdcraw
     Available versions:
        (4.2)   ~4.2.4-r1
        (4.3)   ~4.3.0 ~4.3.1
        {aqua debug kdeprefix}
     Homepage:            http://www.kipi-plugins.org
     Description:         KDE Image Plugin Interface: a dcraw library wrapper

[I] media-gfx/dcraw
     Available versions:  8.73 ~8.86 {gimp jpeg lcms}
     Installed versions:  8.73(01:19:11 AM 24/07/07)(gimp)
     Homepage:            http://www.cybercom.net/~dcoffin/dcraw/
     Description:         Converts the native (RAW) format of various digital cameras into netpbm portable pixmap (.ppm) image

[I] media-libs/libkdcraw
     Available versions:
        (0)     0.1.4-r2
        (3.5)   ~0.1.9
        {debug elibc_FreeBSD xinerama}
     Installed versions:  0.1.4-r2(11:50:54 AM 06/10/09)(-debug -elibc_FreeBSD -xinerama)
     Homepage:            http://www.kipi-plugins.org
     Description:         KDE Image Plugin Interface: A dcraw library wrapper.

# emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5-ns i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-ns-i686-AMD_Phenom-tm-_9550_Quad-Core_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 05 Oct 2009 10:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/lib/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 4 --load-average 8 --keep-going"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://mirror.datapipe.net/gentoo http://ftp.heanet.ie/pub/gentoo/"
LANG="en_CA.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j 8 -l 8"
PKGDIR="/var/lib/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="/var/lib/portage/tree"
PORTDIR_OVERLAY="/var/lib/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amarok amr apache2 arts artswrappersuid asf audiofile bash-completion berkdb binary-drivers bittorrent bittorrent-external blas branding bzip2 cairo caps cddb cdparanoia cdr cdrom cli colordiff consolekit cracklib crypt css cups curl dbus device-mapper dga divx djvu dmx dri dts dv dvd dvdnav dvdr enca encode exif fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm geoip gif gimp gphoto2 gpm gs gstreamer gtk hal iconv id3 id3tag idn imagemagick java javascript jfs jpeg kde kdeenablefinal kdehiddenvisibility kipi kpathsea latex lcms libnotify lm_sensors logrotate logwatch lzo mad matroska mbox md5sum memlimit mikmod mime mjpeg mmx mmxext modules mozilla mp2 mp3 mp4 mpeg mpeg2 mplayer mudflap multiuser musepack musicbrainz mysql na_dd na_icons ncurses network network-cron nls nptl nptlonly nsplugin nvidia offensive ogg openal opengl openmp pam pch pcre pdf perl png pnm posix ppds pppd pvr python qt3 qt3support qt4 quicktime radio rar readline realmedia reflection reiserfs rrdcgi rss sdl session sharedmem shorten slang smp sndfile sockets sox speex spell spl srt sse sse2 ssl startup-notification svg sysfs tcpd tex4ht theora threads threadsafe thunar tiff truetype tv_check unicode usb v4l v4l2 vcd vim vim-pager vim-syntax vim-with-x visualization vorbis win32codecs wma wmf wmp wordperfect x264 x86 xanim xine xml xorg xosd xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia radeonhd fglrx vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-10-06 17:21:04 UTC
Did you revdep-rebuild everything that depends on old
jpeg lib ? Perhaps you're getting a conflict somewhere.

And even revdep-rebuild won't catch all - i.e. sdl-gfx
will slip through, cause it dlopens jpeglib, not links with it.
Comment 2 Nick Soveiko 2009-10-06 17:24:54 UTC
(In reply to comment #1)
> Did you revdep-rebuild everything that depends on old
> jpeg lib ?

yes, i did
Comment 3 Nick Soveiko 2009-10-06 17:26:35 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Did you revdep-rebuild everything that depends on old
> > jpeg lib ?
> 
> yes, i did

and then manually re-emerged digikam, exiv2, libkexiv2 and libkdcraw
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-10-06 22:41:59 UTC
So, if you do `emerge -C jpeg-compat` and `rm -f /usr/lib/libjpeg.62*` revdep-rebuild doesn't want to rebuild anything?

There is no difference in 10.46.00 and 10.46.00-r1, except =media-libs/jpeg-7
compability patch which has #ifdef's to check the version.
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2009-10-09 18:20:14 UTC
Report back if issue is still valid
Comment 6 Nick Soveiko 2009-10-09 19:07:49 UTC
(In reply to comment #5)

> Report back if issue is still valid

looks like my digikam issue was caused by filesystem corruption and is not related to netpbm. the uprgrade/downgrade was just a coincidence.

i apologize to everybody for stirring the pot with no reason.
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2009-10-21 19:12:42 UTC
Reopen to close