Debian Bug report logs - #823647
sshuttle package in stretch/sid builds only documentation, no executable

version graph

Package: sshuttle; Maintainer for sshuttle is Brian May <bam@debian.org>; Source for sshuttle is src:sshuttle (PTS, buildd, popcon).

Reported by: Robert Lange <rlange@corusa.net>

Date: Sat, 7 May 2016 00:51:01 UTC

Severity: grave

Tags: unreproducible

Found in version 0.78.0-1~bpo8+1

Done: Axel Beckert <abe@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#823647; Package sshuttle. (Sat, 07 May 2016 00:51:05 GMT) (full text, mbox, link).


Acknowledgement sent to Robert Lange <rlange@corusa.net>:
New Bug report received and forwarded. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sat, 07 May 2016 00:51:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Robert Lange <rlange@corusa.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: sshuttle package in stretch/sid builds only documentation, no executable
Date: Fri, 06 May 2016 20:16:09 -0400
Package: sshuttle
Version: 0.78.0-1~bpo8+1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

I tried to make a backport of sshuttle for jessie using stretch sources. I did
the usual package build steps:

apt-get source sshuttle
cd sshuttle-0.78.0/
dch --bpo
sudo apt-get build-dep sshuttle
debuild -sa -uc -us

The package built without any fatal errors and produced a deb. The following is
the build output:

(jessie-amd64-sbuild)rlange@iset:~/debsrc/sshuttle/sshuttle-0.78.0$ debuild -sa
-uc -us
 dpkg-buildpackage -rfakeroot -D -us -uc -sa
dpkg-buildpackage: source package sshuttle
dpkg-buildpackage: source version 0.78.0-1~bpo8+1
dpkg-buildpackage: source distribution jessie-backports
dpkg-buildpackage: source changed by Robert Lange <rcl24@drexel.edu>
 dpkg-source --before-build sshuttle-0.78.0
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   debian/rules override_dh_clean
make[1]: Entering directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
dh_clean
rm -rf tmp
rm -rf docs/.build docs/_build
make[1]: Leaving directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
 dpkg-source -b sshuttle-0.78.0
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building sshuttle using existing
./sshuttle_0.78.0.orig.tar.gz
dpkg-source: info: building sshuttle in sshuttle_0.78.0-1~bpo8+1.debian.tar.xz
dpkg-source: info: building sshuttle in sshuttle_0.78.0-1~bpo8+1.dsc
 debian/rules build
dh build --with python3,sphinxdoc --buildsystem=pybuild
   dh_testdir -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
   debian/rules override_dh_auto_build
make[1]: Entering directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
dh_auto_build
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs
docs/.build/html
Making output directory...
Running Sphinx v1.2.3
loading pickled environment... failed: [Errno 2] No such file or directory:
'/home/rlange/debsrc/sshuttle/sshuttle-0.78.0/docs/.build/.doctrees/environment.pickle'
building [html]: targets for 13 source files that are out of date
updating environment: 13 added, 0 changed, 0 removed
reading sources... [  7%] changes
reading sources... [ 15%] how-it-works
reading sources... [ 23%] index
reading sources... [ 30%] installation
reading sources... [ 38%] manpage
reading sources... [ 46%] overview
reading sources... [ 53%] platform
reading sources... [ 61%] requirements
reading sources... [ 69%] support
reading sources... [ 76%] tproxy
reading sources... [ 84%] trivia
reading sources... [ 92%] usage
reading sources... [100%] windows

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  7%] changes
writing output... [ 15%] how-it-works
writing output... [ 23%] index
writing output... [ 30%] installation
writing output... [ 38%] manpage
writing output... [ 46%] overview
writing output... [ 53%] platform
writing output... [ 61%] requirements
writing output... [ 69%] support
writing output... [ 76%] tproxy
writing output... [ 84%] trivia
writing output... [ 92%] usage
writing output... [100%] windows

writing additional files... genindex search
copying static files... WARNING: html_static_path entry
'/home/rlange/debsrc/sshuttle/sshuttle-0.78.0/docs/_static' does not exist
done
copying extra files... done
dumping search index... done
dumping object inventory... done
build succeeded, 1 warning.
PYTHONPATH=. sphinx-build -b man -d docs/.build/.doctrees -N docs
docs/.build/man
Making output directory...
Running Sphinx v1.2.3
loading pickled environment... done
building [man]: all manpages
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
writing... sshuttle.1 { }
build succeeded.
make[1]: Leaving directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
   debian/rules override_dh_auto_test
make[1]: Entering directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
PYTHONPATH=. \
    dh_auto_test -- --system=custom --test-args="{interpreter} -m pytest"
make[1]: Leaving directory '/home/rlange/debsrc/sshuttle/sshuttle-0.78.0'
 fakeroot debian/rules binary
dh binary --with python3,sphinxdoc --buildsystem=pybuild
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
dh_installdirs -O--buildsystem=pybuild
   dh_auto_install -O--buildsystem=pybuild
   dh_install -O--buildsystem=pybuild
   dh_installdocs -O--buildsystem=pybuild
   dh_sphinxdoc -O--buildsystem=pybuild
   dh_installchangelogs -O--buildsystem=pybuild
   dh_installman -O--buildsystem=pybuild
   dh_python3 -O--buildsystem=pybuild
   dh_perl -O--buildsystem=pybuild
   dh_link -O--buildsystem=pybuild
   dh_compress -O--buildsystem=pybuild
   dh_fixperms -O--buildsystem=pybuild
   dh_installdeb -O--buildsystem=pybuild
   dh_gencontrol -O--buildsystem=pybuild
dpkg-gencontrol: warning: Depends field of package sshuttle: unknown
substitution variable ${python3:Depends}
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is
not NFS-safe
dpkg-gencontrol: warning: package sshuttle: unused substitution variable
${sphinxdoc:Depends}
   dh_md5sums -O--buildsystem=pybuild
   dh_builddeb -O--buildsystem=pybuild
dpkg-deb: building package `sshuttle' in `../sshuttle_0.78.0-1~bpo8+1_all.deb'.
 dpkg-genchanges -sa >../sshuttle_0.78.0-1~bpo8+1_amd64.changes
dpkg-genchanges: including full source code in upload
 dpkg-source --after-build sshuttle-0.78.0
dpkg-buildpackage: full upload (original source is included)

-----

Upon installing the deb, I discovered that the sshuttle executable was missing.
The following shows that only documentation and a few config files exist in the
built deb:

rlange@iset:~/debsrc/sshuttle$ dpkg -L sshuttle
/.
/etc
/etc/sshuttle
/etc/sshuttle/tunnel.conf
/etc/sshuttle/post-stop.d
/etc/sshuttle/pre-start.d
/etc/sshuttle/prefixes.conf
/usr
/usr/share
/usr/share/doc
/usr/share/doc/sshuttle
/usr/share/doc/sshuttle/README.Debian
/usr/share/doc/sshuttle/copyright
/usr/share/doc/sshuttle/html
/usr/share/doc/sshuttle/html/tproxy.html
/usr/share/doc/sshuttle/html/usage.html
/usr/share/doc/sshuttle/html/how-it-works.html
/usr/share/doc/sshuttle/html/objects.inv
/usr/share/doc/sshuttle/html/windows.html
/usr/share/doc/sshuttle/html/platform.html
/usr/share/doc/sshuttle/html/overview.html
/usr/share/doc/sshuttle/html/_static
/usr/share/doc/sshuttle/html/_static/minus.png
/usr/share/doc/sshuttle/html/_static/up-pressed.png
/usr/share/doc/sshuttle/html/_static/up.png
/usr/share/doc/sshuttle/html/_static/ajax-loader.gif
/usr/share/doc/sshuttle/html/_static/plus.png
/usr/share/doc/sshuttle/html/_static/pygments.css
/usr/share/doc/sshuttle/html/_static/down.png
/usr/share/doc/sshuttle/html/_static/comment.png
/usr/share/doc/sshuttle/html/_static/comment-bright.png
/usr/share/doc/sshuttle/html/_static/file.png
/usr/share/doc/sshuttle/html/_static/comment-close.png
/usr/share/doc/sshuttle/html/_static/default.css
/usr/share/doc/sshuttle/html/_static/basic.css
/usr/share/doc/sshuttle/html/_static/down-pressed.png
/usr/share/doc/sshuttle/html/searchindex.js
/usr/share/doc/sshuttle/html/search.html
/usr/share/doc/sshuttle/html/changes.html
/usr/share/doc/sshuttle/html/trivia.html
/usr/share/doc/sshuttle/html/_sources
/usr/share/doc/sshuttle/html/_sources/requirements.txt
/usr/share/doc/sshuttle/html/_sources/support.txt
/usr/share/doc/sshuttle/html/_sources/changes.txt
/usr/share/doc/sshuttle/html/_sources/trivia.txt
/usr/share/doc/sshuttle/html/_sources/usage.txt
/usr/share/doc/sshuttle/html/_sources/platform.txt
/usr/share/doc/sshuttle/html/_sources/windows.txt
/usr/share/doc/sshuttle/html/_sources/index.txt
/usr/share/doc/sshuttle/html/_sources/how-it-works.txt
/usr/share/doc/sshuttle/html/_sources/manpage.txt
/usr/share/doc/sshuttle/html/_sources/tproxy.txt
/usr/share/doc/sshuttle/html/_sources/installation.txt
/usr/share/doc/sshuttle/html/_sources/overview.txt
/usr/share/doc/sshuttle/html/manpage.html
/usr/share/doc/sshuttle/html/support.html
/usr/share/doc/sshuttle/html/index.html
/usr/share/doc/sshuttle/html/genindex.html
/usr/share/doc/sshuttle/html/requirements.html
/usr/share/doc/sshuttle/html/installation.html
/usr/share/doc/sshuttle/sshuttle.conf
/usr/share/doc/sshuttle/README.rst
/usr/share/doc/sshuttle/changelog.Debian.gz
/usr/share/doc-base
/usr/share/doc-base/sshuttle
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/sshuttle.1.gz
/usr/share/doc/sshuttle/html/_static/sidebar.js
/usr/share/doc/sshuttle/html/_static/doctools.js
/usr/share/doc/sshuttle/html/_static/jquery.js
/usr/share/doc/sshuttle/html/_static/searchtools.js
/usr/share/doc/sshuttle/html/_static/underscore.js



-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.5.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_DK.UTF-8@corusa, LC_CTYPE=en_DK.UTF-8@corusa (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sshuttle depends on:
ii  iptables                     1.4.21-2+b1
ii  openssh-client [ssh-client]  1:7.2p2-5~bpo8+1
ii  python3-pkg-resources        5.5.1-1

Versions of packages sshuttle recommends:
ii  sudo  1.8.10p3-1+deb8u3

Versions of packages sshuttle suggests:
pn  autossh  <none>

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#823647; Package sshuttle. (Sat, 07 May 2016 01:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sat, 07 May 2016 01:12:04 GMT) (full text, mbox, link).


Message #10 received at 823647@bugs.debian.org (full text, mbox, reply):

From: Axel Beckert <abe@debian.org>
To: Robert Lange <rlange@corusa.net>, 823647@bugs.debian.org
Subject: Re: Bug#823647: sshuttle package in stretch/sid builds only documentation, no executable
Date: Sat, 7 May 2016 03:08:33 +0200
Control: tag -1 + unreproducible moreinfo

Hi Robert,

Robert Lange wrote:
> Package: sshuttle
> Version: 0.78.0-1~bpo8+1
> Severity: grave
[…]
> I tried to make a backport of sshuttle for jessie using stretch
> sources.

This seems to be an issue with your backporting. Because the package
builds fine on Debian Sid.

Maybe this line from debian/control needs to be changed for
backporting, too:

  X-Python3-Version: >= 3.5

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



Added tag(s) unreproducible and moreinfo. Request was from Axel Beckert <abe@debian.org> to 823647-submit@bugs.debian.org. (Sat, 07 May 2016 01:12:04 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#823647; Package sshuttle. (Sat, 07 May 2016 03:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Robert Lange <rcl24@drexel.edu>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sat, 07 May 2016 03:57:03 GMT) (full text, mbox, link).


Message #17 received at 823647@bugs.debian.org (full text, mbox, reply):

From: Robert Lange <rcl24@drexel.edu>
To: 823647@bugs.debian.org
Subject: Re: Bug#823647: sshuttle package in stretch/sid builds only documentation, no executable
Date: Fri, 6 May 2016 23:34:51 -0400
You are correct. I have Python 3.4 installed. Rebuilding on a system with Python 3.5 worked as expected. Apparently if the X-Python-Version is not satisfied, the build gives no fatal errors and appears to work, while not actually building the package properly. But that's a bug for the build system, not this package.

On 2016-05-06 21:08, Axel Beckert wrote:
> Control: tag -1 + unreproducible moreinfo
>
> Hi Robert,
>
> Robert Lange wrote:
>> Package: sshuttle
>> Version: 0.78.0-1~bpo8+1
>> Severity: grave
> […]
>> I tried to make a backport of sshuttle for jessie using stretch
>> sources.
> This seems to be an issue with your backporting. Because the package
> builds fine on Debian Sid.
>
> Maybe this line from debian/control needs to be changed for
> backporting, too:
>
>   X-Python3-Version: >= 3.5
>
> 		Regards, Axel




Marked as found in versions sshuttle/0.78.0-1. Request was from Andreas Beckmann <anbe@debian.org> to control@bugs.debian.org. (Sat, 07 May 2016 13:15:16 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Javier Fernández-Sanguino Peña <jfs@debian.org>:
Bug#823647; Package sshuttle. (Sun, 26 Jun 2016 20:09:04 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to Javier Fernández-Sanguino Peña <jfs@debian.org>. (Sun, 26 Jun 2016 20:09:04 GMT) (full text, mbox, link).


Message #24 received at 823647@bugs.debian.org (full text, mbox, reply):

From: Axel Beckert <abe@debian.org>
To: Robert Lange <rcl24@drexel.edu>, 823647@bugs.debian.org
Subject: Re: Bug#823647: sshuttle package in stretch/sid builds only documentation, no executable
Date: Sun, 26 Jun 2016 22:05:15 +0200
Control: notfound -1 sshuttle/0.78.0-1
Control: tags -1 - moreinfo
Control: close -1

Hi Robert,

Robert Lange wrote:
> You are correct. I have Python 3.4 installed. Rebuilding on a system
> with Python 3.5 worked as expected.

Thanks for the confirmation.

> Apparently if the X-Python-Version is not satisfied, the build gives
> no fatal errors and appears to work, while not actually building the
> package properly. But that's a bug for the build system, not this
> package.

Indeed. Not sure which part of the buildsystem is the culprit here.
Maybe it's also partially wanted if e.g. multiple python versions are
listed, but it shouldn't bail out if not all of them can be found.

Anyways, closing this bug report against sshuttle now.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE



No longer marked as found in versions sshuttle/0.78.0-1. Request was from Axel Beckert <abe@debian.org> to 823647-submit@bugs.debian.org. (Sun, 26 Jun 2016 20:09:04 GMT) (full text, mbox, link).


Removed tag(s) moreinfo. Request was from Axel Beckert <abe@debian.org> to 823647-submit@bugs.debian.org. (Sun, 26 Jun 2016 20:09:05 GMT) (full text, mbox, link).


Marked Bug as done Request was from Axel Beckert <abe@debian.org> to 823647-submit@bugs.debian.org. (Sun, 26 Jun 2016 20:09:05 GMT) (full text, mbox, link).


Notification sent to Robert Lange <rlange@corusa.net>:
Bug acknowledged by developer. (Sun, 26 Jun 2016 20:09:07 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 25 Jul 2016 07:29:52 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 01:55:06 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.