"emerge sync;emerge -Up world" stop with following error message: Calculating world dependencies |*** HOME not set. Setting to /var/tmp/portage /usr/sbin/ebuild.sh: /usr/portage/net-mail/sendmail/sendmail-8.12.10.ebuild: line 22: syntax error near unexpected token `||' /usr/sbin/ebuild.sh: /usr/portage/net-mail/sendmail/sendmail-8.12.10.ebuild: line 22: ` || (' !!! ERROR: net-mail/sendmail-8.12.10 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-mail/sendmail-8.12.10 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) ...done! Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -Up world 3. Actual Results: Following error message: Calculating world dependencies |*** HOME not set. Setting to /var/tmp/portage /usr/sbin/ebuild.sh: /usr/portage/net-mail/sendmail/sendmail-8.12.10.ebuild: line 22: syntax error near unexpected token `||' /usr/sbin/ebuild.sh: /usr/portage/net-mail/sendmail/sendmail-8.12.10.ebuild: line 22: ` || (' !!! ERROR: net-mail/sendmail-8.12.10 failed. !!! Function , Line 1291, Exitcode 1 !!! error sourcing ebuild aux_get(): (0) Error in net-mail/sendmail-8.12.10 ebuild. (1) Check for syntax error or corruption in the ebuild. (--debug) ...done! Expected Results: List of obsolite ebuilds that need updating. localhost root # emerge info -Up world >>> --upgradeonly implies --update... adding --update to options. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.2-rc2) ================================================================= System uname: 2.6.2-rc2 i686 AMD Athlon(tm) MP 2200+ Gentoo Base System version 1.4.3.13 distcc[25250] (dcc_get_top_dir) ERROR: HOME is not set; can't find distcc directory [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/con fig /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/bin d /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="X apache2 apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm gtk gtk+ gtk2 imlib java jpeg ldap libg++ libwww mad mbox mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl sendmail slang snmp spell ssl svga tcltk tcpd truetype x86 xml xml2 xmms xv zlib"
I submitted the same bug at the same time as you did (bug ID 41349). I got it to work by removing the misplaced " at row 21 in sendmail-8.12.10.ebuild.
yes indeedy, fixed in cvs
*** Bug 41351 has been marked as a duplicate of this bug. ***