tech-pkg archive

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

Re: Building land/openjdk7 on NetBSD 8.0



On Sat, Jul 28, 2018 at 03:48:15AM +0200, Emmanuel Dreyfus wrote:
> openjdk7 has trouble building on NetBSD 8.0:
> /pkg_comp/obj/pkgsrc/lang/openjdk7/default/openjdk/build/bsd-i586/lib/i386/client/libjvm.so: text relocations
> Error: dl failure on line 892
> Error: failed /pkg_comp/obj/pkgsrc/lang/openjdk7/default/openjdk/build/bsd-i586/lib/i386/client/libjvm.so, because /pkg_comp/obj/pkgsrc/lang/openjdk7/default/openjdk/build/bsd-i586/lib/i386/client/libjvm.so: Cannot write-enable text segment: Permission denied
> 
> Any hint? openjdk8 builds fine.
> 

Copying anything with the word 'paxctl' in it in openjdk8 can probably
help. sounds like a big package change. If you just want to build the
package right now, this will probably help:
sysctl -w security.pax.mprotect.enabled=0


Home | Main Index | Thread Index | Old Index