pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[SOLVED] Re: Problem building devel/at-spi2-core
On Tue, Mar 11, 2014 at 08:52:31 +0000, Patrick Welche wrote:
> On Mon, Mar 10, 2014 at 03:55:56PM -0700, Iain Morgan wrote:
> > While attempting to build editors/emacs on a SLES 11 system, I
> > encountered an issue with devel/at-spi2-core. This happens both with
> > current pkgsrc cvs and the 2013Q4 releases.
> >
> > So far, I haven't found a workaround for the issue.
> >
> > CC at_spi2_registryd-display.o
> > CC at_spi2_registryd-event-source.o
> > CCLD at-spi2-registryd
> > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libxcb-xlib.so:
> > undefined reference to `_xcb_lock_io'
> > /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/libxcb-xlib.so:
> > undefined reference to `_xcb_unlock_io'
> > collect2: ld returned 1 exit status
> > make[2]: *** [at-spi2-registryd] Error 1
> > make[2]: Leaving directory
> > `/nobackupnfs2/imorgan/pkgsrc/cvs/workdir/devel/at-spi2-core/work/at-spi2-core-2.10
> > .2/registryd'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/nobackupnfs2/imorgan/pkgsrc/cvs/workdir/devel/at-spi2-core/work/at-spi2-core-2.10
>
>
> It is looking like installed X library versionitis.
>
> http://cgit.freedesktop.org/xcb/libxcb/commit/?id=d989656cde2ee7a4a66b2065209ef389495f3452
>
> suggests that libxcb-xlib.so has gone since 2008, so it's slightly surprising
> that anything is trying to use it - at-spi2-core isn't, but it does depend
> on X.
>
> Cheers,
>
> Patrick
I finally got around to poking at this issue some more. After examining
the work.log, I found that the problem was due to the inclusion of the
system-provided libXevie.
Adding '.include "../../x11/libXevie/buildlinks.mk' to the Makefile for
devel/at-spi2-core resolved the issue for me. So it looks like the
solution would be to either (conditionally) include that line, or
adding --disable-xevie to CONFIGURE_ARGS. Both of these work; the latter
seems cleaner, but presumably loses some functionality.
--
Iain Morgan
Home |
Main Index |
Thread Index |
Old Index