Modify

Opened 8 years ago

Closed 8 years ago

#6597 closed defect (fixed)

Current JOSM broke compilation in gentoo

Reported by: anonymous Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: Cc: Flowzn

Description

Buildfile: /var/tmp/portage/sci-geosciences/josm-9999/work/josm/build.xml

init:

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

compile:

[javac] Compiling 124 source files to /var/tmp/portage/sci-geosciences/josm-9999/work/josm/build
[javac] /var/tmp/portage/sci-geosciences/josm-9999/work/josm/src/com/drew/metadata/exif/NikonType2MakernoteDirectory.java:152: unmappable character for encoding UTF-8
[javac] * - ?

[javac]
[javac] /var/tmp/portage/sci-geosciences/josm-9999/work/josm/src/com/drew/metadata/exif/NikonType2MakernoteDirectory.java:360: unmappable character for encoding UTF-8
[javac] * - 0100w\cH+D$$h$?5Q (D1X)
[javac]

[javac] 2 errors

Attachments (0)

Change History (6)

comment:1 Changed 8 years ago by stoecker

This are warnings normally. Why are they errors.

I wanted to fix these, but I do not know the original charset, so I was unable to convert it to UTF-8.

comment:2 Changed 8 years ago by bastiK

@anonymous: You should mention at least the josm version you are trying to compile. The build.xml should be fixed by now.

@stoecker: probably iso-8859-1, at least it compiles with that setting.

comment:3 Changed 8 years ago by stoecker

No, iso-8859-1 does not produce useful results for these 2 lines. Some windows charset maybe.

comment:4 Changed 8 years ago by Flowzn

It's the live ebuild from gentoo that pulls the latest svn for installing josm on gentoo. Just hit the same problem. :(
There is one problematic non ascii character "<EE>" in two lines within NikonType2MakernoteDirectory.java:

  • line 152: * - <EE>AL
  • line 360: * - 0100w\cH+D$$hT$<EE>5Q (D1X)
Last edited 8 years ago by Flowzn (previous) (diff)

comment:5 Changed 8 years ago by Flowzn

Cc: Flowzn added

comment:6 Changed 8 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4258/josm]:

fix #6597 - update NikonType2MakernoteDirectory.java to revision r16 - fixing wrong encoding

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.