geo/routino is linked to -lz and -lbz2, but -DUSE_GZIP and -DUSE_BZIP2 \ flags are not used. Then if you try to do something like: $ planetsplitter --dir=<routino prefix> --prefix=<db name> \ --tagging=<xml file> --parse-only russia-latest.osm.pbf it will fail and will ask for GZIP/BZIP2 support, that same command is \ used in geo/qmapshack, that's how I got this error. PBF Parser: Error at byte 161: Blob is compressed but no gzip support \ is available. Easy way to reproduse, is adding routino database in .pbf format in \ geo/qmapshack.
Here's a patch that adds thy flags and bumps the revision. -- Eugene Moz.
Index: Makefile =================================================================== RCS file: /cvs/ports/geo/routino/Makefile,v retrieving revision 1.2 diff -u -r1.5 Makefile --- Makefile 13 Jan 2021 13:05:43 -0000 1.2 +++ Makefile 10 Jun 2021 22:26:14 -0000 @@ -3,6 +3,7 @@ COMMENT = OpenStreetMap routing software DISTNAME = routino-3.3.3 +REVISION = 1 SHARED_LIBS += routino 0.0 SHARED_LIBS += routino-slim 0.0 @@ -24,7 +25,8 @@ LIB_DEPENDS = archivers/bzip2 MAKE_FLAGS = CC=${CC} LD=${CC} \ - CFLAGS="${CFLAGS} -pthread -I${LOCALBASE}/include" \ + CFLAGS="${CFLAGS} -pthread -DUSE_GZIP -DUSE_BZIP2 \ + -DUSE_PTHREADS -I${LOCALBASE}/include" \ LDFLAGS="-lm -pthread -lbz2 -lz -L${LOCALBASE}/lib" USE_GMAKE = Yes