Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 14:48:10 +1000
From:      Peter Jeremy <peterjeremy@acm.org>
To:        glewis@FreeBSD.org, m.tsatsenko@gmail.com
Cc:        ports@FreeBSD.org
Subject:   java/jdk15 doesn't build with latest open-motif
Message-ID:  <20110507044810.GA77119@server.vk2pj.dyndns.org>

next in thread | raw e-mail | index | archive | help

--tKW2IUtsqtDRztdT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

Following the recent update to open-motif-2.3.3, jdk15 no longer
builds.  The failing point is:

/usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall  -Wno-unused -Wno-pare=
ntheses -pipe -fno-omit-frame-pointer -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=
=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_201=
1_08_28"' -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -D_LP=
64=3D1 -I. -I/tank/obj/usr/ports/java/jdk15/work/control/build/bsd-amd64/tm=
p/sun/sun.awt/motif21/CClassHeaders -I../../../src/solaris/javavm/export -I=
=2E./../../src/share/javavm/export -I../../../src/share/javavm/include -I..=
/../../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/inclu=
de  -I../../../src/share/native/sun/awt/debug -I../../../src/share/native/s=
un/awt/../font -I../../../src/solaris/native/sun/awt/../font -I../../../src=
/share/native/sun/awt/image -I../../../src/share/native/sun/awt/image/cvuti=
ls -I../../../src/share/native/sun/awt/shell -I../../../src/share/native/su=
n/awt/alphacomposite -I../../../src/share/native/sun/awt/medialib -I../../.=
=2E/src/solaris/native/sun/awt/medialib -I../../../src/share/native/sun/awt=
/../java2d -I../../../src/solaris/native/sun/awt/../java2d -I../../../src/s=
hare/native/sun/awt/../java2d/loops -I../../../src/share/native/sun/awt/../=
java2d/pipe -I../../../src/share/native/sun/awt/../java2d/opengl -I../../..=
/src/solaris/native/sun/awt/../java2d/opengl -I../../../src/share/native/su=
n/awt/../dc/doe -I../../../src/share/native/sun/awt/../dc/path -I../../../s=
rc/solaris/native/sun/awt/../jdga  -I/usr/local/include -I/usr/local/includ=
e/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:2=
5:
=2E./../../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:3=
1:
/usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No =
such file or directory
In file included from /usr/local/include/Xm/TextFP.h:47,
                 from ../../../src/solaris/native/sun/awt/awt_TextField.c:3=
1:
/usr/local/include/X11/Xft/Xft.h:40:10: error: #include expects "FILENAME" =
or <FILENAME>
In file included from /usr/local/include/Xm/TextFP.h:47,
                 from ../../../src/solaris/native/sun/awt/awt_TextField.c:3=
1:

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 <X11/Xft/Xft.h>
 #endif
and USE_XFT is defined by /usr/local/include/Xm/Xm.h which is earlier
included via the "#include <Xm/VirtKeys.h>" from awt_TextField.c

<freetype/config/ftheader.h> exists on the system but print/freetype2
installs it into /usr/include/freetype2 which isn't in the search path.

Could you please look into this.

--=20
Peter Jeremy

--tKW2IUtsqtDRztdT
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iEYEARECAAYFAk3EzwoACgkQ/opHv/APuIeTCACeJpsi43O6tg3x9p/TAAsIlXfc
hcEAn28xCGB+3VuKzzaricTPANTUogS5
=l4Yz
-----END PGP SIGNATURE-----

--tKW2IUtsqtDRztdT--



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