[Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1 Script stopped before OpenPKG install

ComCept Soliva soliva at comcept.ch
Tue Dec 30 07:56:34 CET 2008


Hi all

this is the first feedback regarding:

"[Kolab-devel] [issue3341] Solaris 10 Sparc Kolab V2.2.1 Beta 1SSL/TLS
libraries were missing or unusable"

the compilation/installation stopped before openpkg install which means the
files for openpkg are there and was successful compiled but the script did
not install at all anything (I can not see any error?). I launched the
installation manual which means folllowing workaround was used to proceed
(Full Log Details at
http://www.comcept.ch/kolab2/2.2.1-beta1/kolab-install-Dec-29-07_24_22.zip
Full install details at
http://www.comcept.ch/kolab2/2.2.1-beta1/solaris_10_kolab2_install.txt ):

# sh -x install-kolab.sh 2>&1 | tee kolab-install-Dec-29-07_24_22.log


........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
.........................................................................
| fixing something) to reinstall (but then with RPM available).
|
|
|
| The third result file is the OpenPKG Binary Bootstrap Package,
|
| containing the installation files as a self-extracting shell
|
| script for the OpenPKG instance /kolab. Use this in YOUR NEXT
|
| STEP to initially create the OpenPKG instance from scratch.
|
| Hence, proceed now by running the following command:
|
|
|
|     $ sh openpkg-20071227-20071227.sparc64-solaris10-kolab.sh
|
+---------------------------------------------------------------------------
--+
+ [  ] 
+ [ -n openpkg-20071227-20071227.sparc64-solaris10-kolab.sh ] 
+ sh openpkg-20071227-20071227.sparc64-solaris10-kolab.sh 
OpenPKG CURRENT Binary Bootstrap Package, version 20071227
Built for prefix /kolab on target platform sparc64-solaris10
++ hooking OpenPKG instance into system environment
ln: rc0.d/K00kolab: File exists
ln: rc1.d/K00kolab: File exists
+ exit 2 

#    

# sh
/tmp/install-kolab....8544/openpkg-20071227-20071227.sparc64-solaris10-kolab
.sh

OpenPKG CURRENT Binary Bootstrap Package, version 20071227
Built for prefix /kolab on target platform sparc64-solaris10
++ hooking OpenPKG instance into system environment
++ fixating OpenPKG instance root directory "/kolab"
++ extracting OpenPKG binary distribution
++ installing OpenPKG binary distribution
++ fixating OpenPKG instance filesystem hierarchy
++ post-processing OpenPKG bootstrap installation
+---------------------------------------------------------------------------
--+
| Congratulations!
|
|
|
| You have successfully installed an OpenPKG CURRENT instance
|
| under prefix /kolab on target platform sparc64-solaris10.
|
|
|
| For details about this OpenPKG instance, run any of the
|
| following typical OpenPKG RPM query commands:
|
|
|
|     $ /kolab/bin/openpkg rpm -qa
|
|     $ /kolab/bin/openpkg rpm -qi  openpkg
|
|     $ /kolab/bin/openpkg rpm -qlv openpkg
|
|
|
| To check the integrity of the entire OpenPKG instance,
|
| run the following OpenPKG RPM verify command:
|
|
|
|     $ /kolab/bin/openpkg rpm -Va
|
|
|
| To install software packages into this OpenPKG instance, run
|
| the following two OpenPKG RPM build commands for each package:
|
|
|
"install-kolab.sh" 317 lines, 10143 characters to/foo-*.src.rpm
|
|     $ /kolab/bin/openpkg rpm -Uvh /kolab/RPM/PKG/foo-*.rpm
|
|
|
| To remove a software package later, just run:
|
|
|
|     $ /kolab/bin/openpkg rpm -e foo
|
|
|
| To remove the whole OpenPKG instance under prefix /kolab,
|
| just remove every package as shown above. As you finally
|
| remove the package "openpkg", the OpenPKG instance itself
|
| will be unlinked from the system and removed as well.
|
|
|
| Thank you for flying OpenPKG...
|
|                                         Ralf S. Engelschall
|
|                                         The OpenPKG Project
|
|                                         openpkg at openpkg.org
|
+---------------------------------------------------------------------------
--+

# /kolab/bin/openpkg rpm -qa
openpkg-20071227-20071227
gpg-pubkey-61b7ae34-4544a6af
gpg-pubkey-63c4cb9f-3c591eda
gpg-pubkey-52197903-4544a74d




ATTENTION Prevent that install script creates another tmpdir or WORKDIR
otherwise 
********* compilation etc will beginn again from scratch. Define as WORKDIR
existing
          WORKDIR in "/tmp":


# vi /kolabtmp/install-kolab.sh


    62  #mktmpdir() {
    63  #  newtmp="${TMPDIR-/tmp}/install-kolab.$RANDOM.$RANDOM.$RANDOM.$$"
    64  #  (umask 022 && mkdir "$newtmp") || {
    65  #    echo "Could not create temporary directory! Exiting." 1>&2
    66  #    exit 1
    67  #  }
    68  #  echo "$newtmp"
    69  #}



   193  SRCDIR=`pwd`
   194  #WORKDIR=`mktmpdir`
   195  WORKDIR="/tmp/install-kolab....8544"
   196  echo "Changing to temporary working directory $WORKDIR ..."
   197  cd "$WORKDIR"
   198  populate_workdir


# sh -x install-kolab.sh 2>&1 | tee kolab-install-Dec-30-07-22-50.log


Will give feedback as soon as the compilation/installation finished...
 
kind regards

Andrea

Mail: soliva at comcept.ch 

-----Ursprüngliche Nachricht-----
Von: ComCept Soliva [mailto:soliva at comcept.ch] 
Gesendet: Montag, 29. Dezember 2008 07:20
An: 'kolab-devel at kolab.org'
Betreff: [Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1SSL/TLS libraries
were missing or unusable

Hi Gunnar

issue open:

https://www.intevation.de/roundup/kolab/msg18180 

new compilation running at the moment..will give feedback as soon as I have
a result/overview.

kind regards

Mail: soliva at comcept.ch 
-----Ursprüngliche Nachricht-----
Von: Gunnar Wrobel [mailto:wrobel at pardus.de] Im Auftrag von
kolab-devel-bounces at kolab.org
Gesendet: Samstag, 27. Dezember 2008 11:55
An: kolab-devel at kolab.org
Betreff: [Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1SSL/TLS libraries
were missing or unusable

Quoting ComCept Soliva <soliva at comcept.ch>:

> Hi Gunnar
>
> many thanks to identify the problem. If I run again the compilation it
will
> stop at apache2 compilation and I manipulate the .spec file that within
> apache2 the option zlib will be compiled with_zlib=no. Fine so far but is
> there a possibility to manipulate this in advanced? What would be the best
> choice?

I think it should be possible to set that in install-kolab.sh:

Line 25 -> DEFINE="... -D apache::with_zlib=no"

>
> If there is no possibility is it still the same that If the compilation
> stops --> I manipulation .spec --> start again with install-kolab.sh -->
and
> the compilation will not start from beginn instead it will run at this
point
> it stops? Why I'm asking is because I have to remove on Solaris within
> install-kolab.sh the option "-mindepth 1 -maxdepth 1" (find on Solaris
does
> not support this option)? If I understand the script correct the option
> "-mindepth 1 -maxdepth 1" checks if there is already something within /tmp
> and if so will probably remove the stuff and if so beginn the compilation
at
> scratch?
>
> How should I proceed? What advice you would give me?

Try the hint given above. In addition you should open a bug in the  
issue tracker. I'll assign it to Thomas and we'll see if we can set  
this option by default as long as this problem exists.

Cheers,

Gunnar

>
> Andrea
>
> Mail: soliva at comcept.ch
> -----Ursprüngliche Nachricht-----
> Von: Gunnar Wrobel [mailto:wrobel at pardus.de] Im Auftrag von
> kolab-devel-bounces at kolab.org
> Gesendet: Sonntag, 21. Dezember 2008 23:18
> An: kolab-devel at kolab.org
> Betreff: [Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1SSL/TLS
libraries
> were missing or unusable
>
> Quoting ComCept Soliva <soliva at comcept.ch>:
>
>> Hi
>>
>> in RPM/TMP/httpd-2.2.10 there is the config.log.
>>
>> Please find it attached
>
> Thanks, that helped to identify the following conversation:
>
> http://www.mail-archive.com/openpkg-users@openpkg.org/msg03467.html
>
> It might help.
>
> Cheers,
>
> Gunnar
>
>>
>> Andrea
>>
>> Mail: soliva at comcept.ch
>> -----Ursprüngliche Nachricht-----
>> Von: Gunnar Wrobel [mailto:wrobel at pardus.de] Im Auftrag von
>> kolab-devel-bounces at kolab.org
>> Gesendet: Donnerstag, 18. Dezember 2008 23:50
>> An: kolab-devel at kolab.org
>> Betreff: [Kolab-devel] Solaris 10 Sparc Kolab V2.2.1 Beta 1SSL/TLS
> libraries
>> were missing or unusable
>>
>> Quoting ComCept Soliva <soliva at comcept.ch>:
>>
>>> Hi all
>>>
>>> your modifications within the install-kolab.sh script regarding PLATTAG
>>> seems to work fine.
>>>
>>> All positions regarding mindepth/maxdepth I had to remove because
Solaris
>>> does not support mindepth/maxdepth within find ([Kolab-devel]
>> [issue2924]).
>>>
>>> Before I started I verified that there is nothing at all within tmp and
>>> following env variable are in use:
>>>
>>> SunOS dev 5.10 Generic_137111-08 sun4u sparc SUNW,Ultra-4
>>>
>>> # env
>>>
>>> _=/usr/bin/env
>>> LANG=C
>>> HZ=
>>>
>>
>
PATH=/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/bin:/usr/ucb:/opt/sfw/
>>> bin:/usr/local/bin:/usr/ccs/bin
>>> HISTFILE=/root/.sh_history
>>> LOGNAME=root
>>> MAIL=/var/mail/root
>>> PS1=[root at dev $PWD]#
>>> SHELL=/sbin/sh
>>> HISTSIZE=200
>>> HOME=/root
>>> TERM=vt100
>>> PWD=/kolabtmp
>>> TZ=MET
>>> ENV=/root/.kshrc
>>>
>>> # crle
>>>
>>> Configuration file [version 4]: /var/ld/ld.config
>>>   Default Library Path (ELF):   /lib:/usr/lib:/usr/local/lib
>>>   Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system
>>> default)
>>>
>>>
>>> The compilation stopps within apache regarding SSL/TLS:
>>>
>>> checking whether to enable mod_ssl... checking dependencies
>>> checking for SSL/TLS toolkit base... /kolab
>>>   adding "-R/kolab/lib" to LDFLAGS
>>> checking for OpenSSL version... checking openssl/opensslv.h usability...
>> yes
>>> checking openssl/opensslv.h presence... yes
>>> checking for openssl/opensslv.h... yes
>>> checking openssl/ssl.h usability... yes
>>> checking openssl/ssl.h presence... yes
>>> checking for openssl/ssl.h... yes
>>> OK
>>>   forcing SSL_LIBS to "-lssl -lcrypto"
>>> checking openssl/engine.h usability... yes
>>> checking openssl/engine.h presence... yes
>>> checking for openssl/engine.h... yes
>>> checking for SSLeay_version... yes
>>> checking for SSL_CTX_new... no
>>> checking for ENGINE_init... no
>>> checking for ENGINE_load_builtin_engines... no
>>> checking for SSL_set_cert_store... no
>>> configure: error: ... Error, SSL/TLS libraries were missing or unusable
>>> error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.9292 (%build)
>>
>> Is there still a configure.log file available from this step? It
>> should be the unpacked apache source directory.
>>
>> Cheers,
>>
>> Gunnar
>>
>>>
>>>
>>> RPM build errors:
>>>     Bad exit status from /kolab/RPM/TMP/rpm-tmp.9292 (%build)
>>> + exit 1
>>>
>>>
>>>
>>> Full Log File can be downloaeded from following link:
>>>
>>>
> http://www.comcept.ch/kolab2/2.2.1-beta1/kolab-install-Dec-14-08_44_54.zip
>>>
>>> More information about install can be found at:
>>>
>>> http://www.comcept.ch/kolab2/2.2.1-beta1/solaris_10_kolab2_install.txt
>>>
>>>
>>>
>>> OpenSSL was compiled and installed successful:
>>>
>>>
>>> Processing files: openssl-0.9.8g-20080101
>>> Wrote:
/kolab/RPM/PKG/openssl-0.9.8g-20080101.sparc64-solaris10-kolab.rpm
>>> Executing(%clean): env -i /kolab/lib/openpkg/bash --norc --noprofile
>> --posix
>>> -e /kolab/RPM/TMP/rpm-tmp.699
>>> + cd /kolab/RPM/TMP
>>> + cd openssl-0.9.8g
>>> + rm -rf /kolab/RPM/TMP/openssl-0.9.8g-root
>>> + exit 0
>>> Executing(--clean): env -i /kolab/lib/openpkg/bash --norc --noprofile
>>> --posix -e /kolab/RPM/TMP/rpm-tmp.17537
>>> + cd /kolab/RPM/TMP
>>> + rm -rf openssl-0.9.8g
>>> + exit 0
>>> Preparing...
>>> ##################################################
>>> openssl
>>> ##################################################
>>> :::: /tmp/install-kolab....27392/openssl-0.9.8g-20080101.src.rpm = 0
::::
>>>
>>> The library is also there:
>>>
>>> # ls -la /kolab/lib/libssl*
>>> -rw-r--r--   1 kolab    kolab     403268 Dec 14 18:00
/kolab/lib/libssl.a
>>>
>>>
>>>
>>> Within the include dir openssl dir exists:
>>>
>>> # ls -la /kolab/include/openssl
>>> total 1264
>>> drwxr-xr-x   2 kolab    kolab         70 Dec 14 18:02 .
>>> drwxr-xr-x  14 kolab    kolab         41 Dec 14 21:39 ..
>>> -rw-r--r--   1 kolab    kolab       5372 Dec 14 17:59 aes.h
>>> -rw-r--r--   1 kolab    kolab      46728 Dec 14 17:59 asn1.h
>>> -rw-r--r--   1 kolab    kolab      18956 Dec 14 17:59 asn1_mac.h
>>> -rw-r--r--   1 kolab    kolab      27838 Dec 14 17:59 asn1t.h
>>> -rw-r--r--   1 kolab    kolab      30772 Dec 14 17:59 bio.h
>>> -rw-r--r--   1 kolab    kolab       5073 Dec 14 17:59 blowfish.h
>>> -rw-r--r--   1 kolab    kolab      33035 Dec 14 17:59 bn.h
>>> -rw-r--r--   1 kolab    kolab       4565 Dec 14 17:59 buffer.h
>>> -rw-r--r--   1 kolab    kolab       4349 Dec 14 17:59 cast.h
>>> -rw-r--r--   1 kolab    kolab       1601 Dec 14 17:59 comp.h
>>> -rw-r--r--   1 kolab    kolab       9484 Dec 14 17:59 conf.h
>>> -rw-r--r--   1 kolab    kolab       4080 Dec 14 17:59 conf_api.h
>>> -rw-r--r--   1 kolab    kolab      22121 Dec 14 17:59 crypto.h
>>> -rw-r--r--   1 kolab    kolab      10724 Dec 14 17:59 des.h
>>> -rw-r--r--   1 kolab    kolab      18226 Dec 14 17:59 des_old.h
>>> -rw-r--r--   1 kolab    kolab       8372 Dec 14 17:59 dh.h
>>> -rw-r--r--   1 kolab    kolab      10474 Dec 14 17:59 dsa.h
>>> -rw-r--r--   1 kolab    kolab      16252 Dec 14 17:59 dso.h
>>> -rw-r--r--   1 kolab    kolab       6146 Dec 14 17:59 dtls1.h
>>> -rw-r--r--   1 kolab    kolab       9632 Dec 14 17:59 e_os2.h
>>> -rw-r--r--   1 kolab    kolab        540 Dec 14 17:59 ebcdic.h
>>> -rw-r--r--   1 kolab    kolab      21389 Dec 14 17:59 ec.h
>>> -rw-r--r--   1 kolab    kolab       4609 Dec 14 17:59 ecdh.h
>>> -rw-r--r--   1 kolab    kolab      10578 Dec 14 17:59 ecdsa.h
>>> -rw-r--r--   1 kolab    kolab      37839 Dec 14 17:59 engine.h
>>> -rw-r--r--   1 kolab    kolab      12493 Dec 14 17:59 err.h
>>> -rw-r--r--   1 kolab    kolab      35620 Dec 14 17:59 evp.h
>>> -rw-r--r--   1 kolab    kolab       4368 Dec 14 17:59 hmac.h
>>> -rw-r--r--   1 kolab    kolab       7642 Dec 14 17:59 krb5_asn.h
>>> -rw-r--r--   1 kolab    kolab       5927 Dec 14 17:59 kssl.h
>>> -rw-r--r--   1 kolab    kolab       7429 Dec 14 17:59 lhash.h
>>> -rw-r--r--   1 kolab    kolab       3897 Dec 14 17:59 md2.h
>>> -rw-r--r--   1 kolab    kolab       4661 Dec 14 17:59 md4.h
>>> -rw-r--r--   1 kolab    kolab       4661 Dec 14 17:59 md5.h
>>> -rw-r--r--   1 kolab    kolab     113729 Dec 14 17:59 obj_mac.h
>>> -rw-r--r--   1 kolab    kolab      33396 Dec 14 17:59 objects.h
>>> -rw-r--r--   1 kolab    kolab      23795 Dec 14 17:59 ocsp.h
>>> -rw-r--r--   1 kolab    kolab       6533 Dec 14 17:59 opensslconf.h
>>> -rw-r--r--   1 kolab    kolab       3751 Dec 14 17:59 opensslv.h
>>> -rw-r--r--   1 kolab    kolab       6446 Dec 14 17:59 ossl_typ.h
>>> -rw-r--r--   1 kolab    kolab      27927 Dec 14 17:59 pem.h
>>> -rw-r--r--   1 kolab    kolab       2863 Dec 14 17:59 pem2.h
>>> -rw-r--r--   1 kolab    kolab      12677 Dec 14 17:59 pkcs12.h
>>> -rw-r--r--   1 kolab    kolab      16333 Dec 14 17:59 pkcs7.h
>>> -rw-r--r--   1 kolab    kolab       6150 Dec 14 17:59 pq_compat.h
>>> -rw-r--r--   1 kolab    kolab       3519 Dec 14 17:59 pqueue.h
>>> -rw-r--r--   1 kolab    kolab       5251 Dec 14 17:59 rand.h
>>> -rw-r--r--   1 kolab    kolab       4294 Dec 14 17:59 rc2.h
>>> -rw-r--r--   1 kolab    kolab       3707 Dec 14 17:59 rc4.h
>>> -rw-r--r--   1 kolab    kolab       4284 Dec 14 17:59 ripemd.h
>>> -rw-r--r--   1 kolab    kolab      18202 Dec 14 17:59 rsa.h
>>> -rw-r--r--   1 kolab    kolab     126893 Dec 14 17:59 safestack.h
>>> -rw-r--r--   1 kolab    kolab       7329 Dec 14 17:59 sha.h
>>> -rw-r--r--   1 kolab    kolab      82501 Dec 14 17:59 ssl.h
>>> -rw-r--r--   1 kolab    kolab      10716 Dec 14 17:59 ssl2.h
>>> -rw-r--r--   1 kolab    kolab       3744 Dec 14 17:59 ssl23.h
>>> -rw-r--r--   1 kolab    kolab      22283 Dec 14 17:59 ssl3.h
>>> -rw-r--r--   1 kolab    kolab       4418 Dec 14 17:59 stack.h
>>> -rw-r--r--   1 kolab    kolab      26481 Dec 14 17:59 store.h
>>> -rw-r--r--   1 kolab    kolab      19456 Dec 14 17:59 symhacks.h
>>> -rw-r--r--   1 kolab    kolab      18121 Dec 14 17:59 tls1.h
>>> -rw-r--r--   1 kolab    kolab       4117 Dec 14 17:59 tmdiff.h
>>> -rw-r--r--   1 kolab    kolab       4300 Dec 14 17:59 txt_db.h
>>> -rw-r--r--   1 kolab    kolab      16418 Dec 14 17:59 ui.h
>>> -rw-r--r--   1 kolab    kolab       3439 Dec 14 17:59 ui_compat.h
>>> -rw-r--r--   1 kolab    kolab      47946 Dec 14 17:59 x509.h
>>> -rw-r--r--   1 kolab    kolab      20782 Dec 14 17:59 x509_vfy.h
>>> -rw-r--r--   1 kolab    kolab      29980 Dec 14 17:59 x509v3.h
>>>
>>>
>>> What is going wrong here....? How to proceed.....? If you need more
>>> information please tell me.
>>>
>>> kinde regards
>>>
>>> Andrea Soliva
>>>
>>> Mail: soliva at comcept.ch
>>>
>>> _______________________________________________
>>> Kolab-devel mailing list
>>> Kolab-devel at kolab.org
>>> https://kolab.org/mailman/listinfo/kolab-devel
>>>
>>
>>
>>
>> --
>> ______ http://kdab.com _______________ http://kolab-konsortium.com _
>>
>> p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
>>
>> ____ http://www.pardus.de _________________ http://gunnarwrobel.de _
>> E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
>> Tel.   : +49 700 6245 0000                          Bundesstrasse 29
>> Fax    : +49 721 1513 52322                          D-20146 Hamburg
>> --------------------------------------------------------------------
>>     >> Mail at ease - Rent a kolab groupware server at p at rdus <<
>> --------------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>>
>
>
>
> --
> ______ http://kdab.com _______________ http://kolab-konsortium.com _
>
> p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium
>
> ____ http://www.pardus.de _________________ http://gunnarwrobel.de _
> E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
> Tel.   : +49 700 6245 0000                          Bundesstrasse 29
> Fax    : +49 721 1513 52322                          D-20146 Hamburg
> --------------------------------------------------------------------
>     >> Mail at ease - Rent a kolab groupware server at p at rdus <<
> --------------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> Kolab-devel mailing list
> Kolab-devel at kolab.org
> https://kolab.org/mailman/listinfo/kolab-devel
>



-- 
______ http://kdab.com _______________ http://kolab-konsortium.com _

p at rdus Kolab work is funded in part by KDAB and the Kolab Konsortium

____ http://www.pardus.de _________________ http://gunnarwrobel.de _
E-mail : p at rdus.de                                 Dr. Gunnar Wrobel
Tel.   : +49 700 6245 0000                          Bundesstrasse 29
Fax    : +49 721 1513 52322                          D-20146 Hamburg
--------------------------------------------------------------------
    >> Mail at ease - Rent a kolab groupware server at p at rdus <<
--------------------------------------------------------------------


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the devel mailing list