Hi, I am very interested on Gentoo 1.4_final stability, and I notice a strange warning message when emerging mozilla-1.2.1-r5: /usr/sbin/ebuild.sh: line 384: [: : integer expression expected This line is just: "try() {" ebuild.sh is important on portage. WTH is this warning? Thanx a lot... your distro is the BEST, Bernardo S. A. Silva
what version of portage?
I got this problem aswell on my 1.4_rc1 system, but not on my 1.2 system. (both x86)
oh, and portage version: [10:43]root@mybox:~> emerge -V Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) [10:43]root@unknown:~> emerge -V Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
The lines 383 and 384 are: if [ "$(gcc-major-version)" -eq "3" ] then Seems the "if" still works even if it gives a warning since my march=pentium4 gets changed into march=pentium3. The lines 385+: # Currently gcc-3.2 or older do not work well if we specify "-march" # and other optimizations for pentium4. export CFLAGS="${CFLAGS/-march=pentium4/-march=pentium3}" export CXXFLAGS="${CXXFLAGS/-march=pentium4/-march=pentium3}"
My version (1.4_rc2): Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2) OBS.: My processor is a athlon-xp. My flags are -march=athlon-xp while using gcc3 and -march=i686 while using gcc2. Bernardo S. A. Silva
Created attachment 7546 [details] rpc ebuild file
Sorry, I had pu the attach on the rong bug... Ignore please...
Fixed in cvs.