ports/83000: trang depends on the non-free JDK, it should depend on the free gcj

Stephane Bortzmeyer bortzmeyer at nic.fr
Tue Jul 5 09:30:19 UTC 2005


>Number:         83000
>Category:       ports
>Synopsis:       trang depends on the non-free JDK, it should depend on the free gcj
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 05 09:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Stephane Bortzmeyer
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
AFNIC
>Environment:
System: FreeBSD esther.generic-nic.net 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
     trang (a XML tool) depends on Sun's non-free Java Development Kit:

esther:~ % sudo portinstall   trang
...
===>   trang-2003.06.19 depends on file: /usr/local/jdk1.4.2/bin/java - not found
===>    Verifying reinstall for /usr/local/jdk1.4.2/bin/java in /usr/ports/java/jdk14
===>  jdk-1.4.2p7_1 :
 The source distribution exists on your system, but due to
 licensing restrictions you still need to download the
 patchset, bsd-jdk14-patches-7.tar.gz, from
 http://www.eyesbeyond.com/freebsddom/java/jdk14.html.
 Please place the patchset in /usr/ports/distfiles.

But trang works fine with the GNU Java compiler (gcj or gcc-java). The
Debian package, for instance, uses gcj and not JDK.


>How-To-Repeat:
      cd /usr/ports/textproc/trang
      make

>Fix:

  Compile the gcc port with Java support and change the trang port to
  use it



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list