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



<maya%netbsd.org@localhost> wrote:

> 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

It seems the problem is that the build process produces an intermediate
java binary that is not PIE.

When the build failed, I did a paxctl +m on the offending program:
pkg_comp/obj/pkgsrc/lang/openjdk7/default/openjdk/build/bsd-i586/bin/jav
a

And I resumed the build, I had to do it twice and the build completed. 

How can this be properly handled by pkgsrc?


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index