Bug 35658 - java/jdk13 creates too small src.jar
Summary: java/jdk13 creates too small src.jar
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Greg Lewis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-08 02:20 UTC by Ernst de Haan
Modified: 2002-04-12 06:02 UTC (History)
1 user (show)

See Also:


Attachments
patch-common::Release.gmk (1.05 KB, text/plain; charset=us-ascii)
2002-03-09 18:51 UTC, Greg Lewis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst de Haan freebsd_committer freebsd_triage 2002-03-08 02:20:01 UTC
When installing the java/jdk13 port (patchlevel 6), the generated src.jar file
is way too small (around 11K).

Fix: 

Dunno.
How-To-Repeat: Install the port java/jdk13.
Comment 1 Greg Lewis 2002-03-08 16:33:33 UTC
No solution yet, but I know what the problem is.  Basically, before the
source is jarred up it is copied over to the release image staging area
using tar.  Unfortunately there are too many files for tar to do this in
one big hit and it dies with the error:

/usr/bin/tar: argument list too long

So, the only contents in the source staging area when the jarring occurs
are the header files which are copied separately to the Java source.

I'm looking into a few different workarounds for this.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Web   : http://www.eyesbeyond.com
Information Technology
Comment 2 Pete Fritchman freebsd_committer freebsd_triage 2002-03-08 16:40:32 UTC
Responsible Changed
From-To: freebsd-ports->java

Over to maintainers
Comment 3 Greg Lewis 2002-03-09 18:51:11 UTC
Attached patch works for me.  Put it in

/ports/java/jdk13/files/patch-common::Release.gmk

and you should be right.

Obviously this is less efficient, but compared to the entire build process
the impact is very minimal.

-- 
Greg Lewis                            Email : glewis@eyesbeyond.com
Eyes Beyond                           Web   : http://www.eyesbeyond.com
Information Technology
Comment 4 Ernst de Haan freebsd_committer freebsd_triage 2002-03-11 10:32:19 UTC
Responsible Changed
From-To: java->znerd

I'll handle the submitted patch.
Comment 5 Ernst de Haan freebsd_committer freebsd_triage 2002-03-11 10:37:28 UTC
The patch has been committed. Thanks, Greg!

Ernst


On Saturday 09 March 2002 19:51, Greg Lewis wrote:
> Attached patch works for me.  Put it in
>
> /ports/java/jdk13/files/patch-common::Release.gmk
>
> and you should be right.
>
> Obviously this is less efficient, but compared to the entire build process
> the impact is very minimal.

-- 
Ernst de Haan
EuroNet Internet B.V.

    "Come to me all who are weary and burdened
        and I will give you rest" -- Jesus Christ
Comment 6 Ernst de Haan freebsd_committer freebsd_triage 2002-04-03 22:09:06 UTC
Responsible Changed
From-To: znerd->glewis

Over to the porter.
Comment 7 Greg Lewis freebsd_committer freebsd_triage 2002-04-12 06:01:43 UTC
State Changed
From-To: open->closed

Close this PR after committing a patch that fixes it.