Gentoo Archives: gentoo-user

From: Zac Medico <zmedico@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Unmerge failure
Date: Sat, 23 Feb 2008 21:20:18
Message-Id: 47C08E64.3080207@gentoo.org
In Reply to: [gentoo-user] Unmerge failure by David Corbin
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 David Corbin wrote:
5 > I'm getting this failure on numerous ebuilds during the umerge. I'm at a
6 > loss to explain it. Any ideas?
7 >
8 > ----cut---
9 > /tmp/binpkgs/dev-libs/libxml2-2.6.27/temp/environment: line 265: syntax error
10 > near unexpected token `('
11 > /tmp/binpkgs/dev-libs/libxml2-2.6.27/temp/environment: line 265: `
12 > eval "$1() { ${ECLASS}_$1 "\$@" ; }" >/dev/null;'
13 > + exit 1
14
15 It seems that the content of
16 /var/db/pkg/dev-libs/libxml2-2.6.27/environment.bz2 is corrupt in
17 some way, preventing it from being parsed by bash. If you remove
18 that file then portage will actually try to source the ebuild and
19 use the eclasses from the portage tree.
20
21 If removing environment.bz2 doesn't solve the problem, you can
22 remove /var/db/pkg/dev-libs/libxml2-2.6.27/libxml2-2.6.27.ebuild (as
23 suggested in the die message) and the pkg_prerm() and pkg_postrm()
24 phases will be completely skipped.
25
26 Zac
27 -----BEGIN PGP SIGNATURE-----
28 Version: GnuPG v2.0.7 (GNU/Linux)
29
30 iD8DBQFHwI5i/ejvha5XGaMRArVtAKDjGJoCxeJKIBzVP47bX22C+wBL9gCdFkTR
31 UQHuN1mtHUhDPUAzzS6bvDY=
32 =90+w
33 -----END PGP SIGNATURE-----
34 --
35 gentoo-user@l.g.o mailing list