[Kolab-devel] [issue4734] Upgrade 2.2.4-2.3.1 Fails

kolabber issues at kolab.org
Wed May 4 10:14:57 CEST 2011


Following the upgrading instructions (2.2.4-2.3) online
(http://files.kolab.org/server/release/kolab-server-2.3.1/sources/1st.README) I
set out to upgrade my installation and it has failed multiple times.

The error(s) are pasted below. 
As they do not lead to immediate failure it is unclear whether the "Could not
delete channel pear.horde.org!" errors are significant.

Full kolab-update.log is provide upon request (uploading failed).

Joh

...
+ exit 0
Preparing...                
##################################################
PEAR-Horde-Channel          
##################################################
env: /kolab/bin/pear: No such file or directory
Channel already exists!
env: /kolab/bin/pear: No such file or directory
Could not update channel pear.horde.org!
env: /kolab/bin/pear: No such file or directory
Channel already exists!
env: /kolab/bin/pear: No such file or directory
Could not update channel pear.horde.org!
env: /kolab/bin/pear: No such file or directory
Could not delete channel pear.horde.org!
:::: /kolab/RPM/PKG/PEAR-Horde-Channel-1.0-20100706.src.rpm = 0 ::::
:::: /kolab/RPM/PKG/Horde_Util-0.1.0dev20101122-20101126.src.rpm ::::
error: Macro %V_www_loc has empty body
error: File /kolab/RPM/SRC/Horde_Util/package.patch is smaller than 4 bytes
Installing /kolab/RPM/PKG/Horde_Util-0.1.0dev20101122-20101126.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix 
-e /kolab/RPM/TMP/rpm-tmp.8942
+ 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 Util-0.1.0dev20101122
+ /kolab/lib/openpkg/gzip -dc 
/kolab/RPM/SRC/Horde_Util/Util-0.1.0dev20101122.tgz
+ /kolab/lib/openpkg/tar -xvvf -
-rw-r--r-- 0/0            5081 2010-11-26 06:44 package.xml
-rw-r--r-- 0/0            1613 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/Array_sort.phpt
drwxr-xr-x                  Creating directory: Util-0.1.0dev20101122
drwxr-xr-x                  Creating directory: Util-0.1.0dev20101122/tests
-rw-r--r-- 0/0             664 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/Variables_remove.phpt
-rw-r--r-- 0/0            1202 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/addParameter.phpt
-rw-r--r-- 0/0             882 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/case.phpt
-rw-r--r-- 0/0             575 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/case_php6.phpt
-rw-r--r-- 0/0             356 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/length.phpt
-rw-r--r-- 0/0            1551 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/pad.phpt
-rw-r--r-- 0/0             756 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/removeParameter.phpt
-rw-r--r-- 0/0            1582 2010-11-26 06:44 
Util-0.1.0dev20101122/tests/utf-8.phpt
-rw-r--r-- 0/0            9652 2010-11-26 06:44 
Util-0.1.0dev20101122/Array.php
-rw-r--r-- 0/0           25374 2010-11-26 06:44 
Util-0.1.0dev20101122/String.php
-rw-r--r-- 0/0           31815 2010-11-26 06:44 
Util-0.1.0dev20101122/Util.php
-rw-r--r-- 0/0            7564 2010-11-26 06:44 
Util-0.1.0dev20101122/Variables.php
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Util-0.1.0dev20101122
+ cat ../package.xml
+ sed -e 's/md5sum="[^"]*"//'
++ cat /kolab/RPM/SRC/Horde_Util/package.patch
+ '[' -n '' ']'
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --
posix 
-e /kolab/RPM/TMP/rpm-tmp.8942
+ cd /kolab/RPM/TMP
+ cd Util-0.1.0dev20101122
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile --
posix -e /kolab/RPM/TMP/rpm-tmp.8942
+ cd /kolab/RPM/TMP
+ cd Util-0.1.0dev20101122
+ '[' -d scripts ']'
+ '[' php == php-h4 ']'
+ PHP_BIN_DIR=bin
+ env 'PHP_PEAR_PHP_BIN=/kolab/bin/php -d safe_mode=off -d 
memory_limit=40M' 
PHP_PEAR_CACHE_DIR=/tmp/pear/cache /kolab/bin/pear -d 
'www_dir=/kolab/var/kolab/www/%{V_www_loc}' -d bin_dir=/kolab/bin -d 
php_dir=/kolab/lib/php -d doc_dir=/kolab/lib/php/doc -d 
data_dir=/kolab/lib/php/data -d test_dir=/kolab/lib/php/test install --
offline --force --nodeps -P /kolab/RPM/TMP/Horde_Util-0.1.0dev20101122-root 
package.xml
env: /kolab/bin/pear: No such file or directory
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.8942 (%install)


RPM build errors:
    Macro %V_www_loc has empty body
    File /kolab/RPM/SRC/Horde_Util/package.patch is smaller than 4 bytes
    Bad exit status from /kolab/RPM/TMP/rpm-tmp.8942 (%install)
/kolab/RPM/PKG now contains the installed packages.
Previous contents were moved to /kolab/RPM/PKG....57290

----------
messages: 27715
nosy: kolabber
status: unread
title: Upgrade 2.2.4-2.3.1 Fails

______________________________________
Kolab issue tracker <issues at kolab.org>
<https://issues.kolab.org/issue4734>
______________________________________




More information about the devel mailing list