Subject: pkg/26262: JDK dependencies broken in java-vm.mk if JRE installed
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <abs@absd.org>
List: pkgsrc-bugs
Date: 07/12/2004 14:56:17
>Number: 26262
>Category: pkg
>Synopsis: JDK dependencies broken in java-vm.mk if JRE installed
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Jul 12 13:57:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: David Brownlee
>Release: NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD forsaken 2.0_BETA NetBSD 2.0_BETA (_FORSAKEN_) #6: Thu Jul 8 13:47:54 BST 2004 root@tll.i.purplei.com:/var/obj/i386/files/netbsd/2.0/sys/arch/i386/compile/_FORSAKEN_ i386
Architecture: i386
Machine: i386
>Description:
If a JRE is installed and
If PKG_JDK is set a split JDK/JRE, and the JRE is installed without
the JDK then java-vm.mk will report that "matching package ''" is
not found and try to rebuild and reinstall the JRE before the JDK,
obviously failing
# pkg_info|grep sun-
sun-jre14-2.5 Sun's Java(tm) 2 Runtime Environment 1.4.2
# make clean
===> Cleaning for jdbc-postgresql-7.4.3
# make
===> *** No /files/netbsd/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for postgresql-7.4.3.tar.bz2.
work -> /var/obj/pkg/databases/jdbc-postgresql74/work
===> Extracting for jdbc-postgresql-7.4.3
===> Required package : NOT found
===> Verifying package for ../../lang/sun-jre14
===> *** No /files/netbsd/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Installing for sun-jre14-2.5
===> sun-jre14-2.5 is already installed - perhaps an older version?
*** If so, you may use either of:
*** - "pkg_delete sun-jre14-2.5" and "/usr/bin/make reinstall" to upgrade properly
*** - "/usr/bin/make update" to rebuild the package and all of its dependencies
*** - "/usr/bin/make replace" to replace only the package without re-linking
*** dependencies, risking various problems.
*** Error code 1
Stop.
make: stopped in /files/netbsd/pkgsrc/lang/sun-jre14
*** Error code 1
Stop.
make: stopped in /files/netbsd/pkgsrc/lang/sun-jre14
*** Error code 1
Stop.
make: stopped in /files/netbsd/pkgsrc/lang/sun-jre14
*** Error code 1
Stop.
make: stopped in /files/netbsd/pkgsrc/databases/jdbc-postgresql74
*** Error code 1
Stop.
make: stopped in /pkgsrc/databases/jdbc-postgresql74
(9:forsaken /pkgsrc/databases/jdbc-postgresql74)27#
>How-To-Repeat:
pkg_add sun-jre14
pkg_delete sun-jdk14
cd /pkgsrc/databases/jdbc-postgresql74
make update
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: