Bug#710046: mkgmap: Unable to create garmin map

Andreas Tille tillea at t-online.de
Mon May 27 20:04:06 UTC 2013


Package: mkgmap
Version: 0.0.0+svn1067-1
Severity: important

$ ./mkgmap --gmapsupp 6*.img 7*.img clas*.TYP
Using /usr/lib/jvm/java-6-openjdk-amd64/bin/java to execute mkgmap.
Exception in thread "main" java.lang.IllegalArgumentException
        at java.nio.Buffer.position(Buffer.java:235)
        at uk.me.parabola.imgfmt.Utils.bytesToString(Utils.java:75)
        at uk.me.parabola.imgfmt.sys.ImgHeader.setHeader(ImgHeader.java:212)
        at uk.me.parabola.imgfmt.sys.ImgFS.readInitFS(ImgFS.java:292)
        at uk.me.parabola.imgfmt.sys.ImgFS.openFs(ImgFS.java:126)
        at uk.me.parabola.imgfmt.sys.ImgFS.openFs(ImgFS.java:119)
        at uk.me.parabola.mkgmap.combiners.FileInfo.imgInfo(FileInfo.java:178)
        at uk.me.parabola.mkgmap.combiners.FileInfo.getFileInfo(FileInfo.java:143)
        at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:315)
        at uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:123)
        at uk.me.parabola.mkgmap.main.Main.main(Main.java:100)

Remark:  The same happened with sun-java6-bin which (by accident) was
yet installed on this machine (=current testing).  I adopted the path
to java executable which was lacking '-amd64' to be very sure that
this one is really used.  The very same happens with openjdk-7-jre.

I can confirm that everything works fine on a stable (wheezy) machine.

Kind regards

       Andreas.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable'), (5, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mkgmap depends on:
ii  default-jre-headless [java5-runtime-headless]    1:1.6-47
ii  gij-4.3 [java5-runtime-headless]                 4.3.4-4
ii  openjdk-6-jre-headless [java5-runtime-headless]  6b27-1.12.5-1

mkgmap recommends no packages.

Versions of packages mkgmap suggests:
ii  josm                       0.0.svn5759+dfsg1-1
ii  qlandkarte                 1.2.3-1
ii  qlandkartegt [qlandkarte]  1.7.0~dfsg0-2

-- no debconf information



More information about the Pkg-grass-devel mailing list