Your message dated Tue, 20 Dec 2016 19:04:29 +0000
with message-id <[email protected]>
and subject line Bug#831000: fixed in linux86 0.16.17-3.2
has caused the Debian Bug report #831000,
regarding linux86: package bcc drops elksemu binary after rebuild
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.)


-- 
831000: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831000
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: linux86
Version: 0.16.17-3.1
Severity: important

After fixing the build error mentioned in bug #822048, I noticed that
the elksemu binary is no longer included in the bcc package.  This is
because of a broken check in debian/rules:

,----
| ifeq ($(findstring i486-linux-gnu,$(DEB_BUILD_GNU_TYPE)),i486-linux-gnu)
|               mv debian/tmp/usr/bin/elksemu debian/tmp-bcc/usr/bin
|               install -d debian/tmp-bcc/usr/share/man/man1
|               mv debian/tmp/usr/man/man1/elksemu.1.gz 
debian/tmp-bcc/usr/share/man/man1
| endif
`----

Apart from the fact that the check should have been on DEB_HOST_GNU_TYPE
rather than DEB_BUILD_GNU_TYPE, i486-linux-gnu is no longer the correct
value:

,----
| $ dpkg-architecture -qDEB_BUILD_GNU_TYPE
| i686-linux-gnu
`----

The following patch fixes that, checking for DEB_HOST_ARCH which is less
volatile than DEB_HOST_GNU_TYPE:

--8<---------------cut here---------------start------------->8---
diff --git a/debian/rules b/debian/rules
index 7475a96..c9745c5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 #
 # Copyright (C) 1997-2008 Juan Cespedes <[email protected]>
 
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+DEB_HOST_ARCH  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 SHELL  =       bash
 
@@ -65,7 +65,7 @@ binary-arch:  binary-common
 # ``bcc'' specific things:
                install -d debian/tmp-bcc/usr/bin
                mv debian/tmp/usr/bin/bcc debian/tmp-bcc/usr/bin
-ifeq ($(findstring i486-linux-gnu,$(DEB_BUILD_GNU_TYPE)),i486-linux-gnu)
+ifeq (i386,$(DEB_HOST_ARCH))
                mv debian/tmp/usr/bin/elksemu debian/tmp-bcc/usr/bin
                install -d debian/tmp-bcc/usr/share/man/man1
                mv debian/tmp/usr/man/man1/elksemu.1.gz 
debian/tmp-bcc/usr/share/man/man1
--8<---------------cut here---------------end--------------->8---

However, VM86 is pretty much deprecated these days and has been disabled
in the Debian kernel for security reasons (see #792003), so maybe it is
better to actually remove elksemu from the bcc package and adjust the
package description.


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: i386 (x86_64)

--- End Message ---
--- Begin Message ---
Source: linux86
Source-Version: 0.16.17-3.2

We believe that the bug you reported is fixed in the latest version of
linux86, 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.
Andrey Rahmatullin <[email protected]> (supplier of updated linux86 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: SHA512

Format: 1.8
Date: Thu, 15 Dec 2016 23:19:08 +0500
Source: linux86
Binary: bin86 bcc elks-libc
Architecture: source
Version: 0.16.17-3.2
Distribution: unstable
Urgency: medium
Maintainer: Juan Cespedes <[email protected]>
Changed-By: Andrey Rahmatullin <[email protected]>
Description:
 bcc        - 16-bit x86 C compiler
 bin86      - 16-bit x86 assembler and loader
 elks-libc  - 16-bit x86 C library and include files
Closes: 439922 822048 831000
Changes:
 linux86 (0.16.17-3.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Add mandatory build-* target to debian/rules, patch by Sven Joachim
     (Closes: #822048).
   * Fix debian/lintian.overrides, patch by Sven Joachim.
   * Add explicit debian/source/format.
   * Drop elksemu (Closes: #831000).
   * Use source:Version instead of binary:Version in elks-libc Depends (Closes:
     #439922).
Checksums-Sha1:
 c586423f08fffa39314e698aff1eff0bf762815e 1710 linux86_0.16.17-3.2.dsc
 5d74d2b570ddcaa80c50e97ed881d9417d31833f 10866 linux86_0.16.17-3.2.diff.gz
Checksums-Sha256:
 fcbe52d1a8a181fa67da1881ad49fffe41b6b255d1b94168d60e1e0336116071 1710 
linux86_0.16.17-3.2.dsc
 26d4c00cdac6137839c2389a34e45490de6ae3c5c15aa87d60b7fd7a23d9af0e 10866 
linux86_0.16.17-3.2.diff.gz
Files:
 52851827d38f8fadd255798c32c5cfc3 1710 devel optional linux86_0.16.17-3.2.dsc
 f8339671a46525e30d475ed8e0a1600e 10866 devel optional 
linux86_0.16.17-3.2.diff.gz

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

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAlhS4UwACgkQM2L3AxpJ
kuGG8w//VeQo5TV4gnrg5ItSYh/mv+4GBDfzdIEVUW0kNaoWLERn/09tGAN92emZ
p/clg3d7hSI4hk4okvnboxETKlEdAKBzu6JFFUS/6xsmJrii19zY+fgzFdSFle3Q
wuNx5cjONks7NaeP8RPPWSDElx6XnXgw/bZtI22EvKpJLT8ZYxyj+S/GzKGpwoFx
mKsPbccy8jK/fAHaCLDtFL7lNDUS4tXg+AeW/EEgjlXhUwXB5StFmjX1ls4UjYfu
0HvkCOdJoq2koSEZadjZOyNAMnm0WGla49/fGPrWm9T6tY3reUyLMILdXsIcNn1V
2qQmfV/FXSbgaunYajuTz0XqvZGWTesHkd8W/7tQMTDd6NGROygmyX2Bh5Tpic+q
JlgnTuUOxSJ64LhZi2T1R1R4H+E5Ls0n1Nh0WsTDhBTdHoga4x6NsV1eLZH+DLdz
LdobXhe250l7tyA0mpv1VrL7dfOhQOG+/A5HkEnIBwaVYsLxmle5ZPOC1zNLb12K
agMqXlgXOAamf8tgvjdERMcF9DtcOGPYcNz2thL4yPM4uAUzKJOasv/MGcxoYYyQ
Om2FXlXBNLl69uZ6wEs+GvLZnffg2wX/mdkptVW7gEzFxUBDHx2IsvdnUFSAhJul
6yOGv2dpSFraf7JqidbRd7G1eKxGvBpWCpzWVcz2frqMaHzOU1Q=
=NjAQ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to