[pkg-kolab] New kolabd and libkolab-perl to upload

Mathieu Parent math.parent at gmail.com
Sat Dec 13 19:29:49 UTC 2008


Hi,
2008/12/13 Noèl Köthe <noel at debian.org>:
> Hello Mathieu,
>
> Am Freitag, den 12.12.2008, 21:05 +0100 schrieb Mathieu Parent:
>
>> Can you please upload the current trunk of libkolab-perl (1:2.2.0-3)
>> and libkolab-perl (1:2.2.0-2)? They fix some bugs filled in BTS.
>
> both uploaded.
Thanks

>
>> If you have some more time, can you also upload php-kolab-filter,
>> php-kolab-format, php-kolab-freebusy, php-kolab-server and
>> php-kolab-storage. Those will be queued in NEW and are needed for
>> 2.2.1.
>
> Trying to build:
>
> # svn-buildpackage --svn-builder=pdebuild --svn-tag
>        origDir: ../upstream
> Complete layout information:
>        origDir=../upstream
>        tagsDir=/home/nk/debian/kolab/pkg-kolab/php-kolab-server/tags
>        tagsUrl=svn+ssh://noel@svn.debian.org/svn/pkg-kolab/php-kolab-server/tags
>        trunkDir=/home/nk/debian/kolab/pkg-kolab/php-kolab-server/trunk
>        trunkUrl=svn+ssh://noel@svn.debian.org/svn/pkg-kolab/php-kolab-server/trunk
> mergeWithUpstream mode detected, looking for ../upstream/php-kolab-server_0.2.0.orig.tar.gz
> I: mergeWithUpstream property set, looking for upstream source tarball...
> ...
> Extracting source
> dpkg-source: warning: extracting unsigned source package (php-kolab-server_0.2.0-1.dsc)
> dpkg-source: extracting php-kolab-server in php-kolab-server-0.2.0
> dpkg-source: info: unpacking php-kolab-server_0.2.0.orig.tar.gz
> dpkg-source: info: applying php-kolab-server_0.2.0-1.diff.gz
>  -> Building the package
> dpkg-buildpackage: set CFLAGS to default value: -g -O2
> dpkg-buildpackage: set CPPFLAGS to default value:
> dpkg-buildpackage: set LDFLAGS to default value:
> dpkg-buildpackage: set FFLAGS to default value: -g -O2
> dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
> dpkg-buildpackage: source package php-kolab-server
> dpkg-buildpackage: source version 0.2.0-1
> dpkg-buildpackage: source changed by Mathieu Parent <math.parent at gmail.com>
> dpkg-buildpackage: host architecture amd64
>  fakeroot debian/rules clean
> test -x debian/rules
> dh_testroot
> dh_clean
> rm -f -*/package.xml
> rm: invalid option -- *
> Try `rm --help' for more information.
> make: [clean] Error 1 (ignored)
>  dpkg-source -b php-kolab-server-0.2.0
> dpkg-source: info: using source format `1.0'
> dpkg-source: info: building php-kolab-server using existing php-kolab-server_0.2.0.orig.tar.gz
> dpkg-source: info: building php-kolab-server in php-kolab-server_0.2.0-1.diff.gz
> dpkg-source: info: building php-kolab-server in php-kolab-server_0.2.0-1.dsc
>  debian/rules build
> test -x debian/rules
> mkdir -p "."
> ln -f -s ../package.xml -
>  fakeroot debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_clean -k
> dh_installdirs -A
> mkdir -p "."
> ln -f -s ../package.xml -
> # install everything in default locations
> /usr/bin/pear \
>                -c debian/pearrc \
>                -d include_path=/usr/share/php \
>                -d php_bin=/usr/bin/php \
>                -d bin_dir=/usr/bin \
>                -d php_dir=/usr/share/php \
>                -d data_dir=/usr/share/php/data \
>                -d doc_dir=/usr/share/php/docs \
>                -d test_dir=/usr/share/php/tests \
>                install --nodeps -P /tmp/buildd/php-kolab-server-0.2.0/debian/php-kolab-server/ -/package.xml
> Console_Getopt: unrecognized option -- /
> make: *** [common-install-indep] Error 1
> dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
> pbuilder: Failed autobuilding of package
>  -> Aborting with an error
>  -> unmounting dev/pts filesystem
>  -> unmounting proc filesystem
>  -> cleaning the build env
>    -> removing directory /var/cache/pbuilder/build//4549 and its subdirectories
> Command /bin/sh -c pdebuild  failed in <unknown>, how to continue now? [Qri?]:

I can reproduce your problem (this is the first step to solve it ;).
But don't have any idea. This doesn't happen without
"--svn-builder=pdebuild", so maybe a dependency is missing, or a
package is different between testing and unstable (I'm running testing
on my dev machine and pbuilder use a sid environnement).
I will check more carefully (more investigation at bottom).


> I tested it with all four php-kolab-* and added the tags/ directory in
> svn. I will look for the problem later or maybe you are faster.;)
>
> --
> Noèl Köthe <noel debian.org>
> Debian GNU/Linux, www.debian.org
>


Mathieu Parent

The problem comes in /usr/share/cdbs/1/class/pear.mk:

        /usr/bin/pear \
                -c debian/pearrc \
                -d include_path=/usr/share/php \
                -d php_bin=/usr/bin/php \
                -d bin_dir=/usr/bin \
                -d php_dir=/usr/share/php \
                -d data_dir=/usr/share/php/data \
                -d doc_dir=/usr/share/php/docs \
                -d test_dir=/usr/share/php/tests \
                install --nodeps -P $(DEB_DESTDIR)
$(PEAR_SOURCE_DIR)/package.xml

it seems that $(PEAR_SOURCE_DIR)=$(PEAR_PKG)-$(PEAR_PKG_VERSION)="-".
So $(PEAR_PKG)=$(PEAR_PKG_VERSION)="". But why ???


More information about the pkg-kolab-devel mailing list