You should install the nodejs10 package instead of nodejs. So you should change depends = ('nodejs' 'webkitgtk2') -> depends = ('nodejs10' 'webkitgtk2')
When building the nodejs10 package I had to force the removal of the .git folder. The modification should be something like:
rm -r "$srcdir/npm/.git" -> rm -rf "$srcdir/npm/.git"
in the prepare() section of the nodejs10 package.
Search Criteria
Package Details: tilemill-git v0.10.1.r345.gc31d70c-1
Package Actions
| Package Base: | tilemill-git |
|---|---|
| Description: | Modern map design studio |
| Upstream URL: | https://www.mapbox.com/tilemill/ |
| Category: | editors |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | onny |
| Maintainer: | City-busz |
| Last Packager: | City-busz |
| Votes: | 7 |
| First Submitted: | 2013-07-13 21:22 |
| Last Updated: | 2014-12-17 22:25 |
Dependencies (7)
- mapnik-git
- nodejs
- protobuf
- webkitgtk2
- boost (make)
- git (make)
- imagemagick (make)
Required by (0)
Sources
- git+https://github.com/mapbox/tilemill.git
- tilemill.desktop
- tilemill.patch
Latest Comments
Comment by Balgofil
Comment by freaks
hello
I have this error
==> Starting package()...
npm info it worked if it ends with ok
npm info using npm@2.7.5
npm info using node@v0.12.2
npm info prepublish tilemill@0.10.1
npm info install tilemill@0.10.1 into /data/build/tilemill-git/btmp/pkg/tilemill-git/usr/lib
npm info installOne tilemill@0.10.1
npm ERR! Linux 3.18.6-1-ARCH
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "-d" "-g" "--user" "root" "--prefix" "/data/build/tilemill-git/btmp/pkg/tilemill-git/usr" "--python=/usr/bin/python2"
npm ERR! node v0.12.2
npm ERR! npm v2.7.5
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your version of node/npm: tilemill@0.10.1
npm ERR! notsup Required: {"node":"0.8.x || 0.10.x"}
npm ERR! notsup Actual: {"npm":"2.7.5","node":"0.12.2"}
npm ERR! Please include the following file with any support request:
npm ERR! /data/build/tilemill-git/btmp/src/tilemill/npm-debug.log
==> ERROR: A failure occurred in package().
Aborting...
Comment by City-busz
I added support for i686, node-mapnik will be build from sources for this architecture.
Comment by City-busz
Now I adopted and updated the package.
Currently i686 is not supported, because node-mapnik is not provided in binary form, and fails to build from sources:
https://github.com/mapnik/node-mapnik/issues/357
Comment by shaief
Well - i finally managed to install the package. I needed to run:
export PYTHON=python2
before installing.
Can it be added to the package somehow?
Comment by Reventlov
Broken. See the previous comments for the fix. Therefore flagged out-of-date to alert the maintainer.
Comment by City-busz
I confirm that adding python option fixes the build.
Comment by City-busz
It fails to build for me:
npm ERR! Failed at the contextify@0.1.9 install script.
Comment by Celti
Also, python2 should probably be added to the dependencies as it's a hard dependency for node-gyp but only an optional dependency for nodejs (which contains node-gyp).
Comment by Celti
The npm install command needs '--python=/usr/bin/python2' added for node-gyp to find python2 correctly.
Comment by danilo
I temporarily adopted the package to update the PKGBUILD.
Changes:
- Added tilemill conflict
- Added patch to fix issue mentioned by uniphil
Pkgrel updated to 2.
Comment by qs9rx
This conflicts with "tilemill", please add that.
Comment by uniphil
This recent commit to tilemill: https://github.com/mapbox/tilemill/commit/1434317d3fcd92c836ae0e1140e36c66e69040b9#commitcomment-6112058 breaks this package. It has tilemill try to install npm, which will already be owned by `nodejs` according to pacman, who will spit out tons of `File Exists` errors.
Simply removing that line made it work for me. Until this is fixed: My fork is at 'git+https://github.com/uniphil/tilemill.git', which you can replace the first `source` in the PKGBUILD with to make it go. Can't promise I'll keep it up to date though.
Comment by leosw
I've tried to install, the install works fine but it doesn't works properly. This error on start-up :
[tilemill] Mapnik LOG> 2014-03-11 19:14:53: Problem loading plugin library: /usr/lib/node_modules/tilemill/node_modules/mapnik/lib/binding/mapnik/input/osm.input (dlopen failed - plugin likely has an unsatisfied dependency or incompatible ABI)
And no fonts recognized.
Comment by nickoe
Please add tilemill as a conflict
Comment by nickoe
You should probably add nodejs-node-gyp as a new depend. node-waf has recently been replaced by node-gyp.
Comment by FredericChopin
Needs boost to compile (boost-libs not sufficient).
Comment by onny
atrawog: It's not only a makedep, tilemill needs it at runtime. Thank you for noticing :)
Comment by atrawog
Recent Tilemill GIT version need protobuf to compile.
Comment by onny
@Athemis: thank you for noticing. i can confirm this dependency - updated!
Comment by Athemis
Needs webkitgtk2 to compile.