Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting portage running under Solaris 9 (Portaris!)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, ... 11, 12, 13  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Jan 21, 2004 3:28 am    Post subject: Reply with quote

Naah! I reported that result from a test I did on fedora. But its important for me because I had written it off just for one reason: I don't have root access to the solaris I work on.

I am kind of busy with some other stuff. Once I get a full weekend free ahead of me, I am gonna give it a run on solaris. Suddenly, it looks doable now..:)

My problem is that I don't want to touch a single file in /usr. So, for me a lot of manual building of packages is necessary in /home/<user>.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Jan 21, 2004 3:40 am    Post subject: Reply with quote

Yeah I really want this to work because so many sparc packages are just precompiled with pretty much generic optimizations. Just because "Slowlaris" is your OS doesn't mean that your packages need to be slow.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Jan 21, 2004 5:05 am    Post subject: Reply with quote

Code:
bash-2.05# ACCEPT_KEYWORDS="~sparc" ROOT=/opt/csw ./usr/bin/emerge -p bash --debug
!!! /etc/make.profile is not a symlink and will probably prevent most merges.!!! It should point into a profile within /usr/portage/profiles/
These are the packages that I would merge, in order:

Calculating dependencies
Parent:    None
Depstring: app-shells/bash
Candidates: ['app-shells/bash']

/usr/sbin/ebuild.sh: /usr/lib/portage/bin/extra_functions.sh: No such file or directory
/usr/sbin/ebuild.sh: /proc/self/fd/1: Permission denied
eutils
/usr/sbin/ebuild.sh: /proc/self/fd/1: Permission denied
flag-o-matic
mkdir: usage: mkdir [-m mode] [-p] dirname ...
install: mkdir -m4775 failed
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory
/usr/sbin/ebuild.sh: /var/cache/edb/dep//app-shells/bash-2.05b-r5: No such file or directory

aux_get(): (1) Error in app-shells/bash-2.05b-r5 ebuild.
               Check for syntax error or corruption in the ebuild. (--debug)


!!! all ebuilds that could satisfy "bash" have been masked.

!!! Error calculating dependencies. Please correct.
bash-2.05#


Well this is the latest trying from scratch again. I need to create the missing thngs it complains about.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Jan 21, 2004 5:42 am    Post subject: Reply with quote

Now I need to figure out how to make some dummy ebuilds to fulfill some virtuals... glibc and os-headers. Does anyone know how to make an ebuild that just does nothing but satisfy something?
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Jan 21, 2004 6:02 am    Post subject: Reply with quote

I thought "emerge inject <>/<>" does that...doesn't it?
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Jan 21, 2004 6:09 am    Post subject: Reply with quote

Code:
ACCEPT_KEYWORDS="~sparc" ROOT=/opt/csw ./usr/bin/emerge --inject virtual/os-headers
!!! /etc/make.profile is not a symlink and will probably prevent most merges.!!! It should point into a profile within /usr/portage/profiles/!!! virtual/os-headers is not a specific cat/pkg-version, skipping...


Not for a virtual. What will be needed is an ebuild that does nothing but fill the void.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9612
Location: beyond the rim

PostPosted: Wed Jan 21, 2004 4:07 pm    Post subject: Reply with quote

copy the glibc ebuild and remove all code from it, so it only has variable assignments. Rename it to glibc-dummy or something like that.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Jan 21, 2004 10:09 pm    Post subject: Reply with quote

After extensice changes, I could "emerge -O gzip" into /home/<user>/...

and I could use gzip... :D ...still long way to go before it can compile w/o -O and have it take care of deps....

But libsandbox.c is written pretty badly, so emerging portage itself fails with syntax errors about PATH_MAX(why can't it find limits.h),strndupa, mempcpy...gotta take a break now...

oh..this is solaris 2.6.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Wed Jan 21, 2004 10:19 pm    Post subject: Reply with quote

Genone, this may sound stupid..but can you please have a look at the output below and tell me how can I get rid pakcgaes it wants to install both in "/" and /home/garnome
--------------------------------------
$ emerge -p portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-devel/gnuconfig-20030708
[ebuild N ] sys-devel/patch-2.5.9
[ebuild N ] sys-devel/libtool-1.4.3-r1
[ebuild N ] sys-libs/db-4.0.14-r2
[ebuild N ] sys-libs/db-1.85-r1
[ebuild N ] sys-devel/gettext-0.12.1
[ebuild N ] sys-apps/sed-4.0.7
[ebuild N ] sys-libs/zlib-1.1.4-r2
[ebuild N ] dev-python/python-fchksum-1.6.1-r1
[ebuild N ] sys-libs/ncurses-5.3-r5
[ebuild N ] sys-devel/gcc-config-1.3.4
[ebuild N ] sys-apps/texinfo-4.5
[ebuild N ] sys-devel/gcc-3.2.3-r2
[ebuild N ] app-arch/bzip2-1.0.2-r3
[ebuild N ] sys-devel/m4-1.4-r1
[ebuild N ] sys-devel/autoconf-2.58
[ebuild N ] sys-devel/automake-1.7.7
[ebuild N ] sys-apps/help2man-1.29
[ebuild N ] sys-apps/coreutils-5.0.91-r4
[ebuild N ] sys-apps/debianutils-1.16.7-r4
[ebuild N ] app-shells/bash-2.05b-r7
[ebuild N ] sys-libs/readline-4.3-r4
[ebuild N ] dev-libs/openssl-0.9.7c-r1
[ebuild N ] sys-libs/gdbm-1.8.0-r5
[ebuild N ] dev-libs/expat-1.95.6-r1
[ebuild N ] dev-lang/python-2.2.3-r5
[ebuild N ] sys-apps/portage-2.0.49-r21
[ebuild N ] sys-apps/groff-1.18.1-r4
[ebuild N ] sys-devel/libperl-5.8.0
[ebuild N ] dev-lang/perl-5.8.0-r12
[ebuild N ] sys-devel/binutils-2.14.90.0.7-r4
[ebuild N ] sys-apps/cronbase-0.2.1-r2
[ebuild N ] sys-apps/man-1.5l-r6
[ebuild N ] sys-apps/gawk-3.1.3-r1
[ebuild N ] sys-kernel/linux-headers-2.4.19-r1
[ebuild N ] sys-devel/flex-2.5.4a-r5
[ebuild N ] sys-apps/miscfiles-1.3-r1
[ebuild N ] sys-libs/cracklib-2.7-r7
[ebuild N ] dev-libs/glib-1.2.10-r5
[ebuild N ] sys-libs/pwdb-0.61-r4
[ebuild N ] sys-libs/pam-0.75-r11
[ebuild N ] sys-apps/shadow-4.0.3-r9
[ebuild N ] sys-apps/pam-login-3.11
[ebuild N ] sys-apps/util-linux-2.11z-r8
[ebuild N ] sys-apps/baselayout-1.8.6.10-r1
[ebuild N ] sys-libs/glibc-2.3.2-r3
[ebuild N ] sys-devel/gettext-0.12.1 to /home/garnome/
[ebuild N ] sys-apps/sed-4.0.7 to /home/garnome/
[ebuild N ] sys-libs/zlib-1.1.4-r2 to /home/garnome/
[ebuild N ] dev-python/python-fchksum-1.6.1-r1 to /home/garnome/
[ebuild N ] sys-libs/ncurses-5.3-r5 to /home/garnome/
[ebuild N ] app-shells/bash-2.05b-r7 to /home/garnome/
[ebuild N ] app-arch/bzip2-1.0.2-r3 to /home/garnome/
[ebuild N ] sys-apps/coreutils-5.0.91-r4 to /home/garnome/
[ebuild N ] sys-apps/debianutils-1.16.7-r4 to /home/garnome/
[ebuild N ] sys-apps/portage-2.0.49-r21 to /home/garnome/
----------------------------------------------------

I have injected sys-apps/baselayout-1.8.6.10-r1 already. It seems that I can inject it only one place(ROOT is not honoured for injecting, it always injects to "/")
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Wed Jan 21, 2004 11:03 pm    Post subject: Reply with quote

Are you doing this in Fedora or Solaris now?
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 12:42 am    Post subject: Reply with quote

:D solaris...I stole some time from my sleep...;)

This sucker is self feeding now...I installed findutils(again with -O) to get rid of many manual changes I had to do for find and xargs.

genone, how do I emerge portage w/o sandbox? libsandbox.c is totally not portable(at least for solaris 2.6) and gives me lot of compile errors.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9612
Location: beyond the rim

PostPosted: Thu Jan 22, 2004 3:20 am    Post subject: Reply with quote

You probably have to remove the sanfbox build code from the portage ebuild (the whole src_compile function, a few lines in src_install and maybe some stuff in pkg_*inst)
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 3:37 am    Post subject: Reply with quote

stonent wrote:


/usr/sbin/ebuild.sh: /usr/lib/portage/bin/extra_functions.sh: No such file or directory

didn't you copy this file from portage tar? you will need /sbin/funcions.sh and /sbin/depscan.sh from baselayout tar as well(I think you copied those).
Quote:

mkdir: usage: mkdir [-m mode] [-p] dirname ...

get fileutils package into /opt/ manually and set PATH to include /opt/bin,/opt/usr/bin first.

I found it easier to emerge fileutils and sh-utils separately into the new user area because coreutils gave me problems with autoconf.

genone, any help with sandbox and portage compile?
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Jan 22, 2004 4:04 am    Post subject: Reply with quote

Code:
bash-2.05# ACCEPT_KEYWORDS="~sparc" ROOT=/opt/csw ./usr/bin/emerge -U -O bash
!!! /etc/make.profile is not a symlink and will probably prevent most merges.!!! It should point into a profile within /usr/portage/profiles/>>> --upgradeonly implies --update... adding --update to options.
Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r9 to /opt/csw/
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
eutils
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
flag-o-matic
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
gnuconfig
>>> md5 src_uri ;-) bash-2.05b.tar.gz
>>> md5 src_uri ;-) bash-2.05b-gentoo.diff.bz2
>>> md5 src_uri ;-) bash205b-002
>>> md5 src_uri ;-) bash205b-003
>>> md5 src_uri ;-) bash205b-004
>>> md5 src_uri ;-) bash205b-005
>>> md5 src_uri ;-) bash205b-006
>>> md5 src_uri ;-) bash205b-007
id: illegal option -- n
Usage: id [-ap] [user]
/usr/sbin/ebuild.sh: [: ==: unary operator expected
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
eutils
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
flag-o-matic
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
gnuconfig
id: illegal option -- n
Usage: id [-ap] [user]
/usr/sbin/ebuild.sh: [: ==: unary operator expected
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
eutils
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
flag-o-matic
/dev/stdout
tty: illegal option -- -
Usage: tty [-l] [-s]
gnuconfig
usage: install [options] file [dir1 ...]

!!! ERROR: app-shells/bash-2.05b-r9 failed.
!!! Function dyn_unpack, Line 32, Exitcode 2
!!! Failed to create dir '/var/tmp/portage/bash-2.05b-r9/work'

bash-2.05#


I created the dir and it still complained. I get it for everything I try to emerge.

Also I couldn't get it to take my dummy ebuild, so I injected glibc and os-headers.

edit: manually trying to compile fileutils now.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 4:37 am    Post subject: Reply with quote

Genone wrote:
You probably have to remove the sanfbox build code from the portage ebuild (the whole src_compile function, a few lines in src_install and maybe some stuff in pkg_*inst)


thanks!! that means, I will have to keep my ebuild safe in OVERLAY, so when newer versions are released I will have to merge the two...I think I can handle that...:)

now, only issue left for me is: I can't inject stuff in /home/<usr>. It just refuses to inject saying the package exists, always injecting into "/" no matter what the ROOT is. I had compiled a lot of recent stuff for garnome last year, so I really wanna use it instead of compiling the same version all over again. Any ideas?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 4:48 am    Post subject: Reply with quote

stonent wrote:


edit: manually trying to compile fileutils now.


tty and id are part of sh-utils. I think two packages will help you a lot.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Jan 22, 2004 5:50 am    Post subject: Reply with quote

Ok I compiled those two and did:

Code:
mv /usr/bin/tty /usr/bin/tty.bak
ln -s /opt/csw/bin/tty /usr/bin/tty
mv /usr/bin/id /usr/bin/id.bak
ln -s /opt/csw/bin/id /usr/bin/id


Moved along a little bit:

Code:
bash-2.05# ACCEPT_KEYWORDS="~sparc" ROOT=/opt/csw ./usr/bin/emerge -u -O bash
!!! /etc/make.profile is not a symlink and will probably prevent most merges.!!! It should point into a profile within /usr/portage/profiles/Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r9 to /opt/csw/
/dev/stdout
/dev/stdout
/dev/stdout
>>> md5 src_uri ;-) bash-2.05b.tar.gz
>>> md5 src_uri ;-) bash-2.05b-gentoo.diff.bz2
>>> md5 src_uri ;-) bash205b-002
>>> md5 src_uri ;-) bash205b-003
>>> md5 src_uri ;-) bash205b-004
>>> md5 src_uri ;-) bash205b-005
>>> md5 src_uri ;-) bash205b-006
>>> md5 src_uri ;-) bash205b-007
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
usage: install [options] file [dir1 ...]

!!! ERROR: app-shells/bash-2.05b-r9 failed.
!!! Function dyn_unpack, Line 32, Exitcode 2
!!! Failed to create dir '/var/tmp/portage/bash-2.05b-r9/work'


Then added gtar and a few more things to get this:

Code:
bash-2.05# ACCEPT_KEYWORDS="~sparc" ROOT=/opt/csw ./usr/bin/emerge -u -O bash
!!! /etc/make.profile is not a symlink and will probably prevent most merges.!!! It should point into a profile within /usr/portage/profiles/Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r9 to /opt/csw/
/dev/stdout
/dev/stdout
/dev/stdout
>>> md5 src_uri ;-) bash-2.05b.tar.gz
>>> md5 src_uri ;-) bash-2.05b-gentoo.diff.bz2
>>> md5 src_uri ;-) bash205b-002
>>> md5 src_uri ;-) bash205b-003
>>> md5 src_uri ;-) bash205b-004
>>> md5 src_uri ;-) bash205b-005
>>> md5 src_uri ;-) bash205b-006
>>> md5 src_uri ;-) bash205b-007
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
>>> Unpacking source...
>>> Unpacking bash-2.05b.tar.gz to /var/tmp/portage/bash-2.05b-r9/work
/usr/sbin/ebuild.sh: einfo: command not found

/usr/sbin/ebuild.sh: eerror: command not found
/usr/sbin/ebuild.sh: eerror: command not found
/usr/sbin/ebuild.sh: eerror: command not found
/usr/sbin/ebuild.sh: eerror: command not found
/usr/sbin/ebuild.sh: eerror: command not found


!!! ERROR: app-shells/bash-2.05b-r9 failed.
!!! Function epatch, Line -5320, Exitcode 0
!!! Failed Patch: bash-2.05b-gentoo.diff.bz2!

bash-2.05#


_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9612
Location: beyond the rim

PostPosted: Thu Jan 22, 2004 7:03 am    Post subject: Reply with quote

You need /sbin/functions.sh for those commands.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 7:17 am    Post subject: Reply with quote

Genone wrote:
You need /sbin/functions.sh for those commands.


which you can get from baselayout tar....
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 7:37 am    Post subject: Reply with quote

devsk wrote:
issue left for me is: I can't inject stuff in /home/<usr>. It just refuses to inject saying the package exists, always injecting into "/" no matter what the ROOT is. I had compiled a lot of recent stuff for garnome last year, so I really wanna use it instead of compiling the same version all over again. Any ideas?


Genone, I am stuck.

$ emerge -p portage

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild N ] sys-libs/ncurses-5.3-r5 to /home/garnome/
[ebuild N ] app-shells/bash-2.05b-r7 to /home/garnome/
[ebuild N ] app-arch/bzip2-1.0.2-r3 to /home/garnome/
[ebuild N ] sys-apps/coreutils-5.0.91-r4 to /home/garnome/
[ebuild N ] sys-apps/debianutils-1.16.7-r4 to /home/garnome/
[ebuild N ] sys-apps/portage-2.0.49-r21 to /home/garnome/

------------------------------------------
I can't emerge coreutils because of autoconf errors. Others I don't want to install because they are already there installed(manually).
I can't inject and get rid of these because they are already injected.

What do I do?
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Thu Jan 22, 2004 9:03 pm    Post subject: Reply with quote

:cry:

I can't proceed...giving up..:(
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9612
Location: beyond the rim

PostPosted: Fri Jan 23, 2004 1:42 am    Post subject: Reply with quote

Hmm, you could try to install portage with --nodeps (I'd recommed you use the 2.0.50 series, tons of bugfixes including some for ROOT).

Hope it's not too late :wink:
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 3003
Location: Bay Area, CA

PostPosted: Fri Jan 23, 2004 2:16 am    Post subject: Reply with quote

Code:

                if portage.db["/"]["vartree"].exists_specific(x):
                        print "!!! Not injecting",x+"; Package already exists."
                else:
                        portage.db["/"]["vartree"].dbapi.cpv_inject(x)
                        print ">>> Injected",x+"."
                        emergelog(" === inject: "+x)               


Immd. after this I added same lines for portage.root.

I could inject and proceed...I was giving up because ultimately you want portage to handle deps and one dep on xfree in the middle could mean that most of the installs are manual one by one...

Anyway, I am still in the game...I have a working portage now, although somewhat restrictive.

when is stable 2.0.50 out?

thanks for your help and patience.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Jan 23, 2004 4:22 am    Post subject: Reply with quote

We need to come up with a list of virtuals that need to be filled and just make a dummy ebuild called solaris.ebuild that fulfills them.

LibC, X, Java, Motif, sendmail, headers, hmmm what else?

Also a make profile, and if the powers are willing, an arch, such as sparc-solaris and x86-solaris, so as packages compile they can be unmasked.
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Jan 23, 2004 5:57 am    Post subject: Reply with quote

Hmm. I almost got gawk to completely compile using
A path of: /opt/csw/usr/bin:/opt/csw/usr/sbin:/opt/csw/sbin:/opt/csw/bin:/opt/csw/gcc3/bin:/usr/sbin:/usr/bin:/usr/ccs/bin
and
ACCEPT_KEYWORDS="sparc" ROOT=/opt/csw emerge -O gawk

It ran for several minutes until this:


Code:
gcc -shared -Wall -DHAVE_CONFIG_H -c -O2 -fPIC -I/var/tmp/portage/gawk-3.1.3-r1/work/gawk-3.1.3 filefuncs.c
gcc -o filefuncs.so.0.0.1 -shared -Wl,-soname -Wl,filefuncs.so.0 filefuncs.o
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file filefuncs.so.0: open failed: No such file or directory
ld: fatal: File processing errors. No output written to filefuncs.so.0.0.1
collect2: ld returned 1 exit status
make: *** [filefuncs.so.0.0.1] Error 1

!!! ERROR: sys-apps/gawk-3.1.3-r1 failed.
!!! Function src_compile, Line -39, Exitcode 2
!!! (no error message)

bash-2.05# ld
usage: ld [-6:abc:d:e:f:h:il:mo:p:rstu:z:B:CD:F:GI:L:M:N:P:Q:R:S:VY:?] file(s)
bash-2.05# which ld
/usr/ccs/bin/ld


Edit: tcsh completely compiled!

Code:
>>> /opt/csw/etc/profile.d/tcsh-aliases
>>> /opt/csw/etc/profile.d/tcsh-bindkey
>>> /opt/csw/etc/profile.d/tcsh-complete
>>> /opt/csw/bin/csh -> /bin/tcsh

>>> Regenerating /opt/csw/etc/ld.so.cache...
[tcsh-6.12-r3] bash: /sbin/depscan.sh: No such file or directory
>>> app-shells/tcsh-6.12-r3 merged.
>>> Recording app-shells/tcsh in "world" favorites file...

>>> clean: No packages selected for removal.

>>> Regenerating /opt/csw/etc/ld.so.cache...
[tcsh-6.12-r3] bash: /sbin/depscan.sh: No such file or directory
>>> Auto-cleaning packages ...

>>> No outdated packages were found on your system.


 * error scanning /etc


Anything that needs to be patched seems to fail.
List of things that compile without any changes:

edit: fileutils too!
edit: patch!
edit: make!
edit: less!
edit: grep!
edit: slang!
edit: sed!
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3, ... 11, 12, 13  Next
Page 2 of 13

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum