Hi, I am trying to use emerge to create an entire file system, using only binary packages that I created ealier:
ROOT=/root_directory emerge -g package_list All the binary packages are stored on a server. The "root_directory" is empty. When the command is issued, I got the following error: ------------------------------------------------------------------------ --- xyz ~ # ROOT=/sdk_target_base emerge -pvg linux-headers These are the packages that would be merged, in order: Fetching binary packages info... Loaded metadata pickle. Location has moved: http://foo.bar.com/esdk/packages/All/ cache miss: 'x' --- cache hit: 'o' oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo oooooooo -- DONE! Calculating dependencies !!! Problem in 'sys-kernel/linux-headers' dependencies. !!! 'NoneType' object has no attribute 'split' exceptions Traceback (most recent call last): File "/usr/bin/emerge", line 3450, in ? retval, favorites = mydepgraph.select_files(myfiles) File "/usr/bin/emerge", line 1152, in select_files self.mysd = self.select_dep(portage.root,mykey,arg=x) File "/usr/bin/emerge", line 1339, in select_dep binpkguseflags=portage.db[portage.root]["bintree"].get_use(myeb_pkg) File "/usr/lib/portage/pym/portage.py", line 5794, in get_use return string.split(tbz2.getfile("USE")) File "/usr/lib/python2.4/string.py", line 292, in split return s.split(sep, maxsplit) AttributeError: 'NoneType' object has no attribute 'split' ------------------------------------------------------------------------ The weird thing is this error only happens if I emerge into the $ROOT using -g, in other words, if I do "emerge -pvg linux-headers", or any other package, there will be no error. Also, if I put the packages in $PKGDIR, and run "ROOT=/root_directly, emerge -pvk linux-headers", there will be no error either. My portage tree is quite update, btw. Based on a snapshot on 9/27. Anybody knows how to fix this thing? Thanks for your help. -- gentoo-dev@gentoo.org mailing list