On gentoo-macos, I emerged portage-2.0.51_rc1 but since I did it, it became impossible to emerge any other ebuild; After emerging portage, I ran etc-update and get this output: Anthracite:/usr/portage root# etc-update /usr/sbin/etc-update: line 369: declare: 0": syntax error in expression (error token is """) Scanning Configuration files... Automerging trivial changes in: etc-update.conf Exiting: Nothing left to do; exiting. :) It seems that something went wrong and now, whatever ebuild I try to emerge, I get an output like this: #emerge --debug zip Calculating dependencies Parent: None Depstring: app-arch/zip Candidates: ['app-arch/zip'] aux_get(): (0) Error in app-arch/zip-2.3-r1 ebuild. (-13) Check for syntax error or corruption in the ebuild. (--debug) aux_get(): (0) Error in app-arch/zip-2.3-r2 ebuild. (-13) Check for syntax error or corruption in the ebuild. (--debug) !!! All ebuilds that could satisfy "zip" have been masked. !!! One of the following masked packages is required to complete your request: aux_get(): (0) Error in app-arch/zip-2.3-r1 ebuild. (-13) Check for syntax error or corruption in the ebuild. (--debug) Traceback (most recent call last): File "/usr/lib/portage/bin/emerge", line 2750, in ? retval,favorites=mydepgraph.select_files(myfiles) File "/usr/lib/portage/bin/emerge", line 979, in select_files self.mysd = self.select_dep(portage.root,mykey,arg=x) File "/usr/lib/portage/bin/emerge", line 1100, in select_dep mreasons = portage.getmaskingstatus(p) File "/usr/lib/portage/pym/portage.py", line 3539, in getmaskingstatus mygroups = portdb.aux_get(mycpv, ["KEYWORDS"])[0].split() File "/usr/lib/portage/pym/portage.py", line 4923, in aux_get raise KeyError KeyError Reproducible: Always Steps to Reproduce: 1. emerge portage-2.0.51_rc1 2. run etc-update 3. emerge another ebuild Actual Results: emerge tells that the ebuild has a bad syntax or is corrupted Expected Results: emerge the ebuild Anthracite:/usr/portage/media-libs/xine-lib root# emerge info !!! Relying on the shell to locate gcc, this may break !!! DISTCC, installing gcc-config and setting your current gcc !!! profile will fix this Portage 2.0.51_rc1 (default-macos-10.3, gcc-3.3, libsystem-7.1-r0, 7.5.0 Power Macintosh) =============================================================== == System uname: 7.5.0 Power Macintosh powerpc macos-20040726 distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled] Autoconf: Automake: Binutils: Headers: Libtools: ACCEPT_KEYWORDS="macos" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc-apple-darwin" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect cvs keepwork sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="macos X dvd macox"
Set ACCEPT_KEYWORDS="ppc-macos" and recreate /etc/make.profile symlink to /usr/portage/profiles/default-macos/ppc/10.3. See also bug #60721 and #64257 (you need patches there to use emerge and etc-update).
Handled as stated already. Keyword-change induced.
Closing out bugs that've been resolved for a while now...