at every "emerge sync" it finishes with --- >>> Updating Portage cache... -/usr/sbin/ebuild.sh: line 7: need-gnustep-gui: command not found -/usr/sbin/ebuild.sh: line 7: need-gnustep-gui: command not found ...done! --- Reproducible: Always Steps to Reproduce: 1. emerge sync Actual Results: emerge sync is processed as normally but at the end the error message is displayed. Expected Results: No error message should occur, as it makes me nervous ;-) Gentoo Base System version 1.4.16 Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 1600+ Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /etc/vim/ /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apache2 apm avi berkdb bitmap-fonts cdr crypt cups dga directfb dvd dvdr encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 imap imlib ipv6 java joystick jpeg libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff truetype usb wmf x86 xinerama xml2 xmms xprint xv zlib"
Just to add a little info, I went looking for need-gnustep-gui: # cd /usr/portage/ # grep -r need-gnustep-gui . ./app-gnustep/talksoup/talksoup-0.81.ebuild:need-gnustep-gui ./app-gnustep/easydiff/easydiff-0.1.ebuild:need-gnustep-gui ./eclass/gnustep-old.eclass:need-gnustep-gui() { ./gnustep-apps/talksoup/talksoup-0.81.ebuild:need-gnustep-gui ./gnustep-apps/easydiff/easydiff-0.1.ebuild:need-gnustep-gui Looks like this function isn't used in the gnustep.eclass, but it is still referenced in some of the ebuilds.
I see the same thing after emerge sync or emerge metadata. I put "set -x" in ebuild.sh and did emerge metadata. Here is the part of the output that looks funny to me: <snippage> + export MOPREFIX=affiche + MOPREFIX=affiche + export SANDBOX_ON=0 + SANDBOX_ON=0 + declare -ix ECLASS_DEPTH=0 + '[' depend '!=' depend ']' + trap killparent INT + export SANDBOX_ON=1 + SANDBOX_ON=1 + export S=/affiche-0.6.0 + S=/affiche-0.6.0 + unset DEPEND RDEPEND CDEPEND PDEPEND IUSE + unset E_DEPEND E_RDEPEND E_CDEPEND E_PDEPEND E_IUSE + export EBUILD_PHASE=depend + EBUILD_PHASE=depend + source /usr/portage/app-gnustep/affiche/affiche-0.6.0.ebuild <snippage> Where did all this affiche stuff come from? The code in ebuild.sh implies that $PN must have been affiche, but where did that PN come from? I'm not sure, but it looks wrong to me.
Please disregard my comment (#2). Now I understand what Daniel was saying in comment #1.
*** This bug has been marked as a duplicate of 65202 ***