Your message dated Sun, 01 Jan 2017 21:33:48 +0000
with message-id <[email protected]>
and subject line Bug#849876: fixed in open-vm-tools 2:10.1.0-4449150-3
has caused the Debian Bug report #849876,
regarding open-vm-tools: FTBFS when built with dpkg-buildpackage -A (sed: 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 [email protected]
immediately.)


-- 
849876: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849876
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:open-vm-tools
Version: 2:10.1.0-4449150-2
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:

--------------------------------------------------------------------------------
[...]

   dh_installdeb -i -O--sourcedirectory=open-vm-tools
   dh_gencontrol -i -O--sourcedirectory=open-vm-tools
dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is 
not NFS-safe
   debian/rules override_dh_md5sums
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_md5sums
# remove broken \ escaping from md5sums
sed -i -e 's,^\\,,' -e 's,\\\\,\\,' debian/open-vm-tools-desktop/DEBIAN/md5sums
sed: can't read debian/open-vm-tools-desktop/DEBIAN/md5sums: No such file or 
directory
debian/rules:126: recipe for target 'override_dh_md5sums' failed
make[1]: *** [override_dh_md5sums] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: 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 we are creating arch-independent packages only,
so debian/open-vm-tools-desktop/[...] does not exist.

The trivial fix is to override dh_md5sums only for arch-dependent packages,
as in the patch below.

Warning: I have not actually tested the patch. Please check that both
"dpkg-buildpackage -A" and "dpkg-buildpackage -B" work before uploading.

If you can upload this in source only form (dpkg-buildpackage -S),
even better, as we would get official build logs here:

https://buildd.debian.org/status/package.php?p=open-vm-tools

and bugs like this one would never propagate to testing.

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -122,7 +122,7 @@ override_dh_systemd_start:
 override_dh_installchangelogs:
        dh_installchangelogs ReleaseNotes.md
 
-override_dh_md5sums:
+override_dh_md5sums-arch:
        dh_md5sums
        # remove broken \ escaping from md5sums
        sed -i -e 's,^\\,,' -e 's,\\\\,\\,' 
debian/open-vm-tools-desktop/DEBIAN/md5sums

--- End Message ---
--- Begin Message ---
Source: open-vm-tools
Source-Version: 2:10.1.0-4449150-3

We believe that the bug you reported is fixed in the latest version of
open-vm-tools, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bernd Zeimetz <[email protected]> (supplier of updated open-vm-tools 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 [email protected])


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

Format: 1.8
Date: Sun, 01 Jan 2017 22:11:18 +0100
Source: open-vm-tools
Binary: open-vm-tools open-vm-tools-desktop open-vm-tools-dev open-vm-tools-dkms
Architecture: source
Version: 2:10.1.0-4449150-3
Distribution: unstable
Urgency: medium
Maintainer: Bernd Zeimetz <[email protected]>
Changed-By: Bernd Zeimetz <[email protected]>
Description:
 open-vm-tools - Open VMware Tools for virtual machines hosted on VMware (CLI)
 open-vm-tools-desktop - Open VMware Tools for virtual machines hosted on 
VMware (GUI)
 open-vm-tools-dev - Open VMware Tools for virtual machines hosted on VMware 
(developm
 open-vm-tools-dkms - Open VMware Tools vmxnet kernel module (deprecated)
Closes: 849876
Changes:
 open-vm-tools (2:10.1.0-4449150-3) unstable; urgency=medium
 .
   * [17b04da] Override dh_md5sums for arch-dependent packages only.
     Thanks to Santiago Vila (Closes: #849876)
Checksums-Sha1:
 1bdf5d78bd816e996b9d1114a63e7574b2e7fa79 2487 
open-vm-tools_10.1.0-4449150-3.dsc
 6ed013ed6df76f33a5de465a3a096381983de865 24324 
open-vm-tools_10.1.0-4449150-3.debian.tar.xz
Checksums-Sha256:
 04e24dc912da749ef5f01e76145565f1284c08df244af61990b70c08d297e036 2487 
open-vm-tools_10.1.0-4449150-3.dsc
 42dfd846392fc123181bb8a93acca8d0ff9bdae635d2eb68930745cd76fde3f8 24324 
open-vm-tools_10.1.0-4449150-3.debian.tar.xz
Files:
 d9d534a46a7f34f1ea7260dad3163e8c 2487 admin extra 
open-vm-tools_10.1.0-4449150-3.dsc
 670fd7a60f7dfd6f1a4762318b5be72e 24324 admin extra 
open-vm-tools_10.1.0-4449150-3.debian.tar.xz

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

iQIzBAEBCAAdFiEE7KHj8o4RJDLUhd2V6zYXGm/5Q18FAlhpcQUACgkQ6zYXGm/5
Q18C9g/+LJiHpv7O6N2UYHz90FL3+PJueqFVfbpGxYxam0fly0vI6OKLaowd7Ims
GhZ/CnVSQanR4dY4s7DtcAvDxGmqV3yyObh6WmpLSM3YlkytWN1zsnLUixChW+uc
RN9nDL0QKAtd11woeDzk7P4CO1JOZXqDSkOo3haTGW6WPuXD3EDRFybFk/bthK9a
HQgMT8MVjZK53AGmnWVYA01e8dI6QyyXOKj3FjHaIv8vxxHOyuvvo0na5Gw2iQ9z
3Ptpyd6hcdALI04gE5Bi8aDauGGlPLoDXJb6HhwPGLX1DP5wmeYQ5G+ZU+t0+Ptb
L+TNaZ+4b4HN38eFpuHea3vqJb+1dSp3rOez3XSnNDDvewufXUu2x0a6r5IJ3H2z
tCaSvC9L2VYAoX8aVRxdhZvsgYRF040wZCwbrRoDvyUorJOOjtYXEesKqHJVi0N9
bvRBWY8ZT9BY5Q3K/nMyxLG9cK5ukFVbLE0GI4zWzJgFWbEJESHUz/ECswIlSwPy
6A5TiyUcnC7FvZw5UOi/4BUULr8XvFJy3RgZLaGpTu8fUBlTiPjxubpYeZnvYj8d
r9st7EijSGkkyxYzahq9eNSAKPSeSc+nQlJyB5/ckHKZE0noEDw+2jo3+VsQn9GL
cVUEi9etqJFoLHmAZNqg9LAp55Jr3A7h4wLbeQMwg8D11DgjG18=
=iKlM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to