Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2011 12:26:05 +0100
From:      Venture37 <venture37@geeklan.co.uk>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        java@freebsd.org
Subject:   [PATCH] java/openjdk6: make x11-fonts/dejavu a build dep as build fails otherwise
Message-ID:  <4DB7FD4D.1090205@geeklan.co.uk>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------060606070301040706080901
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

 >Submitter-Id:  current-users
 >Originator:    Sevan Janiyan
 >Organization:  Venture 37 Ltd
 >Confidential:  no
 >Synopsis:      [PATCH] java/openjdk6: make x11-fonts/dejavu a build 
dep as build fails otherwise
 >Severity:      non-critical
 >Priority:      low
 >Category:      ports
 >Class:         change-request
 >Release:       FreeBSD 8.2-RELEASE amd64
 >Environment:
System: FreeBSD opennmsdev.somedomain.local 8.2-RELEASE FreeBSD 
8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011
 >Description:
When attempting to build java/openjdk6 on a fresh system with IPv6 
option selected the build fails,
if x11-fonts/dejavu a fresh build succeeds.

cd 
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated; 
  cp includeDB 
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/includeDB.currentcd 
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated; 
  cp /usr/ports/java/openjdk6/work/hotspot/make/bsd/platform_amd64 
/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product/../generated/platform.current
gmake[6]: Entering directory 
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[6]: *** No rule to make target 
`/usr/ports/java/openjdk6/work/hotspot/src/cpu/amd64/vm/x86_64.ad', 
needed by `../generated/adfiles/bsd_x86_64.ad'.  Stop.
gmake[6]: *** Waiting for unfinished jobs....
gmake[6]: Leaving directory 
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[5]: *** [ad_stuff] Error 2
gmake[5]: Leaving directory 
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir/bsd_amd64_compiler2/product'
gmake[4]: *** [product] Error 2
gmake[4]: Leaving directory 
`/usr/ports/java/openjdk6/work/build/bsd-amd64/hotspot/outputdir'
gmake[3]: *** [generic_build2] Error 2
gmake[3]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[2]: *** [product] Error 2
gmake[2]: Leaving directory `/usr/ports/java/openjdk6/work/hotspot/make'
gmake[1]: *** [hotspot-build] Error 2
gmake[1]: Leaving directory `/usr/ports/java/openjdk6/work'
gmake: *** [build_product_image] Error 2
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1

Stop in /usr/ports/java/openjdk6.
*** Error code 1


Port maintainer (java@FreeBSD.org) is cc'd.

 >How-To-Repeat:
 >Fix:

--------------060606070301040706080901
Content-Type: text/plain;
 name="openjdk.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="openjdk.txt"

diff -ruN --exclude=CVS /usr/ports/java/openjdk6.orig/Makefile /usr/ports/java/openjdk6/Makefile
--- /usr/ports/java/openjdk6.orig/Makefile	2011-04-26 22:19:49.667187867 +0000
+++ /usr/ports/java/openjdk6/Makefile	2011-04-26 21:57:57.538536880 +0000
@@ -33,7 +33,8 @@
 
 BUILD_DEPENDS=	zip:${PORTSDIR}/archivers/zip \
 		unzip:${PORTSDIR}/archivers/unzip \
-		${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client
+		${LOCALBASE}/include/cups/cups.h:${PORTSDIR}/print/cups-client \
+		${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
 LIB_DEPENDS=	freetype.9:${PORTSDIR}/print/freetype2
 RUN_DEPENDS=	javavm:${PORTSDIR}/java/javavmwrapper \
 		${LOCALBASE}/lib/X11/fonts/dejavu:${PORTSDIR}/x11-fonts/dejavu
===> Done

--------------060606070301040706080901--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DB7FD4D.1090205>