Your message dated Fri, 02 Dec 2016 15:11:14 +0000
with message-id <e1ccpuy-0002jk...@fasolo.debian.org>
and subject line Bug#845506: fixed in openldap 2.4.44+dfsg-2
has caused the Debian Bug report #845506,
regarding openldap: FTBFS when built with dpkg-buildpackage -A (chmod: No such 
file or directory)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
845506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845506
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:openldap
Version: 2.4.44+dfsg-1
Severity: serious
Tags: patch

Dear maintainer:

I tried to build this package in stretch with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --with autoreconf 
--builddirectory=/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/build --parallel
   dh_testdir -i 
-O--builddirectory=/<<BUILDDIR>>/openldap-2.4.44\+dfsg/debian/build -O--parallel
   dh_update_autotools_config -i 
-O--builddirectory=/<<BUILDDIR>>/openldap-2.4.44\+dfsg/debian/build -O--parallel
   debian/rules override_dh_autoreconf
make[1]: Entering directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg'
dh_autoreconf debian/rules -- autoreconf
make[2]: Entering directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg'
autoreconf -f -i . contrib/ldapc++
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:29: warning: AC_INIT: not a literal: $OL_VERSION
configure.in:1210: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected 
in body
../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from...

[... snipped ...]

make[1]: Leaving directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg'
   debian/rules override_dh_install
make[1]: Entering directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg'
dh_install
rm -rf /<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/slapd/usr/lib/ldap/smbk5pwd*
chmod 0755 
/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/slapd/usr/share/slapd/ldiftopasswd
chmod: cannot access 
'/<<BUILDDIR>>/openldap-2.4.44+dfsg/debian/slapd/usr/share/slapd/ldiftopasswd': 
No such file or directory
debian/rules:148: recipe for target 'override_dh_install' failed
make[1]: *** [override_dh_install] Error 1
make[1]: Leaving directory '/<<BUILDDIR>>/openldap-2.4.44+dfsg'
debian/rules:68: recipe for target 'binary-indep' failed
make: *** [binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

This happens because debian/slapd/[...] does not exist, because we are creating
arch-independent packages only and slapd is Arch:any.

Since everything in override_dh_install is related to slapd, the trivial fix
is to override dh_install only for arch-dependent packages, as in the patch 
below.

Warning: the patch is untested. To be sure, please try both "dpkg-buildpackage 
-A"
and "dpkg-buildpackage -B" before upload.

A slightly more elegant way would be to drop the chmod from dh_install
and put it in dh_fixperms (where it probably belongs) with a target
like this:

override_dh_fixperms-arch:
        dh_fixperms
        chmod blah blah

but this is up to you.

Please also note that we could prevent this kind of bugs from
propagating to testing by always uploading the package in source-only
form. Just do "dpkg-buildpackage -S" and upload as usual.

As a bonus, we would get official build logs here for the Arch:all
architecture, which as of now you can see it's missing:

https://buildd.debian.org/status/package.php?p=openldap

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -141,7 +141,7 @@ endif
                | xargs perl -pi -e 's#(\.TH \w+ 8)C#$$1#'
 
 ifeq ($(filter stage1,$(DEB_BUILD_PROFILES)),)
-override_dh_install:
+override_dh_install-arch:
        dh_install
        rm -rf $(CURDIR)/debian/slapd/usr/lib/ldap/smbk5pwd*
        chmod 0755 $(CURDIR)/debian/slapd/usr/share/slapd/ldiftopasswd

--- End Message ---
--- Begin Message ---
Source: openldap
Source-Version: 2.4.44+dfsg-2

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

Debian distribution maintenance software
pp.
Ryan Tandy <r...@nardis.ca> (supplier of updated openldap 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 01 Dec 2016 19:40:20 -0800
Source: openldap
Binary: slapd slapd-smbk5pwd ldap-utils libldap-2.4-2 libldap-common 
libldap-2.4-2-dbg libldap2-dev slapd-dbg
Architecture: source
Version: 2.4.44+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian OpenLDAP Maintainers 
<pkg-openldap-de...@lists.alioth.debian.org>
Changed-By: Ryan Tandy <r...@nardis.ca>
Description:
 ldap-utils - OpenLDAP utilities
 libldap-2.4-2 - OpenLDAP libraries
 libldap-2.4-2-dbg - Debugging information for OpenLDAP libraries
 libldap-common - OpenLDAP common files for libraries
 libldap2-dev - OpenLDAP development libraries
 slapd      - OpenLDAP server (slapd)
 slapd-dbg  - Debugging information for the OpenLDAP server (slapd)
 slapd-smbk5pwd - Keeps Samba passwords in sync within slapd.
Closes: 839251 845506
Changes:
 openldap (2.4.44+dfsg-2) unstable; urgency=medium
 .
   [ Ryan Tandy ]
   * Update Standards-Version to 3.9.8; no changes required.
   * Enable dh_makeshlibs for libldap-2.4-2. Remove libldap-2.4-2.postinst, now
     replaced by the automatic ldconfig trigger.
   * Don't execute slapd's override_dh_install when building only
     arch-independent packages. (Closes: #845506)
   * Override lintian false positives on slapd.README.Debian,
     slapd-smbk5pwd.postinst, and slapd-smbk5pwd triggering ldconfig.
   * Perform permissions changes in override_dh_fixperms instead of in
     override_dh_install.
   * Remove manual chmod of schema files since dh_fixperms sets correct
     permissions automatically.
   * Fix slapd-smbk5pwd failing to upgrade when there are no instances of the
     overlay configured.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Pass CC to make explicitly. (Closes: #839251)
Checksums-Sha1:
 0c2809129fd9de768acce4020cef20b3f0ce6b4f 2918 openldap_2.4.44+dfsg-2.dsc
 35059eb9b0cce09dff1edfc9ca54566cf35ca034 157420 
openldap_2.4.44+dfsg-2.debian.tar.xz
Checksums-Sha256:
 23bbc05efd17a03bb1eb293f0def376249f2ef005a5dfe00d7c4fbbcaf1979b9 2918 
openldap_2.4.44+dfsg-2.dsc
 cba00838088bd9b4e85cd7e91702dd7bd712353f4426d309117d5c77901c89f1 157420 
openldap_2.4.44+dfsg-2.debian.tar.xz
Files:
 3c440d0ee1982c22bed8c056121a2213 2918 net optional openldap_2.4.44+dfsg-2.dsc
 13f9ef3dbfd455324c57be941b6e5e00 157420 net optional 
openldap_2.4.44+dfsg-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYQXEeAAoJEPNPCXROn13ZSGkQANp2GwKXPehpbfQJPE1hp3m1
8Zk0aeeISZJhKdo//iaoOAa7yp1YTDrcU+i7MjjePmKrZ8jPr1rmMKwir2Uy4OCj
gnCCNB2F6pitTA3ahGk+uYddbF8AmoO30r6Y6V9Hm9sdtxiJcJsC/68/g8mofqkU
s+VwLDsD1JyrHJHOacPTuOotGo8lvGIJABOCtEzUF9RRJlP2SQxEEnVMjd96SlNU
PRzAbOWDMS7UFZKyjpC0C/BlNTgHcHLDT26YWZ3dwFDb6o6nVNDqXwiorgYYIh+v
tWaguQ2FNKrQJgq5h4DmqFlbYL9L22jOun+TaFHm1jbuDnzcJry6Upji9hNbc0Ey
00szOn3y0c2ZyrSZ7A0rd6HKqWQHteMk3BhoYQFRgglwH1BqRu6suRiARmoBDk+u
fioP/msn8DvvP6oZD/P0uRUigqBkwoiFU7MgSyA86DWLtKoi6jJ/e/aQMQQCtzAM
Epebs95kipqAeYDKX1kDxYngTnlGI1OYbbOkFG65T85tEHuvXh7kiqqBQ6uhQYU2
Xm1IXRn99fkmPsbsx01t6mKzc9aEKI0SbVIF/JXHa/eJXKOBT/whhbW1zpzUC7PW
bsOGoHNWUmU3kv7B/0Iy2JpfW3+rsCyzWDcdGSoJJpAgRNK9EXMU0U7FfZuJ7s8V
ASBzqN11ljYRMVDARYrj
=huXc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to