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

2008-10-23 Thread J.H.M. Dassen (Ray)
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?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-10-23 Thread Riku Voipio
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.0 +
+++ libgsf-1.14.10/gsf/gsf-utils.c  2008-10-23 07:03:25.0 +
@@ -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



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



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

2008-10-22 Thread Riku Voipio
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=libgsfarch=armelver=1.14.10-2stamp=1224698766file=logas=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 [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]