tags 580308 + patch
thanks

The attached patch fixes this issue by moving python modules to a private path.

The modules are for the distcc-pump include server.  This includes a
compiled extension (.so).  To keep things simple all the modules are
installed to /usr/lib/distcc-pump.

Rational for the private path:
  distcc-pump provides no way to run or connect to anything
  other than the upstream supplied include_server.  It is
  not practical for a user to extend or implement their own
  include server, making the include_server package only
  of use to distcc-pump.

A prepared NMU is available on mentors.d.o. [1]  Please note that this update:
  - intends only to be a minimal fix for #580308;
  - only changes files under ./debian;
  - persists previous changes to files not under ./debian;
  - does not attempt to address any of the pre-existing lintian warnings;

That is, all of the issues pointed out by lintian and mentors are pre-existing.

If the original maintainer is unresponsive I am willing to take on
this package and clean up the other packaging issues also.


[1] http://mentors.debian.net/package/distcc

  * Move distcc-pump python modules to private path (/usr/lib/distcc-pump)
    - 04_fix_pumps_include_server_path.dpatch: update for private path
      removes hardcoded python version from path.  Closes: #580308
    - debian/rules: ensure PYTHON points to the default python version.

[2] Sample session using updated distcc-pump:

dth@europa:~/src/aptitude/build-curses/src$ distccd --daemon --allow
127.0.1.1/24
dth@europa:~/src/aptitude/build-curses/src$ export
DISTCC_POTENTIAL_HOSTS="127.0.1.1"
dth@europa:~/src/aptitude/build-curses/src$ distcc-pump make pkg_item.o
__________Using distcc-pump from /usr/bin
__________Found 1 available distcc servers
g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I.
-I../../src -I.. -I.. -I../../src -I../.. -I../../src  -I/usr/include
-DHELPDIR=\"/usr/local/share/aptitude\"
-DPKGDATADIR=\"/usr/local/share/aptitude\"  -g -O0
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/lib/cwidget -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include   -I/usr/include/tagcoll-2.0.13
-D_REENTRANT -fno-strict-aliasing -Wall -Werror -MT pkg_item.o -MD -MP
-MF .deps/pkg_item.Tpo -c -o pkg_item.o ../../src/pkg_item.cc
mv -f .deps/pkg_item.Tpo .deps/pkg_item.Po
__________Shutting down distcc-pump include server
dth@europa:~/src/aptitude/build-curses/src$ echo $?
0

Attachment: move_python_modules_to_private_path.patch
Description: Binary data

Reply via email to