Bug 56007 - jdk13: pkg-plist incorrect for green-threads version
Summary: jdk13: pkg-plist incorrect for green-threads version
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: java (show other bugs)
Version: 4.8-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-26 17:00 UTC by Simon Barner
Modified: 2003-08-31 23:43 UTC (History)
0 users

See Also:


Attachments
file.diff (927 bytes, patch)
2003-08-26 17:00 UTC, Simon Barner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Barner 2003-08-26 17:00:36 UTC
There seems to be something wrong with the pkg-plist (I build it
without any of the extra-options).

When I deinstall the jdk, the following directories are left in
/usr/local/jdk1.3.1:

./jre
./jre/bin
./jre/bin/i386
./jre/bin/i386/native_threads
./bin
./bin/i386
./bin/i386/native_threads

If I interpret the current pkg-plist correctly, then the
``native_threads'' directories are added to that list, if you request
native thread support. Since these directories are created also in an
installation with green threads, ``pkg_delete'' complains that it cannot
remove ``./jre/bin/i386 '' and ``./bin/i386''.

Fix: Either patch the installation script such that it does not create the
``native_threads'' directories for the green threads installation or
remove the ``%%NATIVE:%%'' tag for these directories.

The following patch does this (untested):
How-To-Repeat: Install the jdk from the ports collection and deinstall it.
Comment 1 Greg Lewis freebsd_committer freebsd_triage 2003-08-26 19:54:36 UTC
Responsible Changed
From-To: freebsd-java->glewis

Over to maintainer.
Comment 2 Greg Lewis freebsd_committer freebsd_triage 2003-08-31 23:43:26 UTC
State Changed
From-To: open->closed

Native threads java_vm binaries are no longer installed when 
only green threads are wanted.