pkgsrc-Bugs archive

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

pkg/44294: java-vm.mk needs updating after recent jdk work



>Number:         44294
>Category:       pkg
>Synopsis:       java-vm.mk needs updating after recent jdk work
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 29 16:30:00 +0000 2010
>Originator:     Francois Tigeot
>Release:        NetBSD 4.0.1+ and DragonFly 2.6+
>Organization:
>Environment:
DragonFly sekishi.zefyris.com 2.9-DEVELOPMENT DragonFly 
v2.9.1.349.gdbe026-DEVELOPMENT #0: Wed Dec 29 12:39:46 CET 2010     
ftigeot%sekishi.zefyris.com@localhost:/usr/obj/usr/src/sys/BADAXE64  x86_64
>Description:
With the recent work on wip/jdk15 and wip/jdk16, these packages can now
be installed on more platforms:
- NetBSD/i386, NetBSD/amd64 and DragonFly systems for wip/jdk15
- NetBSD/i386 and NetBSD/amd64 for jdk16

Howewer, on machines having one of these packages installed, it is not possible 
to install packages depending on Java:

www/apache-tomcat6# bmake
WARNING: [license.mk] Every package should define a LICENSE.
ERROR: This package has set PKG_FAIL_REASON:
ERROR: no acceptable JVM found
*** Error code 1

Stop.

>How-To-Repeat:
Try to install a package depending on Java on a machine having only wip/jdk15 
and/or wip/jdk16.

www/apache-tomcat6 is a good example.
>Fix:
Loosen the platform checks in java-vm.mk :

 _ONLY_FOR_PLATFORMS.jdk15= \
-       DragonFly-*-i386 \
-       NetBSD-[2-9].*-i386
+       DragonFly-*-* \
+       NetBSD-[2-9].*-i386 NetBSD-[4-9]*-x86_64

This is only for wip/jdk15. The same thing needs to be done for wip/jdk16.



Home | Main Index | Thread Index | Old Index