Bug#259326: marked as done (libgnomeprint: FTBFS: missing endian support for some architectures)

Debian Bug Tracking System owner@bugs.debian.org
Fri, 08 Oct 2004 03:03:23 -0700


Your message dated Fri, 8 Oct 2004 11:51:23 +0200
with message-id <20041008095123.GA12989@xinara.org>
and subject line libgnomeprint: FTBFS: missing endian support for some architectures
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Jul 2004 02:05:23 +0000
>From lamont@mmjgroup.com Tue Jul 13 19:05:23 2004
Return-path: <lamont@mmjgroup.com>
Received: from mmjgroup.com [192.34.35.33] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BkZ98-0000j6-00; Tue, 13 Jul 2004 19:05:23 -0700
Received: from mix.mmjgroup.com (mix.mmjgroup.com [192.34.35.48])
	by mmjgroup.com (Postfix) with ESMTP
	id A6D4616E65; Tue, 13 Jul 2004 20:05:13 -0600 (MDT)
Received: by mix.mmjgroup.com (Postfix, from userid 1000)
	id BB10023826; Tue, 13 Jul 2004 20:05:11 -0600 (MDT)
From: LaMont Jones <lamont@mmjgroup.com>
Subject: libgnomeprint: FTBFS: missing endian support for some architectures
To: submit@bugs.debian.org
X-Mailer: bug 3.3.10.1
Message-Id: <20040714020511.BB10023826@mix.mmjgroup.com>
Date: Tue, 13 Jul 2004 20:05:11 -0600 (MDT)
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.4 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	UPPERCASE_25_50 autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: libgnomeprint
Version: 2.7.0-0
Severity: normal
Tags: experimental patch

When building on amd64, the following error occurs:
>  cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgnomeprint -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DGPA_MODULES_DIR=\"/usr/lib/libgnomeprint/2.7.0/modules\" -DGPA_DATA_DIR=\"/usr/share/libgnomeprint/2.7.0\" -DNO_MAPPERS -DNO_TYPE3 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -Wall -O2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -c sft.c -MT sft.lo -MD -MP -MF .deps/sft.TPlo  -fPIC -DPIC -o .libs/sft.o
> In file included from sft.c:52:
> sft.h:127:2: #error "Either G_BIG_ENDIAN or G_LITTLE_ENDIAN should be defined."

A patch which solves this through the simple addition of <endian.h> can be
found at http://http.amd64.no-name-yet.com/patches/libgnomeprint.amd64.diff.

lamont

-- System Information
Debian Release: testing/unstable
Kernel Version: Linux mix.mmjgroup.com 2.4.22-lj4 #1 SMP Tue Sep 23 22:12:51 MDT 2003 i686 unknown unknown GNU/Linux


---------------------------------------
Received: (at 259326-done) by bugs.debian.org; 8 Oct 2004 09:51:29 +0000
>From ray@xinara.org Fri Oct 08 02:51:29 2004
Return-path: <ray@xinara.org>
Received: from mail.o2w.nl [213.227.141.209] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CFrPN-0006xc-00; Fri, 08 Oct 2004 02:51:29 -0700
Received: from zensunni.xinara.org (unknown [217.22.72.48])
	(using TLSv1 with cipher RC4-SHA (128/128 bits))
	(Client did not present a certificate)
	by mail.o2w.nl (Postfix) with ESMTP
	id 62740358FD; Fri,  8 Oct 2004 11:51:24 +0200 (CEST)
Received: from ray by zensunni.xinara.org with local (Exim 4.34)
	id 1CFrPH-0003Nv-Ip; Fri, 08 Oct 2004 11:51:23 +0200
Date: Fri, 8 Oct 2004 11:51:23 +0200
From: "J.H.M. Dassen (Ray)" <jdassen@debian.org>
To: 259326-done@bugs.debian.org, control@bugs.debian.org
Subject: Re: libgnomeprint: FTBFS: missing endian support for some architectures
Message-ID: <20041008095123.GA12989@xinara.org>
Reply-To: 259326@bugs.debian.org
References: <20040714020511.BB10023826@mix.mmjgroup.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20040714020511.BB10023826@mix.mmjgroup.com>
Organization: Ray at home
X-System: Debian GNU/Linux 3.1, kernel 2.4.28-pre3
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 259326-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,VALID_BTS_CONTROL 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 2

forwarded 259326 http://bugzilla.gnome.org/show_bug.cgi?id=145300
tags 259326 + upstream fixed-upstream
thanks

On Tue, Jul 13, 2004 at 20:05:11 -0600, LaMont Jones wrote:
> Package: libgnomeprint
> Version: 2.7.0-0
> Severity: normal
> Tags: experimental patch
> 
> When building on amd64, the following error occurs:
> >  cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../libgnomeprint -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libart-2.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/freetype2 -DBINDIR=\"/usr/bin\" -DDATADIR=\"/usr/share\" -DGPA_MODULES_DIR=\"/usr/lib/libgnomeprint/2.7.0/modules\" -DGPA_DATA_DIR=\"/usr/share/libgnomeprint/2.7.0\" -DNO_MAPPERS -DNO_TYPE3 -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -Wall -O2 -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -c sft.c -MT sft.lo -MD -MP -MF .deps/sft.TPlo  -fPIC -DPIC -o .libs/sft.o
> > In file included from sft.c:52:
> > sft.h:127:2: #error "Either G_BIG_ENDIAN or G_LITTLE_ENDIAN should be defined."
> 
> A patch which solves this through the simple addition of <endian.h> can be
> found at http://http.amd64.no-name-yet.com/patches/libgnomeprint.amd64.diff.

Upstream appears to have resolved this issue in a cleaner way, by using the
endian information from glib rather than duplicating endianness detection in
a kludgy way; see
http://cvs.gnome.org/viewcvs/libgnomeprint/libgnomeprint/ttsubset/sft.h?rev=1.2&view=markup
and
http://cvs.gnome.org/viewcvs/libgnomeprint/libgnomeprint/ttsubset/sft.c?rev=1.2&view=markup

These changes have already gone into libgnomeprint 2.8.0(.1) which are the
current versions in sarge and sid, so I'm closing this report.

Regards,
Ray
-- 
First they ignore you.
Then they laugh at you.
Then they fight you.
Then you win.		 - Gandhi