Emerging postgresql fails on missing readme.html file from hier-Pg7.4-0.5.1.tar.gz. emerge fails on line 76 of the ebuild: <code> if use pg-hier; then cd ${WORKDIR} || die -> mv readme.html README-${P_HIERPG}.html || die cd ${S} || die epatch ${WORKDIR}/${P_HIERPG}.diff fi </code> Reproducible: Always Steps to Reproduce: 1. emerge postgresql 2. 3. Actual Results: Emerge fails with: >>> Unpacking hier-Pg7.4-0.5.1.tar.gz to /var/tmp/portage/postgresql-7.4.1-r4/work RUNNING FROM extra_functions.sh * Applying postgresql-7.4.1-gentoo.patch... [ ok ]pg-hier mv: cannot stat `readme.html': No such file or directory !!! ERROR: dev-db/postgresql-7.4.1-r4 failed. !!! Function src_unpack, Line 76, Exitcode 1 !!! (no error message) Expected Results: Compiled... Gentoo Base System version 1.4.3.13 Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r5)================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 1800+ ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://www.gtlib.cc.gatech.edu/pub/gentoo rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ rsync://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ rsync://cudlug.cudenver.edu/gentoo rsync://mirrors.tds.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm atlas avi berkdb bluetooth bonobo cdr crypt cups dga directfb doc emacs encode esd ethereal evo fam fftw flac flash fltk fluidsynth foomaticdb freetype gd gdbm ggi gif glade gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib imlib2 jack java jpeg junit jython kde ladcca ldap libg++ libgda libwww mad maildir mikmod mmx motif mozilla mpeg nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nptl oggvorbis openal opengl openssh oss pam pcap pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay plotutils png postgres ppds prelude psyco python qt quicktime readline sasl sdl slang spell ssl svg svga tcltk tcpd tetex tiff truetype unicode usb videos wmf wxwin wxwindows x86 xalan xerces xine xml2 xmms xv zlib"
I received the same error. Possible correction: I commented out line 76 of the ebuild and revised ebuild completed without error.
Yes, commenting out the line is an easy work-around. The ebuild is still broken though, and messes with unattended updates. +
looks like nakano just fixed it