Please apply the following patch to gentoo-src/portage/bin/emerge -------------------------------------------------------------------------------- Portage 2.0.50-r9 (x86, [unavailable], glibc-unavailable, 2.4.25-grsec-1.9.14) ================================================================= System uname: 2.4.25-grsec-1.9.14 i686 unknown cat: /etc/gentoo-release: No such file or directory -------------------------------------------------------------------------------- Index: emerge =================================================================== RCS file: /var/cvsroot/gentoo-src/portage/bin/emerge,v retrieving revision 1.319 diff -u -b -B -w -p -r1.319 emerge --- emerge 16 Aug 2004 20:41:40 -0000 1.319 +++ emerge 29 Aug 2004 21:52:38 -0000 @@ -2485,7 +2485,10 @@ elif "info"==myaction: print getportageversion() print "=================================================================" print "System uname: "+unameout + if os.path.exists("/etc/gentoo-release"): os.system("cat /etc/gentoo-release") + else: + print("Unknown distro") output=commands.getstatusoutput("distcc --version") if not output[0]:
why not /etc/*-version and /etc/*-release and then Unkwnown?
Done.
Bug has been fixed and released in stable portages on or before 2.0.51-r2