-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Corbin wrote: > I'm getting this failure on numerous ebuilds during the umerge. I'm at a > loss to explain it. Any ideas? > > ----cut--- > /tmp/binpkgs/dev-libs/libxml2-2.6.27/temp/environment: line 265: syntax error > near unexpected token `(' > /tmp/binpkgs/dev-libs/libxml2-2.6.27/temp/environment: line 265: ` > eval "$1() { ${ECLASS}_$1 "\$@" ; }" >/dev/null;' > + exit 1
It seems that the content of /var/db/pkg/dev-libs/libxml2-2.6.27/environment.bz2 is corrupt in some way, preventing it from being parsed by bash. If you remove that file then portage will actually try to source the ebuild and use the eclasses from the portage tree. If removing environment.bz2 doesn't solve the problem, you can remove /var/db/pkg/dev-libs/libxml2-2.6.27/libxml2-2.6.27.ebuild (as suggested in the die message) and the pkg_prerm() and pkg_postrm() phases will be completely skipped. Zac -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFHwI5i/ejvha5XGaMRArVtAKDjGJoCxeJKIBzVP47bX22C+wBL9gCdFkTR UQHuN1mtHUhDPUAzzS6bvDY= =90+w -----END PGP SIGNATURE----- -- gentoo-user@lists.gentoo.org mailing list