mkgmap kompilieren schlägt fehl - Patches schuld?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Radkarte |
Fix Released
|
Medium
|
luckyguess |
Bug Description
Ich versuche gerade mich etwas in das Thema einzuarbeiten um ein paar kleine (wie ich denke) Verbessrungen auszuprobieren, aber nachdem ich schon paar Klippen umschifft habe bleibe ich hier hängen:
make_mkgmap:
[delete] Deleting directory /Users/
[copy] Copying 906 files to /Users/
[copy] Copied 110 empty directories to 3 empty directories under /Users/
[patch] patching file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 165 (offset 7 lines).
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 19 with fuzz 2.
[patch] Hunk #2 succeeded at 52 (offset 1 line).
[patch] Hunk #3 succeeded at 183 (offset 7 lines).
[patch] Hunk #4 succeeded at 471 (offset 18 lines).
[patch] Hunk #5 succeeded at 520 (offset 18 lines).
[patch] patching file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 FAILED at 623.
[patch] 1 out of 1 hunk FAILED -- saving rejects to file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 29 with fuzz 2.
[patch] Hunk #2 succeeded at 276 (offset 2 lines).
[patch] patching file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 92 (offset 1 line).
[patch] Hunk #2 succeeded at 890 with fuzz 2 (offset 4 lines).
[patch] Hunk #3 succeeded at 929 with fuzz 2 (offset 5 lines).
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 24 with fuzz 1.
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 121 (offset 5 lines).
[patch] Hunk #2 succeeded at 175 (offset 7 lines).
[patch] Hunk #3 succeeded at 300 with fuzz 1 (offset 15 lines).
[patch] Hunk #4 succeeded at 328 (offset 23 lines).
[patch] Hunk #5 succeeded at 872 (offset 182 lines).
[patch] patching file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 165 (offset 1 line).
[patch] Hunk #2 succeeded at 175 (offset 1 line).
[patch] Hunk #3 succeeded at 192 (offset 1 line).
[patch] patching file uk/me/parabola/
[patch] Hunk #1 FAILED at 108.
[patch] Hunk #2 FAILED at 134.
[patch] Hunk #3 succeeded at 272 with fuzz 2 (offset -267 lines).
[patch] 2 out of 3 hunks FAILED -- saving rejects to file uk/me/parabola/
[patch] patching file uk/me/parabola/
[patch] Hunk #1 succeeded at 407 (offset 3 lines).
prepare:
[mkdir] Created dir: /Users/
compile:
[javac] Compiling 345 source files to /Users/
[javac] /Users/
[javac] symbol : variable routePedestrian
[javac] location: class uk.me.parabola.
[javac] if(routePedestr
[javac] ^
[javac] /Users/
[javac] symbol : variable highway
[javac] location: class uk.me.parabola.
[javac] if(routePedestr
[javac] ^
[javac] /Users/
[javac] symbol : variable CYCLEWAY_ID_OFFSET
[javac] location: class uk.me.parabola.
[javac] long pedestrianId = currentWay.getId() + CYCLEWAY_ID_OFFSET;
[javac] ^
[javac] /Users/
[javac] long pedestrianId = currentWay.getId() + CYCLEWAY_ID_OFFSET;
[javac] ^
[javac] /Users/
[javac] found : <nulltype>
[javac] required: long
[javac] long pedestrianId = currentWay.getId() + CYCLEWAY_ID_OFFSET;
[javac] ^
[javac] /Users/
[javac] symbol : variable wayMap
[javac] location: class uk.me.parabola.
[javac] wayMap.
[javac] ^
[javac] /Users/
[javac] symbol : class List
[javac] location: class uk.me.parabola.
[javac] List<Coord> points = currentWay.
[javac] ^
[javac] /Users/
[javac] converter.
[javac] ^
[javac] Note: /Users/
[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] 8 errors
BUILD FAILED
Wenn ich das richtig nachvollziehe ist der Grund, dass beim einen Patch nicht alles klappt. Gibt es dafür eine Lösung/workaround?
Changed in radkarte: | |
status: | Confirmed → Fix Committed |
Changed in radkarte: | |
assignee: | Radfahrer (thannema) → luckyguess (luckyguess) |
Nachtrag: Mit dem fertig kompilierten mkgmap aus dem zip http:// osm.arndnet. de/20100919/ radkarte- style.zip direkt in das Build-Verzeichnis kopiert läuft es.
Habe bereits kurz getestet, und (für mich) scheint die Option "unbefestigte Wege vermeiden" so bessere Resultate zu liefern (gute Radwege werden zum Routing verwendet)
=== modified file 'radkarte/lines.m4'
--- radkarte/lines.m4 2010-09-24 06:09:56 +0000
+++ radkarte/lines.m4 2010-10-09 09:38:43 +0000
@@ -99,7 +99,7 @@
# Flag unpaved roads. cobblestone | surface=compacted | surface=dirt | cobblestone | ( surface=compacted & tracktype!=grade1 & tracktype!=grade2 & smoothness! =excellent & smoothness!=good & smoothness! =intermediate ) | surface=dirt | pebblestone | surface=sand | surface=unpaved | highway_ 2levels( highway= track & tracktype=grade3, GID_tracktype3, RCRS_tracktype3, RCRS_tracktype3) highway_ 2levels( highway= track & tracktype=grade4, GID_tracktype4, RCRS_tracktype4, RCRS_tracktype4) highway_ 2levels( highway= track & tracktype=grade5, GID_tracktype5, RCRS_tracktype5, RCRS_tracktype5) highway_ 2levels( highway= track & (icn=yes | ncn=yes | rcn=yes | lcn=yes | tcn=yes), GID_tracktype2, RCRS_tracktype2, RCRS_tracktype2) highway_ 2levels( highway= track, GID_tracktype3, RCRS_tracktype3, RCRS_tracktype3)
highway=*
-& (surface=
+& (surface=
surface=earth | surface=grass | surface=grass_paver |
surface=gravel | surface=grit | surface=ground | surface=mud |
surface=
@@ -415,7 +415,8 @@
MACRO_
MACRO_
MACRO_
-# All tracks without the tracktype set are mapped to track type 3
+# All tracks without the tracktype set are mapped to track type 3, except on a cycle route (guessing it's okay then)
+MACRO_
MACRO_
# We don't like steps, so they get a very low speed rating. Also we route there only if there is a ramp.