ghex 64bit build errors.

Thorsten Leemhuis fedora at leemhuis.info
Tue Dec 28 11:24:36 UTC 2004


CCing fedora.us maintainer

Am Montag, den 27.12.2004, 18:08 +0100 schrieb Thorsten Leemhuis:
> 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.
> > 
> > http://dag.wieers.com/packages/ghex/
> 
> Maybe

I rechecked;

> - he has no popt.i386 installed on the x86_64 build system that causes
> the build to fail as it did for seth

Yes, the error quoted above happens with dag's package also when popt
for i386 is installed.

> - he has no /usr/lib/rpm/check-rpaths in his .rpmmacros that warns and
> fails about a hard-compiled rpath (seen locally here without the
> autoreconf)

Yes, also:

+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
ERROR: file '/usr/bin/ghex2' contains a standard rpath '/usr/lib64' in [/usr/lib64]
Fehler: Bad exit status from /var/tmp/rpm-tmp.79246 (%install)

But, BTW, dag has:

BuildRequires: ORBit
BuildRequires: gnome-print-devel >= 0.24

>From the first sight it seems these needed in out package also, but i
did not look closely.

Cu
thl
-- 
Thorsten Leemhuis <fedora at leemhuis.info>




More information about the fedora-extras-list mailing list