Bug 165629 - rebuild fails on x86_64 and s390x
Summary: rebuild fails on x86_64 and s390x
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gnome-terminal
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Ray Strode [halfline]
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2005-08-10 22:13 UTC by Ben Levenson
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2005-08-11 15:38:43 UTC

Attachments (Terms of Use)

Description Ben Levenson 2005-08-10 22:13:05 UTC
Description of problem:
Platform ALL selected, but really only applies to s390x and x86_64.

-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/X11R6/include
-I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2
-I/usr/include/freetype2/config -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libxml2 -I/usr/include/libgnomeui-2.0
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0
-I/usr/include/startup-notification-1.0 -O2 -g -pipe -m64 -Wall -o
gnome-terminal encoding.o profile-editor.o skey-popup.o terminal.o
terminal-accels.o terminal-profile.o terminal-screen.o terminal-widget-vte.o
terminal-window.o simple-x-font-selector.o eggaccelerators.o
eggcellrendererkeys.o -Wl,--export-dynamic -Wl,--rpath -Wl,/usr/lib64 
-L/usr/X11R6/lib64 -pthread eel/.libs/libeelcnp.a skey/.libs/libskey.a
-lglade-2.0 -lgnomeui-2 -lbonoboui-2 -lxml2 -lpthread -lgnomecanvas-2 -lgnome-2
/usr/lib/libpopt.so -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2
-lstartup-notification-1 -lvte -lz -lncurses -lSM -lICE -lXft -lX11 -lfreetype
-lXrender -lgtk-x11-2.0 -lfontconfig -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgnomevfs-2
-lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0
/usr/lib/libpopt.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [gnome-terminal] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/gnome-terminal-2.7.3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gnome-terminal-2.7.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gnome-terminal-2.7.3'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.30370 (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.30370 (%build)

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpmbuild -bb gnome-terminal.spec
2. rebuild exits with error above
3. notice that libpopt.so is 32-bit

Additional info:
I would expect it to be looking for /usr/lib64/libpopt.so.

Comment 1 Ray Strode [halfline] 2005-08-11 02:26:32 UTC
When stuff like this happens it's usually a badly written/wrong pkgconfig .pc
file from a dependency.  I'll poke around and see what I can find.

Comment 5 Ray Strode [halfline] 2005-08-11 15:38:43 UTC
Okay, so I've worked around this by using the system installed libtool instead
of the libtool generated by configure and by forcing CC=gcc.

I guess it's some sort of weird libtool bug.

It's commited into CVS, so the fix should go out next time gnome-terminal needs
an erratum in a quarterly update.

Note You need to log in before you can comment on or make changes to this bug.