pkgsrc-Users archive

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

Re: Problem building misc/libreoffice



On Tue, May 31, 2016 at 07:19:10PM +0800, Paul Goyette wrote:
> On Tue, 31 May 2016, Thomas Klausner wrote:
> 
> >On Tue, May 31, 2016 at 07:14:20PM +0800, Paul Goyette wrote:
> >>With pkgsrc current as of 2016-05-30 at 21:47:12 UTC, and all other packages
> >>having already been rebuilt from scratch (starting with zero installed
> >>packages), I'm getting
> >>
> >>...
> >>checking if /usr/pkg/bin/ant works... configure: WARNING: Ant does not work - Some Java projects will not build!
> >>checking whether Ant is >= 1.6.0... test: initialization enough: bad number
> >>test: initialization enough: bad number
> >>configure: error: no, you need at least Ant >= 1.6.0
> >>Error running configure at /tmp/pkgs/misc/libreoffice/work.x86_64/libreoffice-5.1.3.2/autogen.sh line 269.
> >>*** Error code 25
> >>
> >>Stop.
> >>make[1]: stopped in /build/pkgsrc/misc/libreoffice
> >>*** Error code 1
> >>
> >>
> >>Any clues?  Is this just more fallout from the gmake issue?
> >
> >One of your java or ant binaries isn't properly paxctml+m'd.
> 
> Certainly a possibility, but since these are never used directly (at least,
> not on my machine), I wouldn't know which one(s) to fix.  Heck, I don't even
> know what binaries they produce (I guess I could go look at the PLISTs ...)
> :)

Look in config.log.

> It would have been nice if the mprotect fallout had been anticipated, and
> had been addressed in the package Makefiles ...  :)

If you don't want to deal with this, just turn off mprotect:

sysctl -w security.pax.mprotect.enabled=0

 Thomas


Home | Main Index | Thread Index | Old Index