From owner-freebsd-ports@FreeBSD.ORG Mon May 9 09:02:56 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10BFC106566B; Mon, 9 May 2011 09:02:56 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.freebsd.org (Postfix) with ESMTP id A64B98FC12; Mon, 9 May 2011 09:02:55 +0000 (UTC) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.14.4/8.14.4) with ESMTP id p498opsk036490; Mon, 9 May 2011 01:50:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.14.4/8.14.4/Submit) id p498opix036489; Mon, 9 May 2011 01:50:51 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 9 May 2011 01:50:51 -0700 From: Greg Lewis To: Peter Jeremy Message-ID: <20110509085051.GA28197@misty.eyesbeyond.com> References: <20110507044810.GA77119@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20110507044810.GA77119@server.vk2pj.dyndns.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, m.tsatsenko@gmail.com, glewis@FreeBSD.org Subject: Re: java/jdk15 doesn't build with latest open-motif X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2011 09:02:56 -0000 G'day Peter, On Sat, May 07, 2011 at 02:48:10PM +1000, Peter Jeremy wrote: > Following the recent update to open-motif-2.3.3, jdk15 no longer > builds. The failing point is: Should be fixed now. Give it a whirl. >=20 > /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused -Wno-pa= rentheses -pipe -fno-omit-frame-pointer -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSIO= N=3D2 -DXMSTRINGDEFINES=3D1 -DMOTIF_VERSION=3D2 -Damd64 -DARCH=3D'"amd64"'= -DRELEASE=3D'"1.5.0_16-p9"' -DFULL_VERSION=3D'"1.5.0_16-p9-peter_07_may_20= 11_08_28"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE -D_L= P64=3D1 -I. -I/tank/obj/usr/ports/java/jdk15/work/control/build/bsd-amd64/t= mp/sun/sun.awt/motif21/CClassHeaders -I../../../src/solaris/javavm/export -= I../../../src/share/javavm/export -I../../../src/share/javavm/include -I../= =2E./../src/solaris/javavm/include -I../../../src/share/native/common -I../= =2E./../src/solaris/native/common -I../../../src/share/native/sun/awt -I../= =2E./../src/solaris/native/sun/awt -I/usr/local/include -I/usr/local/incl= ude -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/= sun/awt/../font -I../../../src/solaris/native/sun/awt/../font -I../../../sr= c/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvut= ils -I../../../src/share/native/sun/awt/shell -I../../../src/share/native/s= un/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../= =2E./src/solaris/native/sun/awt/medialib -I../../../src/share/native/sun/aw= t/../java2d -I../../../src/solaris/native/sun/awt/../java2d -I../../../src/= share/native/sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/..= /java2d/pipe -I../../../src/share/native/sun/awt/../java2d/opengl -I../../.= =2E/src/solaris/native/sun/awt/../java2d/opengl -I../../../src/share/native= /sun/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../.= =2E/src/solaris/native/sun/awt/../jdga -I/usr/local/include -I/usr/local/i= nclude/X11/extensions -DX11DIR=3D\"/usr/local\" -DLOCALDIR=3D\"/usr/local\"= -c -o /tank/obj/usr/ports/java/jdk15/work/control/build/bsd-amd64/tmp/sun= /sun.awt/motif21/obj64/awt_TextField.o ../../../src/solaris/native/sun/awt= /awt_TextField.c > In file included from ../../../src/solaris/native/sun/awt/awt_TextField.c= :25: > ../../../src/solaris/native/sun/awt/awt_TextField.h:13: warning: useless = storage class specifier in empty declaration > In file included from /usr/local/include/X11/Xft/Xft.h:39, > from /usr/local/include/Xm/TextFP.h:47, > from ../../../src/solaris/native/sun/awt/awt_TextField.c= :31: > /usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: N= o such file or directory > In file included from /usr/local/include/Xm/TextFP.h:47, > from ../../../src/solaris/native/sun/awt/awt_TextField.c= :31: > /usr/local/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME= " or > In file included from /usr/local/include/Xm/TextFP.h:47, > from ../../../src/solaris/native/sun/awt/awt_TextField.c= :31: >=20 > The include of /usr/local/include/X11/Xft/Xft.h is new with > open-motif-2.3.3: /usr/local/include/Xm/TextFP.h now contains > #ifdef USE_XFT > #include > #endif > and USE_XFT is defined by /usr/local/include/Xm/Xm.h which is earlier > included via the "#include " from awt_TextField.c >=20 > exists on the system but print/freetype2 > installs it into /usr/include/freetype2 which isn't in the search path. >=20 > Could you please look into this. >=20 > --=20 > Peter Jeremy --=20 Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org