Your message dated Sun, 23 Oct 2011 20:47:16 +0000
with message-id <[email protected]>
and subject line Bug#598600: fixed in ascii2binary 2.14-1
has caused the Debian Bug report #598600,
regarding ascii2binary: Upstream's endian.h conflicts with system's endian.h
causing a FTBFS in Ubuntu
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.)
--
598600: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598600
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ascii2binary
Version: 2.13-1
Severity: normal
Tags: patch
Hello,
ascii2binary FTBFS in Ubuntu maverick with the following error:
,----[
http://people.ubuntuwire.org/~lucas/ubuntu-nbs/32/ascii2binary_2.13-1_lubuntu32.buildlog
]-
| In file included from //usr/include/stdlib.h:43,
| from binary2ascii.c:27:
| //usr/include/bits/waitstatus.h:80: error: duplicate member '__w_retcode'
| //usr/include/bits/waitstatus.h:80: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:80: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:81: error: duplicate member '__w_coredump'
| //usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:81: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:82: error: duplicate member '__w_termsig'
| //usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:82: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:94: error: duplicate member '__w_stopsig'
| //usr/include/bits/waitstatus.h:94: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:94: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:95: error: duplicate member '__w_stopval'
| //usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})'
| //usr/include/bits/waitstatus.h:95: error: duplicate member '({anonymous})'
`----
The problem is that upstream code contains an endian.h and the source
code is compiled with -I. This combination causes that including
stdlib.h pulls the wrong endian.h (the local one and not the system one)
leading to the above error as the guarding #if constants aren't defined
anymore.
A solution is to rename the local endian.h so the correct header is
included again. The attached patch renames endian.h to a2b_endian.h (the
rename is not that good visible in the debdiff).
(This is similar to bug #594826 in uni2ascii)
Michael
--- ascii2binary-2.13.orig/Makefile.am
+++ ascii2binary-2.13/Makefile.am
@@ -2,7 +2,7 @@
dist_man_MANS = binary2ascii.1 ascii2binary.1
binary2ascii_SOURCES = binary2ascii.c binfmt.c MachineInfo.c endian.c exitcodes.c
ascii2binary_SOURCES = ascii2binary.c GetWord.c MachineInfo.c endian.c exitcodes.c
-noinst_HEADERS = exitcodes.h endian.h
+noinst_HEADERS = exitcodes.h a2b_endian.h
LOCALEDIR = /usr/local/share/ascii2binary/locale
AM_CFLAGS=-std=gnu99
ACLOCAL_AMFLAGS = -I m4
only in patch2:
unchanged:
--- ascii2binary-2.13.orig/MachineInfo.c
+++ ascii2binary-2.13/MachineInfo.c
@@ -8,7 +8,7 @@
#else
#define gettext(x) (x)
#endif
-#include "endian.h"
+#include "a2b_endian.h"
void
Print_Byte_Order(void)
only in patch2:
unchanged:
--- ascii2binary-2.13.orig/a2b_endian.h
+++ ascii2binary-2.13/a2b_endian.h
@@ -0,0 +1,6 @@
+/* Constants defining endian-ness values */
+
+#define E_LITTLE_ENDIAN 0
+#define E_BIG_ENDIAN 1
+#define E_PDP_ENDIAN 2
+#define E_UNKNOWN_ENDIAN 3
only in patch2:
unchanged:
--- ascii2binary-2.13.orig/endian.c
+++ ascii2binary-2.13/endian.c
@@ -19,7 +19,7 @@
*
*/
-#include "endian.h"
+#include "a2b_endian.h"
/* Returns a value indicating the endianness of the machine */
only in patch2:
unchanged:
--- ascii2binary-2.13.orig/Makefile.in
+++ ascii2binary-2.13/Makefile.in
@@ -163,7 +163,7 @@
dist_man_MANS = binary2ascii.1 ascii2binary.1
binary2ascii_SOURCES = binary2ascii.c binfmt.c MachineInfo.c endian.c exitcodes.c
ascii2binary_SOURCES = ascii2binary.c GetWord.c MachineInfo.c endian.c exitcodes.c
-noinst_HEADERS = exitcodes.h endian.h
+noinst_HEADERS = exitcodes.h a2b_endian.h
LOCALEDIR = /usr/local/share/ascii2binary/locale
AM_CFLAGS = -std=gnu99
ACLOCAL_AMFLAGS = -I m4
--- End Message ---
--- Begin Message ---
Source: ascii2binary
Source-Version: 2.14-1
We believe that the bug you reported is fixed in the latest version of
ascii2binary, which is due to be installed in the Debian FTP archive:
ascii2binary_2.14-1.diff.gz
to main/a/ascii2binary/ascii2binary_2.14-1.diff.gz
ascii2binary_2.14-1.dsc
to main/a/ascii2binary/ascii2binary_2.14-1.dsc
ascii2binary_2.14-1_i386.deb
to main/a/ascii2binary/ascii2binary_2.14-1_i386.deb
ascii2binary_2.14.orig.tar.gz
to main/a/ascii2binary/ascii2binary_2.14.orig.tar.gz
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.
Mohammed Sameer <[email protected]> (supplier of updated ascii2binary 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: SHA1
Format: 1.8
Date: Sun, 23 Oct 2011 22:47:41 +0300
Source: ascii2binary
Binary: ascii2binary
Architecture: source i386
Version: 2.14-1
Distribution: unstable
Urgency: low
Maintainer: Mohammed Sameer <[email protected]>
Changed-By: Mohammed Sameer <[email protected]>
Description:
ascii2binary - Convert between ASCII, hexadecimal and binary representations
Closes: 598600 625025
Changes:
ascii2binary (2.14-1) unstable; urgency=low
.
* New upstream release (Closes: #598600, #625025).
* debian/compat use compatibility level 8
* debian/rules simplified by using dh
* debian/control
- Requires debhelper 8 to build
- Added Homepage
- Bumped Standards-Version to 3.9.1
Checksums-Sha1:
edb6eda2d816eec85c307a65fb679a7bbaa4c5f6 1069 ascii2binary_2.14-1.dsc
08873b665f43919a50db16db7c1668d0a407d63f 101885 ascii2binary_2.14.orig.tar.gz
4abdfe0a3cb8adf5c0731b9ee7d900b7956e61f8 1812 ascii2binary_2.14-1.diff.gz
ba3c3171eee7ba1b836e62b785ffc46d542b9545 19958 ascii2binary_2.14-1_i386.deb
Checksums-Sha256:
9933bacee3bee32cedc3f7520940020f39d5d4a2e32bb96737e6ab95f5396573 1069
ascii2binary_2.14-1.dsc
addc332b2bdc503de573bfc1876290cf976811aae28498a5c9b902a3c06835a9 101885
ascii2binary_2.14.orig.tar.gz
2e2c8624813fe869cdb258f5a986f1b38097f8f9a6eda74825aa014c71084397 1812
ascii2binary_2.14-1.diff.gz
bd76a26386ed565021a49cff710e94e98b4118515d96c358f96fa03087ed6229 19958
ascii2binary_2.14-1_i386.deb
Files:
204dd5ed136cef93516afc37a0b594af 1069 misc optional ascii2binary_2.14-1.dsc
d2366dd7cf9ac7f66766f9cf19af64f4 101885 misc optional
ascii2binary_2.14.orig.tar.gz
c97bc5c30db6afc38efb013511e2353b 1812 misc optional ascii2binary_2.14-1.diff.gz
c626aa45db59058004a839df72f8a9c0 19958 misc optional
ascii2binary_2.14-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFOpHSFy2aOKaP9DfcRAmemAJ9q6VVA3nnRNaOW8V6O4zrMRgBVQACgwXCy
/lC+OUFMtsL3mungTS+/DCs=
=21MQ
-----END PGP SIGNATURE-----
--- End Message ---