From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1JgSbE-0005hh-3D for garchives@archives.gentoo.org; Mon, 31 Mar 2008 22:35:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1806EE038C; Mon, 31 Mar 2008 22:35:30 +0000 (UTC) Received: from smtp112.sbc.mail.mud.yahoo.com (smtp112.sbc.mail.mud.yahoo.com [68.142.198.211]) by pigeon.gentoo.org (Postfix) with SMTP id 9DCDEE038C for ; Mon, 31 Mar 2008 22:35:29 +0000 (UTC) Received: (qmail 80983 invoked from network); 31 Mar 2008 22:35:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-Yahoo-Newman-Property:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=J3rhMI+//qpR5HVx26NMUH4IVhnrzxSPGM8+9kXwluCX6+zK9vOGoSv01bTTEYgVKrSrw+xPuWVGu1JjBvpAMZKFC0mfponaWbGdzC8YemjXwBquRhs8P2mbPpsg5PtRenJb3mH8JnGLVefRFjwsMMZg8/QBWtjagCYzeO5V5jY= ; Received: from unknown (HELO ?192.168.1.100?) (tony.caudel@sbcglobal.net@70.128.243.173 with plain) by smtp112.sbc.mail.mud.yahoo.com with SMTP; 31 Mar 2008 22:35:27 -0000 X-Yahoo-Newman-Property: ymail-3 Message-ID: <47F1672E.7050200@sbcglobal.net> Date: Mon, 31 Mar 2008 17:35:26 -0500 From: "Anthony E. Caudel" User-Agent: Thunderbird 2.0.0.12 (X11/20080228) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Package removal error References: <47F1616C.1010308@sbcglobal.net> <1207001990.5111.21.camel@localhost> In-Reply-To: <1207001990.5111.21.camel@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fa491ad1-067b-4b8d-8f09-8eb01bb8b275 X-Archives-Hash: 9497e2f858b0fc813643088694708144 Albert Hopkins wrote: > On Mon, 2008-03-31 at 17:10 -0500, Anthony E. Caudel wrote: > =20 >> While updating world and after emerging a new version of texinfo, I=20 >> received the following error when it tried to remove the old version: >> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sys-apps/texinfo >> selected: 4.8-r5 >> protected: 4.11-r1 >> omitted: none >> >> >>> 'Selected' packages are slated for removal. >> >>> 'Protected' and 'omitted' packages will not be removed. >> >> >>> Unmerging sys-apps/texinfo-4.8-r5... >> /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256:=20 >> syntax error near unexpected token `(' >> /var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment: line 256:=20 >> ` done <<(get_mounts);' >> * >> * ERROR: sys-apps/texinfo-4.8-r5 failed. >> * Call stack: >> * ebuild.sh, line 1641: Called die >> * The specific snippet of code: >> * preprocess_ebuild_env || \ >> * die "error processing environment" >> * The die message: >> * error processing environment >> * >> * If you need support, post the topmost build error, and the call sta= ck=20 >> if relevant. >> * A complete build log is located at=20 >> '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/build.log'. >> * The ebuild environment file is located at=20 >> '/var/tmp/binpkgs/sys-apps/texinfo-4.8-r5/temp/environment'. >> * >> !!! FAILED prerm: 1 >> * The 'prerm' phase of the 'sys-apps/texinfo-4.8-r5' package has fail= ed >> * with exit value 1. The problem occurred while executing the ebuild >> * located at '/var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebui= ld'. >> * If necessary, manually remove the ebuild in order to skip the execu= tion >> * of removal phases. >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> >> How do I handle this? I notice it recommends removing the ebuild but=20 >> how would that remove the old package? Should I just wait and re-sync= =20 >> after a while, hoping they fix it. Nothing in BGO yet. >> >> =20 > > Perhaps you could post the pkg_prerm function > in =EF=BB=BF/var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild o= r look at > it yourself so we'd know what it is doing and possibly find our why it'= s > failing. > > -a > > =20 No such animal! Here is=20 /var/db/pkg/sys-apps/texinfo-4.8-r5/texinfo-4.8-r5.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header:=20 /var/cvsroot/gentoo-x86/sys-apps/texinfo/texinfo-4.8-r5.ebuild,v 1.3=20 2006/11/10 13:11:25 gustavoz Exp $ inherit flag-o-matic eutils toolchain-funcs DESCRIPTION=3D"The GNU info program and utilities" HOMEPAGE=3D"http://www.gnu.org/software/texinfo/" SRC_URI=3D"mirror://gnu/${PN}/${P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos=20 ~ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd" IUSE=3D"nls build static" RDEPEND=3D"!build? ( >=3Dsys-libs/ncurses-5.2-r2 ) !build? ( nls? ( virtual/libintl ) )" DEPEND=3D"${RDEPEND} !build? ( nls? ( sys-devel/gettext ) )" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}"/${P}-freebsd.patch epatch "${FILESDIR}"/${P}-tempfile-owl.patch #114499 epatch "${FILESDIR}"/${P}-bounds-check.patch #140902 epatch "${FILESDIR}"/${P}-buf-overflow-CVE-2006-4810.patch #15431= 6 cd doc # Get the texinfo info page to have a proper name of texinfo.info sed -i 's:setfilename texinfo:setfilename texinfo.info:' texinfo.= txi sed -i \ -e 's:INFO_DEPS =3D texinfo:INFO_DEPS =3D texinfo.info:' = \ -e 's:texinfo\::texinfo.info\::' \ Makefile.in } src_compile() { local myconf=3D if ! use nls || use build ; then myconf=3D"--disable-nls" fi use static && append-ldflags -static econf ${myconf} || die # Cross-compile workaround #133429 if tc-is-cross-compiler ; then emake -C tools || die "emake tools" fi # work around broken dependency's in info/Makefile.am #85540 emake -C lib || die "emake lib" emake -C info makedoc || die "emake makedoc" emake -C info doc.c || die "emake doc.c" emake || die "emake" } src_install() { if use build ; then newbin util/ginstall-info install-info dobin makeinfo/makeinfo util/{texi2dvi,texindex} else make DESTDIR=3D"${D}" install || die "install failed" dosbin ${FILESDIR}/mkinfodir # tetex installs this guy #76812 has_version '