Closed jadonk closed 8 years ago
added nodejs: v0.12.x:
https://github.com/rcn-ee/repos/commit/5da2301d629edd6e9d30fa9c8882858e1793015d
Still:
User Environment
----------------
APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LC_ALL=POSIX
LOGNAME=voodoo
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=jessie-armhf-nodejs-v0.12.x-sbuild
SCHROOT_CHROOT_NAME=jessie-armhf-nodejs-v0.12.x-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1000
SCHROOT_GROUP=voodoo
SCHROOT_SESSION_ID=jessie-armhf-nodejs-v0.12.x-sbuild-d660079a-1c55-4086-aee8-cd85d8d0d2e4
SCHROOT_UID=1000
SCHROOT_USER=voodoo
SHELL=/bin/sh
TERM=xterm
USER=voodoo
dpkg-buildpackage
-----------------
dpkg-buildpackage: source package bone101
dpkg-buildpackage: source version 1.1.5-0rcnee2~bpo80+20160626+1
dpkg-buildpackage: source distribution jessie
dpkg-buildpackage: source changed by Robert Nelson <robertcnelson@gmail.com>
dpkg-source --before-build bone101-1.1.5
dpkg-buildpackage: host architecture armhf
fakeroot debian/rules clean
dh clean
dh_testdir
dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf ./bone101
rm -rf ./node_modules
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean
dpkg-source -b bone101-1.1.5
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building bone101 using existing ./bone101_1.1.5.orig.tar.gz
dpkg-source: info: building bone101 in bone101_1.1.5-0rcnee2~bpo80+20160626+1.debian.tar.xz
dpkg-source: info: building bone101 in bone101_1.1.5-0rcnee2~bpo80+20160626+1.dsc
debian/rules build
dh build
dh_testdir
dh_auto_configure
dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/jekyll build -d ./bone101
Notice: for 10x faster LSI support, please install http://rb-gsl.rubyforge.org/
Configuration file: /<<PKGBUILDDIR>>/_config.yml
Source: /<<PKGBUILDDIR>>
Destination: ./bone101
Generating...
done.
mkdir -p node_modules
cd node_modules
/usr/bin/npm install async@2.0.0-rc.6
npm ERR! Linux 4.4.13-armv7-lpae-x4
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "async@2.0.0-rc.6"
npm ERR! node v0.12.15
npm ERR! npm v2.15.1
npm ERR! path /sbuild-nonexistent
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! Error: EACCES, mkdir '/sbuild-nonexistent'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES, mkdir '/sbuild-nonexistent'] errno: -13, code: 'EACCES', path: '/sbuild-nonexistent' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /<<PKGBUILDDIR>>/npm-debug.log
Makefile:12: recipe for target 'bone101' failed
make[1]: *** [bone101] Error 243
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 returned exit code 2
debian/rules:17: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--------------------------------------------------------------------------------
Build finished at 20160626-2140
Finished
--------
E: Build failure (dpkg-buildpackage died)
for any npm install xyz, i usually add these options: (adjust the prefix to your install directory)
npm_options="--unsafe-perm=true --progress=false --loglevel=error --prefix /usr/local"
I think I fixed this in the Makefile now. Should be labeled 1.1.6.