Your message dated Sat, 28 Jul 2012 22:02:12 +0000
with message-id <[email protected]>
and subject line Bug#633449: fixed in msgpack-python 0.2.0-1
has caused the Debian Bug report #633449,
regarding msgpack-python: FTBFS on big endian architectures: error: #elif with
no expression
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.)
--
633449: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633449
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: msgpack-python
Version: 0.1.9-2
Severity: important
Tags: patch upstream
Justification: fails to build from source
mspack-python fails to build from source on big-endian architectures.
>From my build log:
| gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -g -O2 -fPIC -I/usr/include/python2.7 -c msgpack/_msgpack.c
-o build/temp.linux-mips-2.7/msgpack/_msgpack.o
| In file included from msgpack/pack.h:99:0,
| from msgpack/_msgpack.c:227:
| msgpack/pack_template.h:24:21: error: #elif with no expression
| msgpack/pack_template.h: In function 'msgpack_pack_uint8':
| msgpack/pack_template.h:337:2: warning: implicit declaration of function
'TAKE8_8' [-Wimplicit-function-declaration]
| msgpack/pack_template.h:337:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_uint16':
| msgpack/pack_template.h:342:2: warning: implicit declaration of function
'TAKE8_16' [-Wimplicit-function-declaration]
| msgpack/pack_template.h:342:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_uint32':
| msgpack/pack_template.h:347:2: warning: implicit declaration of function
'TAKE8_32' [-Wimplicit-function-declaration]
| msgpack/pack_template.h:347:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_uint64':
| msgpack/pack_template.h:352:2: warning: implicit declaration of function
'TAKE8_64' [-Wimplicit-function-declaration]
| msgpack/pack_template.h:352:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_int8':
| msgpack/pack_template.h:357:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_int16':
| msgpack/pack_template.h:362:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_int32':
| msgpack/pack_template.h:367:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_int64':
| msgpack/pack_template.h:372:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_short':
| msgpack/pack_template.h:382:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_int':
| msgpack/pack_template.h:405:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_long':
| msgpack/pack_template.h:426:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_long_long':
| msgpack/pack_template.h:449:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_unsigned_short':
| msgpack/pack_template.h:466:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_unsigned_int':
| msgpack/pack_template.h:489:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_unsigned_long':
| msgpack/pack_template.h:510:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_unsigned_long_long':
| msgpack/pack_template.h:533:2: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_map':
| msgpack/pack_template.h:631:3: error: lvalue required as unary '&' operand
| msgpack/pack_template.h: In function 'msgpack_pack_raw':
| msgpack/pack_template.h:652:3: error: lvalue required as unary '&' operand
| msgpack/_msgpack.c: In function 'msgpack_pack_unsigned_long_long':
| msgpack/pack_template.h:544:1: warning: control reaches end of non-void
function [-Wreturn-type]
| msgpack/_msgpack.c: In function 'msgpack_pack_long_long':
| msgpack/pack_template.h:460:1: warning: control reaches end of non-void
function [-Wreturn-type]
| msgpack/_msgpack.c: In function 'msgpack_pack_long':
| msgpack/pack_template.h:439:1: warning: control reaches end of non-void
function [-Wreturn-type]
| msgpack/_msgpack.c: In function 'msgpack_pack_raw':
| msgpack/pack_template.h:662:1: warning: control reaches end of non-void
function [-Wreturn-type]
| msgpack/_msgpack.c: In function 'msgpack_pack_map':
| msgpack/pack_template.h:641:1: warning: control reaches end of non-void
function [-Wreturn-type]
| error: command 'gcc' failed with exit status 1
| dh_auto_build: python2.7 setup.py build --force returned exit code 1
| make: *** [build] Error 1
| dpkg-buildpackage: error: debian/rules build gave error exit status 2
Full build logs are available on:
https://buildd.debian.org/status/package.php?p=msgpack-python&suite=sid
The source code is supposed to support big endian platform, but it
doesn't due to a stupid mistake. The patch below fixes the issue.
--- msgpack-python-0.1.9.orig/msgpack/pack_template.h
+++ msgpack-python-0.1.9/msgpack/pack_template.h
@@ -21,7 +21,7 @@
#define TAKE8_16(d) ((uint8_t*)&d)[0]
#define TAKE8_32(d) ((uint8_t*)&d)[0]
#define TAKE8_64(d) ((uint8_t*)&d)[0]
-#elif __BIG_ENDIAN__
+#elif defined(__BIG_ENDIAN__)
#define TAKE8_8(d) ((uint8_t*)&d)[0]
#define TAKE8_16(d) ((uint8_t*)&d)[1]
#define TAKE8_32(d) ((uint8_t*)&d)[3]
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: mips (mips64)
Kernel: Linux 2.6.32-5-5kc-malta
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---
Source: msgpack-python
Source-Version: 0.2.0-1
We believe that the bug you reported is fixed in the latest version of
msgpack-python, 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.
Robert S. Edmonds <[email protected]> (supplier of updated msgpack-python
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: Sat, 28 Jul 2012 17:20:15 -0400
Source: msgpack-python
Binary: msgpack-python
Architecture: amd64 source
Version: 0.2.0-1
Distribution: unstable
Urgency: low
Maintainer: Robert S. Edmonds <[email protected]>
Changed-By: Robert S. Edmonds <[email protected]>
Closes: 633449 683083
Description:
msgpack-python - Python implementation of MessagePack format
Changes:
msgpack-python (0.2.0-1) unstable; urgency=low
.
* New upstream release.
- Fixes big-endian bug in msgpack/pack_template.h; closes: #633449.
* Add versioned build-dep on cython >= 0.15~; closes: #683083.
Checksums-Sha1:
396cdb69ad02cb362226d4415aff329f3bde3d76 59768 msgpack-python_0.2.0-1_amd64.deb
f0fc712d40a5721ee763a99a1bca8b247bbddd00 1200 msgpack-python_0.2.0-1.dsc
cb0a47772a9f549993f84a5e79cfb027028b953f 90099 msgpack-python_0.2.0.orig.tar.gz
afc7ad9899ee1c90ec0c18866b48ce3a80cd31db 1980
msgpack-python_0.2.0-1.debian.tar.gz
Checksums-Sha256:
247cbf465f0123b0d0640c6fc8a22695c1efea7a7863445f1bcfd9ba9cda83ec 59768
msgpack-python_0.2.0-1_amd64.deb
66f591a275ef79d73c82b77517791e5ccb5218c62f264571ae79383de1a1585a 1200
msgpack-python_0.2.0-1.dsc
c63a95128824f8983962298e32f59ff296bf1270c5b3681d083d78b63bf1310b 90099
msgpack-python_0.2.0.orig.tar.gz
cd0fc365a2531346dcda4180ad3a18692691687892cc7674da2b2ab4e6e662e2 1980
msgpack-python_0.2.0-1.debian.tar.gz
Files:
ec882d5ce357a8d3dfc30bd06ce95679 59768 python optional
msgpack-python_0.2.0-1_amd64.deb
77c0b60750fc720b3c339848ef2085be 1200 python optional
msgpack-python_0.2.0-1.dsc
cdac1d250cf9c0f0bd36abdfe2c96f8b 90099 python optional
msgpack-python_0.2.0.orig.tar.gz
59b41eae951ef9e148835042519ff7b4 1980 python optional
msgpack-python_0.2.0-1.debian.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlAUXaYACgkQdp+/SHMBQJFIVQCcDy5kfs3DRtcbRh2e3nhPgrsV
G3UAoIA5M3ZMBlhknyorXuLzCtcz6ckN
=cjAt
-----END PGP SIGNATURE-----
--- End Message ---