Bug#952058: jfractionlab: FTBFS: src/jfractionlab/officeMachine/OfficeMachine.java:12: error: package com.sun.star.awt does not exist

Lucas Nussbaum lucas at debian.org
Sun Feb 23 07:49:17 GMT 2020


Source: jfractionlab
Version: 0.92-2
Severity: serious
Justification: FTBFS on amd64
Tags: buster sid
Usertags: ftbfs-20200222 ftbfs-buster

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dpkg-query: package 'openoffice-java-common' is not installed
> Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
> dpkg-query: package 'openoffice-java-common' is not installed
> Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.
> mkdir -p target/classes
> # compile java sources
> find src/jfractionlab -name *.java -and -type f -print0 | xargs -0 /usr/bin/javac -client -source 7 -target 7 -encoding ISO-8859-1 -d target/classes -cp src:/usr/share/java/tablelayout.jar:/usr/share/java/java_uno.jar:/usr/share/java/juh.jar:/usr/share/java/jurt.jar:/usr/share/java/ridl.jar:/usr/share/java/unoloader.jar:
> warning: [options] bootstrap class path not set in conjunction with -source 7
> src/jfractionlab/officeMachine/OfficeMachine.java:12: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.MessageBoxButtons;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:13: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.MessageBoxType;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:14: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.Rectangle;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:15: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.XMessageBox;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:16: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.XMessageBoxFactory;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:17: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.XWindow;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:18: error: package com.sun.star.awt does not exist
> import com.sun.star.awt.XWindowPeer;
>                        ^
> src/jfractionlab/officeMachine/OfficeMachine.java:27: error: package com.sun.star.document does not exist
> import com.sun.star.document.XEmbeddedObjectSupplier2;
>                             ^
> src/jfractionlab/officeMachine/OfficeMachine.java:28: error: package com.sun.star.frame does not exist
> import com.sun.star.frame.XComponentLoader;
>                          ^
> src/jfractionlab/officeMachine/OfficeMachine.java:29: error: package com.sun.star.frame does not exist
> import com.sun.star.frame.XDesktop;
>                          ^
> src/jfractionlab/officeMachine/OfficeMachine.java:36: error: package com.sun.star.table does not exist
> import com.sun.star.table.XCell;
>                          ^
> src/jfractionlab/officeMachine/OfficeMachine.java:37: error: package com.sun.star.table does not exist
> import com.sun.star.table.XCellRange;
>                          ^
> src/jfractionlab/officeMachine/OfficeMachine.java:38: error: package com.sun.star.text does not exist
> import com.sun.star.text.XText;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:39: error: package com.sun.star.text does not exist
> import com.sun.star.text.XTextContent;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:40: error: package com.sun.star.text does not exist
> import com.sun.star.text.XTextDocument;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:41: error: package com.sun.star.text does not exist
> import com.sun.star.text.XTextRange;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:42: error: package com.sun.star.text does not exist
> import com.sun.star.text.XTextTable;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:43: error: package com.sun.star.text does not exist
> import com.sun.star.text.XTextTablesSupplier;
>                         ^
> src/jfractionlab/officeMachine/OfficeMachine.java:52: error: cannot find symbol
> 	private XTextDocument xTextDocument = null;
> 	        ^
>   symbol:   class XTextDocument
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:59: error: cannot find symbol
> 	private XTextTablesSupplier xTextTablesSupplier;
> 	        ^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:61: error: cannot find symbol
> 	private XTextTable xTextTable;
> 	        ^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:62: error: cannot find symbol
> 	private XCellRange xCellRange;
> 	        ^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:63: error: cannot find symbol
> 	private XCell xCell;
> 	        ^
>   symbol:   class XCell
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:64: error: cannot find symbol
> 	private XText xText;
> 	        ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:65: error: cannot find symbol
> 	private XTextContent xTextContent;
> 	        ^
>   symbol:   class XTextContent
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:67: error: cannot find symbol
> 	private XTextRange xRange;
> 	        ^
>   symbol:   class XTextRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:68: error: cannot find symbol
> 	private XEmbeddedObjectSupplier2 xEmbeddedObjectSupplier;
> 	        ^
>   symbol:   class XEmbeddedObjectSupplier2
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:405: error: cannot find symbol
> 	public static XDesktop getDesktop() {
> 	              ^
>   symbol:   class XDesktop
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:103: error: cannot find symbol
> 		XTextTablesSupplier xTextTablesSupplier = (XTextTablesSupplier)UnoRuntime.queryInterface(
> 		^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:103: error: cannot find symbol
> 		XTextTablesSupplier xTextTablesSupplier = (XTextTablesSupplier)UnoRuntime.queryInterface(
> 		                                           ^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:104: error: cannot find symbol
> 				XTextTablesSupplier.class, xComponent
> 				^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:114: error: cannot find symbol
> 					XTextTable xTextTable = (XTextTable)UnoRuntime.queryInterface(
> 					^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:114: error: cannot find symbol
> 					XTextTable xTextTable = (XTextTable)UnoRuntime.queryInterface(
> 					                         ^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:115: error: cannot find symbol
> 							XTextTable.class,
> 							^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:122: error: cannot find symbol
> 							XCellRange xCellRange = (XCellRange) UnoRuntime.queryInterface(
> 							^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:122: error: cannot find symbol
> 							XCellRange xCellRange = (XCellRange) UnoRuntime.queryInterface(
> 							                         ^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:123: error: cannot find symbol
> 									XCellRange.class, xTextTable
> 									^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:125: error: cannot find symbol
> 							XCell xCell = xCellRange.getCellByPosition(y,z); // cols, rows
> 							^
>   symbol:   class XCell
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:126: error: cannot find symbol
> 							XText xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 							^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:126: error: cannot find symbol
> 							XText xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 							               ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:126: error: cannot find symbol
> 							XText xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 							                                                ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:208: error: cannot find symbol
> 		xTextTablesSupplier = (XTextTablesSupplier)UnoRuntime.queryInterface(
> 		                       ^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:209: error: cannot find symbol
> 				XTextTablesSupplier.class, xComponent
> 				^
>   symbol:   class XTextTablesSupplier
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:218: error: cannot find symbol
> 				xTextTable = (XTextTable)UnoRuntime.queryInterface(
> 				              ^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:219: error: cannot find symbol
> 						XTextTable.class,
> 						^
>   symbol:   class XTextTable
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:226: error: cannot find symbol
> 						xCellRange = (XCellRange) UnoRuntime.queryInterface(
> 						              ^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:227: error: cannot find symbol
> 								XCellRange.class, xTextTable
> 								^
>   symbol:   class XCellRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:230: error: cannot find symbol
> 						xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 						         ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:230: error: cannot find symbol
> 						xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 						                                          ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:284: error: cannot find symbol
> 		XWindow parentWindow = xTextDocument.getCurrentController().getFrame().getContainerWindow();
> 		^
>   symbol:   class XWindow
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:285: error: cannot find symbol
> 		XWindowPeer parentWindowPeer = (XWindowPeer) UnoRuntime.queryInterface(XWindowPeer.class, parentWindow);
> 		^
>   symbol:   class XWindowPeer
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:285: error: cannot find symbol
> 		XWindowPeer parentWindowPeer = (XWindowPeer) UnoRuntime.queryInterface(XWindowPeer.class, parentWindow);
> 		                                ^
>   symbol:   class XWindowPeer
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:285: error: cannot find symbol
> 		XWindowPeer parentWindowPeer = (XWindowPeer) UnoRuntime.queryInterface(XWindowPeer.class, parentWindow);
> 		                                                                       ^
>   symbol:   class XWindowPeer
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:287: error: cannot find symbol
> 		XMessageBoxFactory xMessageBoxFactory = (XMessageBoxFactory) UnoRuntime.queryInterface(
> 		^
>   symbol:   class XMessageBoxFactory
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:287: error: cannot find symbol
> 		XMessageBoxFactory xMessageBoxFactory = (XMessageBoxFactory) UnoRuntime.queryInterface(
> 		                                         ^
>   symbol:   class XMessageBoxFactory
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:288: error: cannot find symbol
> 				XMessageBoxFactory.class,parentWindowPeer.getToolkit()
> 				^
>   symbol:   class XMessageBoxFactory
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:291: error: cannot find symbol
> 		XMessageBox box = xMessageBoxFactory.createMessageBox(
> 		^
>   symbol:   class XMessageBox
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:293: error: cannot find symbol
> 				MessageBoxType.MESSAGEBOX,
> 				^
>   symbol:   variable MessageBoxType
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:294: error: cannot find symbol
> 				MessageBoxButtons.BUTTONS_OK,
> 				^
>   symbol:   variable MessageBoxButtons
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:303: error: cannot find symbol
> 			xTextContent = (XTextContent)UnoRuntime.queryInterface(
> 			                ^
>   symbol:   class XTextContent
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:304: error: cannot find symbol
> 					XTextContent.class, 
> 					^
>   symbol:   class XTextContent
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:313: error: cannot find symbol
> 			xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 			         ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:313: error: cannot find symbol
> 			xText = (XText) UnoRuntime.queryInterface(XText.class, xCell);
> 			                                          ^
>   symbol:   class XText
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:314: error: cannot find symbol
> 			xRange = (XTextRange)UnoRuntime.queryInterface(
> 			          ^
>   symbol:   class XTextRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:315: error: cannot find symbol
> 					XTextRange.class, xCell);
> 					^
>   symbol:   class XTextRange
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:320: error: cannot find symbol
> 				(XEmbeddedObjectSupplier2)UnoRuntime.queryInterface(
> 				 ^
>   symbol:   class XEmbeddedObjectSupplier2
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:321: error: cannot find symbol
> 						XEmbeddedObjectSupplier2.class,xTextContent);
> 						^
>   symbol:   class XEmbeddedObjectSupplier2
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:345: error: cannot find symbol
> 		XDesktop xDesktop = null;
> 		^
>   symbol:   class XDesktop
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:349: error: cannot find symbol
> 		XComponentLoader xComponentLoader = (XComponentLoader)UnoRuntime.queryInterface(
> 		^
>   symbol:   class XComponentLoader
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:349: error: cannot find symbol
> 		XComponentLoader xComponentLoader = (XComponentLoader)UnoRuntime.queryInterface(
> 		                                     ^
>   symbol:   class XComponentLoader
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:350: error: cannot find symbol
> 				XComponentLoader.class, xDesktop);
> 				^
>   symbol:   class XComponentLoader
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:365: error: cannot find symbol
> 			xTextDocument = (XTextDocument)UnoRuntime.queryInterface(
> 			                 ^
>   symbol:   class XTextDocument
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:366: error: cannot find symbol
> 					XTextDocument.class, xComponent);
> 					^
>   symbol:   class XTextDocument
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:406: error: cannot find symbol
> 		XDesktop xDesktop = null;
> 		^
>   symbol:   class XDesktop
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:414: error: cannot find symbol
> 				xDesktop = (XDesktop) UnoRuntime.queryInterface(
> 				            ^
>   symbol:   class XDesktop
>   location: class OfficeMachine
> src/jfractionlab/officeMachine/OfficeMachine.java:415: error: cannot find symbol
> 						XDesktop.class, oDesktop);
> 						^
>   symbol:   class XDesktop
>   location: class OfficeMachine
> Note: src/jfractionlab/officeMachine/OfficeMachine.java uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
> 76 errors
> 1 warning
> make[1]: *** [debian/rules:16: override_dh_auto_build] Error 123

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/jfractionlab_0.92-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the pkg-java-maintainers mailing list