[libbluray-devel] [bug-report] libbluray git/master build error: BDFramePeer is not abstract and does not override abstract method

chrysippus at operamail.com chrysippus at operamail.com
Wed Jan 30 18:58:30 CET 2013


I'm building libbluray/head on linux/64,

	git clone  git://git.videolan.org/libbluray.git cd libbluray
	git branch -a
	    master remotes/origin/HEAD -> origin/master
	    remotes/origin/master
	git log | head -n 10
	    commit 1178aedf927d770392e21243dee8b46e1bb95611 Author: hpi1
	    <hpi1@…> Date: Thu Jan 24 14:19:38 2013 +0200

	        updated xine plugin (BD-J / ARGB overlay support)

	uname -a
	    Linux build 3.4.11-2.16-desktop #1 SMP PREEMPT Wed Sep 26
	    17:05:00 UTC 2012 (259fc87) x86_64 x86_64 x86_64 GNU/Linux

	gcc -v
	    ... gcc version 4.7.2 20130108 [gcc-4_7-branch revision
	    195012] (SUSE Linux)

	ls -al which javac /etc/alternatives/javac
	    lrwxrwxrwx 1 root root 43 Sep 6 02:28
	    /etc/alternatives/javac ->
	    /usr/lib64/jvm/java-1.7.0-openjdk/bin/javac* lrwxrwxrwx 1
	    root root 23 Jun 22 2012 /usr/bin/javac ->
	    /etc/alternatives/javac*

	javac -version
	    Picked up _JAVA_OPTIONS: -Dswing.aatext=true
	    -Dawt.useSystemAAFontSettings=on -Xmx512M javac 1.7.0_09


For a simple configure,

	./bootstrap
	./configure \
		--libdir=/usr/local/lib64 \
		--with-jdk=/usr/lib64/jvm/java-1.7.0-openjdk-1.7.0 \
		--enable-bdjava \
		--disable-doxygen-doc

the build fails,

	make
		...
		make all-recursive
		make[1]: Entering directory `/usr/local/src/libbluray'
		Making all in src
		make[2]: Entering directory
		`/usr/local/src/libbluray/src' Making all in .
		make[3]: Entering directory
		`/usr/local/src/libbluray/src' ant -f
		../src/libbluray/bdj/build.xml -Dsrc_awt=:java-j2se
		Picked up _JAVA_OPTIONS: -Dswing.aatext=true
		-Dawt.useSystemAAFontSettings=on -Xmx512M
		Buildfile:
		/usr/local/src/libbluray/src/libbluray/bdj/build.xml

	    init:

	    compile:

		[javac]
		/usr/local/src/libbluray/src/libbluray/bdj/build.xml:20:
		warning: 'includeantruntime' was not set, defaulting to
		build.sysclasspath=last; set to false for repeatable
		builds
		[javac] Compiling 6 source files to
		/usr/local/src/libbluray/src/libbluray/bdj/build
		[javac] warning: [options] bootstrap class path not set
		in conjunction with -source 1.4
		[javac]
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:28:
		warning: FramePeer? is internal proprietary API and may
		be removed in a future release
		[javac] public class BDFramePeer extends BDComponentPeer
		implements FramePeer?
		[javac] [javac]
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDLightweightComponentPeer.java:25:
		warning: LightweightPeer? is internal proprietary API
		and may be removed in a future release
		[javac] public abstract class BDLightweightComponentPeer
		extends BDComponentPeer implements LightweightPeer?
!!!             [javac]
/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:28:
error: BDFramePeer is not abstract and does not override abstract method
updateGraphicsData(GraphicsConfiguration?) in ComponentPeer?
		[javac] public class BDFramePeer extends BDComponentPeer
		implements FramePeer?
		[javac] [javac]
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:96:
		warning: Region is internal proprietary API and may be
		removed in a future release
		[javac] public void applyShape(sun.java2d.pipe.Region r)
		{
		[javac] [javac]
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:110:
		warning: ContainerPeer? is internal proprietary API and
		may be removed in a future release
		[javac] public void reparent(ContainerPeer? p) {
		[javac] [javac]
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/java/awt/peer/BDFramePeer.java:116:
		warning: CausedFocusEvent? is internal proprietary API
		and may be removed in a future release
		[javac] public boolean requestFocus(Component c, boolean
		a, boolean b, long l, sun.awt.CausedFocusEvent?.Cause d)
		{
		[javac] [javac] Note:
		/usr/local/src/libbluray/src/libbluray/bdj/java-j2se/org/dvb/ui/DVBGraphicsImpl.java
		uses or overrides a deprecated API.
		[javac] Note: Recompile with -Xlint:deprecation for
		details.
		[javac] 1 error
		[javac] 6 warnings

		BUILD FAILED
		/usr/local/src/libbluray/src/libbluray/bdj/build.xml:20:
		Compile failed; see the compiler error output for
		details.

		Total time: 1 second
		make[3]: * [all-local] Error 1
		make[3]: Leaving directory
		`/usr/local/src/libbluray/src'
		make[2]: * [all-recursive] Error 1
		make[2]: Leaving directory
		`/usr/local/src/libbluray/src'
		make[1]: * [all-recursive] Error 1
		make[1]: Leaving directory `/usr/local/src/libbluray'
		make: * [all] Error 2



More information about the libbluray-devel mailing list