[Pkg-javascript-devel] Bug#791725: Bug#791725: node-mapnik: FTBFS against mapnik 3.0.0

Jérémy Lal kapouer at melix.org
Fri Apr 8 12:20:43 UTC 2016


2016-04-08 14:04 GMT+02:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:

> On 04/08/2016 01:54 PM, Jérémy Lal wrote:
> > 2016-04-08 12:49 GMT+02:00 Sebastiaan Couwenberg <sebastic at xs4all.nl>:
> >
> >> On 04/08/2016 12:34 PM, Jérémy Lal wrote:
> >>> 2016-04-08 12:24 GMT+02:00 Sebastiaan Couwenberg:
> >>>> Currenly `node-gyp configure` fails with:
> >>>>
> >>>> gyp: Undefined variable module_path in binding.gyp while trying to
> load
> >>>> binding.gyp
> >>>>
> >>>> If it's possible to fix that by using the system provided
> dependencies,
> >>>> it may be feasible to get node-mapnik working again.
> >>>>
> >>>>
> >>> The generic way of getting rid of these:
> >>>
> >>> node-gyp configure --module_name=`nodejs -e
> >>> "console.log(require('./package.json').binary.module_name)"`
> >>> --module_path=`nodejs -e
> >>> "console.log(require('./package.json').binary.module_path)"`
> >>>
> >>>
> >>> Updating node-mapnik is looking good; but I have trouble with
> >>>
> >>> In file included from /usr/include/vector_tile_merc_tile.hpp:5:0,
> >>>                  from ../src/mapnik_vector_tile.hpp:11,
> >>>                  from ../src/node_mapnik.cpp:5:
> >>> /usr/include/vector_tile_tile.hpp:208:32: fatal error:
> >>> vector_tile_tile.ipp: Aucun fichier ou dossier de ce type
> >>>
> >>> does it ring a bell ?
> >>
> >> Yes, the .ipp file is included in the mapnik-vector-tile source, but not
> >> installed in the binary package.
> >>
> >> I'll update mapnik-vector-tile to install the .ipp files too.
> >
> > I've just tested with those files installed by hand and it works all
> right.
>
> Yes, I've got similar results after some more changes to the node-mapnik
> packaging.
>
> The test target fails because it requires node-pre-gyp, as do the
> bin/mapnik-*.js executables. We'll need to patch those to not require
> node-pre-gyp too.
>
> Do you have any suggestions for that?
>
>
Yes, i have: i'm packaging node-pre-gyp and rc modules, it seems pkg-tar
could stay a recommandation.
It will be way simpler than spending the time patching node-mapnik.

Jérémy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-javascript-devel/attachments/20160408/9c1f2ee0/attachment.html>


More information about the Pkg-javascript-devel mailing list