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

version graph

Package: src:accountsservice; Maintainer for src:accountsservice is Debian freedesktop.org maintainers <pkg-freedesktop-maintainers@lists.alioth.debian.org>;

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

Date: Tue, 24 Nov 2015 15:27:06 UTC

Severity: serious

Tags: patch

Found in version accountsservice/0.6.40-3

Fixed in version accountsservice/0.6.40-4

Done: toddy@debian.org (Dr. Tobias Quathamer)

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, Alessio Treglia <alessio@debian.org>:
Bug#805989; Package src:accountsservice. (Tue, 24 Nov 2015 15:27:10 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, Alessio Treglia <alessio@debian.org>. (Tue, 24 Nov 2015 15:27:10 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: accountsservice: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Tue, 24 Nov 2015 15:24:28 +0000
Package: src:accountsservice
Version: 0.6.40-3
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:

--------------------------------------------------------------------------------
[...]
 fakeroot debian/rules binary-indep
dh binary-indep --parallel --with=autoreconf,systemd
   dh_testroot -i -O--parallel
   dh_prep -i -O--parallel
   dh_auto_install -i -O--parallel
	make -j1 install DESTDIR=/<<PKGBUILDDIR>>/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/<<PKGBUILDDIR>>'
Making install in src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make  install-recursive
make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
Making install in .
make[4]: Entering directory '/<<PKGBUILDDIR>>/src'
make[5]: Entering directory '/<<PKGBUILDDIR>>/src'
 /bin/mkdir -p '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/accountsservice'
  /bin/bash ../libtool   --mode=install /usr/bin/install -c accounts-daemon '/<<PKGBUILDDIR>>/debian/tmp/usr/lib/accountsservice'
libtool: install: /usr/bin/install -c accounts-daemon /<<PKGBUILDDIR>>/debian/tmp/usr/lib/accountsservice/accounts-daemon
make  install-data-hook
make[6]: Entering directory '/<<PKGBUILDDIR>>/src'
/bin/mkdir -p "/<<PKGBUILDDIR>>/debian/tmp/var/lib/AccountsService/users"
/bin/mkdir -p "/<<PKGBUILDDIR>>/debian/tmp/var/lib/AccountsService/icons"
make[6]: Leaving directory '/<<PKGBUILDDIR>>/src'

[... snipped ...]

cat debian/accountsservice.install debian/accountsservice.install.linux.in > debian/accountsservice.install.linux
dh_install
# patch is only applied conditionally, only install when present
if [ -d debian/tmp/usr/share/language-tools ]; then \
    cp -r debian/tmp/usr/share/language-tools debian/accountsservice/usr/share/; \
fi
cp: cannot create directory 'debian/accountsservice/usr/share/': No such file or directory
debian/rules:35: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:12: 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, but I can give some general hints:

* If all the arch-independent packages are dummy transitional packages
released with jessie, the easy fix is to drop them now.
 
* If not, debian/rules should be modified so that the binary-indep
target works in all cases, even when binary-arch is not used (this is
what the "Architecture: all" autobuilder does). For that:
    
* If you are using debhelper, you might want to use options -a and -i
for dh_* commands so that they do not act on packages they do not
have to act.

* Also, if you are using dh, the (independently) optional targets
override_dh_foo-arch and override_dh_foo-indep (for several values
of "foo") may be useful to write a debian/rules which behaves exactly
as desired.


After checking that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B"
work properly, this package will be suitable to be uploaded in
source-only form if you wish (you might want to try it).

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Alessio Treglia <alessio@debian.org>:
Bug#805989; Package src:accountsservice. (Fri, 08 Apr 2016 17:27:04 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Alessio Treglia <alessio@debian.org>. (Fri, 08 Apr 2016 17:27:04 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: Santiago Vila <sanvila@debian.org>, 805989@bugs.debian.org, Debian BTS <control@bugs.debian.org>
Cc: Alessio Treglia <alessio@debian.org>
Subject: Re: Bug#805989: accountsservice: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Fri, 8 Apr 2016 19:23:33 +0200 (CEST)
[Message part 1 (text/plain, inline)]
tags 805989 + patch
thanks

> cat debian/accountsservice.install debian/accountsservice.install.linux.in > debian/accountsservice.install.linux
> dh_install
> # patch is only applied conditionally, only install when present
> if [ -d debian/tmp/usr/share/language-tools ]; then \
>     cp -r debian/tmp/usr/share/language-tools debian/accountsservice/usr/share/; \
> fi
> cp: cannot create directory 'debian/accountsservice/usr/share/': No such file or directory

Explanation: We are creating arch-independent packages only, so debian/accountsservice
does not exist.

The trivial fix is to override dh_install only for arch-dependent
packages, as in this patch.

[ BTW: What's the purpose of creating debian/accountsservice.install.linux?
  Does dh use it in any way? ]

Thanks.
[accountsservice.patch.txt (text/plain, attachment)]

Added tag(s) patch. Request was from Santiago Vila <sanvila@unex.es> to control@bugs.debian.org. (Fri, 08 Apr 2016 17:27:06 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Alessio Treglia <alessio@debian.org>:
Bug#805989; Package src:accountsservice. (Wed, 13 Jul 2016 21:12:29 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Alessio Treglia <alessio@debian.org>. (Wed, 13 Jul 2016 21:12:29 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@unex.es>
To: 805989@bugs.debian.org
Cc: Alessio Treglia <alessio@debian.org>
Subject: Re: Bug#805989: accountsservice: FTBFS when built with dpkg-buildpackage -A (No such file or directory)
Date: Wed, 13 Jul 2016 23:11:19 +0200 (CEST)
Greetings.

I have the ok from the Release Managers to consider this issue as RC
for stretch. I'm going to wait at least one week before raising
this to "serious".

There is a patch available for this bug. If you need someone to make
an upload, please ask for a sponsor in debian-mentors.

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:16 GMT) (full text, mbox, link).


Reply sent to toddy@debian.org (Dr. Tobias Quathamer):
You have taken responsibility. (Sat, 26 Nov 2016 22:21:14 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Sat, 26 Nov 2016 22:21:14 GMT) (full text, mbox, link).


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

From: toddy@debian.org (Dr. Tobias Quathamer)
To: 805989-close@bugs.debian.org
Subject: Bug#805989: fixed in accountsservice 0.6.40-4
Date: Sat, 26 Nov 2016 22:19:59 +0000
Source: accountsservice
Source-Version: 0.6.40-4

We believe that the bug you reported is fixed in the latest version of
accountsservice, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 805989@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dr. Tobias Quathamer <toddy@debian.org> (supplier of updated accountsservice package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 26 Nov 2016 22:28:05 +0100
Source: accountsservice
Binary: accountsservice libaccountsservice0 libaccountsservice-dev gir1.2-accountsservice-1.0 libaccountsservice-doc
Architecture: source
Version: 0.6.40-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Dr. Tobias Quathamer <toddy@debian.org>
Description:
 accountsservice - query and manipulate user account information
 gir1.2-accountsservice-1.0 - GObject introspection data for AccountService
 libaccountsservice-dev - query and manipulate user account information - header files
 libaccountsservice-doc - query and manipulate user account information - documentation
 libaccountsservice0 - query and manipulate user account information - shared libraries
Closes: 805086 805989
Changes:
 accountsservice (0.6.40-4) unstable; urgency=medium
 .
   [ Dr. Tobias Quathamer ]
   * QA upload.
   * Use debhelper v10
   * Add Multi-Arch: foreign to -doc package
   * Set maintainer to Debian QA Group <packages@qa.debian.org>
   * Update Vcs-Browser URL
 .
   [ Laurent Bigonville ]
   * debian/rules: Fix FTBFS when building arch:all packages only.
     Thanks to Santiago Vila <sanvila@unex.es> (Closes: #805989)
   * 0015-debian-nologin-path.patch: Use debian specific path for nologin executable
     (Closes: #805086)
   * Drop the -dbg package and rely on the automatically built -dbgsym one
   * debian/control: Use https for the Vcs-* and Homepage URL's
   * debian/control: Bump Standards-Version to 3.9.8 (no further changes)
 .
   [ Alessio Treglia ]
   * Multiarchify-ication.
Checksums-Sha1:
 f3ad5d8b00095a0e2cc2014aad89148f6c683b66 2536 accountsservice_0.6.40-4.dsc
 a3ff721f3a0820ecda742243eef57a903e2ae9f2 28288 accountsservice_0.6.40-4.debian.tar.xz
Checksums-Sha256:
 3c2ec21e91c5b24c529a6642c48619b7cc98fe00025e20ab5a3135a6bc95c0d7 2536 accountsservice_0.6.40-4.dsc
 8564459575a33ef3061ae64f3ea858d05e3e9fee5bc460b8bdcbac371fc2130d 28288 accountsservice_0.6.40-4.debian.tar.xz
Files:
 f192e1e9936c3a0f1edebbb701206d6d 2536 admin optional accountsservice_0.6.40-4.dsc
 8cdf4a72ee024121bd8a33d680c88e21 28288 admin optional accountsservice_0.6.40-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYOgYwAAoJEBMC8fA26+sZ5/4P/3cN4DYNneGhmzvEGbSZMNoZ
Edwfw8dHc0MOt5TrTn4yOjsIqVDyE+U2xm+dJOFj67H+NKp7/3NpLFyd/9pwunj8
/XFmmGVNio+hv00GIHBA+gv/cLFXOD2Gscy43j1JqH9pqNcwhGF1pLF0jjj85VER
NdnOhnhXC3NxD2vj4std2Jldfh+XAfR4Yj4wg2B0f3tNs2DvwqSLwttQG84AO1A4
6fxkrlTdZh9WiUhD6H6tsK8b/7CiNqcbwI5V60DPuwBxtFKBIHVw4pkas2GCsWBR
9F2il/X6Y9QclV3DFXXNaoE6IvhCOWVO0wvvJqbIjAOYiFbpQ3+z9fMjJON2b53x
w6vMgbkheWCPBwGT1bAEMzHGPOjP+jJI5vxHgxkz7juqVV1gnaVQX28ujTZz08qE
fjh1BVH5EicpQy+EuVR0VV5DreRPWEBp6T9m1FbByXv0Oqw19lQ7ikQTCwxzlEW6
ARIj55mSyQwAHVJ4rqB7LXHZc6+BuJVPeoh14mFd19nuTtq+JohgVGXw3qBx6tTE
SLjffW5PgtSFvdB6jou1hxAXvD4JtBwgHeXM4WOgdgsrrT5C/b2b2pP3mX7EPGhn
ra4hrRKDt303vf97zxn6pIFSxLKPI24DNhZZyPgLT1NTSSYs97P2TX82RRuNQ9J8
U0s2j2ijg/G6G8JodO/B
=ZZiN
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 29 Dec 2016 09:41:50 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:05:36 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.