Skip to content

Instantly share code, notes, and snippets.

@TheEssem
Last active February 1, 2018 19:17
Show Gist options
  • Save TheEssem/49728eb7e00339a060e0a8ec939da246 to your computer and use it in GitHub Desktop.
Save TheEssem/49728eb7e00339a060e0a8ec939da246 to your computer and use it in GitHub Desktop.
removed '/etc/apt/sources.list.d/basho_riak.list'
W: http://dl.hhvm.com/ubuntu/dists/trusty/InRelease: Signature by key 36AEF64D0207E7EEE352D4875A16E7281BE7A449 uses weak digest algorithm (SHA1)
W: GPG error: http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release: The following signatures were invalid: KEYEXPIRED 1507497109
W: The repository 'http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 Release' is not signed.
W: Failed to fetch http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/InRelease Could not connect to ppa.launchpad.net:80 (91.189.95.83), connection timed out
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/trusty/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/openjdk-r/ppa/ubuntu/dists/trusty/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/pollinate/ppa/ubuntu/dists/trusty/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/webupd8team/java/ubuntu/dists/trusty/InRelease Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/dists/trusty/main/binary-amd64/Packages Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/dists/trusty/main/binary-i386/Packages Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/chris-lea/redis-server/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/trusty/main/binary-amd64/Packages Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/trusty/main/binary-i386/Packages Unable to connect to ppa.launchpad.net:http:
W: Failed to fetch http://ppa.launchpad.net/george-edison55/cmake-3.x/ubuntu/dists/trusty/main/i18n/Translation-en Unable to connect to ppa.launchpad.net:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
Executing: /tmp/tmp.ICoRDI7czI/gpg.1.sh --keyserver
hkp://keyserver.ubuntu.com:80
--recv
EA312927
gpg: requesting key EA312927 from hkp server keyserver.ubuntu.com
gpg: key EA312927: "MongoDB 3.2 Release Signing Key <packaging@mongodb.com>" 1 new signature
gpg: Total number processed: 1
gpg: new signatures: 1
$ git clone --depth=50 --branch=master https://github.com/TheEssemCraft/twemoji-colr.git TheEssemCraft/twemoji-colr
Cloning into 'TheEssemCraft/twemoji-colr'...
remote: Counting objects: 273, done.
remote: Compressing objects: 100% (129/129), done.
remote: Total 273 (delta 147), reused 262 (delta 139), pack-reused 0
Receiving objects: 100% (273/273), 8.48 MiB | 21.28 MiB/s, done.
Resolving deltas: 100% (147/147), done.
$ cd TheEssemCraft/twemoji-colr
$ git checkout -qf
$ export PATH=./node_modules/.bin:$PATH
$ node --version
v8.7.0
$ npm --version
5.4.2
$ nvm --version
0.33.4
$ sudo add-apt-repository ppa:deadsnakes/ppa -y
gpg: keyring `/tmp/tmpfpxzkckk/secring.gpg' created
gpg: keyring `/tmp/tmpfpxzkckk/pubring.gpg' created
gpg: requesting key 6A755776 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpfpxzkckk/trustdb.gpg: trustdb created
gpg: key 6A755776: public key "Launchpad PPA for deadsnakes" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
$ sudo apt-get update -qq
W: http://dl.hhvm.com/ubuntu/dists/trusty/InRelease: Signature by key 36AEF64D0207E7EEE352D4875A16E7281BE7A449 uses weak digest algorithm (SHA1)
W: http://ppa.launchpad.net/couchdb/stable/ubuntu/dists/trusty/Release.gpg: Signature by key 15866BAFD9BCC4F3C1E0DFC7D69548E1C17EAB57 uses weak digest algorithm (SHA1)
$ sudo apt-get install -qq fonttools fontforge python3.6 libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
Selecting previously unselected package libgfortran3:amd64.
(Reading database ... 92755 files and directories currently installed.)
Preparing to unpack .../libgfortran3_4.8.4-2ubuntu1~14.04.3_amd64.deb ...
Unpacking libgfortran3:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Selecting previously unselected package libharfbuzz-gobject0:amd64.
Preparing to unpack .../libharfbuzz-gobject0_0.9.27-1ubuntu1.1_amd64.deb ...
Unpacking libharfbuzz-gobject0:amd64 (0.9.27-1ubuntu1.1) ...
Selecting previously unselected package libharfbuzz-icu0:amd64.
Preparing to unpack .../libharfbuzz-icu0_0.9.27-1ubuntu1.1_amd64.deb ...
Unpacking libharfbuzz-icu0:amd64 (0.9.27-1ubuntu1.1) ...
Selecting previously unselected package libspiro0:amd64.
Preparing to unpack .../libspiro0_20071029-8ubuntu1_amd64.deb ...
Unpacking libspiro0:amd64 (20071029-8ubuntu1) ...
Selecting previously unselected package libuninameslist0.
Preparing to unpack .../libuninameslist0_0.3.20130501-3_amd64.deb ...
Unpacking libuninameslist0 (0.3.20130501-3) ...
Selecting previously unselected package libpython3.6-minimal:amd64.
Preparing to unpack .../libpython3.6-minimal_3.6.3-1+trusty1_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.3-1+trusty1) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../python3.6-minimal_3.6.3-1+trusty1_amd64.deb ...
Unpacking python3.6-minimal (3.6.3-1+trusty1) ...
Selecting previously unselected package intltool-debian.
Preparing to unpack .../intltool-debian_0.35.0+20060710.1_all.deb ...
Unpacking intltool-debian (0.35.0+20060710.1) ...
Selecting previously unselected package po-debconf.
Preparing to unpack .../po-debconf_1.0.16+nmu2ubuntu1_all.deb ...
Unpacking po-debconf (1.0.16+nmu2ubuntu1) ...
Selecting previously unselected package dh-apparmor.
Preparing to unpack .../dh-apparmor_2.10.95-0ubuntu2.6~14.04.1_all.deb ...
Unpacking dh-apparmor (2.10.95-0ubuntu2.6~14.04.1) ...
Selecting previously unselected package debhelper.
Preparing to unpack .../debhelper_9.20131227ubuntu1_all.deb ...
Unpacking debhelper (9.20131227ubuntu1) ...
Selecting previously unselected package fontforge-common.
Preparing to unpack .../fontforge-common_20120731.b-5ubuntu0.1_all.deb ...
Unpacking fontforge-common (20120731.b-5ubuntu0.1) ...
Selecting previously unselected package libfontforge1.
Preparing to unpack .../libfontforge1_20120731.b-5ubuntu0.1_amd64.deb ...
Unpacking libfontforge1 (20120731.b-5ubuntu0.1) ...
Selecting previously unselected package libgdraw4.
Preparing to unpack .../libgdraw4_20120731.b-5ubuntu0.1_amd64.deb ...
Unpacking libgdraw4 (20120731.b-5ubuntu0.1) ...
Selecting previously unselected package fontforge.
Preparing to unpack .../fontforge_20120731.b-5ubuntu0.1_amd64.deb ...
Unpacking fontforge (20120731.b-5ubuntu0.1) ...
Selecting previously unselected package libblas3.
Preparing to unpack .../libblas3_1.2.20110419-7_amd64.deb ...
Unpacking libblas3 (1.2.20110419-7) ...
Selecting previously unselected package liblapack3.
Preparing to unpack .../liblapack3_3.5.0-2ubuntu1_amd64.deb ...
Unpacking liblapack3 (3.5.0-2ubuntu1) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../python-numpy_1%3a1.8.2-0ubuntu0.1_amd64.deb ...
Unpacking python-numpy (1:1.8.2-0ubuntu0.1) ...
Selecting previously unselected package fonttools.
Preparing to unpack .../fonttools_2.4-1_all.deb ...
Unpacking fonttools (2.4-1) ...
Selecting previously unselected package fonttools-eexecop.
Preparing to unpack .../fonttools-eexecop_2.4-1_amd64.deb ...
Unpacking fonttools-eexecop (2.4-1) ...
Selecting previously unselected package gir1.2-pango-1.0.
Preparing to unpack .../gir1.2-pango-1.0_1.36.3-1ubuntu1.1_amd64.deb ...
Unpacking gir1.2-pango-1.0 (1.36.3-1ubuntu1.1) ...
Selecting previously unselected package libgif-dev.
Preparing to unpack .../libgif-dev_4.1.6-11_amd64.deb ...
Unpacking libgif-dev (4.1.6-11) ...
Selecting previously unselected package libharfbuzz-dev.
Preparing to unpack .../libharfbuzz-dev_0.9.27-1ubuntu1.1_amd64.deb ...
Unpacking libharfbuzz-dev (0.9.27-1ubuntu1.1) ...
Selecting previously unselected package libsys-hostname-long-perl.
Preparing to unpack .../libsys-hostname-long-perl_1.4-3_all.deb ...
Unpacking libsys-hostname-long-perl (1.4-3) ...
Selecting previously unselected package libmail-sendmail-perl.
Preparing to unpack .../libmail-sendmail-perl_0.79.16-1_all.deb ...
Unpacking libmail-sendmail-perl (0.79.16-1) ...
Selecting previously unselected package libpango1.0-dev.
Preparing to unpack .../libpango1.0-dev_1.36.3-1ubuntu1.1_amd64.deb ...
Unpacking libpango1.0-dev (1.36.3-1ubuntu1.1) ...
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack .../libpython3.6-stdlib_3.6.3-1+trusty1_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.3-1+trusty1) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../python3.6_3.6.3-1+trusty1_amd64.deb ...
Unpacking python3.6 (3.6.3-1+trusty1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Setting up libgfortran3:amd64 (4.8.4-2ubuntu1~14.04.3) ...
Setting up libharfbuzz-gobject0:amd64 (0.9.27-1ubuntu1.1) ...
Setting up libharfbuzz-icu0:amd64 (0.9.27-1ubuntu1.1) ...
Setting up libspiro0:amd64 (20071029-8ubuntu1) ...
Setting up libuninameslist0 (0.3.20130501-3) ...
Setting up libpython3.6-minimal:amd64 (3.6.3-1+trusty1) ...
Setting up python3.6-minimal (3.6.3-1+trusty1) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2ubuntu1) ...
Setting up dh-apparmor (2.10.95-0ubuntu2.6~14.04.1) ...
Setting up debhelper (9.20131227ubuntu1) ...
Setting up fontforge-common (20120731.b-5ubuntu0.1) ...
Setting up libfontforge1 (20120731.b-5ubuntu0.1) ...
Setting up libgdraw4 (20120731.b-5ubuntu0.1) ...
Setting up fontforge (20120731.b-5ubuntu0.1) ...
Setting up libblas3 (1.2.20110419-7) ...
update-alternatives: using /usr/lib/libblas/libblas.so.3 to provide /usr/lib/libblas.so.3 (libblas.so.3) in auto mode
Setting up liblapack3 (3.5.0-2ubuntu1) ...
update-alternatives: using /usr/lib/lapack/liblapack.so.3 to provide /usr/lib/liblapack.so.3 (liblapack.so.3) in auto mode
Setting up python-numpy (1:1.8.2-0ubuntu0.1) ...
Setting up fonttools (2.4-1) ...
Setting up fonttools-eexecop (2.4-1) ...
Setting up gir1.2-pango-1.0 (1.36.3-1ubuntu1.1) ...
Setting up libgif-dev (4.1.6-11) ...
Setting up libharfbuzz-dev (0.9.27-1ubuntu1.1) ...
Setting up libsys-hostname-long-perl (1.4-3) ...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up libpango1.0-dev (1.36.3-1ubuntu1.1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.3-1+trusty1) ...
Setting up python3.6 (3.6.3-1+trusty1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...
$ npm install
> ttf2woff2@2.0.3 install /home/travis/build/TheEssemCraft/twemoji-colr/node_modules/ttf2woff2
> (node-gyp rebuild > builderror.log) || (exit 0)
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN resemblejs@2.2.6 requires a peer of canvas@^1.6.5 but none is installed. You must install peer dependencies yourself.
added 255 packages in 31.59s
$ npm install -g install-peerdeps
/home/travis/.nvm/versions/node/v8.7.0/bin/install-peerdeps -> /home/travis/.nvm/versions/node/v8.7.0/lib/node_modules/install-peerdeps/lib/cli.js
+ install-peerdeps@1.2.0
added 19 packages in 1.556s
$ install-peerdeps resemblejs@2.2.6
install-peerdeps v1.2.0
Installing peerdeps for resemblejs@2.2.6.
npm install resemblejs canvas@^1.6.5 --save
> canvas@1.6.7 install /home/travis/build/TheEssemCraft/twemoji-colr/node_modules/canvas
> node-gyp rebuild
make: Entering directory `/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/canvas/build'
SOLINK_MODULE(target) Release/obj.target/canvas-postbuild.node
COPY Release/canvas-postbuild.node
CXX(target) Release/obj.target/canvas/src/Canvas.o
CXX(target) Release/obj.target/canvas/src/CanvasGradient.o
CXX(target) Release/obj.target/canvas/src/CanvasPattern.o
CXX(target) Release/obj.target/canvas/src/CanvasRenderingContext2d.o
CXX(target) Release/obj.target/canvas/src/color.o
CXX(target) Release/obj.target/canvas/src/Image.o
CXX(target) Release/obj.target/canvas/src/ImageData.o
CXX(target) Release/obj.target/canvas/src/init.o
CXX(target) Release/obj.target/canvas/src/FontFace.o
SOLINK_MODULE(target) Release/obj.target/canvas.node
COPY Release/canvas.node
make: Leaving directory `/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/canvas/build'
+ resemblejs@2.2.6
+ canvas@1.6.7
added 14 packages and updated 1 package in 14.349s
SUCCESS resemblejs and its peerDeps were installed successfully.
$ make
node layerize.js twe-svg.zip overrides extras build Twemoji\ Mozilla
events.js:182
throw er; // Unhandled 'error' event
^
TypeError: Cannot read property 'forEach' of undefined
at /home/travis/build/TheEssemCraft/twemoji-colr/layerize.js:387:29
at Array.forEach (<anonymous>)
at addToPaths (/home/travis/build/TheEssemCraft/twemoji-colr/layerize.js:385:19)
at /home/travis/build/TheEssemCraft/twemoji-colr/layerize.js:525:9
at Parser.<anonymous> (/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/xml2js/lib/parser.js:303:18)
at emitOne (events.js:115:13)
at Parser.emit (events.js:210:7)
at SAXParser.onclosetag (/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/xml2js/lib/parser.js:261:26)
at emit (/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/sax/lib/sax.js:615:33)
at emitNode (/home/travis/build/TheEssemCraft/twemoji-colr/node_modules/sax/lib/sax.js:620:3)
make: *** [build/codepoints.js] Error 1
The command "make" exited with 2.
@TheEssem
Copy link
Author

TheEssem commented Feb 1, 2018

This should have been a secret gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment