Debian Bug report logs - #819416
shibboleth-sp2: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files, aborting)

version graph

Package: src:shibboleth-sp2; Maintainer for src:shibboleth-sp2 is Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>;

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

Date: Mon, 28 Mar 2016 09:39:01 UTC

Severity: serious

Found in version shibboleth-sp2/2.5.6+dfsg1-1

Fixed in version shibboleth-sp2/2.5.6+dfsg1-2

Done: Ferenc Wágner <wferi@niif.hu>

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, Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>:
Bug#819416; Package src:shibboleth-sp2. (Mon, 28 Mar 2016 09:39:05 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, Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>. (Mon, 28 Mar 2016 09:39:05 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: shibboleth-sp2: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files, aborting)
Date: Mon, 28 Mar 2016 09:35:13 +0000
Package: src:shibboleth-sp2
Version: 2.5.6+dfsg1-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 --parallel --with apache2,autoreconf
   dh_testdir -i -O--parallel
   dh_update_autotools_config -i -O--parallel
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
dh_autoreconf --as-needed
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'

[... snipped ...]

make[5]: Entering directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1/odbc-store'
for la in odbc-store.la ; do rm -f /<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1/debian/tmp/usr/lib/x86_64-linux-gnu/shibboleth/$la ; done
make[5]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1/odbc-store'
make[4]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1/odbc-store'
make[3]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1/odbc-store'
make[3]: Entering directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
make[4]: Entering directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
make[3]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
make[2]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
rm -r debian/tmp/var/run
for i in CREDITS.txt LICENSE.txt NOTICE.txt README.txt RELEASE.txt \
    FASTCGI.LICENSE OPENSSL.LICENSE LOG4CPP.LICENSE; do \
    rm debian/tmp/usr/share/doc/shibboleth-*/$i; \
done
rm debian/tmp/etc/shibboleth/*.dist
rm debian/tmp/etc/shibboleth/*.config
rm debian/tmp/etc/shibboleth/shibd-amazon
rm debian/tmp/etc/shibboleth/shibd-osx.plist
rm debian/tmp/etc/shibboleth/shibd-redhat
rm debian/tmp/etc/shibboleth/shibd-suse
mkdir -p debian/tmp/usr/include/x86_64-linux-gnu/shibsp
mv debian/tmp/usr/include/shibsp/paths.h \
    debian/tmp/usr/include/x86_64-linux-gnu/shibsp/
make[1]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
   debian/rules override_dh_install
make[1]: Entering directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
dh_install --fail-missing
dh_install: etc/shibboleth/shibd-systemd exists in debian/tmp but is not installed to anywhere
dh_install: etc/shibboleth/metagen.sh exists in debian/tmp but is not installed to anywhere
dh_install: etc/shibboleth/keygen.sh exists in debian/tmp but is not installed to anywhere
dh_install: etc/shibboleth/shibd-debian exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
debian/rules:61: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/shibboleth-sp2-2.5.6+dfsg1'
debian/rules:28: 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.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>:
Bug#819416; Package src:shibboleth-sp2. (Thu, 14 Jul 2016 22:14:37 GMT) (full text, mbox, link).


Acknowledgement sent to Santiago Vila <sanvila@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>. (Thu, 14 Jul 2016 22:14:37 GMT) (full text, mbox, link).


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

From: Santiago Vila <sanvila@debian.org>
To: 819416@bugs.debian.org
Subject: shibboleth-sp2: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files, aborting)
Date: Thu, 14 Jul 2016 22:10:32 +0000
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".

If you need help to fix this bug, please tag it as "help".

Thanks.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>:
Bug#819416; Package src:shibboleth-sp2. (Fri, 15 Jul 2016 19:33:03 GMT) (full text, mbox, link).


Acknowledgement sent to wferi@niif.hu (Ferenc Wágner):
Extra info received and forwarded to list. Copy sent to Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>. (Fri, 15 Jul 2016 19:33:03 GMT) (full text, mbox, link).


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

From: wferi@niif.hu (Ferenc Wágner)
To: Santiago Vila <sanvila@debian.org>
Cc: 819416@bugs.debian.org
Subject: Re: Bug#819416: shibboleth-sp2: FTBFS when built with dpkg-buildpackage -A (dh_install: missing files, aborting)
Date: Fri, 15 Jul 2016 21:31:45 +0200
Santiago Vila <sanvila@debian.org> writes:

> 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".
>
> If you need help to fix this bug, please tag it as "help".

I'm planning to handle this in the next upload, so it's almost
"pending", just haven't quite got there yet.  Got entangled with two
transitions in the stack and some GCC-6 errors.  Next week, hopefully.
-- 
Feri



Added tag(s) pending. Request was from Ferenc Wágner <wferi@niif.hu> to control@bugs.debian.org. (Wed, 20 Jul 2016 22:09:03 GMT) (full text, mbox, link).


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


Reply sent to Ferenc Wágner <wferi@niif.hu>:
You have taken responsibility. (Thu, 11 Aug 2016 11:00:12 GMT) (full text, mbox, link).


Notification sent to Santiago Vila <sanvila@debian.org>:
Bug acknowledged by developer. (Thu, 11 Aug 2016 11:00:12 GMT) (full text, mbox, link).


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

From: Ferenc Wágner <wferi@niif.hu>
To: 819416-close@bugs.debian.org
Subject: Bug#819416: fixed in shibboleth-sp2 2.5.6+dfsg1-2
Date: Thu, 11 Aug 2016 10:58:00 +0000
Source: shibboleth-sp2
Source-Version: 2.5.6+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
shibboleth-sp2, 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 819416@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ferenc Wágner <wferi@niif.hu> (supplier of updated shibboleth-sp2 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: Thu, 11 Aug 2016 11:47:58 +0200
Source: shibboleth-sp2
Binary: libapache2-mod-shib2 libshibsp6v5 libshibsp-plugins libshibsp-dev libshibsp-doc shibboleth-sp2-common shibboleth-sp2-utils
Architecture: source
Version: 2.5.6+dfsg1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Shib Team <pkg-shibboleth-devel@lists.alioth.debian.org>
Changed-By: Ferenc Wágner <wferi@niif.hu>
Description:
 libapache2-mod-shib2 - Federated web single sign-on system (Apache module)
 libshibsp-dev - Federated web single sign-on system (development)
 libshibsp-doc - Federated web single sign-on system (API docs)
 libshibsp-plugins - Federated web single sign-on system (plugins)
 libshibsp6v5 - Federated web single sign-on system (runtime)
 shibboleth-sp2-common - Federated web single sign-on system (common files)
 shibboleth-sp2-utils - Federated web single sign-on system (daemon and utilities)
Closes: 819416
Changes:
 shibboleth-sp2 (2.5.6+dfsg1-2) unstable; urgency=medium
 .
   [ Faidon Liambotis ]
   * [db10c44] Remove myself (Faidon) from Uploaders
 .
   [ Ferenc Wágner ]
   * [9e20440] Eliminate some path repetitions
   * [430bdd8] Simplify removal of documentation files
   * [f1a50f2] Empty directory structures don't trigger --fail-missing
   * [81f57c3] We ship the systemd service file only when it's usable
   * [4785164] Drop superfluous libssl-dev build dependency
   * [136119d] Update Standards-Version to 3.9.8 (no changes needed)
   * [9c11de5] Fix typo in README.Debian
   * [cfe5433] New patch Check-for-strerror_r-with-C-language-selected.patch
   * [91e4365] Fall back to --list-missing until #831786 is solved
     (Closes: #819416)
   * [676f4aa] /var/log/shibboleth-www is dh_installed in arch builds only
Checksums-Sha1:
 bd04436e4591e5327fc5287169e28b44a31eebeb 2790 shibboleth-sp2_2.5.6+dfsg1-2.dsc
 7e103d8d6ba9af93a299ea79f9370a3f80b802d4 67816 shibboleth-sp2_2.5.6+dfsg1-2.debian.tar.xz
Checksums-Sha256:
 11352458aa2b47e76af0d29faeea5e2455f119ee132ec2f0d5eb6588d7b3bb23 2790 shibboleth-sp2_2.5.6+dfsg1-2.dsc
 cdb1368857361ab7611d69a4ff6c67a424865447170b7386cb29d81ca7c0c9a7 67816 shibboleth-sp2_2.5.6+dfsg1-2.debian.tar.xz
Files:
 d9072cf428169faf70f19849435b8337 2790 web extra shibboleth-sp2_2.5.6+dfsg1-2.dsc
 977c26d9d471c079962586d24fc170f7 67816 web extra shibboleth-sp2_2.5.6+dfsg1-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJXrEqrAAoJEDrI9xZHftsjNYcP/R+QXrahIUhVflD6fcLqc2Xy
xk+M0n4qsGKKb3WYHLM35HqfqtdFvuA2J0LJxgPE8HLNI+EVfCyiIXRTh2hITc8w
9aOqLmGPD6SaSPoTm60XlqH3AG9vdMhaVHOQDw+9pKvUpyTy0CnekDeC5ZwQNIQL
QZWtNuXIGpW8W6NvMp/2E1mZdzH3BgMQ7XNgVwAowi4u0XVPCnyiYfUQhq9DjnNb
5EJHpWXP0M5JRLoiiud1SEt/9cfRyhfGKWxV/D4yqvdwddtCItvB50gbScqxYDJS
g9adPgcwXkzyUiiz3d762uzx0MTSS+r8cSKTzoSN1UUmc0OWUoTb/2bn8SJJ+QJl
HOy7W0U8qf2r0+0oKQn66J25n6R3WyozadUiBYRbGt4yEWJPLsAumhncMCH8zujT
wYzTnP/QZGJlKZZTqhqFnY6JCpTZm6ajwIeEoQJRJLod4l0TgKymRtsrgVtkdO7M
kwYHVXiLOvyykrHECmRkST5nS5Pm4KfAaufzN+Cnd6ehUtxkmxLAkwqE+V+HtfIq
csmad6KYoSjugE7orBo8yFEZzdGc3WgmfnXwkLjBuRFe2m89KRX0crfYwD3d512R
KmXwbLEQR6+GHAkOfDHjMs7P6jnpg1A5lHzwmJa5SSSkIUsl2wbpt4dGHv5uOqKn
WjjnBsAa/Y0rkAHcOmSZ
=BpdT
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 09 Sep 2016 07:27:01 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:07:04 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.