Kolab 2.2 upgrade from 2.1 failure on php-channel-horde
Mark Seagrief
mark at rtsw.co.uk
Thu Oct 9 19:02:41 CEST 2008
On Tuesday 07 October 2008 08:57, Gunnar Wrobel wrote:
> Quoting Mark Seagrief <mark at rtsw.co.uk>:
> > Hi,
> >
> > I kicked off an upgrade of a Kolab installation last night to upgrade
> > from 2.1.0 to 2.2.0.
> >
> > I'm installing from source on Ubuntu 7.04 server edition with kernel
> > 2.6.20-16-server.
> >
> > Most of the RPMs seem to have built correctly and installed fine, but
> > php-channel-horde seems to have failed.
> >
> > The final few lines of the log are:
> >
> >
> > Package Horde_Alarm-0.1.0.tgz done
> > Tag the released code with `pear cvstag Alarm/package.xml'
> > (or set the CVS tag RELEASE_0_1_0 by hand)
> > + env 'PHP_PEAR_PHP_BIN=/kolab/bin/php -d safe_mode=off -d
> > memory_limit=40M' PHP_PEAR_CACHE_DIR=/kolab/RPM/TMP/pear/cache
> > /kolab/bin/pear install --force --loose --nodeps --offline
> > --packagingroot=/kolab/RPM/TMP/horde-framework-kolab-3.2_rc3-root
> > Horde_Alarm-0.1.0.tgz
> > could not extract the package.xml file from "Horde_Alarm-0.1.0.tgz"
> > Cannot download non-local package "Horde_Alarm-0.1.0.tgz"
> > Package "Horde_Alarm-0.1.0.tgz" is not valid
> > install failed
> > error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.48129 (%install)
>
> These lines seem to originate from the horde-framework installation
> rather than from php-channel-horde. Can you post the log messages
> concerning php-channel-horde since you say compilation failed for that
> one.
>
> Cheers,
>
> Gunnar
>
> > I've check on the system and I do have a file that has been created
> > called Horde_Alarm-0.1.0.tgz in /kolab/RPM/TMP/framework/
> >
> > Any ideas as to what is causing this problem? Anybody encountered
> > something similar?
> >
> > I'm going to grab another machine and try an installtion of 2.2 from
> > scratch and see if that helps/exhibits this problem.
> >
> > Many thanks,
> >
> > Mark
> >
> > --
> >
> > Mark Seagrief
> > RT Software
> >
> > _______________________________________________
> > Kolab-users mailing list
> > Kolab-users at kolab.org
> > https://kolab.org/mailman/listinfo/kolab-users
Hi Gunnar,
Sorry for the delay in getting back to you.
I've had another look through the logs and I was initially mistaken,
php-channel-horde does appear to have worked. I have the following in my log
file:
Preparing... ##################################################
php-channel-horde ##################################################
channel-add: Channel "pear.horde.org" exists, use channel-update to update
entry
Channel already exists!
Update of Channel "pear.horde.org" succeeded
:::: /tmp/install-kolab.20815.18405.11728.1940/php-channel-horde-1.0-1.src.rpm
= 0 ::::
:::: /tmp/install-kolab.20815.18405.11728.1940/horde-framework-kolab-3.2_rc3-20080405.src.rpm ::::
Installing /tmp/install-kolab.20815.18405.11728.1940/horde-framework-kolab-3.2_rc3-20080405.src.rpm
So I assume it is the building of the horde-framework-kolab rpm from source
that is failing. I've attached a snippet of the log file with the,
hopefully, relevant output. I've taken out the output from a tar command
that listed a few thousand lines of files, but left in the lines for the
files for the Alarm.
Many thanks for your time,
Cheers,
Mark
--
Mark Seagrief
RT Software
e: mark at rtsw.co.uk
t: +44 207 16 888 20
p: Unit D, 2 Chesney Street, Battersea, London, SW11 5JT
-------------- next part --------------
Preparing... ##################################################
php-channel-horde ##################################################
channel-add: Channel "pear.horde.org" exists, use channel-update to update entry
Channel already exists!
Update of Channel "pear.horde.org" succeeded
:::: /tmp/install-kolab.20815.18405.11728.1940/php-channel-horde-1.0-1.src.rpm = 0 ::::
:::: /tmp/install-kolab.20815.18405.11728.1940/horde-framework-kolab-3.2_rc3-20080405.src.rpm ::::
Installing /tmp/install-kolab.20815.18405.11728.1940/horde-framework-kolab-3.2_rc3-20080405.src.rpm
Executing(%prep): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.35798
+ 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 framework
+ /kolab/lib/openpkg/bzip2 -dc /kolab/RPM/SRC/horde-framework-kolab/horde-framework-3.2_rc3.tar.bz2
+ /kolab/lib/openpkg/tar -xvvf -
drwxr-xr-x wrobel/users 0 2008-03-13 11:34 framework/
-rw-r--r-- wrobel/users 14 2008-02-18 07:40 framework/.htaccess
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/
-rw-r--r-- wrobel/users 20507 2008-02-18 07:40 framework/Alarm/Alarm.php
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/Alarm/
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/Alarm/CVS/
-rw-r--r-- wrobel/users 63 2008-03-13 11:34 framework/Alarm/Alarm/CVS/Entries
-rw-r--r-- wrobel/users 22 2008-02-18 07:40 framework/Alarm/Alarm/CVS/Repository
-rw-r--r-- wrobel/users 47 2008-02-18 07:40 framework/Alarm/Alarm/CVS/Root
-rw-r--r-- wrobel/users 21 2008-03-13 11:34 framework/Alarm/Alarm/CVS/Tag
-rw-r--r-- wrobel/users 330 2008-02-18 07:40 framework/Alarm/Alarm/CVS/Template
-rw-r--r-- wrobel/users 16502 2008-02-18 07:40 framework/Alarm/Alarm/sql.php
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/CVS/
-rw-r--r-- wrobel/users 151 2008-03-13 11:34 framework/Alarm/CVS/Entries
-rw-r--r-- wrobel/users 16 2008-02-18 07:40 framework/Alarm/CVS/Repository
-rw-r--r-- wrobel/users 47 2008-02-18 07:40 framework/Alarm/CVS/Root
-rw-r--r-- wrobel/users 21 2008-03-13 11:34 framework/Alarm/CVS/Tag
-rw-r--r-- wrobel/users 330 2008-02-18 07:40 framework/Alarm/CVS/Template
-rw-r--r-- wrobel/users 1644 2008-02-18 07:40 framework/Alarm/package.xml
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/tests/
-rw-r--r-- wrobel/users 41 2008-02-18 07:40 framework/Alarm/tests/.cvsignore
-rw-r--r-- wrobel/users 9090 2008-02-21 10:39 framework/Alarm/tests/001.phpt
drwxr-xr-x wrobel/users 0 2008-02-18 07:40 framework/Alarm/tests/CVS/
-rw-r--r-- wrobel/users 193 2008-03-13 11:34 framework/Alarm/tests/CVS/Entries
-rw-r--r-- wrobel/users 22 2008-02-18 07:40 framework/Alarm/tests/CVS/Repository
-rw-r--r-- wrobel/users 47 2008-02-18 07:40 framework/Alarm/tests/CVS/Root
-rw-r--r-- wrobel/users 21 2008-03-13 11:34 framework/Alarm/tests/CVS/Tag
-rw-r--r-- wrobel/users 330 2008-02-18 07:40 framework/Alarm/tests/CVS/Template
-rw-r--r-- wrobel/users 513 2008-02-18 07:40 framework/Alarm/tests/setup.inc.dist
SNIP - removed output from tar
-rw-r--r-- wrobel/users 3110 2008-03-13 11:34 framework/Reflection/lib/Horde/Reflection/Wiki.php
-rw-r--r-- wrobel/users 2608 2008-03-13 11:34 framework/Reflection/package.xml
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd framework
+ echo 'Patch #0 (HK-GW-Fix_Prefs_for_Ingo_framework-3.2-rc3.patch):'
Patch #0 (HK-GW-Fix_Prefs_for_Ingo_framework-3.2-rc3.patch):
+ /kolab/lib/openpkg/patch -p2 -s -b
+ echo 'Patch #1 (HK-GW-Fbview_xfb_concept_framework-3.2-rc3.patch):'
Patch #1 (HK-GW-Fbview_xfb_concept_framework-3.2-rc3.patch):
+ /kolab/lib/openpkg/patch -p2 -s -b
+ echo 'Patch #2 (HK-GW-Freebusy_free_events_framework-3.2-rc3.patch):'
Patch #2 (HK-GW-Freebusy_free_events_framework-3.2-rc3.patch):
+ /kolab/lib/openpkg/patch -p2 -s -b
+ echo 'Patch #3 (HK-GW-LDAP_user_alias_framework-3.2-rc3.patch):'
Patch #3 (HK-GW-LDAP_user_alias_framework-3.2-rc3.patch):
+ /kolab/lib/openpkg/patch -p2 -s -b
+ exit 0
Executing(%build): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.48129
+ cd /kolab/RPM/TMP
+ cd framework
+ exit 0
Executing(%install): env -i /kolab/lib/openpkg/bash --norc --noprofile --posix -e /kolab/RPM/TMP/rpm-tmp.48129
+ cd /kolab/RPM/TMP
+ cd framework
+ for PKG in '**/package.xml'
+ '[' Alarm/package.xml '!=' Role_Webroot/package.xml -a Alarm/package.xml '!=' Rampage/package.xml -a Alarm/package.xml '!=' Text_Textile/package.xml -a Alarm/package.xml '!=' Lens/package.xml -a Alarm/package.xml '!=' Text_Diff/package.xml ']'
+ env 'PHP_PEAR_PHP_BIN=/kolab/bin/php -d safe_mode=off -d memory_limit=40M' PHP_PEAR_CACHE_DIR=/kolab/RPM/TMP/pear/cache /kolab/bin/pear package Alarm/package.xml
Analyzing Alarm/sql.php
Analyzing Alarm.php
Warning: Parser error: token_get_all() function must exist to analyze source code
Warning: Parser error: token_get_all() function must exist to analyze source code
Warning: Channel validator warning: field "date" - Release Date "2007-02-01" is not today
Package Horde_Alarm-0.1.0.tgz done
Tag the released code with `pear cvstag Alarm/package.xml'
(or set the CVS tag RELEASE_0_1_0 by hand)
+ env 'PHP_PEAR_PHP_BIN=/kolab/bin/php -d safe_mode=off -d memory_limit=40M' PHP_PEAR_CACHE_DIR=/kolab/RPM/TMP/pear/cache /kolab/bin/pear install --force --loose --nodeps --offline --packagingroot=/kolab/RPM/TMP/horde-framework-kolab-3.2_rc3-root Horde_Alarm-0.1.0.tgz
could not extract the package.xml file from "Horde_Alarm-0.1.0.tgz"
Cannot download non-local package "Horde_Alarm-0.1.0.tgz"
Package "Horde_Alarm-0.1.0.tgz" is not valid
install failed
error: Bad exit status from /kolab/RPM/TMP/rpm-tmp.48129 (%install)
More information about the users
mailing list