OpenJDK 8 compact profiles fail to build with make 4.0
Emmanuel Bourg
ebourg at apache.org
Sat May 31 13:35:15 UTC 2014
Hi,
I'd like to report an issue with the build for the OpenJDK 8 compact
profiles. On Debian the build fails when PropertyChangeListener is
removed from the pack200 classes:
## Starting profiles
/usr/bin/find: `/home/ebourg/jdk8u-dev/build/images/lib': No such file
or directory
make[2]: *** No rule to make target
'/home/ebourg/jdk8u-dev/build/images/beanless/java/util/jar/Pack200\$Packer.class',
needed by '/home/ebourg/jdk8u-dev/build/images/libprofile_1/rt.jar'. Stop.
make[2]: *** Waiting for unfinished jobs....
Removed method
addPropertyChangeListener(java.beans.PropertyChangeListener) from
java/util/logging/LogManager
Removed method
removePropertyChangeListener(java.beans.PropertyChangeListener) from
java/util/logging/LogManager
BuildJdk.gmk:113: recipe for target 'profile_1' failed
make[1]: *** [profile_1] Error 2
/home/ebourg/jdk8u-dev//make/Main.gmk:147: recipe for target
'profiles-only' failed
make: *** [profiles-only] Error 2
The same issue was reported last year on Arch Linux:
http://mail.openjdk.java.net/pipermail/build-dev/2013-July/009557.html
It looks like this error is caused by GNU Make 4.0 which is now the
default in Debian. I was able to build the compact profiles after
downgrading make to the version 3.81.
OpenJDK 9 isn't affected by this issue because the
add/removePropertyChangeListener() methods are already removed.
Make 4.0 caused another regression (JDK-8028407) which has been fixed
for OpenJDK 9. Could you also consider backporting it to OpenJDK 8 please?
Thank you,
Emmanuel Bourg
More information about the build-dev
mailing list