ghex 64bit build errors.

Thorsten Leemhuis fedora at leemhuis.info
Mon Jan 3 17:17:51 UTC 2005


Am Montag, den 27.12.2004, 17:38 +0100 schrieb Michael Schwendt:
> On Mon, 27 Dec 2004 16:25:56 +0100, Thorsten Leemhuis wrote:
> 
> > Am Samstag, den 25.12.2004, 20:31 +0100 schrieb Thorsten Leemhuis:
> > > Am Mittwoch, den 22.12.2004, 16:03 -0500 schrieb seth vidal:
> > > >  Building ghex for 64bit I get the following error:
> > > > 
> > > > gcc -O2 -g -pipe -m64 -o .libs/ghex2 hex-document-ui.o preferences.o
> > > > findreplace.o converter.o config.o main.o ui.o chartable.o session.o
> > > > print.o ghex-window.o gnome-print-font-dialog.o gnome-print-font-
> > > > picker.o factory.o hex-dialog.o -Wl,--export-dynamic  -pthread 
> > > > -L/usr/X11R6/lib64 -lgnomeui-2 -lSM -lICE -lbonoboui-2 
> > > > -lgnome-2 /usr/lib/libpopt.so -lbonobo-2 -lgconf-2 -lgnomevfs-2 
> > > > -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgnomeprintui-2-2 
> > > > -lgnomeprint-2-2 -lgnomecanvas-2 -lxml2 -lpthread -lz -lart_lgpl_2 
> > > > -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
> > > > -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0
> > > > -ldl -lglib-2.0 ./.libs/libgtkhex.so -Wl,--rpath 
> > > > -Wl,/usr/lib64/usr/lib/libpopt.so: could not read symbols: File in wrong
> > > > format
> > > > collect2: ld returned 1 exit status
> > > > make[3]: *** [ghex2] Error 1
> > > > make[3]: Leaving directory
> > > > `/rpmbuild/extras/cvs/rpms/ghex/devel/ghex-2.8.0/src'make[2]: *** [all-
> > > > recursive] Error 1
> > > > make[2]: Leaving directory
> > > > `/rpmbuild/extras/cvs/rpms/ghex/devel/ghex-2.8.0'
> > > > make[1]: *** [all-recursive-am] Error 2
> > > > make[1]: Leaving directory
> > > > `/rpmbuild/extras/cvs/rpms/ghex/devel/ghex-2.8.0'
> > > > error: Bad exit status from /var/tmp/rpm-tmp.11654 (%build)
> > > > 
> > > Will try to look deeper into it and create a patch on monday that fixed
> > > this. I can also update it to 2.8.1 while at it.
> > 
> > Was harder then I thought -- result is here:
> > 
> > http://www.leemhuis.info/files/fedorarpms/SRPMS.fdr/ghex-2.8.1-1.src.rpm
> > 
> > Works fine on i386 and x86_64; Diff below; I'm not sure if there is a
> > better way to fix but I found none...
> 
> Dag Wieers' ghex 2.8.1 package for x86_64 seems to build without
> the need for autoreconf stuff to be added.

I looked at it again an found another way to fix it. A simple 

make %{?_smp_mflags} LIBTOOL=/usr/bin/libtool
insted of
make %{?_smp_mflags}

solves the rpath and the popt.i386 problems also. Is there someone with
libtool/autoconf experience reading here? Is that a safe way to fix this
problem? 

BTW: A 

BuildConflicts:	popt.i386

or similar things did also not work. Is it somehow possible to
BuildConflict popt.i386, but (indirect trough other BR) BuildRequire
popt.x86_64?

CU
thl

P.S.: Two other build fixes for pre-extras-x86_64:

ocaml-3.07-5
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143878

imlib2
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=143863

Would be nice if someone could comment one those also and/or commit to
CVS. Or how am I supposed to bring those fixes in? QA Entry in
fedora.us?
-- 
Thorsten Leemhuis <fedora at leemhuis.info>




More information about the fedora-extras-list mailing list