After upgrading to xorg-x11-7.0-r1, I had imagemagick-6.2.5.5 in my revdep-rebuild list. This failed to compile and here is the output: then mv -f "coders/.deps/coders_xwd_la-xwd.Tpo" "coders/.deps/coders_xwd_la-xwd.Plo"; else rm -f "coders/.deps/coders_xwd_la-xwd.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.) 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 !!! compile problem !!! 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.17-beyond1 i686) ================================================================= System uname: 2.6.17-beyond1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.15 ccache version 2.3 [enabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 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="-march=pentium4 -O2 -pipe -Wall -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -Wall -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com ftp://gentoo.ccccom.com" LANG="en_GB.utf8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j3" 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" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 alsa apache2 apm avi berkdb bitmap-fonts cdr cli crypt dga divx4linux dlloader dri dvd emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib isdnlog joystick jpeg libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt3 qt4 quicktime readline reflection sdl session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode vorbis x86 xml xmms xorg xprint xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux userland_GNU video_cards_nvidia video_cards_vga video_cards_nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of 136452 ***