Debian Bug report logs - #806661
tor: FTBFS when built with dpkg-buildpackage -A (No such file or directory)

version graph

Package: src:tor; Maintainer for src:tor is Peter Palfrader <weasel@debian.org>;

Reported by: Santiago Vila <sanvila@debian.org>

Date: Sun, 29 Nov 2015 20:27:35 UTC

Severity: serious

Found in version tor/0.2.7.5-1

Fixed in version 0.2.7.6-2

Done: Peter Palfrader <weasel@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, sanvila@debian.org, Peter Palfrader <weasel@debian.org>:
Bug#806661; Package src:tor. (Sun, 29 Nov 2015 20:27:39 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
New Bug report received and forwarded. Copy sent to sanvila@debian.org, Peter Palfrader <weasel@debian.org>. (Sun, 29 Nov 2015 20:27:39 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: tor: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Sun, 29 Nov 2015 20:25:17 +0000
Package: src:tor
Version: 0.2.7.5-1
User: sanvila@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh \
	build-indep \
	--with quilt \
	--with autoreconf \
	--with systemd \
	--builddirectory=build \
	--parallel
   dh_testdir -i -O--builddirectory=build -O--parallel
   dh_quilt_patch -i -O--builddirectory=build -O--parallel
Applying patch 20-upstream-syslog-identity
patching file changes/bug17194

[... snipped ...]

rm -f micro-revision.tmp; \
if test -d "../.git" && \
		test -x "`which git 2>&1;true`"; then \
	HASH="`cd ".." && git rev-parse --short=16 HEAD`"; \
	echo \"$HASH\" > micro-revision.tmp; \
fi; \
if test ! -f micro-revision.tmp; then \
	if test ! -f micro-revision.i; then \
		echo '""' > micro-revision.i; \
	fi; \
elif test ! -f micro-revision.i || \
		test x"`cat micro-revision.tmp`" != x"`cat micro-revision.i`"; then \
	mv micro-revision.tmp micro-revision.i; \
fi; \
rm -f micro-revision.tmp; \
true
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
  /usr/bin/install -c src/or/tor src/tools/tor-resolve src/tools/tor-gencert '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
 /usr/bin/install -c ../contrib/client-tools/torify '/<<PKGBUILDDIR>>/debian/tmp/usr/bin'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/etc/tor'
 /usr/bin/install -c -m 644 src/config/torrc.sample '/<<PKGBUILDDIR>>/debian/tmp/etc/tor'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tor'
 /usr/bin/install -c -m 644 doc/tor.html doc/tor-gencert.html doc/tor-resolve.html doc/torify.html '/<<PKGBUILDDIR>>/debian/tmp/usr/share/doc/tor'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
 /usr/bin/install -c -m 644 doc/tor.1 doc/tor-gencert.1 doc/tor-resolve.1 doc/torify.1 '/<<PKGBUILDDIR>>/debian/tmp/usr/share/man/man1'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tor'
 /usr/bin/install -c -m 644 ../src/config/geoip ../src/config/geoip6 '/<<PKGBUILDDIR>>/debian/tmp/usr/share/tor'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
   debian/rules override_dh_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install --fail-missing
mv debian/tor/etc/tor/torrc.sample debian/tor/etc/tor/torrc
mv: cannot stat 'debian/tor/etc/tor/torrc.sample': No such file or directory
debian/rules:63: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:23: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.



Added tag(s) pending. Request was from Peter Palfrader <weasel@debian.org> to control@bugs.debian.org. (Wed, 16 Dec 2015 13:27:14 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Peter Palfrader <weasel@debian.org>:
Bug#806661; Package src:tor. (Wed, 13 Jul 2016 20:45:06 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Peter Palfrader <weasel@debian.org>. (Wed, 13 Jul 2016 20:45:06 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Peter Palfrader <weasel@debian.org>
Cc: 806661@bugs.debian.org
Subject: Re: tagging 806661
Date: Wed, 13 Jul 2016 22:42:15 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue
as RC for stretch.

I'm going to wait a week before raising severities, but since this bug
is in pending state, I'd appreciate if you could make an upload
before that.

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#806661; Package src:tor. (Wed, 13 Jul 2016 21:33:04 GMT) (full text, mbox, link).


Acknowledgement sent to Peter Palfrader <weasel@debian.org>:
Extra info received and forwarded to list. (Wed, 13 Jul 2016 21:33:04 GMT) (full text, mbox, link).


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

From: Peter Palfrader <weasel@debian.org>
To: Santiago Vila <sanvila@unex.es>
Cc: 806661@bugs.debian.org
Subject: Re: tagging 806661
Date: Wed, 13 Jul 2016 21:31:57 +0000
On Wed, 13 Jul 2016, Santiago Vila wrote:

> I have the ok from the Release Managers to consider this issue
> as RC for stretch.
> 
> I'm going to wait a week before raising severities, but since this bug
> is in pending state, I'd appreciate if you could make an upload
> before that.

It's fixed in 0.2.7.6-2, which hasn't been uploaded to unstable but
which is included in 0.2.8.5-rc-1 from experimental.

I expect the version from experimental will make it to unstable in the
next few weeks.

Cheers,
-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/



Information forwarded to debian-bugs-dist@lists.debian.org, Peter Palfrader <weasel@debian.org>:
Bug#806661; Package src:tor. (Wed, 13 Jul 2016 22:30:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Peter Palfrader <weasel@debian.org>. (Wed, 13 Jul 2016 22:30:04 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Peter Palfrader <weasel@debian.org>
Cc: 806661@bugs.debian.org
Subject: Re: tagging 806661
Date: Thu, 14 Jul 2016 00:26:32 +0200 (CEST)
On Wed, 13 Jul 2016, Peter Palfrader wrote:

> It's fixed in 0.2.7.6-2, which hasn't been uploaded to unstable but
> which is included in 0.2.8.5-rc-1 from experimental.
> 
> I expect the version from experimental will make it to unstable in the
> next few weeks.

Well, since 0.2.7.6-2 < 0.2.8.5, you could still upload 0.2.7.6-2
(in git, I suppose) for unstable if you wish, and nobody will tell you
that you should not do that. If the bug is actually fixed, you can
even make a source-only upload with "dpkg-buildpackage -S".

But of course it's up to you.

Thanks.



Severity set to 'serious' from 'important' Request was from Santiago Vila <sanvila@debian.org> to control@bugs.debian.org. (Mon, 01 Aug 2016 21:15:55 GMT) (full text, mbox, link).


Reply sent to Peter Palfrader <weasel@debian.org>:
You have taken responsibility. (Mon, 08 Aug 2016 08:48:04 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Mon, 08 Aug 2016 08:48:04 GMT) (full text, mbox, link).


Message #29 received at 806661-done@bugs.debian.org (full text, mbox, reply):

From: Peter Palfrader <weasel@debian.org>
To: 806661-done@bugs.debian.org
Subject: Re: Bug#806661: tagging 806661
Date: Mon, 8 Aug 2016 08:44:31 +0000
Version: 0.2.7.6-2

On Wed, 13 Jul 2016, Peter Palfrader wrote:

> On Wed, 13 Jul 2016, Santiago Vila wrote:
> > I'm going to wait a week before raising severities, but since this bug
> > is in pending state, I'd appreciate if you could make an upload
> > before that.
> 
> It's fixed in 0.2.7.6-2, which hasn't been uploaded to unstable but
> which is included in 0.2.8.5-rc-1 from experimental.
> 
> I expect the version from experimental will make it to unstable in the
> next few weeks.

The 0.2.8.x tree is now in unstable.

-- 
                            |  .''`.       ** Debian **
      Peter Palfrader       | : :' :      The  universal
 https://www.palfrader.org/ | `. `'      Operating System
                            |   `-    https://www.debian.org/



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Sep 2016 07:30:05 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: Mon Oct 23 00:04:52 2017; Machine Name: beach

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.