[Kolab-devel] Kolab Server 2.2.4 on Solaris 10 (Failed PEAR-Horde-Channel)

ComCept Soliva soliva at comcept.ch
Sun Jul 4 08:27:50 CEST 2010


Hi

After I was linking /usr/bin/grep to /usr/local/bin/grep to support long
lines the following existing issue was poping up:

kolab/issue3315 (PEAR-Horde-Channel-1.0 fails to compile on solaris 10)

I updated the issue. At the end oft he message the orig log. The solution I
use is following:

       # vi /kolab/RPM/SRC/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
       
       --------------------
/kolab/RPM/SRC/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
--------------------
       
       %install
       rm -rf $RPM_BUILD_ROOT
       mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
       #install -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{pear_xmldir}
       /kolab/lib/openpkg/shtool install -m 644 %{SOURCE0}
$RPM_BUILD_ROOT%{pear_xmldir}/pear.horde.org.xml
       %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
       
       --------------------
/kolab/RPM/SRC/PEAR-Horde-Channel/PEAR-Horde-Channel.spec
--------------------

       # opa /kolab
       
       # /kolab/bin/openpkg rpmbuild -bb
/kolab/RPM/SRC/PEAR-Horde-Channel/PEAR-Horde-Channel.spec

       # /kolab/bin/openpkg rpm -Uvh
/kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.sparc64-solaris10-kolab.rpm 
       
       Preparing...
########################################### [100%]
          1:PEAR-Horde-Channel
########################################### [100%]
       Adding Channel "pear.horde.org" succeeded
       Update of Channel "pear.horde.org" succeeded





:::: /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.src.rpm ::::
Installing /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20090119.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.22477
+ cd /kolab/RPM/TMP
+ set +x
+----------------------------------Warning----------------------------------
--+
| This OpenPKG package is of class JUNK.
|
| This means it is still in DEVELOPMENT state.
|
| Hence it is still NOT ready even for general evaluation.
|
| Do not use it at all, except in development environments!
|
| It is definitely unstable and incompletely packaged.
|
+---------------------------------------------------------------------------
--+
+ cd /kolab/RPM/TMP
+ rm -rf PEAR-Horde-Channel-1.0
+ /kolab/lib/openpkg/shtool mkdir -f -p -m 755 PEAR-Horde-Channel-1.0
+ cd PEAR-Horde-Channel-1.0
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix
-e /kolab/RPM/TMP/rpm-tmp.22477
+ cd /kolab/RPM/TMP
+ cd PEAR-Horde-Channel-1.0
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile
--posix -e /kolab/RPM/TMP/rpm-tmp.22477
+ cd /kolab/RPM/TMP
+ cd PEAR-Horde-Channel-1.0
+ rm -rf /kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root
+ mkdir -p /kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root/kolab/var/pear
+ install -m 644 /kolab/RPM/SRC/PEAR-Horde-Channel/pear.horde.org.xml
/kolab/RPM/TMP/PEAR-Horde-Channel-1.0-root/kolab/var/pear
find: cannot read dir /etc/inet/secret: Permission denied
find: cannot read dir /etc/flash/postcreation: Permission denied
find: cannot read dir /etc/flash/precreation: Permission denied
find: cannot read dir /etc/flash/preexit: Permission denied
find: cycle detected for /lib/32/
find: cycle detected for /lib/secure/32/
find: cannot follow symbolic link /usr/lib/llib-lgen: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnvpair.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermlib: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsec.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lumem: No such file or
directory
find: cannot follow symbolic link /usr/lib/libmeta.so.1: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsendfile: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsendfile.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-lrtld_db.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lresolv.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsec: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-luuid: No such file or
directory
find: cycle detected for /usr/lib/32/
find: cannot follow symbolic link /usr/lib/llib-lrt.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldoor: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lposix4: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lrt: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lscf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcurses: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lrtld_db.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lrt.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcurses.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lefi.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcontract.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lintl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-laio.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevid.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermcap: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lpam.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lelf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ltsnet.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lthread_db.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermlib.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lpthread.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ldl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lgen.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lctf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lthread.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermlib: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevice.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lposix4.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lscf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lkstat.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lsendfile.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lsocket.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lc.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsec.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldoor.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsecdb.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-ltsol.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lumem.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lsysevent.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/64/llib-lbsm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ladm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ldevinfo.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lnsl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-ltermcap.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lnvpair.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-lmd5.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lxnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lcmd.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/64/llib-lresolv.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/64/llib-luuid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lc.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnsl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermcap: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lc: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcmd.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsysevent.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-lmd5.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lintl: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsecdb.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpthread.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermlib.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lbsm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsocket: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevinfo: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lkstat.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ladm.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lintl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsecdb: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsocket.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldl.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lsysevent: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lctf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcontract: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lposix4.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lxnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lrtld_db: No such file or
directory
find: cycle detected for /usr/lib/secure/32/
find: cannot follow symbolic link /usr/lib/llib-ldevice.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcontract.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-luuid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ladm: No such file or
directory
find: cycle detected for /usr/lib/lwp/32/
find: cannot follow symbolic link /usr/lib/llib-ldevice: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lkstat: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread.ln: No such file or
directory
find: cycle detected for /usr/lib/libp/32/
find: cannot follow symbolic link /usr/lib/llib-lcurses: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread_db: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lumem.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lefi.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lscf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-laio.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lefi: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltsnet.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevid.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lgen.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpthread: No such file or
directory
find: cycle detected for /usr/lib/link_audit/32/
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcurses: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lrtld_db.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lrt.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcurses.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lefi.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcontract.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lintl.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-laio.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevid.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermcap: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lpam.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lelf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltsnet.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lthread_db.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermlib.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lpthread.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldl.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lgen.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lctf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lthread.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermlib: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevice.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lposix4.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lscf.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lkstat.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsendfile.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsocket.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lc.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsec.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldoor.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsecdb.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltsol.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lumem.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lsysevent.ln: No
such file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lbsm.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ladm.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ldevinfo.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lnsl.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-ltermcap.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lnvpair.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lmd5.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lxnet.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lcmd.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-lresolv.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/sparcv9/llib-luuid.ln: No such
file or directory
find: cannot follow symbolic link /usr/lib/llib-lelf: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lctf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltsol.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lbsm: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lthread_db.ln: No such file
or directory
find: cannot follow symbolic link /usr/lib/llib-ldoor.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevid: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldevinfo.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/libmeta.so: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ltermcap.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-laio: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lelf.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpam.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcurses.ln: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnvpair: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lmd5: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lnsl: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lcmd: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lpam: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lresolv: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-lxnet: No such file or
directory
find: cannot follow symbolic link /usr/lib/llib-ldl: No such file or
directory
install: pear.horde.org.xml was not found anywhere!
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.22477 (%install)


RPM build errors:
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.22477 (%install)
rc=1
+ echo /kolab/RPM/PKG now contains the installed packages. 
/kolab/RPM/PKG now contains the installed packages.
+ echo Previous contents were moved to /kolab/RPM/PKG....7870 
Previous contents were moved to /kolab/RPM/PKG....7870
+ exit 0

Kind regards

Andrea




More information about the devel mailing list