Your message dated Wed, 15 Aug 2012 22:16:14 +0000
with message-id <[email protected]>
and subject line Bug#678525: fixed in calendarserver 3.2+dfsg-2
has caused the Debian Bug report #684996,
regarding calendarserver: not building with both python-2.6 and python-2.7 
installed
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
684996: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684996
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: calendarserver
Version: 3.2+dfsg-1
Severity: normal

Hi,

I were not able to build the calendarserver from scratch, without this patch :

--- calendarserver-3.2+dfsg.orig/setup.py
+++ calendarserver-3.2+dfsg/setup.py
@@ -32,6 +32,7 @@ def find_modules():
          excludes = [
              ".svn",
              "_trial_temp",
+            "debian",
              "build",
          ]


I think if you have python2.6 and 2.7 installed the following problem occurs.

$ apt-get source calendarserver
$ cd calendarserver-3.2+dfsg/
$ dpkg-buildpackage -i -I -rfakeroot
....

error: package directory 'debian/calendarserver/usr/lib/python2/6/dist-packages/twistedcaldav' does not exist dh_auto_install: python setup.py install --force --root=/tmp/calendarserver-3.2+dfsg/debian/calendarserver --no-compile -O0 --install-layout=deb returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

This comes from the code in setup.py which scans the current directories for modules to add. As usr/lib/python2.6/dist has __init__.py files in it due to the build it gets added as a module using the

        if "__init__.py" in files:
            modules.append(".".join(root.split(os.path.sep)[1:]))

in setup.py.
To disable this one has to add a part of the name of the directories to the excludes list. (that is what I did in my patch).

If you just build with python2.7 I guess it is ok. I think with both python:s it builds twice, and the problem occurs.

/Fred

--- End Message ---
--- Begin Message ---
Source: calendarserver
Source-Version: 3.2+dfsg-2

We believe that the bug you reported is fixed in the latest version of
calendarserver, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Rahul Amaram <[email protected]> (supplier of updated 
calendarserver package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 14 Aug 2012 22:08:02 +0530
Source: calendarserver
Binary: calendarserver
Architecture: source i386
Version: 3.2+dfsg-2
Distribution: unstable
Urgency: low
Maintainer: Rahul Amaram <[email protected]>
Changed-By: Rahul Amaram <[email protected]>
Description: 
 calendarserver - Apple's Calendar and Contacts Server
Closes: 678525 681170 684996
Changes: 
 calendarserver (3.2+dfsg-2) unstable; urgency=low
 .
   * The second call to PyArg_ParseTuple in sendmsg.c passed an int* where a
     Py_ssize_t* should be passed. This has been fixed. (Closes: #678525)
   * Added option "EnableSSL" to conf/caldavd.plist. This has to be set to true
     for calendarserver to listen on SSL port. (Closes: #681170)
   * Changed source dependency from pyton-dev to python-all-dev as now a fix for
     building package for both python 2.6 and python 2.7 is provided. (Thanks to
     Fredrik Unger for providing the fix) (Closes: #684996)
   * Updated calendarserver.README.Debian
   * Bumped Debian compat to 9
Checksums-Sha1: 
 c8849d079ca1df22a768fffcb7ead9944a216f72 1325 calendarserver_3.2+dfsg-2.dsc
 a60cad4d8b60e93bcad2ee0954fe55222ffcad81 20748 
calendarserver_3.2+dfsg-2.debian.tar.gz
 2083b225e37caec3efd116e0f99204eeb1e317b5 1505066 
calendarserver_3.2+dfsg-2_i386.deb
Checksums-Sha256: 
 b19e4560845f8a9e7e6ee864156fc949156882dbde6996e15f76befe88047aec 1325 
calendarserver_3.2+dfsg-2.dsc
 e1d45ff653cd08092ea32b2e785707e572b3fad386d73f35f4fa52650fa2e394 20748 
calendarserver_3.2+dfsg-2.debian.tar.gz
 44015891b9d37a65e463c26152e2d283749d9cf6e7d313c1b4a951c41d5d6944 1505066 
calendarserver_3.2+dfsg-2_i386.deb
Files: 
 a8c26f3b32e6758819cf998e8e4de91c 1325 net optional 
calendarserver_3.2+dfsg-2.dsc
 b5c152f04f10a050cb8682cbf21990f0 20748 net optional 
calendarserver_3.2+dfsg-2.debian.tar.gz
 8750873f22d557b6af8625af194a3612 1505066 net optional 
calendarserver_3.2+dfsg-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFQK/2mn88szT8+ZCYRAixpAJ9T/PZJznhBUGQkELFdfRACMI93xACfYJAk
fdlP8kIBhS9MxFc+TQrZ5yU=
=C6w3
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to