Robocode fails during compilation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
robocode (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have installed Robocode and created the initial class making no changes to it. I get the following compile error:
Compiling...
/home/volodya/
import robocode.*;
^
/home/volodya/
public class MyRobot extends Robot
symbol: class Robot
/home/volodya/
public void onScannedRobot(
symbol: class ScannedRobotEvent
location: class MyRobot
/home/volodya/
public void onHitByBullet(
symbol: class HitByBulletEvent
location: class MyRobot
/home/volodya/
^
symbol: method ahead(int)
location: class MyRobot
/home/volodya/
^
symbol: method turnGunRight(int)
location: class MyRobot
/home/volodya/
^
symbol: method back(int)
location: class MyRobot
/home/volodya/
^
symbol: method turnGunRight(int)
location: class MyRobot
/home/volodya/
fire(1);
^
symbol: method fire(int)
location: class MyRobot
9 errors
Compile Failed (1)
Some libraries are not being found.
The compiler settings:
Binary: javac
Options: -deprecation -g
Classpath: -classpath /usr/lib/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: robocode 1.6.2+dfsg-3.1
ProcVersionSign
Uname: Linux 3.13.0-37-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.5
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Oct 23 15:50:42 2014
InstallationDate: Installed on 2014-10-02 (20 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
PackageArchitec
SourcePackage: robocode
UpgradeStatus: No upgrade log present (probably fresh install)
This bug was fixed in the package robocode - 1.9.2.4-1
---------------
robocode (1.9.2.4-1) experimental; urgency=medium
* Imported Upstream version 1.9.2.4. (Closes: #551877) (LP: #377376) helper. assembly- plugin- java, libmaven- dependency- plugin- java, javadoc- plugin- java, libpicocontaine r-java, ntainer- java-doc sensible- browser. diff versions. txt-from- usr-share- doc.diff api-help- to-robocode- doc.diff to-local- docs.diff jar.diff manager. diff tation. patch: Users should use Debian's local jdk-doc. share/doc/ robocode/ examples. Please use this script as a template for local/share/ robocode/ $VER where $VER is the current upstream version.
- Fix compilation errors by using the default-jdk. (LP: #1384691)
* New build system: Maven
- Switch to CDBS and maven-debian-
- New files:
+ maven.ignoreRules
+ maven.properties
+ maven.rules
+ clean
+ robocode.poms
* debian/control:
- New build-dependencies:
junit4, junit4-doc, libcodesize-java, libecj-java,
libmaven-
libmaven-
libpicoco
- robocode: Add ${maven:Depends} substvar.
- robocode: Recommend default-jdk-doc.
- Drop robocode-doc. All documentation will be provided by robocode itself.
* Drop debian/codesize. Codesize is now packaged as a standalone library.
* Drop all patches because they are all obsolete:
- 01-use-
- 02-use-
- 03-point-
- 04-link-
- 05-codesize-
- 06-update-
* Add the following patches:
- ecj.patch: For preventing a FTBFS. Use Debian's version of the ecj
compiler. Please note that libecj-java is only needed to compile Robocode
successfully but that Debian uses the default-jdk compiler instead.
- showJavaDocumen
default-
* Install roborumble example script with robocode.examples file to
/usr/
running the Robocode competitions on your computer.
* Update robocode wrapper script. Use XDG_DATA_HOME as the personal data
directory for Robocode. All user data will be installed to
~/.
* Update debian/watch and detect new upstream releases at github.com.
* Update get-orig-source target. The sources are pristine now.
* Update debian/copyright for new release. Robocode is licensed under the
EPL-1.0 now.
* Update man page of Robocode for new release.
* Drop README.source.
-- Markus Koschany <email address hidden> Sun, 23 Nov 2014 18:38:32 +0100