Just installed new grub version and saw the following error message: >>> Source unpacked. /usr/sbin/ebuild.sh: line 286: [: has_version: unary operator expected The error appears immediately after the 'source unpacked' message. Anyway, grub compiles fine afterwards, so this is a 'trivial' problem only... hopefully. Reproducible: Always Steps to Reproduce: 1.emerge grub Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://ftp.iasi.roedu.net/mirrors/gentoo.org/ http://128.213.5.34/gentoo/" MAKEOPTS="-j 3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://192.168.68.1/gentoo-portage" USE="X Xaw3d aalib acl alsa apache2 apm arts audiofile avi berkdb bonobo cdr crypt cups curl dvd emacs encode esd flac flash foomaticdb gd gdbm ggi gif gmp gnome gphoto2 gpm gtk gtk2 gtkhtml guile icq imagemagick imlib java jpeg kde lcms ldap leim libg++ libwww mad maildir mikmod motif mozilla mpeg mysql nas ncurses nls nocardbus odbc oggvorbis opengl oss pam pcmcia pda pdflib perl plotutils png python qt quicktime readline samba sasl scanner sdl slang spell ssl svga tcltk tcpd tetex theora tiff truetype unicode usb wmf wxwindows x86 xml xml2 xmms xv zlib"
... it also occurs again after the previous installation of GRUB in unmerged
I have same problem: -- !empty dir /boot/grub --- !empty dir /boot --- !empty dir /bin /usr/sbin/ebuild.sh: line 286: [: has_version: unary operator expected * Caching service dependencies... [ ok ] * Caching service dependencies... [ ok ] >>> Auto-cleaning packages .
Seems to be fixed. Don't know who did it or when. Last change of ebuild was 2004-04-14. Marked as fixed.