[Kolab-devel] error: cannot open /tmp/install-kolab....1444/*.src.rpm: No such file or directory

Thomas Arendsen Hein thomas at intevation.de
Mon Jul 21 09:01:54 CEST 2008


The original posting was rejected for the list due to its size, but
here is my reply quoting the full mail text and the relevant parts
of the attachment:

* ComCept Soliva <soliva at comcept.ch> [20080719 14:01]:
> Hi all
> 
> Platform is Solaris 10 Sparc latest recommended cluster.
> 
> I created a temp dir /kolabtmp and chmoded 777 as created a dir /kolab to be
> the install dir. After that I cd in the /kolabtmp dir and started with:
> 
> sh install-kolab.sh 2>&1 | tee kolab-install.log
> 
> After some time following error occours but I can not see the reason which
> means the make source file is in /kolabtmp and not in the temporaere dir
> under /tmp? There is no source file under the /tmp dir?
> 
> there must be a error within the error script but I can not locate it?!
> Included the full log output. 
> 
> something is going wrong.....
> 
> Any help hint appriciated....
> 
> many thanks
> 
> Andrea


The relevant part of the attachment (kolab-install.log):

> Changing to temporary working directory /tmp/install-kolab....1444 ...
> find: bad option -mindepth
> find: [-H | -L] path-list predicate-list

Seems as if Solaris' find does not support -mindepth and -maxdepth,
so we have to find a different syntax to detect the needed files,
maybe using eval (which I try to avoid if possible).

-mindepth and -maxdepth was used in the script before, so we thought
it would work.

> Found a source based OpenPKG installer. Trying to install Kolab from source.
> Creating binary openpkg package from ./openpkg-20071227-20071227.src.sh!

Hmm, it should not have found the .src.sh without a working find
command, but we'll see.

> Processing files: openpkg-20071227-20071227
> Wrote: /kolab/RPM/PKG/openpkg-20071227-20071227.sparc64-solaris10-kolab.rpm
> Executing(%clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.1024
> + cd /kolab/RPM/TMP
> + '[' . = .1 ']'
> + rm -rf openpkg-20071227
> + rm -rf /kolab/RPM/TMP/openpkg-20071227-root
> + exit 0
> Executing(--clean): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.18771
> + cd /kolab/RPM/TMP
> + exit 0
> Preparing...                ##################################################
> openpkg                     ##################################################
> :::: /tmp/install-kolab....1444/openpkg-20071227-20071227.src.rpm = 0 ::::
> :::: /tmp/install-kolab....1444/make-3.81-20080101.src.rpm ::::
> error: cannot open /tmp/install-kolab....1444/make-3.81-20080101.src.rpm: No such file or directory

The script should have aborted earlier here.

Regards,
Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner




More information about the devel mailing list