Your message dated Wed, 19 Jun 2013 19:35:21 +0000
with message-id <e1upoa5-000662...@franck.debian.org>
and subject line Bug#712751: fixed in mscompress 0.4-3
has caused the Debian Bug report #712751,
regarding mscompress: FTBFS on big endian arches
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.)


-- 
712751: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712751
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mscompress
Version: 0.4-2
Severity: serious
Tags: patch
User: debian-powerpc...@breakpoint.cc
Usertags: powerpcspe

Hi,

mscompress FTBFS on big endian arches:

...
make[5]: Leaving directory `/«PKGBUILDDIR»/test'
make[4]: *** [test-suite.log] Error 1
============================================================================
Testsuite summary for mscompress 0.4
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to michael+mscompr...@stapelberg.de
============================================================================
make[4]: Leaving directory `/«PKGBUILDDIR»/test'
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[3]: Leaving directory `/«PKGBUILDDIR»/test'
make[2]: Leaving directory `/«PKGBUILDDIR»/test'
make[1]: *** [check-recursive] Error 1
dh_auto_test: make -j1 check returned exit code 2
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build-arch] Error 29
...

This issue surfaced when the testsuite was implicitely activated by using new
debhelper rules in debian/rules. I'm attaching a patch that fixes the issue by
defining WORDS_BIGENDIAN which is expected by the source code in the respective
case but nevertheless never defined.

Roland

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: powerpcspe (ppc)

Kernel: Linux 3.9.0-dirty (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Fix big endian build
 mscompress assumes WORDS_BIGENDIAN to be defined in the big endian case. Tests
 revealed that we need to specify it on big endian arches.
Author: Roland Stigge <sti...@antcom.de>

Index: mscompress-0.4/src/msexpand.c
===================================================================
--- mscompress-0.4.orig/src/msexpand.c	2013-06-19 09:54:57.000000000 +0200
+++ mscompress-0.4/src/msexpand.c	2013-06-19 10:02:17.298322577 +0200
@@ -27,6 +27,10 @@
 #include <stdint.h>
 #include <getopt.h>
 
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WORDS_BIGENDIAN
+#endif
+
 extern char *version_string;
 
 #define N 4096
Index: mscompress-0.4/src/mscompress.c
===================================================================
--- mscompress-0.4.orig/src/mscompress.c	2013-06-19 09:54:57.000000000 +0200
+++ mscompress-0.4/src/mscompress.c	2013-06-19 10:02:05.978319764 +0200
@@ -28,6 +28,10 @@
 #include <stdint.h>
 #include <getopt.h>
 
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
+#define WORDS_BIGENDIAN
+#endif
+
 extern char *version_string;
 
 #define BSWAP32(x)             ((((x)&0xFF)<<24)+(((x)<<8)&0xFF0000)+\

--- End Message ---
--- Begin Message ---
Source: mscompress
Source-Version: 0.4-3

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

Debian distribution maintenance software
pp.
Michael Stapelberg <stapelb...@debian.org> (supplier of updated mscompress 
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: SHA512

Format: 1.8
Date: Wed, 19 Jun 2013 21:26:11 +0200
Source: mscompress
Binary: mscompress
Architecture: source amd64
Version: 0.4-3
Distribution: unstable
Urgency: low
Maintainer: Michael Stapelberg <stapelb...@debian.org>
Changed-By: Michael Stapelberg <stapelb...@debian.org>
Description: 
 mscompress - Microsoft "compress.exe/expand.exe" compatible (de)compressor
Closes: 712751
Changes: 
 mscompress (0.4-3) unstable; urgency=low
 .
   * Add patch to fix FTBFS on big-endian archs (Thanks Roland Stigge)
     (Closes: #712751)
Checksums-Sha1: 
 2308e1885fd7de13e042f79387a0147558f38dab 1887 mscompress_0.4-3.dsc
 a2aaca900dd9aed23617d26f0cebaf1507942377 2788 mscompress_0.4-3.debian.tar.gz
 600b066f148db093e2e2d94f6dee095a329d26ad 10206 mscompress_0.4-3_amd64.deb
Checksums-Sha256: 
 a3c3bc93e9763baf429a0c0e92e0a59c4e1a3bc0b2e80a571fc5b1f99c2c6790 1887 
mscompress_0.4-3.dsc
 dd092bd6d37d2f79ea9ac99f1d8fafae266fe47b3b816c749198bd14bf53c9f6 2788 
mscompress_0.4-3.debian.tar.gz
 b0e7a9c7f36c067523184ce407c6f85c4a55a8fdaa4ac59a9d51338d477e8d94 10206 
mscompress_0.4-3_amd64.deb
Files: 
 5d97bfbe4835cc857bd29ea33d924c22 1887 otherosfs extra mscompress_0.4-3.dsc
 a2712df6809783afe0593a33c6deadbd 2788 otherosfs extra 
mscompress_0.4-3.debian.tar.gz
 eff7ce6287787477f27499638f256352 10206 otherosfs extra 
mscompress_0.4-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCgAGBQJRwgZAAAoJEE5xYO1KyO4dNQsP/jeAhieWgCtvIbi+4NkmRUxj
wBSm8fao7eCT+ABtWXWF9FbNvb1IG4XoCGJiI2sRxQaMras+ThKT626+PursijN7
sHGiJUAhAYhquN51zq3yxDThPnvkBv2alsOiEN/GZnsmdlSqrwYAH109n2ao56vB
j+ZYoJY0V2hxnUSIjXcJ7j/85ZM3BCkfwpJHpW0FJsiJbqazWGAYbYoRhquhdLk+
2umzLe6oG/00El4eLE9QNyUSGkxdAfL7XDfiDneLwPb22EIch5G/QwWjSJSpiOjw
P4utCjxa4nJZPA284fxkZv0TczFuOso+pr2Ha2X6W+XlrQwg+BDEPV9PHA21LweN
t1rmM/F5raNTDa5Yvh6FBreNqwS/C0VgF4M+N8luMZIPY/cZaKAgYAjPrsZQNMCh
U/2qsBBRjgUGbjvKAJ4X6qWDsuh8ZLl55xZqJrY0o1DT0TRy3JDBqPAuEFgrxfQ9
9KXGm/exzvZ9PtlY/l+I2+un2fapaw8kGHFoE2azRWbXlg074rKuDKCi/6qyRuyS
Ztyh4gW1jAN7zo5ZTaOB3fMVrvcaGXYnlzRXEoSCJRE0tWEDmgbek6oTnBTSMUjy
LUJTBU/SBn4iXSrLLcABM+DI5PhypABwcBKJPAGshvjNMuj48tldBlgKRUk/UaP1
37lhYWAMZ3JcsASVQyS3
=5lkg
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to