Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#503144: FTBFS on armel: gsf-scan, ** ERROR **: Compilation trouble with endianess.

3 views
Skip to first unread message

Riku Voipio

unread,
Oct 22, 2008, 5:20:12 PM10/22/08
to
Package: libgsf
Version: 1.14.9-1
Severity: serious

Found on all gsf versions since 1.14.9-1:

-snip-
creating gsf-scan
gtk-doc: Running scanner gsf-scan

** ERROR **: Compilation trouble with endianess.
aborting...
sh: line 1: 7588 Aborted ( ./gsf-scan )
-snip-

Full build log:

http://buildd.debian.org/fetch.cgi?pkg=libgsf&arch=armel&ver=1.14.10-2&stamp=1224698766&file=log&as=raw

Looking at the error in sources, it seems like floating point
issue. Armel (arm eabi) has natural floating point order.


--
To UNSUBSCRIBE, email to debian-bugs...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

J.H.M. Dassen (Ray)

unread,
Oct 23, 2008, 2:40:09 AM10/23/08
to
reassign 503144 gtk-doc-tools

On Thu, Oct 23, 2008 at 00:05:04 +0300, Riku Voipio wrote:
> Found on all gsf versions since 1.14.9-1:
>
> -snip-
> creating gsf-scan
> gtk-doc: Running scanner gsf-scan
>
> ** ERROR **: Compilation trouble with endianess.

gsf-scan is a generated file; the gtk-doc-tools package is responsible for
its template. Reassigning accordingly.

Ray
--
Would you rather be root or reboot?

Riku Voipio

unread,
Oct 23, 2008, 3:40:08 AM10/23/08
to
reassign 503144 libgsf
tags 503144 + patch
thanks

> gsf-scan is a generated file; the gtk-doc-tools package is responsible for
> its template. Reassigning accordingly.

The error is coming from gsf-init. Reassigning accordingly.

gsf thinks only vfp enabled arm uses natural endian doubles. However,
eabi does that as well. As anyone using vfp is also using eabi,
the correct change is to switch the define.

I believe libgsf is actually broken on armel on older versions too,
it just that someone added runtime float detection to gsf-init that
exposes this br0kenness.

diff -ur old/libgsf-1.14.10/gsf/gsf-utils.c libgsf-1.14.10/gsf/gsf-utils.c
--- old/libgsf-1.14.10/gsf/gsf-utils.c 2008-07-01 12:56:53.000000000 +0000
+++ libgsf-1.14.10/gsf/gsf-utils.c 2008-10-23 07:03:25.000000000 +0000
@@ -73,7 +73,7 @@
* mixture.
*/
#define G_ARMFLOAT_ENDIAN 56781234
-#if defined(__arm__) && !defined(__vfp__) && (G_BYTE_ORDER == G_LITTLE_ENDIAN)
+#if defined(__arm__) && !defined(__ARM_EABI__) && (G_BYTE_ORDER == G_LITTLE_ENDIAN)
#define G_FLOAT_BYTE_ORDER G_ARMFLOAT_ENDIAN
#else
#define G_FLOAT_BYTE_ORDER G_BYTE_ORDER


--
"rm -rf" only sounds scary if you don't have backups

Debian Bug Tracking System

unread,
Oct 23, 2008, 3:00:24 PM10/23/08
to

Your message dated Thu, 23 Oct 2008 18:32:17 +0000
with message-id <E1Kt4yn-...@ries.debian.org>
and subject line Bug#503144: fixed in libgsf 1.14.10-3
has caused the Debian Bug report #503144,
regarding FTBFS on armel: gsf-scan, ** ERROR **: Compilation trouble with endianess.
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.)


--
503144: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503144
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems

Debian Bug Tracking System

unread,
Oct 27, 2008, 3:30:23 PM10/27/08
to

Your message dated Mon, 27 Oct 2008 19:02:08 +0000
with message-id <E1KuXLs-...@ries.debian.org>
and subject line Bug#503144: fixed in libgsf 1.14.8-1lenny1
0 new messages