Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 392041 - sci-geosciences/josm-4550 - javac: [xmlproperty] [Fatal Error] REVISION.XML:6:1: XML document structures must start and end within the same entity.
Summary: sci-geosciences/josm-4550 - javac: [xmlproperty] [Fatal Error] REVISION.XML:6...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-27 01:28 UTC by Peter B.
Modified: 2012-09-19 10:16 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
REVISION.XML as fetched using the subversion client of version 1.7 (REVISION.XML,565 bytes, application/xml)
2012-03-07 15:01 UTC, Frank-Ralph Reiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter B. 2011-11-27 01:28:53 UTC
emerge -u josm

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies \ * A file is not listed in the Manifest: '/home/peter/overlays/ababuilds/sci-misc/abaqus/abaqus-6.10.1-r1.ebuild'
... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sci-geosciences/josm-4550
 * josm-4550.tar.xz RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                  [ ok ]
 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking josm-4550.tar.xz to /var/tmp/portage/sci-geosciences/josm-4550/work
>>> Source unpacked in /var/tmp/portage/sci-geosciences/josm-4550/work
>>> Preparing source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
cElementTree rewriter
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build.xml

javacc:
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/mappaint/mapcss/parsergen
     [exec] Java Compiler Compiler Version 5.0 (Parser Generator)
     [exec] (type "javacc" with no arguments for help)
     [exec] Reading from file /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj . . .
     [exec] Warning: Line 44, Column 5: Non-ASCII characters used in regular expression.
     [exec] Please make sure you use the correct Reader when you create the parser, one that can handle your character set.
     [exec] File "TokenMgrError.java" does not exist.  Will create one.
     [exec] File "ParseException.java" does not exist.  Will create one.
     [exec] File "Token.java" does not exist.  Will create one.
     [exec] File "SimpleCharStream.java" does not exist.  Will create one.
     [exec] Parser generated with 0 errors and 1 warnings.

init:
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/dist

compile:
    [javac] Compiling 228 source files to /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/com/kitfox/svg/SVGUniverse.java:191: warning: sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
    [javac]                     byte[] buf = new sun.misc.BASE64Decoder().decodeBuffer(content);
    [javac]                                              ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/com/kitfox/svg/app/data/Handler.java:39: warning: sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
    [javac]                     buf = new sun.misc.BASE64Decoder().decodeBuffer(content);
    [javac]                                       ^
    [javac] Note: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/oauth/signpost/AbstractOAuthProvider.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
    [javac] Creating empty /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build/com/kitfox/svg/package-info.class
    [javac] Compiling 944 source files to /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java:1174: warning: [unchecked] unchecked cast
    [javac] found   : java.lang.Object
    [javac] required: java.util.Map<java.lang.String,java.lang.Integer>
    [javac]                             ((Map<String,Integer>)propertyData.getValueAt(row, 1))
    [javac]                                                                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/Storage.java:417: warning: [unchecked] unchecked conversion
    [javac] found   : java.util.Collection
    [javac] required: java.util.Collection<? extends T>
    [javac]                 Storage.this.addAll(((Storage.FMap)m).values());
    [javac]                                                             ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/QuadBuckets.java:104: warning: [unchecked] unchecked cast
    [javac] found   : java.lang.Object
    [javac] required: org.openstreetmap.josm.data.osm.QuadBuckets<T>.QBLevel[]
    [javac]             QBLevel[] result = (QBLevel[]) Array.newInstance(this.getClass(), QuadTiling.TILES_PER_LEVEL);
    [javac]                                                             ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java:212: warning: [unchecked] unchecked conversion
    [javac] found   : org.openstreetmap.josm.tools.Pair
    [javac] required: org.openstreetmap.josm.tools.Pair<java.lang.Float,java.awt.geom.GeneralPath>
    [javac]                                 for (Pair<Float, GeneralPath> sizeAndPath : Arrays.asList(new Pair[] {
    [javac]                                                                                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/command/PurgeCommand.java:198: warning: [unchecked] unchecked conversion
    [javac] found   : java.util.Set
    [javac] required: java.util.Set<org.openstreetmap.josm.data.osm.Relation>
    [javac]         Set<Relation> inR = (Set) in;
    [javac]                             ^
    [javac] 5 warnings

create-revision:
     [exec] Result: 1
[xmlproperty] [Fatal Error] REVISION.XML:6:1: XML document structures must start and end within the same entity.

BUILD FAILED
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/build.xml:32: Failed to load /var/tmp/portage/sci-geosciences/josm-4550/work/josm/REVISION.XML

Total time: 21 seconds
 * ERROR: sci-geosciences/josm-4550 failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4305:  Called eant 'dist-optimized'
 *   environment, line  910:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of 'emerge --info =sci-geosciences/josm-4550',
 * the complete build log and the output of 'emerge -pqv =sci-geosciences/josm-4550'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.4"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/environment'.
 * S: '/var/tmp/portage/sci-geosciences/josm-4550/work/josm'

>>> Failed to emerge sci-geosciences/josm-4550, Log file:

>>>  '/var/tmp/portage/sci-geosciences/josm-4550/temp/build.log'

 * Messages for package sci-geosciences/josm-4550:

 * ERROR: sci-geosciences/josm-4550 failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4305:  Called eant 'dist-optimized'
 *   environment, line  910:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of 'emerge --info =sci-geosciences/josm-4550',
 * the complete build log and the output of 'emerge -pqv =sci-geosciences/josm-4550'.
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/environment'.
 * S: '/var/tmp/portage/sci-geosciences/josm-4550/work/josm'


Reproducible: Always
Comment 1 trogdog 2011-11-27 02:19:16 UTC
can confirm this.

GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.4"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"

emerge --info =sci-geosciences/josm-4550
Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.6-gentoo-x86_64-AMD_Athlon-tm-_II_X2_250_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 26 Nov 2011 21:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo betagarden nbigaouette my_local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo"
LANG="en_AU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/betagarden /var/lib/layman/nbigaouette /usr/local/portage"
SYNC="rsync://hp/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus dri fortran gdbm gnome gpm gtk iconv ipv6 mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre policykit pppd readline session sse sse2 ssl sysfs tcpd udev unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pqv =sci-geosciences/josm-4550
[ebuild  N    ] sci-geosciences/josm-4550

build log
http://codepad.org/vfGJ8gFb
Comment 2 Thilo Bangert 2011-11-29 22:12:07 UTC
bangert@marsupilami ~ $ sudo cat /usr/src/tmp/portage/sci-geosciences/josm-4550/work/josm/REVISION.XML
<?xml version="1.0"?>
<info>
svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.


ie. josm-4550 depends on >=subversion-1.7

thanks

kind regards
Thilo
Comment 3 Elias Probst 2011-12-08 17:50:34 UTC
Similar building issue here solved by upgrading to subversion-1.7.1, so please update the dependency of josm on subversion to >=1.7:

moria # emerge -av josm

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ~] sci-geosciences/josm-4550  0 kB

Total: 1 package (1 new), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) sci-geosciences/josm-4550
>>> Failed to emerge sci-geosciences/josm-4550, Log file:
>>>  '/var/tmp/portage/sci-geosciences/josm-4550/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 2.52, 2.28, 2.26
 * Package:    sci-geosciences/josm-4550
 * Repository: gentoo
 * Maintainer: hanno@gentoo.org sci-geosciences@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   ccache preserve-libs sandbox splitdebug
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking josm-4550.tar.xz to /var/tmp/portage/sci-geosciences/josm-4550/work
>>> Source unpacked in /var/tmp/portage/sci-geosciences/josm-4550/work
>>> Preparing source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
cElementTree rewriter
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sci-geosciences/josm-4550/work/josm ...
Searching for bundled jars:
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/tools/proguard.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/tools/animal-sniffer-ant-tasks-1.5.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/tools/javacc.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/unitils-core-3.1.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/commons-logging-1.1.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/commons-collections-3.2.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/commons-lang-2.3.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/ognl-2.6.9.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/unitils-core/junit-4.4.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/junit/junit-4.6.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/jcip-annotations-1.0.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/fest-reflect-1.1.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/fest-swing-1.1.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/fest-util-1.0.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/fest-assert-1.0.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/debug-1.0.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/fest/MRJToolkitStubs-1.0.jar
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/test/lib/jfcunit.jar
Searching for bundled classes (no output if none found):
Search done.
 * Disabling all optional ANT_TASKS
Buildfile: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build.xml

javacc:
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/mappaint/mapcss/parsergen
     [exec] Java Compiler Compiler Version 5.0 (Parser Generator)
     [exec] (type "javacc" with no arguments for help)
     [exec] Reading from file /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/mappaint/mapcss/MapCSSParser.jj . . .
     [exec] File "TokenMgrError.java" does not exist.  Will create one.
     [exec] Warning: Line 44, Column 5: Non-ASCII characters used in regular expression.
     [exec] Please make sure you use the correct Reader when you create the parser, one that can handle your character set.
     [exec] File "ParseException.java" does not exist.  Will create one.
     [exec] File "Token.java" does not exist.  Will create one.
     [exec] File "SimpleCharStream.java" does not exist.  Will create one.
     [exec] Parser generated with 0 errors and 1 warnings.

init:
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [mkdir] Created dir: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/dist

compile:
    [javac] Compiling 228 source files to /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/com/kitfox/svg/SVGUniverse.java:191: warning: sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
    [javac]                     byte[] buf = new sun.misc.BASE64Decoder().decodeBuffer(content);
    [javac]                                              ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/com/kitfox/svg/app/data/Handler.java:39: warning: sun.misc.BASE64Decoder is internal proprietary API and may be removed in a future release
    [javac]                     buf = new sun.misc.BASE64Decoder().decodeBuffer(content);
    [javac]                                       ^
    [javac] Note: /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/oauth/signpost/AbstractOAuthProvider.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 warnings
    [javac] Creating empty /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build/com/kitfox/svg/package-info.class
    [javac] Compiling 944 source files to /var/tmp/portage/sci-geosciences/josm-4550/work/josm/build
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java:1174: warning: [unchecked] unchecked cast
    [javac] found   : java.lang.Object
    [javac] required: java.util.Map<java.lang.String,java.lang.Integer>
    [javac]                             ((Map<String,Integer>)propertyData.getValueAt(row, 1))
    [javac]                                                                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/Storage.java:417: warning: [unchecked] unchecked conversion
    [javac] found   : java.util.Collection
    [javac] required: java.util.Collection<? extends T>
    [javac]                 Storage.this.addAll(((Storage.FMap)m).values());
    [javac]                                                             ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/QuadBuckets.java:104: warning: [unchecked] unchecked cast
    [javac] found   : java.lang.Object
    [javac] required: org.openstreetmap.josm.data.osm.QuadBuckets<T>.QBLevel[]
    [javac]             QBLevel[] result = (QBLevel[]) Array.newInstance(this.getClass(), QuadTiling.TILES_PER_LEVEL);
    [javac]                                                             ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/data/osm/visitor/paint/MapPainter.java:212: warning: [unchecked] unchecked conversion
    [javac] found   : org.openstreetmap.josm.tools.Pair
    [javac] required: org.openstreetmap.josm.tools.Pair<java.lang.Float,java.awt.geom.GeneralPath>
    [javac]                                 for (Pair<Float, GeneralPath> sizeAndPath : Arrays.asList(new Pair[] {
    [javac]                                                                                          ^
    [javac] /var/tmp/portage/sci-geosciences/josm-4550/work/josm/src/org/openstreetmap/josm/command/PurgeCommand.java:198: warning: [unchecked] unchecked conversion
    [javac] found   : java.util.Set
    [javac] required: java.util.Set<org.openstreetmap.josm.data.osm.Relation>
    [javac]         Set<Relation> inR = (Set) in;
    [javac]                             ^
    [javac] 5 warnings

create-revision:
     [exec] Result: 1
[xmlproperty] [Fatal Error] REVISION.XML:1:1: Content is not allowed in prolog.

BUILD FAILED
/var/tmp/portage/sci-geosciences/josm-4550/work/josm/build.xml:32: Failed to load /var/tmp/portage/sci-geosciences/josm-4550/work/josm/REVISION.XML

Total time: 11 seconds
 * ERROR: sci-geosciences/josm-4550 failed (compile phase):
 *   eant failed
 * 
 * Call stack:
 *     ebuild.sh, line   84:  Called src_compile
 *   environment, line 4236:  Called eant 'dist-optimized'
 *   environment, line  896:  Called die
 * The specific snippet of code:
 *       ant ${antflags} "${@}" || die "eant failed"
 * 
 * If you need support, post the output of 'emerge --info =sci-geosciences/josm-4550',
 * the complete build log and the output of 'emerge -pqv =sci-geosciences/josm-4550'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.4"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER="javac"
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sci-geosciences/josm-4550/temp/environment'.
 * S: '/var/tmp/portage/sci-geosciences/josm-4550/work/josm'
Comment 4 Martin Samek 2011-12-10 21:46:29 UTC
I can confirm this. Install subversion >= 1.7 is a solution.
Comment 5 René Kraneis 2011-12-15 11:04:27 UTC
Confirmed. Tried to build josm-4550 with the following results:

subversion-1.6.17-r7:
Build fails with aforementioned error ([xmlproperty] [Fatal Error] REVISION.XML:6:1: XML document structures must start and end within the same entity.).

subversion-1.7.0:
Build succeeds.
Comment 6 Marcel Pennewiß 2012-02-06 23:55:17 UTC
Could you try to use the new packed tar.xz from http://opensource.pennewiss.de/josm/

I wrote a bash script which repacks the svn-repository without svn-dependency. I'm not a Java-coder but this repack works for me. If it works i'll also provide newer versions...
Comment 7 Frank-Ralph Reiser 2012-03-07 14:59:14 UTC
Confirmed:
Using dev-vcs/subversion-1.6.17-r7 emerging sci-geosciences/josm-4550 failed with the aforementioned error messages.
Using dev-vcs/subversion-1.7.2 emerging sci-geosciences/josm-4550 worked.

The build.log states that $PORTAGE_TMPDIR/sci-geosciences/josm-4550/work/josm/REVISION.XML could not be loaded.
The file contains:

svn: The path '.' appears to be part of a Subversion 1.7 or greater
working copy.  Please upgrade your Subversion client to use this
working copy.
<?xml version="1.0"?>
<info>

The svn client from dev-vcs/subversion is being invoked by the ant script inside the archive josm-4550.tar.xz like
LANG=C svn info --xml . 

Since the subversion server the client wants to connect to (http://josm.openstreetmap.de/svn) runs version 1.7, the error message is simply written to the assumed xml file causing the build to fail.

In order for this to work, dev-vcs/subversion-1.7* has to be installed. Would making the josm ebuild depend on dev-vcs/subversion-1.7* make sense?
Comment 8 Frank-Ralph Reiser 2012-03-07 15:01:08 UTC
Created attachment 304549 [details]
REVISION.XML as fetched using the subversion client of version 1.7
Comment 9 Marcel Pennewiß 2012-03-07 15:06:29 UTC
(In reply to comment #7)
> In order for this to work, dev-vcs/subversion-1.7* has to be installed.
> Would making the josm ebuild depend on dev-vcs/subversion-1.7* make sense?

NO! Did you read my comment?
Comment 10 aditsu 2012-03-10 00:23:36 UTC
> In order for this to work, dev-vcs/subversion-1.7* has to be installed.
> Would making the josm ebuild depend on dev-vcs/subversion-1.7* make sense?

I think it makes perfect sense.
Comment 11 Martin Samek 2012-07-19 19:48:35 UTC
This bug is still valid for sci-geosciences/josm-5315.
Comment 12 Marcel Pennewiß 2012-07-19 22:09:48 UTC
You can find working ebuilds using my tar.xz-packages here:
http://subversion.fem.tu-ilmenau.de/websvn/wsvn/fem-overlay/trunk/sci-geosciences/josm/

Same issue related bugreports: 385717, 391773, 408699
Comment 13 Hanno Böck gentoo-dev 2012-09-19 10:16:55 UTC
added subversion 1.7 now as a dependency