Package: albatross Severity: serious Tags: patch Hi,
This package fails to build from source when your uid isn't root. It fails since starting the session server tries to write a file underneath /var/log. Additionally, python-albatross-common misses a dependancy on adduser, and python2.{3,4}-albtross both include ${shlibs:Depends} and ${misc:Depends} which are entirely unneeded. Attached is a patch that corrects the issue. -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-k7-smp Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) -- Steve "I'm a doctor, not a doorstop" - EMH, USS Enterprise
diff -u albatross-1.33/debian/control albatross-1.33/debian/control --- albatross-1.33/debian/control +++ albatross-1.33/debian/control @@ -25,7 +25,7 @@ Package: python-albatross-common Architecture: all -Depends: python2.4-albatross | python2.3-albatross +Depends: python2.4-albatross | python2.3-albatross, adduser Suggests: python Description: Toolkit for Stateful Web Applications (common files) Albatross is a small and flexible Python toolkit for developing highly @@ -35,7 +35,7 @@ Package: python2.3-albatross Architecture: all -Depends: python-albatross-common, ${shlibs:Depends}, ${misc:Depends}, python2.3 +Depends: python-albatross-common, python2.3 Description: Toolkit for Stateful Web Applications (Python 2.3) Albatross is a small and flexible Python toolkit for developing highly stateful web applications. It includes, among other things: @@ -53,7 +53,7 @@ Package: python2.4-albatross Architecture: all -Depends: python-albatross-common, ${shlibs:Depends}, ${misc:Depends}, python2.4 (>= 2.4.1) +Depends: python-albatross-common, python2.4 (>= 2.4.1) Description: Toolkit for Stateful Web Applications (Python 2.4) Albatross is a small and flexible Python toolkit for developing highly stateful web applications. It includes, among other things: diff -u albatross-1.33/debian/rules albatross-1.33/debian/rules --- albatross-1.33/debian/rules +++ albatross-1.33/debian/rules @@ -13,15 +13,17 @@ # The versions of python currently supported PYVERS=$(subst -dev,,$(subst python,,$(filter python%-dev,$(shell sed -n '/^Build-Depends/s/,//gp' debian/control)))) +export MY_DIR=$(shell mktemp -d) + # Targets for running unit tests test-build: test-build-stamp test-build-stamp: # run the session server - PYTHONPATH=`pwd` session-server/al-session-daemon start + PYTHONPATH=`pwd` session-server/al-session-daemon -k $$MY_DIR/sess.pid -l $$MY_DIR/log start # run the tests make -C test all # stop the session server - PYTHONPATH=`pwd` session-server/al-session-daemon stop + PYTHONPATH=`pwd` session-server/al-session-daemon -k $$MY_DIR/sess.pid -l $$MY_DIR/log stop touch $@ # Targets for building with a certain python version