Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 138888

Summary: media-gfx/imagemagick-6.2.5.5 build fail on png.c
Product: Gentoo Linux Reporter: ivo welch <ivo.welch>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ivo welch 2006-07-02 10:39:23 UTC
$ revdep-rebuild
...snipped
if /bin/sh ./libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand   -I/usr/include/freetype2 -I/usr/include/libxml2  -march=athlon64 -O2 -pipe -Wall -pthread -MT coders/coders_png_la-png.lo -MD -MP -MF "coders/.deps/coders_png_la-png.Tpo" -c -o coders/coders_png_la-png.lo `test -f 'coders/png.c' || echo './'`coders/png.c; \
then mv -f "coders/.deps/coders_png_la-png.Tpo" "coders/.deps/coders_png_la-png.Plo"; else rm -f "coders/.deps/coders_png_la-png.Tpo"; exit 1; fi
coders/png.c: In function `ReadOnePNGImage':
coders/png.c:1755: warning: implicit declaration of function `png_access_version'
coders/png.c:1764: error: `png_ptr' undeclared (first use in this function)
coders/png.c:1764: error: (Each undeclared identifier is reported only once
coders/png.c:1764: error: for each function it appears in.)
if /bin/sh ./libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I./magick -I./wand   -I/usr/include/freetype2 -I/usr/include/libxml2  -march=athlon64 -O2 -pipe -Wall -pthread -MT coders/coders_ept_la-ept.lo -MD -MP -MF "coders/.deps/coders_ept_la-ept.Tpo" -c -o coders/coders_ept_la-ept.lo `test -f 'coders/ept.c' || echo './'`coders/ept.c; \
then mv -f "coders/.deps/coders_ept_la-ept.Tpo" "coders/.deps/coders_ept_la-ept.Plo"; else rm -f "coders/.deps/coders_ept_la-ept.Tpo"; exit 1; fi
make: *** [coders/coders_png_la-png.lo] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: media-gfx/imagemagick-6.2.5.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  imagemagick-6.2.5.5.ebuild, line 86:   Called die

# USE="-png" emerge imagemagick

seems to work.  so this does look like an imagemagick coding bug.  of course, this is less than desirable.  (if nothing else, I need to figure out how to stop revdep from wanting to unrebuild this yet again, and how to make sure that this won't break future imagemagicks...this shouldn't be too hard, though, because this behavior seems to be the default)



/iaw


Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17 x86_64)
=================================================================
System uname: 2.6.17 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
dev-lang/python:     2.3.5-r2, 2.4.2
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="POSIX"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache atlas avi berkdb bitmap-fonts blas bzip2 bzlib cdr cli crypt cups curl dlloader dri dvd dvdr eds emboss encode f77 fbcon foomaticdb fortran g77 gcj gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg kde lzw lzw-tiff mono mp3 mpeg ncurses nls nptl nsplugin opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection samba sdl session smb spell spl ssl tcpd tetex tiff truetype truetype-fonts type1-fonts usb xine xml xmms xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-02 10:41:55 UTC

*** This bug has been marked as a duplicate of 136452 ***