While updating I saw a small discrepancy in the output of emerge -uDNv world. * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking libpng-1.2.16.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking libpng-1.2.16.tar.bz2 to /var/tmp/portage/media-libs/libpng-1.2.16/work /usr/portage/media-libs/libpng/libpng-1.2.16.ebuild: line 23: epatch: command not found >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/libpng-1.2.16/work/libpng-1.2.16 ... * econf: updating libpng-1.2.16/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libpng-1.2.16/config.sub with /usr/share/gnuconfig/config.sub This is the relevant part of the ebuild: src_unpack() { unpack ${A} cd "${S}" use doc && cp "${WORKDIR}"/${PN}-manual.txt . epatch "${FILESDIR}"/1.2.7-gentoo.diff } This is the patch: --- pngconf.h.orig 2004-09-11 23:35:25.000000000 -0700 +++ pngconf.h 2004-09-11 23:35:52.000000000 -0700 @@ -260,8 +260,8 @@ /* If you encounter a compiler error here, see the explanation * near the end of INSTALL. */ - __png.h__ already includes setjmp.h; - __dont__ include it again.; +#warning __png.h__ already includes setjmp.h; +#warning __dont__ include it again.; # endif # endif /* __linux__ */ Info that might be helpful: loki work # pwd /var/tmp/portage/media-libs/libpng-1.2.16/work loki work # ls libpng-1.2.16 loki work # cd libpng-1.2.16 loki libpng-1.2.16 # ls aclocal.m4 config.h.in contrib libpng-1.2.16.txt Makefile.in png.c pngmem.c pngrutil.c pngwio.c scripts ANNOUNCE config.log depcomp libpng.3 missing pngconf.h pngnow.png pngset.c pngwrite.c test-pngtest.sh autogen.sh config.sub example.c libpngpf.3 mkinstalldirs pngerror.c pngpread.c pngtest.c pngwtran.c TODO CHANGES configure INSTALL LICENSE png.5 pnggccrd.c pngread.c pngtest.png pngwutil.c Y2KINFO confdefs.h configure.ac install-sh ltmain.sh pngbar.jpg pngget.c pngrio.c pngtrans.c projects config.guess conftest.dir KNOWNBUG Makefile.am pngbar.png png.h pngrtran.c pngvcrd.c README Reproducible: Always Steps to Reproduce:
I am not seeing the issue here with that version. Please also post the output of emerge --info , devs will find it useful. Portage 2.1.2-r5 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.17.13-reiser4-3 i686) ================================================================= System uname: 2.6.17.13-reiser4-3 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System release 1.12.9 Timestamp of tree: Thu, 01 Feb 2007 15:20:02 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe" 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/X11/xkb /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://gentoo.mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo" LINGUAS="en" MAKEOPTS="-j7" 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.namerica.gentoo.org/gentoo-portage" USE="3dnow X alsa am berkdb bitmap-fonts bzip2 cairo cdr chroot cli cracklib crypt dbus dlloader dri dv dvd dvdr eds emboss encode fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv isdnlog jpeg kde kdeenablefinal libg++ mad midi mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pdflib perl png ppds pppd pwdb python qt3 qt4 quicktime readline reflection sdl session spell spl sse ssl tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs x86 xml xorg xv zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Just to be clear: The package emerges perfectly fine. It's just got this error which may or may not be cosmetic. emerge --info: Portage 2.1.2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r4 i686) ================================================================= System uname: 2.6.19-gentoo-r4 i686 AMD Athlon(tm) 2500+ Gentoo Base System version 1.12.9 Timestamp of tree: Thu, 01 Feb 2007 22:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://mirror.gentoo.no/ " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en da" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acpi aiglx aim alsa arts authdaemond bash-completion berkdb bitmap-fonts cairo cdr cjk cli cpudetection cracklib crypt css cups curl dbus djbfft dlloader dri dts dvd dvdr dvdread evdev fam ffmpeg firefox flac fortran gif gnutls gpm hal hbci iconv icq idea isdnlog jabber java javascript jpeg kde kdeenablefinal libg++ logitech-mouse logrotate lzo mad matroska mbox midi mikmod mime mmx mmxext moznopango mp3 mp4 mpeg mplayer msn musepack ncurses nls nocd nptl nptlonly offensive ogg openal opengl oscar pam pcre pdf perl png pop ppds pppd python qt3 qt4 quicktime readline reflection sasl sdl session shorten slang smime speex spell spl sse ssl svg svga tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode vcd vorbis win32codecs wmf wxwindows x264 x86 xanim xface xine xml xorg xv xvid yahoo zlib" 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en da" USERLAND="GNU" VIDEO_CARDS="fglrx vesa radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I was reading this page: http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild#Fixing_a_Patched_Ebuild When I realized the error: libpng only inherits multilib, not eutils. I changed the inherit line to: inherit multilib eutils and the output was this: >>> Unpacking source... >>> Unpacking libpng-1.2.16.tar.bz2 to /var/tmp/portage/media-libs/libpng-1.2.16/work * Applying 1.2.7-gentoo.diff ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/media-libs/libpng-1.2.16/work/libpng-1.2.16 ... * econf: updating libpng-1.2.16/config.guess with /usr/share/gnuconfig/config.guess * econf: updating libpng-1.2.16/config.sub with /usr/share/gnuconfig/config.sub The patch applied and it emerged (as before) without problems.
Created attachment 108902 [details] libpng-1.2.16.ebuild, fixed with inherit multilibs *and* eutils
I added eutils to the inherit line in cvs.