Author Topic: Portage (gentoo) for cacko X11  (Read 5062 times)

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« on: January 02, 2004, 04:41:13 pm »
Is there anybody working on this? If not, I would like to try.

With nfs solving the disk space, it could be posible. I can\'t see any serious problem. We have python, distcc and gcc 3.3.1 working.

The first steps will be having an prototype of environment in which portage can compile packages via \"emerge\" with some USE flags.

I will try tonight and post the preliminary results. Keep connected.

Fernando Monera
http://www.opensistemas.com

Anonymous

  • Guest
Portage (gentoo) for cacko X11
« Reply #1 on: January 02, 2004, 04:50:08 pm »
You mean other than the fact that compiling things on the Zaurus would be dead slow?

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« Reply #2 on: January 02, 2004, 05:29:10 pm »
With distcc, things are compiled on the main PC. Zaurus only does the \"./configure\". So compiling is as fast as the main pc.

This is the way I am compiling everything.

Anonymous

  • Guest
Portage (gentoo) for cacko X11
« Reply #3 on: January 02, 2004, 05:58:39 pm »
Do you have pointers to information on how to set distcc up?

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« Reply #4 on: January 02, 2004, 07:15:43 pm »
STATUS at 01:10:

- chroot environment over nfs working ok
- emerge starts !!! (but nothing more atm). Needs a more complete Gento environment.

In progress:
- Setting a complete Gentoo environment (mainly setting up /etc files).


Fernando Monera
http://www.opensistemas.com

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« Reply #5 on: January 02, 2004, 07:54:21 pm »
STATUS at 1:48 a.m.:

- \"emerge sync\" working!!!!!!

It is going to be long, so maybe I will go to sleep and continue tomorrow.

Output (I swear it is really my zaurus):

# emerge sync
]]] starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
]]] checking server timestamp ...

Welcome to trumpetti.atm.tut.fi (130.230.54.99 and 2001:708:310:54::2),
also known as ftp.fi.debian.org and rsync1.fi.gentoo.org.
We are located at Tampere University of Technology, Finland.
All services (http,ftp,rsync) support IPv6.


The server is a dual P3 1GHz with 1Gb of memory and a gigabit
network connection.

In case of questions, suggestions or problems, please contact deb@atm.tut.fi


receiving file list ...
1 file to consider
timestamp.chk
          32 100%    0.00kB/s    0:00:00
rsync[1526] (receiver) heap statistics:
  arena:         113752   (bytes from sbrk)
  ordblks:            1   (chunks not in use)
  smblks:             0
  hblks:              0   (chunks from mmap)
  hblkhd:             0   (bytes from mmap)
  usmblks:            0
  fsmblks:            0
  uordblks:       98920   (bytes used)
  fordblks:       14832   (bytes free)
  keepcost:       14832   (bytes in releasable chunk)

Number of files: 1
Number of files transferred: 1
Total file size: 32 bytes
Total transferred file size: 32 bytes
Literal data: 32 bytes
Matched data: 0 bytes
File list size: 32
Total bytes written: 201
Total bytes read: 534

wrote 201 bytes  read 534 bytes  294.00 bytes/sec
total size is 32  speedup is 0.04

Welcome to trumpetti.atm.tut.fi (130.230.54.99 and 2001:708:310:54::2),
also known as ftp.fi.debian.org and rsync1.fi.gentoo.org.
We are located at Tampere University of Technology, Finland.
All services (http,ftp,rsync) support IPv6.

The server is a dual P3 1GHz with 1Gb of memory and a gigabit
network connection.

In case of questions, suggestions or problems, please contact deb@atm.tut.fi


receiving file list ...
70290 files to consider
app-admin/
app-admin/fpm/
app-admin/fpm/files/
app-admin/superadduser/files/
app-admin/syslog-ng/
app-admin/sysstat/
app-admin/sysstat/files/
app-arch/
app-arch/bsdsfv/files/
app-arch/lha/
app-arch/rar/
app-arch/rar/files/
app-arch/unrar/
app-arch/unrar/files/
app-benchmarks/
app-cdr/
app-cdr/cdrdao/
app-crypt/
app-crypt/gnupg/
app-crypt/heimdal/files/
app-dicts/
app-dicts/ebview/
app-dicts/ebview/files/
app-dicts/prime-dict/
app-dicts/prime-dict/files/
app-doc/
app-doc/quanta-docs/
app-editors/

etcetera.

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« Reply #6 on: January 02, 2004, 08:32:32 pm »
To setup distcc:
  - Make sure you can compile on zaurus AND on main PC (via cross compile)
  - Make symlinks on PC from arm-linux-gcc to gcc (and the other executable files too) on the same dir (/usr/local/arm/3.3.1/bin)
  - Make sure /usr/local/arm/3.3.1/bin is at the beginning of your path.
  - run \"distccd --daemon\" on both sides
  - on zaurus:
     export DISTCC_HOSTS=\"192.168.129.1 localhost\"
     (or export DISTCC_HOSTS=\"192.168.129.1\" )
     export CC=dist-gcc
     export CXX=dist-g++

I have those exports into the zgcc-setup.sh of the native compiler.

enki

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
Portage (gentoo) for cacko X11
« Reply #7 on: January 04, 2004, 01:17:56 pm »
wow, sounds like some really fascinating stuff, lekter... im definately gonna have to look into implementing and testing your setup, as im running gentoo on my linux that i network my zaurus through via usb...  

distcc would certainly solve a few issues, ive heard of it, but dont much understand its implementation

ill see what i can do to learn more
Sharp SL-C760
Cacko-X11 13Dec03
256 MB Sandisk CF
64 MB Sandisk CF

lekter

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
    • http://www.opensistemas.com
Portage (gentoo) for cacko X11
« Reply #8 on: January 04, 2004, 03:00:37 pm »
I DID IT!!!!!!! I have my first gentoo package for zaurus done with the zaurus. I think the environment is stable now.

Doing now:
- I\'m setting up a web page for all the project.
- I\'m writing a script to convert from gentoo packages (.tbz2) to zaurus ones (.ipk).

Anonymous

  • Guest
Portage (gentoo) for cacko X11
« Reply #9 on: January 04, 2004, 06:28:29 pm »
hey lekter, i was able to set up distcc on both computers, but when i attempted to use it in an actual compile, it would fail, giving me these errors before resulting to using the local (zgcc) compiler:

distcc[6312] (dcc_r_bulk_plain) ERROR: ftruncate fd5 failed: Operation not permitted
distcc[6312] (dcc_build_somewhere) Warning: failed to distribute to 192.168.129.200, running locally instead

if you have any thoughts on what could cause this, i would be very thankful

enki

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • http://
Portage (gentoo) for cacko X11
« Reply #10 on: January 04, 2004, 06:43:34 pm »
ack, above guest is me
Sharp SL-C760
Cacko-X11 13Dec03
256 MB Sandisk CF
64 MB Sandisk CF

VeeDubb

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • http://
Portage (gentoo) for cacko X11
« Reply #11 on: January 05, 2004, 03:43:02 am »
This is all amazing!  I\'m realy fascinated by the whole idea.  I hope to buy an 860 later this year if I ever get a decent job.