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, 4 ... 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: 2732
Location: Bay Area, CA

PostPosted: Fri Jan 23, 2004 8:39 am    Post subject: Reply with quote

I had to copy sys-apps/gawk directory over to OVERLAY and change files/filefuncs/Makefile line:35

from:

Code:

$(LD) -o $@ -shared -Wl,-soname -Wl,filefuncs.so.$(MAJORVER) $^


to:
Code:

$(LD) -o $@ -shared $^


and then manually create appropriate links.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


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

PostPosted: Sat Jan 24, 2004 7:52 pm    Post subject: Reply with quote

devsk wrote:
I had to copy sys-apps/gawk directory over to OVERLAY and change files/filefuncs/Makefile line:35

from:

Code:

$(LD) -o $@ -shared -Wl,-soname -Wl,filefuncs.so.$(MAJORVER) $^


to:
Code:

$(LD) -o $@ -shared $^


and then manually create appropriate links.


This particular ld problem is very common in other packages as well.

Stonent, did you ever try gnu binutils on sun vs sun's own as/ld? I am a bit apprehensive about it, but if you have some inputs on do's and dont's, I will really appreciate it...
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


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

PostPosted: Wed Jan 28, 2004 4:07 am    Post subject: Reply with quote

More problems:

portage configure is always done with prefix=/usr, so all these libtool based libraries(fontconfig, pango, glib, gtk to name a few) create .la files with that prefix while the portage installs packages into ${ROOT}. Portage doesn't try to correct all .la and .pc files for prefix.

So, non-ROOT installs are getting messy.

Genone, any ideas on how to circumvent this?

PS: where do I file bug against portage? I have quite a few...:)
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Wed Jan 28, 2004 5:43 am    Post subject: Reply with quote

devsk wrote:
More problems:

portage configure is always done with prefix=/usr, so all these libtool based libraries(fontconfig, pango, glib, gtk to name a few) create .la files with that prefix while the portage installs packages into ${ROOT}. Portage doesn't try to correct all .la and .pc files for prefix.


Right, because $ROOT is not for choosing a different install location but for chroot type installs (e.g. you emerge for ROOT=/foo and when you're done you can chroot /foo and have a working system)

Quote:
Genone, any ideas on how to circumvent this?

Well, portage is not designed as a secondary package manager atm and I don't know how or when carpaski is going to implement Pathspec (which is the thing you'd need)

Quote:
PS: where do I file bug against portage? I have quite a few...:)

Keep them, we already have enough of them :twisted:
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


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

PostPosted: Wed Jan 28, 2004 6:57 pm    Post subject: Reply with quote

OK, just to complete the documentation of this incredible journey which stonent put me thru (...:)), I got this non-ROOT thing to work.

I changed econf and einstall to configure and install in ${ROOT}. I then added few lines in portage.py treewalk function which first merge files(if any) from ../image/${ROOT} to ${ROOT} and then remove ".../image/${ROOT}". Of course secondhand/thirdhand are taken care of before removing. Then mergeme of "..../image" to ${ROOT} proceeds as normal.

I could finally emerge gvim and use it....without touching a single file as user root. wow!! on solaris?? double wow!!

only pathological cases(very few useful ones) are where .ebuild itself does ./configure. I will soon write a function to wrap those inside src_compile and src_install.

stonent: I finally did install binutils (binutils with older gcc(installed with Sun ld), gcc 3.3.2 with newer binutils and older gcc, and finally binutils with newer gcc). I haven't had any problems compiling/linking/running so far. So, do give gnu-ld a chance.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Jan 29, 2004 3:30 am    Post subject: Reply with quote

I keep getting unsubcribed from this thread. :evil:

Well. I'm starting to get lost in some things. I'm getting a few simple things to emerge but still getting things like:

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


I'm not finding a baselayout tar file and I'm sure some things are still missing.
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Thu Jan 29, 2004 3:42 am    Post subject: Reply with quote

if you do a "emerge -f -O baselayout", it should get you a rc-scripts tar in /usr/portage/distfiles. functions.sh and depscan.sh in that tar have to go in /usr/sbin.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Thu Jan 29, 2004 4:25 am    Post subject: Reply with quote

Still appears to be doing the same thing...

Code:
bash-2.05# cd rc-scripts-1.4.3.10p1
bash-2.05# ls
ChangeLog  etc        man        sbin
bin        init.d     rc-lists   src
bash-2.05# cd sbin
bash-2.05# ls -alhF
total 256
drwx------   2 root     root         512 Sep  7 19:35 ./
drwxr-xr-x   9 root     root         512 Sep  7 19:35 ../
-rwxr-xr-x   1 root     root         43K Mar  9  2003 MAKEDEV*
-rwxr-xr-x   1 root     root        3.9K Mar  9  2003 MAKEDEV-gentoo.patch*
-rwxr-xr-x   1 root     root        1.3K May 12  2003 depscan.sh*
-rwxr-xr-x   1 root     root         709 May 12  2003 env-update.sh*
-rwxr-xr-x   1 root     root         11K Aug 10 18:48 functions.sh*
-rwxr-xr-x   1 root     root        3.8K Aug  4 15:11 modules-update*
-rwxr-xr-x   1 root     root         16K Aug  4 16:39 rc*
-rwxr-xr-x   1 root     root        7.3K May 21  2003 rc-daemon.sh*
-rwxr-xr-x   1 root     root        6.6K May 11  2003 rc-help.sh*
-rwxr-xr-x   1 root     root         12K Aug 15 14:08 rc-services.sh*
-rwxr-xr-x   1 root     root        3.5K Aug  4 16:39 rc-update*
-rwxr-xr-x   1 root     root         12K Jul 27  2003 runscript.sh*
bash-2.05# cp *.sh /usr/sbin/

bash-2.05# emerge -O bash
Calculating dependencies ...done!
>>> emerge (1 of 1) app-shells/bash-2.05b-r7 to /opt/csw/
/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
>>> Unpacking source...
>>> Unpacking bash-2.05b.tar.gz to /var/tmp/portage/bash-2.05b-r7/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-r7 failed.
!!! Function epatch, Line -5320, Exitcode 0
!!! Failed Patch: bash-2.05b-gentoo.diff.bz2!

_________________
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: 2732
Location: Bay Area, CA

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

oops...sorry about that. those files have to go to /sbin and then you need to create a link in /etc/init.d to /sbin/functions.sh.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Jan 30, 2004 5:25 am    Post subject: Reply with quote

Code:
bash-2.05# emerge -O zlib
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-libs/zlib-1.1.4-r2 to /opt/csw/
/dev/stdout
/dev/stdout
>>> md5 src_uri ;-) zlib-1.1.4.tar.bz2
/dev/stdout
/dev/stdout
/dev/stdout
/dev/stdout
>>> Unpacking source...
>>> Unpacking zlib-1.1.4.tar.bz2 to /var/tmp/portage/zlib-1.1.4-r2/work
 * Applying zlib-1.1.4-gentoo.security.patch...

 * Failed Patch: zlib-1.1.4-gentoo.security.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/zlib-1.1.4-r2/temp/zlib-1.1.4-gentoo.security.patch-8866.out


!!! ERROR: sys-libs/zlib-1.1.4-r2 failed.
!!! Function epatch, Line -9059, Exitcode 0
!!! Failed Patch: zlib-1.1.4-gentoo.security.patch!

bash-2.05# cat /var/tmp/portage/zlib-1.1.4-r2/temp/zlib-1.1.4-gentoo.security.patch-8866.out
***** zlib-1.1.4-gentoo.security.patch *****

============================================

PATCH COMMAND:  patch -g0 -p0 < /usr/portage/sys-libs/zlib/files/zlib-1.1.4-gentoo.security.patch

============================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur zlib-1.1.4/ChangeLog zlib-1.1.4-vsnprintf/ChangeLog
|--- zlib-1.1.4/ChangeLog       2002-03-11 15:02:35.000000000 +0000
|+++ zlib-1.1.4-vsnprintf/ChangeLog     2003-02-24 05:31:41.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
patch: **** fseek : Invalid argument
============================================

PATCH COMMAND:  patch -g0 -p1 < /usr/portage/sys-libs/zlib/files/zlib-1.1.4-gentoo.security.patch

============================================
patching file ChangeLog
patch: **** fseek : Invalid argument
============================================

PATCH COMMAND:  patch -g0 -p2 < /usr/portage/sys-libs/zlib/files/zlib-1.1.4-gentoo.security.patch

============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur zlib-1.1.4/ChangeLog zlib-1.1.4-vsnprintf/ChangeLog
|--- zlib-1.1.4/ChangeLog       2002-03-11 15:02:35.000000000 +0000
|+++ zlib-1.1.4-vsnprintf/ChangeLog     2003-02-24 05:31:41.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
patch: **** fseek : Invalid argument
============================================

PATCH COMMAND:  patch -g0 -p3 < /usr/portage/sys-libs/zlib/files/zlib-1.1.4-gentoo.security.patch

============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur zlib-1.1.4/ChangeLog zlib-1.1.4-vsnprintf/ChangeLog
|--- zlib-1.1.4/ChangeLog       2002-03-11 15:02:35.000000000 +0000
|+++ zlib-1.1.4-vsnprintf/ChangeLog     2003-02-24 05:31:41.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
patch: **** fseek : Invalid argument
============================================

PATCH COMMAND:  patch -g0 -p4 < /usr/portage/sys-libs/zlib/files/zlib-1.1.4-gentoo.security.patch

============================================
missing header for unified diff at line 4 of patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur zlib-1.1.4/ChangeLog zlib-1.1.4-vsnprintf/ChangeLog
|--- zlib-1.1.4/ChangeLog       2002-03-11 15:02:35.000000000 +0000
|+++ zlib-1.1.4-vsnprintf/ChangeLog     2003-02-24 05:31:41.000000000 +0000
--------------------------
No file to patch.  Skipping patch.
patch: **** fseek : Invalid argument


Moving closer...
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Fri Jan 30, 2004 6:12 am    Post subject: Reply with quote

how about "emerge patch" first?
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Jan 30, 2004 6:15 am    Post subject: Reply with quote

Already done. I also have already linked /usr/bin/patch to /opt/csw/usr/bin/patch
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Fri Jan 30, 2004 6:51 pm    Post subject: Reply with quote

that's weird!! I emerged the same version fine. post o/p of "patch --help".

try without -O and see what it wants to merge before zlib.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Jan 30, 2004 7:59 pm    Post subject: Reply with quote

At work now, but just noticed:
Code:
patch: **** fseek : Invalid argument


Is fseek a command, function or something in patch? If I were home I could check on my working gentoo system.
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Fri Jan 30, 2004 8:25 pm    Post subject: Reply with quote

fseek is C a library function and that message from patch is from C code in patch.

I still think that it is the patch binary...same ebuild and same diff works here. "patch --help" might help.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Sat Jan 31, 2004 5:30 am    Post subject: Reply with quote

Code:
Sun Microsystems Inc.   SunOS 5.9       Generic May 2002
bash-2.05# patch --version
patch 2.5.9
Copyright (C) 1988 Larry Wall
Copyright (C) 2003 Free Software Foundation, Inc.

This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of this program
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

written by Larry Wall and Paul Eggert


Code:
bash-2.05# emerge --info
!!! Using `which gcc` to gcc locate version, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.49-r15 (make.profile, gcc-3.3.2, glibc-unavailable, 5.9)
=================================================================
System uname: 5.9 sun4u sparc
cat: cannot open /etc/gentoo-release
ACCEPT_KEYWORDS="sparc"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=ultrasparc -pipe"
CHOST="sparc-sun-solaris2.9"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache -sandbox buildpkg"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.noved.org/ ftp://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="sparc arts avi berkdb crypt encode esd fbcon foomaticdb gdbm gif gnome imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oss pam perl png python pdflib qt readline spell tcpd truetype xv xml2 slang zlib sdl samba cups xmms ssl oggvorbis java gtk opengl X"

_________________
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: 2732
Location: Bay Area, CA

PostPosted: Sat Jan 31, 2004 8:34 am    Post subject: Reply with quote

don't know what's going on here.

you have few options though.

1. you can edit the ebuild in /usr/portage/sys-libs/zlib/zlib-1.1.4-r2.ebuild to exclude the security patch
2. edit it to include more recent version of patch as done in zlib-1.1.4-r3.ebuild
3. use "ACCEPT_KEYWORDS=~sparc emerge zlib" to emerge latest one

this will help see if the patch is bad on your machine. in any case, at least you will be able to proceed.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Feb 06, 2004 5:17 am    Post subject: Reply with quote

Well removing the e-patch from it made it take it but the ebuild appears to be hard coded to put the libs in /usr. Not sure if that is what we want or not.

I wonder who we have to talk to , to get them to make a sparcsolaris and x86solaris arch type so we can start testing e-builds and "unmasking" them.

Also, as I mentioned before, it would be nice to make portage use the binaries in /opt/csw because I have to rename a lot of the solaris binaries and link them to gnu ones in /opt/csw (potentially wreaking some havok on the system)

It is getting to the point where some things are working but there are a few minor changes in the way portage works in order to make it fully work in Solaris.

(Rementioning this because we got mentioned in the Gentoo Weekly newsletter and they said we were "almost finished") :lol:

Ideally we could submit ebuilds that work with Solaris and they could be included into the normal rsync mirrors, or if the regular ebuilds work, just add "sparcsolaris" to the arch type
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Fri Feb 06, 2004 7:39 am    Post subject: Reply with quote

Quote:
(Rementioning this because we got mentioned in the Gentoo Weekly newsletter and they said we were "almost finished")


:lol:

well, here is my latest status. After the changes in portage python and shell scripts(portage/bin and portage/pym dirs) and using the ROOT feature, I could install binutils, perl, gvim, gnome, mozilla, galeon, xine-ui, xmms on my 2.6 in a non-root location. And whole system works pretty well (to my surprise I must say...) within the parameters of usual 2.6 compile errors (I think solaris 9 won't have most of those) but nothing that could stop me long. I had to write a sed script(few rules I deducted from looking at a large number of ebuilds) which would replace hard coded paths like /usr, /etc, /var etc. with path relative to ${ROOT} in every ebuild that passes thru portage scripts. I had to edit few ebuilds because of inherent nature of the ebuild or for masking out certain features which don't exist on solaris.

one of the major difficulties I faced was getting every package to use GNU build tools instead of solaris build tools. not every package honours --with-gnu-ld. Some packages determined GNU tools from env. var GCC. Others, tried to be smart and used solaris specific imake to create makefiles. Surprisingly, once I got them to use gcc/g++ and binutils, they behaved well. Overall, using gnu tools might result in a slightly lower performance compared to the native tools, but at least I don't have to deal with changes in Makefiles for linking every other package. Many packages don't honour --disable-nls cleanly and it doesn't matter on linux because iconv is there in glibc itself. I tried glibc once, but it didn't compile on 2.6. I heard it compiles fine on 2.9.

most portage changes went to ebuild.sh, emerge and portage.py and some of those changes were hard coded hacks.

one day, when I have some spare time with me, I will package these changes together for nice and clean install in a non-root location on solaris. I will write a small doc and post it here.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


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

PostPosted: Fri Feb 06, 2004 7:45 am    Post subject: Reply with quote

stonent wrote:

Ideally we could submit ebuilds that work with Solaris and they could be included into the normal rsync mirrors, or if the regular ebuilds work, just add "sparcsolaris" to the arch type


yes! I have a few already. but it needs some fundamental changes(like the proposed arch type) in portage...Genone?
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Feb 06, 2004 4:23 pm    Post subject: Reply with quote

What kind of system are you running this on?
_________________
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: 2732
Location: Bay Area, CA

PostPosted: Fri Feb 06, 2004 5:11 pm    Post subject: Reply with quote

its an ultra-60 450Mhz with solaris 2.6 on it...
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


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

PostPosted: Fri Feb 06, 2004 5:14 pm    Post subject: Reply with quote

devsk wrote:
stonent wrote:

Ideally we could submit ebuilds that work with Solaris and they could be included into the normal rsync mirrors, or if the regular ebuilds work, just add "sparcsolaris" to the arch type


yes! I have a few already. but it needs some fundamental changes(like the proposed arch type) in portage...Genone?


See bug 38312 first, as we try to find a solution to limit the numbers of KEYWORDS, as with multiple OS and archs it will get ugly (think of NetBSD :twisted: ). I think we'll end up with a different variable for the OS that will be checked together with KEYWORDS to get the masking status (so KEYWORDS="~x86 ~ppc sparc" OS="solaris linux" would result in "~x86linux ~ppclinux sparclinux ~x86solaris sparcsolaris", note the lack of ~ppcsolaris). Any input on that is welcome, also I'd suggest that you bring it up on the gentoo-dev list.
If you have any portage/ebuild patches that would help for solaris and don't break the ebuild for linux you could submit them already to http://bugs.gentoo.org.
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Fri Feb 06, 2004 5:30 pm    Post subject: Reply with quote

What about the poor Solaris-PPC users? http://www.google.com/search?hl=en&lr=&ie=UTF-8&oe=UTF-8&c2coff=1&q=%22solaris+ppc%22

I had originally thought about what you mentioned above, but I thought it might have been too radical of a chance to submit, but maybe I was wrong!
_________________
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 Feb 06, 2004 6:10 pm    Post subject: Reply with quote

I don't remember what I'm running at this point but I did look at what the stage 1 had and downloaded the appropriate pieces using pkg-get (bolthole version)

If they already had a binutils package, then I'm using it.

mv, cp, tar, tty, install need to be GNU for portage to run (I'm actually using the BSD SunOS install in /usr/ccs (i think) linked to the real one.

I've also been thinking about how we could bootstrap a stage 1 under solaris. Basically I came up with this.

You'll need the bolthole pkg-get package installed as well as wget in your path.

Then a script will run out to bolthole and pkg-get all of the latest versions of python, gcc, etc that are needed to run portage. These will install into /opt/csw

Then it will wget the solaris stage1 tarball and bootstrap using the bolthole packages (probably install them into /opt/portage or something) and when it is done with stage 1, it will remove the /opt/csw packages and run completely off of the compiled packages instead to rebuilt itself just like the real portage does.
_________________
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, 4 ... 11, 12, 13  Next
Page 3 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