ghex 64bit build errors.

Thorsten Leemhuis fedora at leemhuis.info
Sat Dec 25 19:31:11 UTC 2004


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)
> 
> 
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.11654 (%build)
> make: *** [x86_64] Error 1
> 
> I've got both popt.i386 and popt.x86_64 installed.

Yes, that part of the problem -- with only x86_64 it builds fine. Seems
the included libtool has a bug, compiling it with /usr/bin/libtool
instead seems to fix it.

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.

But standard-build with a ~/.rpmmacrocs created with fedora-buildrpmtree
also fails on x86_64 during rpatch check (/usr/lib64 hardcoded
in /usr/bin/ghex2 IIRC). Don't know how to fix this (if we want to fix
it).

CU
thl 

-- 
Thorsten Leemhuis <fedora at leemhuis.info>




More information about the fedora-extras-list mailing list