Emerge(Portage) experiement on Fedora Core 2...
From: Antti A-737 (anttia737_at_hotmail.com)
Date: 05/30/04
- Next message: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Previous message: Michael Heiming: "Re: Cant pop email on a user account."
- Next in thread: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Reply: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Reply: Peter Jensen: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 19:10:51 +0300
Hello!
I am not sure if you don't like this, but I am going to ask anyway since
you use emerge more than me.
I tried to find Emerge sources from web so that I could compile it for
Fedora 2. But I didn't found anything useful. So then I extracted
Stage-3 2004.0 gentoo pakage to hard drive and seeked out files of
emerge. I copied those files into same spots on Fedora Core 2 tree.
Okey first error while driving emerge was this:
root@localhost anxa]# emerge
portage: 'portage' user or group missing. Please update baselayout
and merge portage user(250) and group(250) into your passwd
and group files. Non-root compilation is disabled until then.
Also note that non-root/wheel users will need to be added to
the portage group to do portage commands.
For the defaults, line 1 goes into passwd, and 2 into group.
portage:x:250:250:portage:/var/tmp/portage:/bin/false
portage::250:portage
>>> /var/cache/edb doesn't exist, creating it...
>>> /var/cache/edb/dep doesn't exist, creating it...
portage: the directory specified in your PORTAGE_TMPDIR variable, ","
does not exist. Please create this directory or correct your
PORTAGE_TMPDIR setting.
I fixed that by creating portage "user" and typing into console this:
export PORTAGE_TMPDIR=/tmp
Then I got into problem were emerge reported that configs are missing
and I should emerge portage again... :) (emerge is thinking all time
that it is executed in gentoo while I am actually using Fedora Core 2)
I got that fixed by creating folder /etc/portage then I could drive
emerge. So it says this:
root@localhost anxa]# emerge
emerge: please tell me what to do.
Usage:
emerge [ options ] [ action ] [ ebuildfile | tbz2file | dependency ]
[ ... ]
emerge [ options ] [ action ] < system | world >
emerge < sync | info >
emerge --resume [ --pretend | --ask | --skipfirst ]
emerge help [ system | config | sync ]
Options: -[abcCdDefhikKlnoOpPsSuUvV] [--oneshot] [--noconfmem]
[--columns] [--nospinner]
Actions: [ clean | depclean | inject | prune | regen | search | unmerge ]
For more help try 'emerge --help' or consult the man page.
[root@localhost anxa]#
What is quite amazing. At least for me. This was just test about emerge
in fedora. Okey. Then I entered "emerge sync"
It started to collecting portage from gentoo mirrors. But when it finaly
stoped and repored that portage was successly emerged:
wrote 1392305 bytes read 73142109 bytes 52359.97 bytes/sec
total size is 68113416 speedup is 0.91
>>> Updating Portage cache... ...done!
But after that second of laught I got this in front of me:
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.50-r7 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.
* Please do so and then update ALL of your configuration files.
But I didn't made anything since I respect that suggestiong not to
emerge sync more than once a day. And any way then I tried to do:
"emerge portage"
And I got these errors:
[root@localhost anxa]# emerge portage
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.50-r7 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
Calculating dependencies
!!! all ebuilds that could satisfy "portage" have been masked.
!!! possible candidates are:
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.51_pre9 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.50-r7 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.51_pre7 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
Could not open the sandbox library at '(null)/libsandbox.so'.
aux_get(): (0) Error in sys-apps/portage-2.0.50-r6 ebuild. (255)
Check for syntax error or corruption in the ebuild.
(--debug)
!!! Error calculating dependencies. Please correct.
Okey, then I relized that something is missing. I found libsandbox.so
and I got this thing "portage" working. I made emerge portage and most
of the problems disappeared. (one of the remaining this is that emerge
world is not complite :) and ebuild.sh keeps reminding that some thing
is missing. However I think that I can "translate" this Fedora Core 2 to
Gentoo., or some sort. And that is going to be my next task in here. :)
I so have to try making that emerge world. Even thought it is quite
wasteful.
I am writing this because I'd like to hear what you "orginal" gentoo
users think about my experiement. I think that this is great! Even
thought that I am not using gentoo. At least I can use emerge to get
some games to my Fedora. Usually it is just one big "RPM hunt". ;)
-Antti-
Ps. What's name of that gui tool for portage/emerge? ;D
- Next message: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Previous message: Michael Heiming: "Re: Cant pop email on a user account."
- Next in thread: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Reply: Antti A-737: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Reply: Peter Jensen: "Re: Emerge(Portage) experiement on Fedora Core 2..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|