pkgsrc-Users archive

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

Re: openjdk21 build error



Hi,

Mayuresh <mayuresh%acm.org@localhost> writes:

> On NetBSD 10.1 amd64, pkgsrc-current updated over git today,
> lang/openjdk21 with jdk-21.0.8+9-1, with all options disabled, I get this
> error:
>
>     cd /usr/pkgsrc/work/lang/openjdk21/work/jdk21u-jdk-21.0.8-9-1/build/bsd-x86_64--release/images/jdk && pax -rwpp .           /usr/pkgsrc/work/lang/openjdk21/work/.destdir/usr/pkg/java/openjdk21/.
>     cd: can't cd to /usr/pkgsrc/work/lang/openjdk21/work/jdk21u-jdk-21.0.8-9-1/build/bsd-x86_64--release/images/jdk
>
> I see the actual directory name to be:
>
>     /usr/pkgsrc/work/lang/openjdk21/work/jdk21u-jdk-21.0.8-9-1/build/bsd-x86_64-server-release/images/jdk/
>
> i.e. build is looking for bsd-x86_64--release while actual directory is bsd-x86_64-server-release
>
> Any suggestions?

I think that you cannot disable all options of lang/openjdk21 because
it has PKG_OPTIONS_GROUP.
Could you provide your exact value of PKG_OPTIONS.openjdk21 and
result of `make show-options` with me?

If once I can reproduce your problem, it may be easy to fix your problem.

Thank you.


> -- 
> Mayuresh

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index