From owner-freebsd-java@FreeBSD.ORG Wed Apr 27 11:26:15 2011 Return-Path: Delivered-To: java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 811A3106564A; Wed, 27 Apr 2011 11:26:15 +0000 (UTC) (envelope-from venture37@geeklan.co.uk) Received: from host1.hosts.geeklan.co.uk (host1.hosts.geeklan.co.uk [IPv6:2001:4978:254:48::1]) by mx1.freebsd.org (Postfix) with ESMTP id 521FB8FC0C; Wed, 27 Apr 2011 11:26:15 +0000 (UTC) Received: from sevans-mac-pro.local (n3.venture37.net [91.103.132.218]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by host1.hosts.geeklan.co.uk (Postfix) with ESMTPSA id A051D142033; Wed, 27 Apr 2011 12:26:12 +0100 (BST) Message-ID: <4DB7FD4D.1090205@geeklan.co.uk> Date: Wed, 27 Apr 2011 12:26:05 +0100 From: Venture37 User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: FreeBSD-gnats-submit@freebsd.org Content-Type: multipart/mixed; boundary="------------060606070301040706080901" Cc: java@freebsd.org Subject: [PATCH] java/openjdk6: make x11-fonts/dejavu a build dep as build fails otherwise X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 11:26:15 -0000 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--