pkgsrc-Users archive

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

Re: Problem building misc/libreoffice



On Mon, Jun 06, 2016 at 12:22:39PM +0000, coypu%SDF.ORG@localhost wrote:
> On Mon, Jun 06, 2016 at 10:59:46AM +0200, Thomas Klausner wrote:
> > On Fri, Jun 03, 2016 at 05:51:54AM +0800, Paul Goyette wrote:
> > > On Thu, 2 Jun 2016, Thomas Klausner wrote:
> > > 
> > > >>[build GAL] diagrams
> > > >>[build GAL] education
> > > >>Work on gallery 'file:///tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/workdir/Gallery/diagrams'
> > > >>Existing themes: 0
> > > >>gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/solenv/gbuild/Gallery.mk:72: /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/workdir/Gallery/arrows.done] Error 1
> > > >>gmake[1]: *** Waiting for unfinished jobs....
> > > >>gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/solenv/gbuild/Gallery.mk:72: /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/workdir/Gallery/diagrams.done] Error 1
> > > >>gmake[1]: *** [/tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/solenv/gbuild/Gallery.mk:72: /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/workdir/Gallery/computers.done] Error 1
> > > >>gmake: *** [Makefile:246: build] Error 2
> > > >>*** Error code 2
> > > >
> > > >gengal.bin needs paxctl +m set to work.
> > > 
> > > Any suggestions on how to set this?  As far as I can see, gengal.bin gets
> > > installed in /usr/pkg/libreoffice-5.1.3.2/lib/libreoffice/program/
> > > eventually.  But is it properly installed at the time that it gets used by
> > > the build?  Or is it using the pre-installation version in the build
> > > directory?
> > 
> > Since it is used during the build, we need to find a good place in the
> > libreoffice Makefiles where we can add the paxctl call.
> > I haven't found it yet.
> >  Thomas
> 
> how about svx/Executable_gengal.mk?

A libreoffice developer pointed out that I can generate gengal
directly, then run paxctl it, and then build the rest of libreoffice,
so that's what I did in the package.

I've also marked one libreoffice binary as needing paxctl +m, perhaps
more are needed.
 Thomas


Home | Main Index | Thread Index | Old Index