Bug 91244

Summary: Bad instruction on making process of jdk14
Product: Ports & Packages Reporter: Joao Francisco Alves Borges <joao_francisco_borges>
Component: Individual Port(s)Assignee: freebsd-java (Nobody) <java>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Joao Francisco Alves Borges 2006-01-03 00:30:08 UTC
jar expansion instruction wrong in jdk14 port.
it seems that the directory ($I DON'T KNOW WHERE)/sun/security/jgss/spi haven't been made by the script forcing the jar program to exit with IOException. 

cd  /usr/ports/java/jdk14/work/control/build/bsd-i586/classes; /usr/local/linux-sun-jdk1.4.2/bin/jar xf jgss_kerberos.jar  sun/security/jgss/spi
java.io.IOException: sun/security/jgss/spi : could not create directory
        at sun.tools.jar.Main.extractFile(Main.java:709)
        at sun.tools.jar.Main.extract(Main.java:684)
        at sun.tools.jar.Main.run(Main.java:190)
        at sun.tools.jar.Main.main(Main.java:904)
gmake[4]: *** [/usr/ports/java/jdk14/work/control/build/bsd-i586/classes/sun/security/jgss/spi] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/redist'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/redist'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.

Fix: 

It is probably a bad path.
How-To-Repeat: after placing the Sun files in /usr/ports/distfiles

cd /usr/ports/java/linux-sun-jdk1.4.2
make all install clean
cd /usr/ports/java/jdk14
make all install clean
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-01-03 00:42:38 UTC
Responsible Changed
From-To: freebsd-ports-bugs->phantom

Over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-03-31 09:58:08 UTC
State Changed
From-To: open->feedback

Submitter: does this problem still recur? 


Comment 3 Mark Linimon freebsd_committer freebsd_triage 2006-03-31 09:58:08 UTC
Responsible Changed
From-To: phantom->freebsd-java

Reassign from phantom since he has been inactive for more than one year. 

Hat:	gnats-admin
Comment 4 Stefan Walter freebsd_committer freebsd_triage 2007-04-05 17:20:03 UTC
Hi,

do you still see the problem described in your PR, or has this been
resolved already? If the problem doesn't exist any more, it would be nice
to know so we could close the PR.

Regards,
Stefan
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2007-10-08 00:59:00 UTC
State Changed
From-To: feedback->closed

Feedback timeout (5 months).