Hi,

I tried to bootstrap from source on a plain Debian woody (3.0) installation.

When following exactly the manual it fails with:

max:~# sh ./openpkg-1.3.1-1.3.1.src.sh --prefix=/kolab --user=kolab 
--group=kolab
./openpkg-1.3.1-1.3.1.src.sh: extracting to openpkg-1.3.1-1.3.1.src...
./openpkg-1.3.1-1.3.1.src.sh: extraction done.
./openpkg-1.3.1-1.3.1.src.sh: building for /kolab...
./openpkg.boot: ./openpkg.boot: No such file or directory

This is the result of a failing uudecode. 

When using uudecode manually I get:

max:~# tar tvf openpkg-1.3.1-1.3.1.src.tar.Z
-rw-r--r-- rse/wheel      6214 2003-09-25 14:13:46 HISTORY
-rw-r--r-- rse/wheel      8583 2003-09-25 14:13:46 README
-rw-r--r-- rse/wheel      3805 2003-09-25 14:13:46 aux.prereq.sh
-rw-r--r-- rse/wheel      6840 2003-09-25 14:13:46 aux.usrgrp.sh
-rw-r--r-- rse/wheel      3795 2003-09-25 14:13:46 aux.wrapbin.sh
-rw-r--r-- rse/wheel      3520 2003-09-25 14:13:46 aux.wrapsrc.sh
-rw-r--r-- rse/wheel   1956216 2003-09-25 14:13:46 bash-2.05b.tar.gz
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors

The above problem looks to me like the openpkg bootstrap shell script is not 
compatible to the Debian uudecode utility. When invoking the uudeview utility 
manually I can successfully unpack/decode the archive from the shell script.

uudeview openpkg-1.3.1-1.3.1.src.sh

The resulting openpkg-1.3.1-1.3.1.src.tar.Z is actually missleading. The file 
is actually not a compressed file but a plain tar archive. If I remember 
correctly it was decided during the 1.3 development not to depend on the 
compress utility anymore.

In addition I would like to know what you think about replacing uudecode with 
uudeview -i in the bootstrap shell script. At least for me this helped on 
Debian 3.0 and SuSE 8.2.

Last but not least I would love to see the bootstrap script to check for all 
required prerequisites (required utilities) instead of failing "silently" or 
giving missleading error messages.

Regards,
-- martin

Dipl.-Phys. Martin Konold
e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Nobelstrasse 15, 70569 Stuttgart, Germany
fon: 0711 67400963, fax: 0711 67400959
email: [EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to