pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Can't build LibreOffice



On Thu, 2019-06-13 at 09:47 +0900, Ryo ONODERA wrote:
> Hi,
> 
> 
> "David H. Gutteridge" <david%gutteridge.ca@localhost> writes:
> 
> > On Sat, 2019-06-08 at 23:01 +0900, Ryo ONODERA wrote:
> > > Hi,
> > > 
> > > "David H. Gutteridge" <david%gutteridge.ca@localhost> writes:
> > > 
> > > > On Wed, 05 Jun 2019, at 17:05:27 +0900, Ryo ONODERA wrote:
> > > > > Hi,
> > > > > 
> > > > > Marc Baudoin <babafou%babafou.eu.org@localhost> writes:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > On NetBSD/amd64 8.1, with up-to-date pkgsrc tree and
> > > > > > packages, I
> > > > > > can't build LibreOffice:
> > > > > > 
> > > > > > checking whether system Harfbuzz is built with Graphite
> > > > > > support...
> > > > > checking for hb_graphite2_face_get_gr_face... no
> > > > > > configure: error: Harfbuzz needs to be built with Graphite
> > > > > > support.
> > > > > 
> > > > > Could you confirm your pkgsrc/fonts/harfbuzz has the following
> > > > > revisions?
> > > > > 
> > > > > Makefile,v 1.113 2019/06/03 12:27:48 ryoon
> > > > > buildlink3.mk,v 1.10 2019/06/03 12:27:48 ryoon
> > > > > 
> > > > > These revisions fixes my mistakes.
> > > > 
> > > > Post those revisions, I've experienced this same build failure
> > > > with
> > > > unrelated packages, e.g. x11/libxfce4util. (This is of course on
> > > > a
> > > > machine that didn't already have graphite2 installed.)
> > > 
> > > Could you try to rebuild fonts/harfbuzz and build x11/libxfce4util
> > > again?
> > > I have no problem with latest fonts/harfbuzz.
> > > 
> > > Thank you.
> > 
> > Manually rebuilding fonts/harfbuzz addressed the issue for me with
> > x11/libxfce4util, as well as with misc/libreoffice.
> 
> Hmm...
> 
> Could you send a result of 'ldd /usr/pkg/lib/libharfbuzz.so.0.20400.0'
> to me?
> 
> Mine is here:
> $ ldd /usr/pkg/lib/libharfbuzz.so.0.20400.0
> /usr/pkg/lib/libharfbuzz.so.0.20400.0:
>         -lm.0 => /usr/lib/libm.so.0
>         -lc.12 => /usr/lib/libc.so.12
>         -lintl.1 => /usr/lib/libintl.so.1
>         -lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0
>         -lpcre.1 => /usr/pkg/lib/libpcre.so.1
>         -lpthread.1 => /usr/lib/libpthread.so.1
>         -lfreetype.6 => /usr/pkg/lib/libfreetype.so.6
>         -lz.1 => /usr/lib/libz.so.1
>         -lbz2.1 => /usr/lib/libbz2.so.1
>         -lgraphite2.3 => /usr/pkg/lib/libgraphite2.so.3
>         -lstdc++.9 => /usr/lib/libstdc++.so.9
>         -lgcc_s.1 => /usr/lib/libgcc_s.so.1
> 
> This result should have -lgraphite.2.3 line.
> 
> Thank you.

Mine's the same there as yours:

/usr/pkg/lib/libharfbuzz.so.0.20400.0:
        -lm.0 => /usr/lib/libm.so.0
        -lc.12 => /usr/lib/libc.so.12
        -lglib-2.0.0 => /usr/pkg/lib/libglib-2.0.so.0
        -lpcre.1 => /usr/pkg/lib/libpcre.so.1
        -lintl.1 => /usr/lib/libintl.so.1
        -lpthread.1 => /usr/lib/libpthread.so.1
        -lfreetype.18 => /usr/X11R7/lib/libfreetype.so.18
        -lz.1 => /usr/lib/libz.so.1
        -lbz2.1 => /usr/lib/libbz2.so.1
        -lgraphite2.3 => /usr/pkg/lib/libgraphite2.so.3
        -lstdc++.9 => /usr/lib/libstdc++.so.9
        -lgcc_s.1 => /usr/lib/libgcc_s.so.1

(I also encountered a separate issue with pango not being detected
during a firefox rebuild. I didn't have any time to look into it, so I
just rebuilt pango, and that problem went away too. Could have been a
local issue somehow.)

Regards,

Dave




Home | Main Index | Thread Index | Old Index