icedtea6 build fails on Debian unstable (sid) with "missing return value"
Stuart Pook
mail4openjdk2java9net at stuart.es
Thu Apr 24 17:41:47 UTC 2008
Hi
I'm trying to build icedtea6 from Mercurial on my Debian unstable (sid)
system. The build stopped in "build-bootstrap-javac" with the
message "missing return value". My system is up to date. I guess that
I'm missing a dependancy. Any help would be very much appreciated.
I read http://iced-tea.org/wiki/DebianBuildingInstructions and
http://doc.cliss21.com/index.php?title=IcedTea which indicated that
building on Debian Lenny is easy. Why doesn't building on Debian
unstable work?
Perhaps I'm not using the correct compiler. Which is the best one to
use? I have included the output from "./configure --with-jar=gjar-4.3"
Thanks
Stuart
Here are some of the messages:
build-bootstrap-javac:
[mkdir] Created dir:
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/gensrc
[mkdir] Created dir:
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/classes
[pcompile] Generating 7 resource files to
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/gensrc
[copy] Copying 1 file to
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/gensrc
[pcompile] Generating 1 resource files to
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/gensrc
[javac] Compiling 8 source files to
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/classes
[javac] Compiling 243 source files to
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/control/build/linux-i586/langtools/build/bootstrap/classes
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/element/Modifier.java:74:
missing return value
[javac] return lowercase;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/type/TypeKind.java:157:
missing return value
[javac] return true;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/type/TypeKind.java:160:
missing return value
[javac] return false;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/element/NestingKind.java:97:
missing return value
[javac] return this != TOP_LEVEL;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/element/ElementKind.java:101:
missing return value
[javac] return this == CLASS || this == ENUM;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/element/ElementKind.java:111:
missing return value
[javac] return this == INTERFACE || this == ANNOTATION_TYPE;
[javac] ^
[javac]
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk/langtools/src/share/classes/javax/lang/model/element/ElementKind.java:121:
missing return value
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for make... /usr/bin/make
checking for gzip... /bin/gzip
checking for ant... /usr/bin/ant
checking for find... /usr/bin/find
checking for patch... /usr/bin/patch
checking for tar... /bin/tar
checking for chmod... /bin/chmod
checking for md5sum... /usr/bin/md5sum
checking for wget... /usr/bin/wget
checking for zip... /usr/bin/zip
checking for unzip... /usr/bin/unzip
checking for cpio... /bin/cpio
checking for file... /usr/bin/file
checking for fastjar... fastjar
checking for gawk... /usr/bin/gawk
checking for gij... no
checking for java... /usr/bin/java
checking for ecj... /usr/bin/ecj
checking for javac... /usr/bin/ecj -nowarn
checking for gjavah... no
checking for javah... /usr/bin/javah
checking for gjar-4.3... /usr/bin/gjar-4.3
checking for grmic... no
checking for rmic... /usr/bin/rmic
checking for eclipse-ecj.jar... /usr/share/java/eclipse-ecj.jar
checking for libgcj-4.3.0.jar or libgcj-4.1.2.jar...
/usr/share/java/libgcj-4.3.jar
checking for xalan2 jar... /usr/share/java/xalan2.jar
checking for xalan2-serializer jar... /usr/share/java/serializer.jar
checking for xerces2 jar... /usr/share/java/xercesImpl.jar
checking openjdk source zip... not specified
checking openjdk sources...
/home/stuart/install/icedtea/Mercurial/icedtea6/openjdk
checking whether to use CACAO as VM... no
checking whether to disable optimizations... checking how to run the C
preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use the zero-assembler port... no
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/ppd.h usability... yes
checking cups/ppd.h presence... yes
checking for cups/ppd.h... yes
checking X11/X.h usability... yes
checking X11/X.h presence... yes
checking for X11/X.h... yes
checking Xm/Xm.h usability... yes
checking Xm/Xm.h presence... yes
checking for Xm/Xm.h... yes
checking Xm/XmP.h usability... yes
checking Xm/XmP.h presence... yes
checking for Xm/XmP.h... yes
checking Xm/Display.h usability... yes
checking Xm/Display.h presence... yes
checking for Xm/Display.h... yes
checking for main in -ljpeg... yes
checking for main in -lgif... yes
checking for main in -lz... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XPROTO... yes
checking for XT... yes
checking for XP... yes
checking for X11... yes
checking for XINERAMA... yes
checking for LIBPNG... yes
checking for XTST... yes
checking for FREETYPE2... yes
checking for ALSA... yes
checking for MOZILLA... no
checking for MOZILLA... no
checking for MOZILLA... no
checking for MOZILLA... no
checking for MOZILLA... no
checking for MOZILLA... no
checking for MOZILLA... yes
checking for GLIB... yes
checking for GTK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating javac
config.status: creating javap
config.status: creating platform_zero
config.status: creating jvm.cfg
config.status: creating ergo.c
config.status: executing depfiles commands
mkdir -p bootstrap/ecj/bin stamps/
ln -sf /usr/bin/java bootstrap/ecj/bin/java
ln -sf /usr/bin/javah bootstrap/ecj/bin/javah
ln -sf /usr/bin/rmic bootstrap/ecj/bin/rmic
ln -sf /usr/bin/gjar-4.3 bootstrap/ecj/bin/jar
ln -sf ../../../javac bootstrap/ecj/bin/javac
ln -sf ../../../javap bootstrap/ecj/bin/javap
More information about the build-dev
mailing list