Package: distcc-pump Version: 3.3.2-10 Severity: important Dear Maintainer,
The distcc-pump script fails to start properly due to not being able to find the include_server. More specifically, the hardcoded path to the server in /usr/bin/distcc-pump is: include_server='/usr/lib/distcc-pump/include_server/include_server.py' However, the distcc-pump package installs include_server.py to the following location: /usr/lib/distcc-pump/lib/python3.7/site-packages/include_server/include_server.py The result is the following error when starting distcc-pump: $ DISTCC_HOSTS="localhost,lzo,cpp" distcc-pump echo foo __________Using distcc-pump from /usr/bin __________Using 1 distcc server in pump mode /usr/bin/python3: can't open file '/usr/lib/distcc-pump/include_server/include_server.py': [Errno 2] No such file or directory __________Expected a socket at '/tmp/distcc-pump.n4LiDO/socket' __________Could not start distcc-pump include server Fixing the path in /usr/lib/distcc-pump resolves the issue: $ sed 's#pump/include_server#pump/lib/python3.7/site-packages/include_server#' \ /usr/bin/distcc-pump > /tmp/pump-fixed $ env DISTCC_LOCATION=/usr/bin DISTCC_HOSTS="localhost,lzo,cpp" \ sh /tmp/pump-fixed echo foo __________Using distcc-pump from /usr/bin __________Using 1 distcc server in pump mode foo __________Shutting down distcc-pump include server This has been reported already to Ubuntu here: https://bugs.launchpad.net/ubuntu/+source/distcc/+bug/1835493 However, I thought it would be good to report here as well. Thank you for your time and help. If I can provide any other information that would be of use, please let me know. Best, Alex -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf Kernel: Linux 4.19.0-9-amd64 (SMP w/12 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages distcc-pump depends on: ii distcc 3.3.2-10 ii libc6 2.28-10 ii python3 3.7.3-1 distcc-pump recommends no packages. distcc-pump suggests no packages. -- no debconf information