[Kolab-devel] [issue2924] install-kolab.sh: -maxdepth/-mindepth notsupported by all find implementations

ComCept Soliva soliva at comcept.ch
Wed Aug 20 07:50:56 CEST 2008


Hi all

is there any news regarding this issue ? I was not able to have a look to
the site https://www.intevation.de/roundup/kolab/ (not available).

kind regards

Andrea

Mail: soliva at comcept.ch 
-----Ursprüngliche Nachricht-----
Von: Thomas Arendsen Hein [mailto:kolab-issues at intevation.de] Im Auftrag von
kolab-devel-bounces at kolab.org
Gesendet: Mittwoch, 23. Juli 2008 12:40
An: kolab-devel at kolab.org
Betreff: [Kolab-devel] [issue2924] install-kolab.sh: -maxdepth/-mindepth
notsupported by all find implementations


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

> 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.

----------
assignedto: thomas
messages: 15868
nosy: bernhard, martin, soliva, thomas, till, wilde, wrobel
priority: bug
status: unread
title: install-kolab.sh: -maxdepth/-mindepth not supported by all find
implementations
topic: server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue2924>
___________________________________________________

_______________________________________________
Kolab-devel mailing list
Kolab-devel at kolab.org
https://kolab.org/mailman/listinfo/kolab-devel




More information about the devel mailing list