tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Failed to build lang/guile22 on -current amd64
On Tue, Dec 11, 2018 at 07:39:33PM +0100, Benny Siegert wrote:
> I am in the middle of yet another pkg_rr, and lang/guile22 failed to
> build for me. There is an error from the bootstrap compiler about
> mprotect:
>
> GEN guile-procedures.texi
> mprotect remapping failed
> [1] Broken pipe cat alist.doc array-handle.doc
> array-map.doc a... |
> Abort trap (core dumped) GUILE_AUTO_COMPILE=0 ../meta/build-env guild s...
> gmake[3]: *** [Makefile:4281: guile-procedures.texi] Error 1
> gmake[3]: Leaving directory '/usr/pkgsrc/lang/guile22/work/guile-2.2.4/libguile'
> gmake[2]: *** [Makefile:2423: all] Error 2
> gmake[2]: Leaving directory '/usr/pkgsrc/lang/guile22/work/guile-2.2.4/libguile'
> gmake[1]: *** [Makefile:1857: all-recursive] Error 1
> gmake[1]: Leaving directory '/usr/pkgsrc/lang/guile22/work/guile-2.2.4'
> gmake: *** [Makefile:1743: all] Error 2
> *** Error code 2
>
> I kludged around this by doing
> cd work/guile-2.2.4/libguile
> libtool --mode=execute paxctl +m guile
>
> With this, the build went fine. Anyone else seen this?
I saw this in the boehm-gc self-tests.
sysctl -w security.pax.mprotect.enabled=0
probably also "fixes" it. Someone knowledgeable in this area (joerg? :) ) should take a look...
Thomas
Home |
Main Index |
Thread Index |
Old Index