public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Emerging binary package into a ROOT directory failure
@ 2006-10-04 18:14 Zou, Yixiong
  2006-10-05  4:36 ` [gentoo-dev] " Duncan
  0 siblings, 1 reply; 2+ messages in thread
From: Zou, Yixiong @ 2006-10-04 18:14 UTC (permalink / raw
  To: gentoo-dev

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-dev]  Re: Emerging binary package into a ROOT directory failure
  2006-10-04 18:14 [gentoo-dev] Emerging binary package into a ROOT directory failure Zou, Yixiong
@ 2006-10-05  4:36 ` Duncan
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan @ 2006-10-05  4:36 UTC (permalink / raw
  To: gentoo-dev

"Zou, Yixiong" <yixiong.zou@intel.com> posted
0727B6E63350324FAEEE940CB0746D7E98C5DB@orsmsx419.amr.corp.intel.com,
excerpted below, on  Wed, 04 Oct 2006 11:14:37 -0700:

> 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:

[snip]

> Anybody knows how to fix this thing?  Thanks for your help.

Thanks for going to the trouble to report this, but just to let you know,
this list isn't for reporting bugs such as the above, but rather for
general discussion of Gentoo development related issues.  To report a bug,
use Gentoo Bugzilla, at http://bugs.gentoo.org. You'll need to create a
bugzilla account and follow the guided bug reporting process (which
unfortunately isn't entirely intuitive), but that's how Gentoo tracks a
lot of stuff, including but not limited to bugs.

There's also the portage-devel list, if you wish to discuss portage
development, but again, that's not for reporting bugs, but for portage
development specific discussion.

Again, thanks, as bugs that haven't been reported can't easily be fixed
as we'd like. This just isn't the right place. =8^)

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-10-05  4:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-04 18:14 [gentoo-dev] Emerging binary package into a ROOT directory failure Zou, Yixiong
2006-10-05  4:36 ` [gentoo-dev] " Duncan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox