Bug 111176
Summary: | buildrequires: self | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Zenon Panoussis <redhatbugs> |
Component: | at-spi | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED NEXTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3.0 | CC: | andreas |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-07-27 19:29:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1184460 |
Description
Zenon Panoussis
2003-11-28 20:23:48 UTC
I tried rebuilding the atk-spi SRPM on several buildenvironments. However, I keep constantly getting the same error: gcc -shared bridge.lo -Wl,--rpath -Wl,/usr/src/redhat/BUILD/at-spi-1.1.9/libspi/.libs -L/usr/lib -L/usr/X11R6/lib -lSM -lICE -lX11 -lbonobo-2 -lbonobo-activation -lORBit-2 -lm /usr/lib/liblinc.so -lgthread-2.0 -latk-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lspi ../libspi/.libs/libspi.so -Wl,--export-dynamic -Wl,-soname -Wl,libatk-bridge.so -o .libs/libatk-bridge.so /usr/bin/ld: cannot find -lspi collect2: ld returned 1 exit status make[2]: *** [libatk-bridge.la] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/at-spi-1.1.9/atk-bridge' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/at-spi-1.1.9' make: *** [all-recursive-am] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.68474 (%build) The error leads me to suspect that ld wants to link against the just built libspi.so file but fails. Exporting CFLAGS="-L../libspi/.libs" prevents the error from occuring here. However, this doesn't help as a few seconds later this error occurs: Making all in libspi make[2]: Entering directory `/usr/src/redhat/BUILD/at-spi-1.1.9/libspi' /bin/sh ../libtool --mode=link gcc -L../libspi/.libs -L/usr/X11R6/lib -lSM -lICE -lX11 -pthread -Wl,--export-dynamic -lbonobo-2 -lbonobo-activation -lORBit-2 -llinc -lgthread-2.0 -lgailutil -lgnomecanvas-2 -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 -lXtst -version-info 8:1:8 -o libspi.la -rpath /usr/lib accessible.lo action.lo application.lo base.lo component.lo editabletext.lo hyperlink.lo hypertext.lo image.lo devicelistener.lo relation.lo remoteobject.lo selection.lo stateset.lo table.lo text.lo util.lo value.lo listener.lo eventlistener.lo Accessibility-stubs.lo Accessibility-skels.lo Accessibility-common.lo ../libtool: line 1: cd: ../libspi/.libs: No such file or directory libtool: link: cannot determine absolute directory name of `../libspi/.libs' make[2]: *** [libspi.la] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/at-spi-1.1.9' make: *** [all-recursive-am] Error 2 The directory ../libspi/.libs has been deleted by now, prompting libtool to fail. Should no longer be an issue, at-spi has been successfully built in our new build system, which would choke on circular dependencies. |