Last active
February 14, 2017 23:01
-
-
Save andrewn/21cc51e38fa111cb5bcb2e8090fe8e62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rdt push --source . | |
(node:16932) DeprecationWarning: Using Buffer without `new` will soon stop working. Use `new Buffer()`, or preferably `Buffer.from()`, `Buffer.allocUnsafe()` or `Buffer.alloc()` instead. | |
Reporting discovered devices | |
? select a device resin.local (192.168.178.45) | |
* Building.. | |
- Stopping and Removing any previous 'resin-johnny-five-example' container | |
- Building new 'resin-johnny-five-example' image | |
Step 1 : FROM resin/raspberrypi2-alpine-node:5-edge | |
---> d174973cdbb3 | |
Step 2 : RUN apk add --no-cache wiringpi | |
---> Using cache | |
---> d2547fcb1495 | |
Step 3 : WORKDIR /usr/src/app | |
---> Using cache | |
---> 6e0b2054e974 | |
Step 4 : COPY package.json package.json | |
---> Using cache | |
---> 9c3791352685 | |
Step 5 : RUN git clone git://git.drogon.net/wiringPi /usr/src/wiringPi && cp /usr/src/wiringPi/wiringPi/*.h /usr/local/include/ | |
---> Running in 6c8b98723bad | |
Cloning into '/usr/src/wiringPi'... | |
---> 028c276c4c3c | |
Removing intermediate container 6c8b98723bad | |
Step 6 : RUN npm install | |
---> Running in 5625fc51962a | |
> raspi-soft-pwm@2.0.2 preinstall /usr/src/app/node_modules/.staging/raspi-soft-pwm-2ea8175e | |
> sh install-pigpio.sh | |
\nDownloading pigpio...\n | |
Cloning into 'pigpio'... | |
\nBuilding pigpio. You may be asked for your root password.\n | |
gcc -O3 -Wall -pthread -fpic -c -o pigpio.o pigpio.c | |
pigpio.c: In function 'fileApprove': | |
pigpio.c:12682:15: warning: 'mperm' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
switch (toupper(mperm)) | |
^~~~~~~~~~~~~~ | |
gcc -O3 -Wall -pthread -fpic -c -o command.o command.c | |
gcc -shared -o libpigpio.so pigpio.o command.o | |
strip --strip-unneeded libpigpio.so | |
size libpigpio.so | |
text data bss dec hex filename | |
239545 5340 596552 841437 cd6dd libpigpio.so | |
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if.o pigpiod_if.c | |
gcc -shared -o libpigpiod_if.so pigpiod_if.o command.o | |
strip --strip-unneeded libpigpiod_if.so | |
size libpigpiod_if.so | |
text data bss dec hex filename | |
63061 4308 49268 116637 1c79d libpigpiod_if.so | |
gcc -O3 -Wall -pthread -fpic -c -o pigpiod_if2.o pigpiod_if2.c | |
gcc -shared -o libpigpiod_if2.so pigpiod_if2.o command.o | |
strip --strip-unneeded libpigpiod_if2.so | |
size libpigpiod_if2.so | |
text data bss dec hex filename | |
76888 4312 2008 83208 14508 libpigpiod_if2.so | |
gcc -O3 -Wall -pthread -c -o x_pigpio.o x_pigpio.c | |
gcc -o x_pigpio x_pigpio.o -L. -lpigpio -pthread -lrt | |
gcc -O3 -Wall -pthread -c -o x_pigpiod_if.o x_pigpiod_if.c | |
gcc -o x_pigpiod_if x_pigpiod_if.o -L. -lpigpiod_if -pthread -lrt | |
gcc -O3 -Wall -pthread -c -o x_pigpiod_if2.o x_pigpiod_if2.c | |
gcc -o x_pigpiod_if2 x_pigpiod_if2.o -L. -lpigpiod_if2 -pthread -lrt | |
gcc -O3 -Wall -pthread -c -o pig2vcd.o pig2vcd.c | |
gcc -o pig2vcd pig2vcd.o | |
strip pig2vcd | |
gcc -O3 -Wall -pthread -c -o pigpiod.o pigpiod.c | |
gcc -o pigpiod pigpiod.o -L. -lpigpio -pthread -lrt | |
strip pigpiod | |
gcc -O3 -Wall -pthread -c -o pigs.o pigs.c | |
gcc -o pigs pigs.o command.o | |
strip pigs | |
Could not install pigpio\n | |
install-pigpio.sh: line 50: sudo: not found | |
raspi-soft-pwm@2.0.2 preinstall: `sh install-pigpio.sh` | |
Exit status 1 | |
> i2c-bus@1.2.1 install /usr/src/app/node_modules/i2c-bus | |
> node-gyp rebuild | |
make: Entering directory '/usr/src/app/node_modules/i2c-bus/build' | |
CXX(target) Release/obj.target/i2c/src/i2c.o | |
SOLINK_MODULE(target) Release/obj.target/i2c.node | |
COPY Release/i2c.node | |
make: Leaving directory '/usr/src/app/node_modules/i2c-bus/build' | |
> raspi@3.0.5 install /usr/src/app/node_modules/raspi | |
> node-gyp rebuild | |
make: Entering directory '/usr/src/app/node_modules/raspi/build' | |
CXX(target) Release/obj.target/addon/src-native/addon.o | |
CXX(target) Release/obj.target/addon/src-native/init.o | |
SOLINK_MODULE(target) Release/obj.target/addon.node | |
-lwiringPi | |
collect2: error: ld returned 1 exit status | |
make: *** [addon.target.mk:114: Release/obj.target/addon.node] Error 1 | |
make: Leaving directory '/usr/src/app/node_modules/raspi/build' | |
Error: `make` failed with exit code: 2 | |
at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) | |
at emitTwo (events.js:100:13) | |
at ChildProcess.emit (events.js:185:7) | |
at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) | |
Linux 4.1.21 | |
command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
/usr/src/app/node_modules/raspi | |
node -v v5.12.0 | |
node-gyp -v v3.3.1 | |
raspi@3.0.5 install: `node-gyp rebuild` | |
Exit status 1 | |
> raspi-gpio@3.1.1 install /usr/src/app/node_modules/raspi-gpio | |
> node-gyp rebuild | |
make: Entering directory '/usr/src/app/node_modules/raspi-gpio/build' | |
CXX(target) Release/obj.target/addon/src-native/addon.o | |
CXX(target) Release/obj.target/addon/src-native/init.o | |
CXX(target) Release/obj.target/addon/src-native/listener.o | |
CXX(target) Release/obj.target/addon/src-native/write.o | |
CXX(target) Release/obj.target/addon/src-native/read.o | |
SOLINK_MODULE(target) Release/obj.target/addon.node | |
lib/gcc/armv6-alpine-linux-muslgnueabihf/6.3.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: cannot find -lwiringPi | |
collect2: error: ld returned 1 exit status | |
make: Leaving directory '/usr/src/app/node_modules/raspi-gpio/build' | |
make: *** [addon.target.mk:117: Release/obj.target/addon.node] Error 1 | |
ERR! stack Error: `make` failed with exit code: 2 | |
stack at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) | |
at emitTwo (events.js:100:13) | |
stack at ChildProcess.emit (events.js:185:7) | |
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) | |
Linux 4.1.21 | |
ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
/usr/src/app/node_modules/raspi-gpio | |
v5.12.0 | |
v3.3.1 | |
raspi-gpio@3.1.1 install: `node-gyp rebuild` | |
Exit status 1 | |
> raspi-pwm@3.1.3 install /usr/src/app/node_modules/raspi-pwm | |
> node-gyp rebuild | |
make: Entering directory '/usr/src/app/node_modules/raspi-pwm/build' | |
CXX(target) Release/obj.target/addon/src-native/addon.o | |
CXX(target) Release/obj.target/addon/src-native/init.o | |
CXX(target) Release/obj.target/addon/src-native/write.o | |
SOLINK_MODULE(target) Release/obj.target/addon.node | |
/usr/lib/gcc/armv6-alpine-linux-muslgnueabihf/6.3.0/../../../../armv6-alpine-linux-muslgnueabihf/bin/ld: cannot find -lwiringPi | |
collect2: error: ld returned 1 exit status | |
make: *** [addon.target.mk:115: Release/obj.target/addon.node] Error 1 | |
make: Leaving directory '/usr/src/app/node_modules/raspi-pwm/build' | |
Error: `make` failed with exit code: 2 | |
at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23) | |
gyp ERR! stack at emitTwo (events.js:100:13) | |
at ChildProcess.emit (events.js:185:7) | |
stack at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12) | |
Linux 4.1.21 | |
"/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" | |
/usr/src/app/node_modules/raspi-pwm | |
v5.12.0 | |
v3.3.1 | |
WARN install:raspi-pwm@3.1.3 raspi-pwm@3.1.3 install: `node-gyp rebuild` | |
WARN install:raspi-pwm@3.1.3 Exit status 1 | |
> serialport@4.0.7 install /usr/src/app/node_modules/serialport | |
> node-pre-gyp install --fallback-to-build | |
ERR! Tried to download(404): https://github.com/EmergingTechnologyAdvisors/node-serialport/releases/download/4.0.7/serialport-v4.0.7-node-v47-linux-arm.tar.gz | |
node-pre-gyp ERR! Pre-built binaries not found for serialport@4.0.7 and node@5.12.0 (node-v47 ABI) (falling back to source compile with node-gyp) | |
make: Entering directory '/usr/src/app/node_modules/serialport/build' | |
CXX(target) Release/obj.target/serialport/src/serialport.o | |
CXX(target) Release/obj.target/serialport/src/serialport_unix.o | |
CXX(target) Release/obj.target/serialport/src/serialport_poller.o | |
SOLINK_MODULE(target) Release/obj.target/serialport.node | |
COPY Release/serialport.node | |
make: Leaving directory '/usr/src/app/node_modules/serialport/build' | |
> raspi-i2c@5.0.3 postinstall /usr/src/app/node_modules/raspi-i2c | |
> echo "Enabling I2C at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_i2c.js | |
Enabling I2C at boot time, you may be asked for your password | |
sh: sudo: not found | |
raspi-i2c@5.0.3 postinstall: `echo "Enabling I2C at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_i2c.js` | |
spawn ENOENT | |
> raspi-serial@3.0.5 postinstall /usr/src/app/node_modules/raspi-serial | |
> echo "Disabling serial port login at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_serial.js | |
Disabling serial port login at boot time, you may be asked for your password | |
sudo: not found | |
WARN install:raspi-serial@3.0.5 raspi-serial@3.0.5 postinstall: `echo "Disabling serial port login at boot time, you may be asked for your password" && sudo env "PATH=$PATH" script/enable_serial.js` | |
npm WARN install:raspi-serial@3.0.5 spawn ENOENT | |
resin-johnny-five-example@1.0.0 /usr/src/app | |
+-- board-io@3.0.5 | |
| `-- check-types@1.4.0 | |
+-- johnny-five@0.10.6 | |
| +-- browser-serialport@2.1.0 | |
| +-- chalk@1.1.3 | |
| | +-- ansi-styles@2.2.1 | |
| | +-- escape-string-regexp@1.0.5 | |
| | +-- has-ansi@2.0.0 | |
| | | `-- ansi-regex@2.1.1 | |
| | +-- strip-ansi@3.0.1 | |
| | `-- supports-color@2.0.0 | |
| +-- color-convert@1.2.2 | |
| +-- ease-component@1.0.0 | |
| +-- es6-shim@0.35.3 | |
| +-- firmata@0.15.0 | |
| +-- lodash.clonedeep@4.5.0 | |
| +-- lodash.debounce@4.0.8 | |
| +-- nanotimer@0.3.10 | |
| +-- serialport@4.0.7 | |
| | +-- bindings@1.2.1 | |
| | +-- commander@2.9.0 | |
| | | `-- graceful-readlink@1.0.1 | |
| | +-- debug@2.6.1 | |
| | | `-- ms@0.7.2 | |
| | +-- lie@3.1.1 | |
| | | `-- immediate@3.0.6 | |
| | +-- nan@2.5.1 | |
| | +-- node-pre-gyp@0.6.32 | |
| | | +-- mkdirp@0.5.1 | |
| | | | `-- minimist@0.0.8 | |
| | | +-- nopt@3.0.6 | |
| | | | `-- abbrev@1.0.9 | |
| | | +-- npmlog@4.0.1 | |
| | | | +-- are-we-there-yet@1.1.2 | |
| | | | | +-- delegates@1.0.0 | |
| | | | | `-- readable-stream@2.2.2 | |
| | | | | +-- buffer-shims@1.0.0 | |
| | | | | +-- core-util-is@1.0.2 | |
| | | | | +-- inherits@2.0.3 | |
| | | | | +-- isarray@1.0.0 | |
| | | | | +-- process-nextick-args@1.0.7 | |
| | | | | +-- string_decoder@0.10.31 | |
| | | | | `-- util-deprecate@1.0.2 | |
| | | | +-- console-control-strings@1.1.0 | |
| | | | +-- gauge@2.7.2 | |
| | | | | +-- aproba@1.0.4 | |
| | | | | +-- has-unicode@2.0.1 | |
| | | | | +-- object-assign@4.1.0 | |
| | | | | +-- signal-exit@3.0.2 | |
| | | | | +-- string-width@1.0.2 | |
| | | | | | +-- code-point-at@1.1.0 | |
| | | | | | `-- is-fullwidth-code-point@1.0.0 | |
| | | | | | `-- number-is-nan@1.0.1 | |
| | | | | +-- strip-ansi@3.0.1 | |
| | | | | | `-- ansi-regex@2.0.0 | |
| | | | | +-- supports-color@0.2.0 | |
| | | | | `-- wide-align@1.1.0 | |
| | | | `-- set-blocking@2.0.0 | |
| | | +-- rc@1.1.6 | |
| | | | +-- deep-extend@0.4.1 | |
| | | | +-- ini@1.3.4 | |
| | | | +-- minimist@1.2.0 | |
| | | | `-- strip-json-comments@1.0.4 | |
| | | +-- request@2.79.0 | |
| | | | +-- aws-sign2@0.6.0 | |
| | | | +-- aws4@1.5.0 | |
| | | | +-- caseless@0.11.0 | |
| | | | +-- combined-stream@1.0.5 | |
| | | | | `-- delayed-stream@1.0.0 | |
| | | | +-- extend@3.0.0 | |
| | | | +-- forever-agent@0.6.1 | |
| | | | +-- form-data@2.1.2 | |
| | | | | `-- asynckit@0.4.0 | |
| | | | +-- har-validator@2.0.6 | |
| | | | | +-- chalk@1.1.3 | |
| | | | | | +-- ansi-styles@2.2.1 | |
| | | | | | +-- escape-string-regexp@1.0.5 | |
| | | | | | +-- has-ansi@2.0.0 | |
| | | | | | | `-- ansi-regex@2.0.0 | |
| | | | | | +-- strip-ansi@3.0.1 | |
| | | | | | | `-- ansi-regex@2.0.0 | |
| | | | | | `-- supports-color@2.0.0 | |
| | | | | +-- is-my-json-valid@2.15.0 | |
| | | | | | +-- generate-function@2.0.0 | |
| | | | | | +-- generate-object-property@1.2.0 | |
| | | | | | | `-- is-property@1.0.2 | |
| | | | | | +-- jsonpointer@4.0.0 | |
| | | | | | `-- xtend@4.0.1 | |
| | | | | `-- pinkie-promise@2.0.1 | |
| | | | | `-- pinkie@2.0.4 | |
| | | | +-- hawk@3.1.3 | |
| | | | | +-- boom@2.10.1 | |
| | | | | +-- cryptiles@2.0.5 | |
| | | | | +-- hoek@2.16.3 | |
| | | | | `-- sntp@1.0.9 | |
| | | | +-- http-signature@1.1.1 | |
| | | | | +-- assert-plus@0.2.0 | |
| | | | | +-- jsprim@1.3.1 | |
| | | | | | +-- extsprintf@1.0.2 | |
| | | | | | +-- json-schema@0.2.3 | |
| | | | | | `-- verror@1.3.6 | |
| | | | | `-- sshpk@1.10.1 | |
| | | | | +-- asn1@0.2.3 | |
| | | | | +-- assert-plus@1.0.0 | |
| | | | | +-- bcrypt-pbkdf@1.0.0 | |
| | | | | +-- dashdash@1.14.1 | |
| | | | | +-- ecc-jsbn@0.1.1 | |
| | | | | +-- getpass@0.1.6 | |
| | | | | +-- jodid25519@1.0.2 | |
| | | | | +-- jsbn@0.1.0 | |
| | | | | `-- tweetnacl@0.14.4 | |
| | | | +-- is-typedarray@1.0.0 | |
| | | | +-- isstream@0.1.2 | |
| | | | +-- json-stringify-safe@5.0.1 | |
| | | | +-- mime-types@2.1.13 | |
| | | | | `-- mime-db@1.25.0 | |
| | | | +-- oauth-sign@0.8.2 | |
| | | | +-- qs@6.3.0 | |
| | | | +-- stringstream@0.0.5 | |
| | | | +-- tough-cookie@2.3.2 | |
| | | | | `-- punycode@1.4.1 | |
| | | | +-- tunnel-agent@0.4.3 | |
| | | | `-- uuid@3.0.1 | |
| | | +-- rimraf@2.5.4 | |
| | | | `-- glob@7.1.1 | |
| | | | +-- fs.realpath@1.0.0 | |
| | | | +-- inflight@1.0.6 | |
| | | | | `-- wrappy@1.0.2 | |
| | | | +-- inherits@2.0.3 | |
| | | | +-- minimatch@3.0.3 | |
| | | | | `-- brace-expansion@1.1.6 | |
| | | | | +-- balanced-match@0.4.2 | |
| | | | | `-- concat-map@0.0.1 | |
| | | | +-- once@1.4.0 | |
| | | | | `-- wrappy@1.0.2 | |
| | | | `-- path-is-absolute@1.0.1 | |
| | | +-- semver@5.3.0 | |
| | | +-- tar@2.2.1 | |
| | | | +-- block-stream@0.0.9 | |
| | | | +-- fstream@1.0.10 | |
| | | | | `-- graceful-fs@4.1.11 | |
| | | | `-- inherits@2.0.3 | |
| | | `-- tar-pack@3.3.0 | |
| | | +-- debug@2.2.0 | |
| | | | `-- ms@0.7.1 | |
| | | +-- fstream@1.0.10 | |
| | | | +-- graceful-fs@4.1.11 | |
| | | | `-- inherits@2.0.3 | |
| | | +-- fstream-ignore@1.0.5 | |
| | | | +-- inherits@2.0.3 | |
| | | | `-- minimatch@3.0.3 | |
| | | | `-- brace-expansion@1.1.6 | |
| | | | +-- balanced-match@0.4.2 | |
| | | | `-- concat-map@0.0.1 | |
| | | +-- once@1.3.3 | |
| | | | `-- wrappy@1.0.2 | |
| | | +-- readable-stream@2.1.5 | |
| | | | +-- buffer-shims@1.0.0 | |
| | | | +-- core-util-is@1.0.2 | |
| | | | +-- inherits@2.0.3 | |
| | | | +-- isarray@1.0.0 | |
| | | | +-- process-nextick-args@1.0.7 | |
| | | | +-- string_decoder@0.10.31 | |
| | | | `-- util-deprecate@1.0.2 | |
| | | `-- uid-number@0.0.6 | |
| | `-- object.assign@4.0.4 | |
| | +-- define-properties@1.1.2 | |
| | | `-- foreach@2.0.5 | |
| | +-- function-bind@1.1.0 | |
| | `-- object-keys@1.0.11 | |
| `-- temporal@0.5.0 | |
+-- node-fetch@1.6.3 | |
| +-- encoding@0.1.12 | |
| | `-- iconv-lite@0.4.15 | |
| `-- is-stream@1.1.0 | |
+-- raspi-io-core@1.0.1 extraneous | |
`-- raspi-led@1.5.5 extraneous | |
resin-johnny-five-example@1.0.0 No description | |
resin-johnny-five-example@1.0.0 No repository field. | |
npm WARN resin-johnny-five-example@1.0.0 license should be a valid SPDX license expression | |
---> 64e6ba305d2e | |
Removing intermediate container 5625fc51962a | |
Step 7 : COPY . . | |
---> cf1f84990c36 | |
Removing intermediate container 75a3ca10d0c0 | |
Step 8 : CMD node wait | |
---> Running in 60d58144df5a | |
---> b01bad103b41 | |
Removing intermediate container 60d58144df5a | |
Successfully built b01bad103b41 | |
- Cleaning up previous image of 'resin-johnny-five-example' | |
- Creating 'resin-johnny-five-example' container | |
- Starting 'resin-johnny-five-example' container | |
rdt push completed successfully! | |
* Streaming application logs.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment