First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139338
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andre Hinrichs <andre.hinrichs@gmx.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gif2png-libpng.patch gif2png-libpng.patch patch Michael A. Smith 2006-07-07 14:01 0000 1.01 KB Details | Diff
gif2png-2.5.1-r1.ebuild gif2png-2.5.1-r1.ebuild text/plain Michael A. Smith 2006-07-07 14:02 0000 696 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139338 depends on: Show dependency tree
Bug 139338 blocks: 138736
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-05 10:10 0000
Here is, what happens:

i686-pc-linux-gnu-gcc  -O3 -march=pentium3 -fomit-frame-pointer   -o gif2png 
437_l1.o gif2png.o gifread.o memory.o version.o  -lpng -lm -lz
gif2png.o: In function `writefile':
gif2png.c:(.text+0xe2e): undefined reference to `png_write_tEXt'
gif2png.c:(.text+0xe83): undefined reference to `png_write_zTXt'
collect2: ld returned 1 exit status
make[1]: *** [gif2png] Error 1
make[1]: Leaving directory `/var/tmp/portage/gif2png-2.5.1/work/gif2png-2.5.1'
make: *** [all] Error 2

!!! ERROR: media-gfx/gif2png-2.5.1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 609:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.


# emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16.19
i686)
=================================================================
System uname: 2.6.16.19 i686 Intel(R) Pentium(R) M processor 1.86GHz
Gentoo Base System version 1.6.15
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse -maccumulate-outgoing-args
-fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref
/usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -mmmx -msse
-maccumulate-outgoing-args -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/
http://gentoo.intergenia.de http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.du.se/pub/os/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/my /usr/local/portage/sunrise"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 aac accessibility acl alsa apache2 audiofile avi berkdb bidi
big-tables binfilter bitmap-fonts browserplugin bzip2 cairo cdda cddb
cdparanoia chroot cli corba crypt cups curl daap dlloader dri dts dv dvb dvd
dvdread eds emacs emboss encode exif expat fame ffmpeg flac font-server
foomaticdb fortran gd gdbm gif gimp glut gmp gnutls gpm gs gstreamer gtk gtk2
hpn idn ieee1394 imagemagick imlib isdnlog java jbig jpeg junit kde
kdeenablefinal lcms ldap leim libg++ libwww live lzo mad mailwrapper matroska
mikmod mjpeg mmx mng mod mono motif mozilla moznocompose moznoirc moznomail mp3
mpeg mysql ncurses network nls nptl nsplugin objc odbc ogg openal openexr
opengl pam pcmcia pcre pdf pdflib perl png povray ppds pppd profile python qt
qt3 qt4 quicktime readline real reflection rle rtc rtsp samba sasl scanner sdl
session shout slp sndfile speex spell spl sse ssl stream subversion svg svga
tcltk tcpd tetex theora threads tidy tiff truetype truetype-fonts type1-fonts
udev unicode usb v4l v4l2 vcd vlm vorbis win32codecs wmf wxwindows xanim xml
xorg xosd xscreensaver xv xvid yv12 zlib elibc_glibc input_devices_keyboard
input_devices_mouse kernel_linux linguas_de linguas_en userland_GNU
video_cards_fglrx video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Nick Devito 2006-07-05 10:20:57 0000 -------
This seems to be an ABI incompatability issue, and I've been able to reproduce
this error. One temporary measure would be to require a libpng version below
1.2.12. Upstream libpng knows about the ABI incompatability issues as stated on
their mailing list, however, upstream gif2png doesn't seem to know. 

------- Comment #2 From Michael A. Smith 2006-07-07 14:01:51 0000 -------
Created an attachment (id=91163) [edit]
gif2png-libpng.patch

Found this patch on the libpng ML archive at
http://sourceforge.net/mailarchive/forum.php?thread_id=10199493&forum_id=43850
(thanks to Thomas Klausner).

It resolves the >=media-libs/libpng-1.2.10 issues and compiles and runs as
expected on my x86 box. The aforementioned post raises some doubts about the
patch's effect on gif -> png comments; however I haven't run into any problems
so far. So please test!

------- Comment #3 From Michael A. Smith 2006-07-07 14:02:47 0000 -------
Created an attachment (id=91164) [edit]
gif2png-2.5.1-r1.ebuild

Ebuild to apply the libpng patch attached previously.

------- Comment #4 From Andre Hinrichs 2006-07-07 15:01:07 0000 -------
Yeap, compiles fine here.

------- Comment #5 From Marcelo Goes 2006-07-08 14:39:03 0000 -------
Thanks, I just added the patch to 2.5.1, it worked fine for me.

------- Comment #6 From Jakub Moc (RETIRED) 2006-07-09 02:32:42 0000 -------
*** Bug 139737 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug