[Python-modules-commits] r18463 - in packages/flufl.lock/trunk/debian (README.source)

warsaw-guest at users.alioth.debian.org warsaw-guest at users.alioth.debian.org
Thu Sep 8 14:55:46 UTC 2011


    Date: Thursday, September 8, 2011 @ 14:55:45
  Author: warsaw-guest
Revision: 18463

Add notes on how to build the package.

Added:
  packages/flufl.lock/trunk/debian/README.source

Added: packages/flufl.lock/trunk/debian/README.source
===================================================================
--- packages/flufl.lock/trunk/debian/README.source	                        (rev 0)
+++ packages/flufl.lock/trunk/debian/README.source	2011-09-08 14:55:45 UTC (rev 18463)
@@ -0,0 +1,16 @@
+Building flufl.lock requires /dev/shm to be bind-mounted in the
+chroot, otherwise the tests will fail.  This is because Python's
+multiprocessing module is used in the test suite (automatically run
+during the build), which requires /dev/shm.
+
+If you use pbuilder, add this argument to your command line:
+
+    --bindmounts "/dev/shm /dev/shm"
+
+If you use sbuild, add these lines to your /etc/schroot/default/fstab file:
+
+    /dev/shm    /dev/shm    none    rw,bind    0    0
+    /run/shm    /run/shm    none    rw,bind    0    0
+
+multiprocessing is only used in the test suite; it is not required for
+normal flufl.lock usage.




More information about the Python-modules-commits mailing list