wip/jdk15 does not build in pkgsrc-2011Q4 DFBSD 3.0

peeter (must) karu.pruun at gmail.com
Fri Feb 24 09:59:05 PST 2012


Hi all

wip/jdk15 (pkgsrc-wip-20120223-snapshot.tar.gz) does not build on
pkgsrc-2011Q4 in DFBSD 3.0.1 x86_64 (used to build on 2.10, don't know
branch though). There seems to be a problem with finding

freetype/config/ftheader.h

which actually exists in

/usr/pkg/include/freetype2

I am not sure how to fix it. Any ideas?

Thanks

Peeter

--


---
gmake[4]: Entering directory `/usr/pkgsrc/wip/jdk15/work/j2se/make/sun/motif21'
rm -f /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/.classes.list
if [ -s /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/.classes.list
] ; \
then /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/bin/javac
-J-XX:ThreadStackSize=1536 -J-Xms64m -J-Xmx256m -classpath
/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/classes
-bootclasspath "/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/lib/jce.jar:/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/lib/jsse.jar"
-sourcepath "/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/gensrc:../../../src/solaris/classes:../../../src/share/classes"
-target 1.5 -d /usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/classes
-encoding ascii   -source 1.5  \
     ; \
fi
/usr/pkgsrc/wip/jdk15/work/.wrapper/bin/gcc -O2 -fno-strict-aliasing
-fPIC -W -Wall  -Wno-unused -Wno-parentheses -pipe
-fno-omit-frame-pointer -DMLIB_NO_LIBSUNMATH -DMOTIF_VERSION=2
-DXMSTRINGDEFINES=1 -DMOTIF_VERSION=2  -Damd64 -DARCH='"amd64"'
-DRELEASE='"1.5.0_16-p9"'
-DFULL_VERSION='"1.5.0_16-p9-neo_24_feb_2012_16_50"' -D_GNU_SOURCE
-D_REENTRANT -D_THREAD_SAFE -D_ALLBSD_SOURCE  -D_LP64=1 -I.
-I/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/CClassHeaders
-I../../../src/solaris/javavm/export
-I../../../src/share/javavm/export -I../../../src/share/javavm/include
-I../../../src/solaris/javavm/include
-I../../../src/share/native/common
-I../../../src/solaris/native/common
-I../../../src/share/native/sun/awt
-I../../../src/solaris/native/sun/awt   -I/usr/pkg/include
-I/usr/X11R6/include  -I../../../src/share/native/sun/awt/debug
-I../../../src/share/native/sun/awt/../font
-I../../../src/solaris/native/sun/awt/../font
-I../../../src/share/native/sun/awt/image
-I../../../src/share/native/sun/awt/image/cvutils
-I../../../src/share/native/sun/awt/shell
-I../../../src/share/native/sun/awt/alphacomposite
-I../../../src/share/native/sun/awt/medialib
-I../../../src/solaris/native/sun/awt/medialib
-I../../../src/share/native/sun/awt/../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../../../src/solaris/native/sun/awt/../java2d/opengl
-I../../../src/share/native/sun/awt/../dc/doe
-I../../../src/share/native/sun/awt/../dc/path
-I../../../src/solaris/native/sun/awt/../jdga  -I/usr/X11R6/include
-I/usr/X11R6/include/X11/extensions -DX11DIR=\"/usr/X11R6\"
-DLOCALDIR=\"/usr/local\"  -c -o
/usr/pkgsrc/wip/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/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:39,
                 from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
                 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/ft2build.h:56:38: error:
freetype/config/ftheader.h: No such file or directory
In file included from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
                 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:40:10:
error: #include expects "FILENAME" or <FILENAME>
In file included from
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/Xm/TextFP.h:47,
                 from ../../../src/solaris/native/sun/awt/awt_TextField.c:31:
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:60: error:
expected '=', ',', ';', 'asm' or '__attribute__' before
'_XftFTlibrary'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:94: error:
expected specifier-qualifier-list before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:101:
error: expected specifier-qualifier-list before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:188:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:188:
error: expected ';', ',' or ')' before '*' token
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:293:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:293:
error: expected ';', ',' or ')' before '*' token
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:352:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'XftLockFace'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:391:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:391:
error: expected ';', ',' or ')' before '*' token
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:397:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:397:
error: expected ';', ',' or ')' before '*' token
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:406:
error: expected declaration specifiers or '...' before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:407:
error: expected declaration specifiers or '...' before 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:416:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'XftCharIndex'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:449:
warning: type defaults to 'int' in declaration of 'FT_UInt'
/usr/pkgsrc/wip/jdk15/work/.buildlink/include/X11/Xft/Xft.h:449:
error: expected ';', ',' or ')' before '*' token
../../../src/solaris/native/sun/awt/awt_TextField.c: In function 'echoChar':
../../../src/solaris/native/sun/awt/awt_TextField.c:116: warning:
comparison between signed and unsigned integer expressions
../../../src/solaris/native/sun/awt/awt_TextField.c:127: warning:
comparison between signed and unsigned integer expressions
../../../src/solaris/native/sun/awt/awt_TextField.c:140: warning:
comparison between signed and unsigned integer expressions
../../../src/solaris/native/sun/awt/awt_TextField.c: In function
'Java_sun_awt_motif_MTextFieldPeer_setText':
../../../src/solaris/native/sun/awt/awt_TextField.c:501: warning:
comparison with string literal results in unspecified behavior
../../../src/solaris/native/sun/awt/awt_TextField.c: In function
'Java_sun_awt_motif_MTextFieldPeer_insertReplaceText':
../../../src/solaris/native/sun/awt/awt_TextField.c:544: warning:
comparison with string literal results in unspecified behavior
../../../src/solaris/native/sun/awt/awt_TextField.c: In function
'Java_sun_awt_motif_MTextFieldPeer_setEchoChar':
../../../src/solaris/native/sun/awt/awt_TextField.c:753: warning:
comparison between signed and unsigned integer expressions
gmake[4]: *** [/usr/pkgsrc/wip/jdk15/work/control/build/bsd-amd64/tmp/sun/sun.awt/motif21/obj64/awt_TextField.o]
Error 1
gmake[4]: Leaving directory `/usr/pkgsrc/wip/jdk15/work/j2se/make/sun/motif21'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/pkgsrc/wip/jdk15/work/j2se/make/sun/motif21'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/wip/jdk15/work/j2se/make/sun'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/wip/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wip/jdk15
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wip/jdk15
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wip/jdk16
comp#
---





More information about the Users mailing list