Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465828 - net-im/coccinella-0.96.20 does not work with media-libs/libpng-1.6.1
Summary: net-im/coccinella-0.96.20 does not work with media-libs/libpng-1.6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 465644
Blocks: libpng16
  Show dependency tree
 
Reported: 2013-04-13 21:11 UTC by Vladimir
Modified: 2013-04-25 19:57 UTC (History)
2 users (show)

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


Attachments
Reorder transformation w.r.t. png_read_update_info() (tkimg-1.4-png-1.6.patch,1.02 KB, patch)
2013-04-24 04:12 UTC, Johan Hattne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir 2013-04-13 21:11:29 UTC
net-im/coccinella-0.96.20 refuses to start after a recent upgrade to media-libs/libpng-1.6.1 and dev-tcltk/tkimg-1.4-r8

It gives the following error message in GUI:

Hook initHook failed: 1
invalid after png_start_read_image or png_read_update_info
    while executing
"image create photo -file $f -format png"
    ("eval" body line 1)
    invoked from within
"eval {image create photo -file $f} $priv(pngformat)"
    (procedure "ParseIcon" line 43)
    invoked from within
"ParseIcon $name $dir $elem"
    (procedure "ParseIconDef" line 19)
    invoked from within
"ParseIconDef $name $dir $xmldata"
    (procedure "LoadTmpIconSet" line 40)
    invoked from within
"LoadTmpIconSet [GetPrefSetPathExists]"
    (procedure "::Emoticons::Init" line 56)
    invoked from within
"::Emoticons::Init"
    ("eval" body line 1)
    invoked from within
"eval $func $args"
invalid after png_start_read_image or png_read_update_info
    while executing
"image create photo -file $f -format png"
    ("eval" body line 1)
    invoked from within
"eval {image create photo -file $f} $priv(pngformat)"
    (procedure "ParseIcon" line 43)
    invoked from within
"ParseIcon $name $dir $elem"
    (procedure "ParseIconDef" line 19)
    invoked from within
"ParseIconDef $name $dir $xmldata"
    (procedure "LoadTmpIconSet" line 40)
    invoked from within
"LoadTmpIconSet [GetPrefSetPathExists]"
    (procedure "::Emoticons::Init" line 56)
    invoked from within
"::Emoticons::Init"
    ("eval" body line 1)
    invoked from within
"eval $func $args"


and in the console it prints:

Error in startup script: invalid after png_start_read_image or png_read_update_info
    while executing
"image create photo $name -file $f -format $fmt"
    (procedure "MakeIconFromPaths" line 22)
    invoked from within
"MakeIconFromPaths $spec $name $paths"
    (procedure "FindIconWithName" line 6)
    invoked from within
"FindIconWithName $spec ::theme::$spec"
    (procedure "::Theme::FindIcon" line 5)
    invoked from within
"::Theme::FindIcon elements/[option get $w sizeGripImage {}]"
    (procedure "::JUI::Build" line 75)
    invoked from within
"::JUI::Build $wDlgs(jmain)    "
    (procedure "::Jabber::Init" line 38)
    invoked from within
"::Jabber::Init"
    (file "/opt/bin/coccinella" line 325)

Reproducible: Always




 emerge --info
Portage 2.2.0_alpha173 (default/linux/amd64/13.0, gcc-4.7.2, glibc-2.17, 3.8.4-gentoo x86_64)
=================================================================
System uname: Linux-3.8.4-gentoo-x86_64-Mobile_AMD_Sempron-tm-_Processor_3800+-with-gentoo-2.2
KiB Mem:     1988712 total,    533700 free
KiB Swap:    1052220 total,    655736 free
Timestamp of tree: Sat, 13 Apr 2013 19:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo sage-on-gentoo local
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/home/Install/GNU-Linux/distfiles/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://portage.org.ua/ ftp://portage.org.ua/                 http://gentoo.iteam.net.ua/                 ftp://gentoo.kiev.ua/ http://gentoo.kiev.ua/ftp/"
LANG="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/home/Install/GNU-Linux/binpkg/"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sage-on-gentoo /usr/local/overlays"
SYNC="rsync://distfiles.gentoo.org/gentoo-portage/"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acpi alsa amd64 amrnb amrwb apm ass bash-completion bzip2 cairo cli consolekit cracklib crypt ctype curl cxx dbus dga djvu dri dts dvd encode exif expat faad fbcon fbcondecor festival ffmpeg fftw flac freetds fuse gd gdbm geoip gif git glut gmp gnuplot gnutls gsl gstreamer gtk gtk3 hddtemp iconv idn imagemagick imlib irc jabber jbig jpeg lame laptop latex libcaca libnotify libsamplerate lm_sensors lzo mad matroska mmap mmx mmxext mng modplug modules mudflap multilib nas ncurses nforce2 nls nptl nvidia ogg openal opencore-amr opengl openmp pam pdf plotutils pmu png policykit postscript python qt3support qt4 readline rtc samba sasl sdl session shorten skins slang sndfile sockets speex spell sse sse2 ssl startup-notification svg syslog systray taglib tcl tcpd theora threads timidity truetype udev unicode usb vorbis wavpack webkit wmf x264 xattr xcb xcomposite xinerama xml xosd xpm xvid zlib" ABI_X86="64" 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="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump" 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru uk" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-04-15 06:16:41 UTC
Doesn't look too good for coccinella; TCL/TK, maintainer-needed@
CCing treecleaner@ for possible removal
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2013-04-15 06:23:19 UTC
I will look into it.
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2013-04-15 06:58:50 UTC
I would think it is a problem in the binary package itself. This is from png.h:

/* Have the code handle the interlacing.  Returns the number of passes.
 * MUST be called before png_read_update_info or png_start_read_image,
 * otherwise it will not have the desired effect.  Note that it is still
 * necessary to call png_read_row or png_read_rows png_get_image_height
 * times for each pass.
*/
Comment 4 Johan Hattne 2013-04-23 22:29:12 UTC
sci-chemistry/imosflm-1.0.7 appears to be affected by the same issue (after #466936 has been addressed)
Comment 5 Johan Hattne 2013-04-24 04:12:31 UTC
Created attachment 346436 [details, diff]
Reorder transformation w.r.t. png_read_update_info()
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2013-04-24 06:04:30 UTC
(In reply to comment #5)
> Created attachment 346436 [details, diff] [details, diff]
> Reorder transformation w.r.t. png_read_update_info()

For which package is that patch, Johan?
Comment 7 Johan Hattne 2013-04-24 06:06:59 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Created attachment 346436 [details, diff] [details, diff] [details, diff]
> > Reorder transformation w.r.t. png_read_update_info()
> 
> For which package is that patch, Johan?

The patch applies to dev-tcltk/tkimg-1.4-r8.ebuild.  Sorry about the confusion.
Comment 8 Johan Hattne 2013-04-24 06:08:22 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > (In reply to comment #5)
> > > Created attachment 346436 [details, diff] [details, diff] [details, diff] [details, diff]
> > > Reorder transformation w.r.t. png_read_update_info()
> > 
> > For which package is that patch, Johan?
> 
> The patch applies to dev-tcltk/tkimg-1.4-r8.ebuild.  Sorry about the
> confusion.

And I should also have said that this really is a minimal-effort patch.  It was just enough to get me past my problem (and posted here in the hopes that someone with more understanding than myself could fix it up properly).
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2013-04-25 12:02:19 UTC
(In reply to comment #8)
> 
> And I should also have said that this really is a minimal-effort patch.  It
> was just enough to get me past my problem (and posted here in the hopes that
> someone with more understanding than myself could fix it up properly).

At least the test suite runs fine with this patch. Lets see what the future brings. Thanks for the contribution, again.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2013-04-25 12:04:52 UTC
+*tkimg-1.4-r9 (25 Apr 2013)
+
+  25 Apr 2013; Justin Lecher <jlec@gentoo.org> -tkimg-1.4-r8.ebuild,
+  +tkimg-1.4-r9.ebuild, +files/tkimg-1.4-png2.patch:
+  Add patch for libpng-1.6, thanks Johan Hattne, #465828
+
Comment 11 Vladimir 2013-04-25 19:57:56 UTC
(In reply to comment #5)
> Created attachment 346436 [details, diff] [details, diff]
> Reorder transformation w.r.t. png_read_update_info()
Thanks a lot! Now I can use my favourite Jabber client again! :)