pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 2011Q1 OpenOffice3 build problem
> Since the setting of USE_BUILTIN.pixman=no was done only after
> the first failed attempt at building openoffice3, and after lots
> of other packages had been built, I've decided once more to
> retreat to square 0, i.e. with only pkg_install installed, and
> with that setting included, to see if that improves matters.
I've now done exactly that, and "no joy".
I got a tip that gnuplot could reproduce the same problem, and
sure enough...
I've done an objdump -p loop over the buildlinked shared objects:
# pwd
/usr/pkgsrc/graphics/gnuplot/work/.x11-buildlink/lib
# for f in *.so; do
> if objdump -p $f | egrep -q libpixman; then
> echo $f
> objdump -p $f | egrep RPATH
> fi
> done
libcairo-script-interpreter.so
RPATH /usr/pkg/lib:/usr/X11R7/lib
libcairo.so
RPATH /usr/pkg/lib:/usr/X11R7/lib
libpangocairo-1.0.so
RPATH /usr/pkg/lib:/usr/X11R7/lib
libpixman-1.so
RPATH /usr/pkg/lib
#
which all seems perfectly sane.
The last line in work/.work.log is, expanded for readability:
<.> /usr/pkgsrc/graphics/gnuplot/work/.gcc/bin/gcc
-O2
-I/usr/pkgsrc/graphics/gnuplot/work/.buildlink/include
-I/usr/pkgsrc/graphics/gnuplot/work/.x11-buildlink/include
-I/usr/pkgsrc/graphics/gnuplot/work/.x11-buildlink/include/freetype2
-L/usr/pkgsrc/graphics/gnuplot/work/.buildlink/lib
-Wl,-R/usr/pkg/lib
-L/usr/pkgsrc/graphics/gnuplot/work/.x11-buildlink/lib
-Wl,-R/usr/X11R7/lib
-pthread
-o gnuplot_x11
gplt_x11.o gpexecute.o getcolor_x11.o
-R/usr/X11R7/lib
-pthread
-lX11 -lm -lpangocairo-1.0 -lcairo -lpangoft2-1.0
-lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobject-2.0
-lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl
which also looks sane.
The libpixman from .buildlink/lib/ points to the right spot as
well:
# ls -l libpixman*
lrwxr-xr-x 1 root wheel 26 Jul 3 22:32 libpixman-1.a ->
/usr/pkg/lib/libpixman-1.a
-rw-r--r-- 1 root wheel 1034 Jul 3 22:32 libpixman-1.la
lrwxr-xr-x 1 root wheel 27 Jul 3 22:32 libpixman-1.so ->
/usr/pkg/lib/libpixman-1.so
lrwxr-xr-x 1 root wheel 29 Jul 3 22:32 libpixman-1.so.0 ->
/usr/pkg/lib/libpixman-1.so.0
lrwxr-xr-x 1 root wheel 34 Jul 3 22:32 libpixman-1.so.0.20.2 ->
/usr/pkg/lib/libpixman-1.so.0.20.2
#
However, doing a "ktrace -i make install" followed by objdump
reveals:
16658 1 ld CALL open(0xbb90e980,0,0x1b6)
16658 1 ld NAMI "/usr/X11R7/lib/libpixman-1.so.0"
16658 1 ld RET open 5
and it probably goes downhill from there. Why the *&^(*&^ does
it reference that one?
It seems that none of the libraries in /usr/X11R7/lib references
libpixman either, so it's apparently not being pulled in by some
other built-in library.
Any more tracing I can do to close in on the problem?
Regards,
- Håvard
Home |
Main Index |
Thread Index |
Old Index