Skip to content

Instantly share code, notes, and snippets.

@coke

coke/chat-notes Secret

Last active May 28, 2022 22:45
Show Gist options
  • Save coke/5cf8b0467ca36a28686279def693e447 to your computer and use it in GitHub Desktop.
Save coke/5cf8b0467ca36a28686279def693e447 to your computer and use it in GitHub Desktop.
raku/doc build instructions
Matthias says:
github.com/Raku/Documentable
Matthias says:ubuntu 20.04
Matthias says:nvm use v12.19.0
Matthias says:raku version 2022.03
Matthias says:zef install Documentable
Matthias says:zef install .
Matthias says:checkouts/raku/doc$
Matthias says:git checkout -t remotes/origin/old-docs
Matthias says:make assets
Matthias says:generates css from sass
Matthias says:minifying js
Matthias says:documentable setup
Matthias says:documentable start --verbose --all
Matthias says:documentable update
Matthias says:raku/doc$ cd highlights/
Matthias says:raku/doc/highlights$ npm install

need ubuntu VM to run the commands;

setup VM

nvm use v12.19.0 - exactly this version

raku versions 2022.03 specifically (apr version doesn't work)

install documentatable

Documentable - install documentable with zef

in raku/doc

checkout -t remotes/origin/old-docs make assets # css & sass

first run

documentable setup documentable start --verbose --all (all is required)]

future runs

documentable update Devops needed this run: (could be because node version was wrong to start) cd highlights npm install # again.

@dontlaugh
Copy link

My attempt

logs

Tried to work through these commands:
https://gist.github.com/coke/5cf8b0467ca36a28686279def693e447


0 % lxc shell raku-doc-ci-01
root@raku-doc-ci-01:~# su builder
builder@raku-doc-ci-01:/root$ ls
bootstrap.sh  buildkite-agent.cfg  hooks
builder@raku-doc-ci-01:/root$ cd
builder@raku-doc-ci-01:~$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 15037  100 15037    0     0   248k      0 --:--:-- --:--:-- --:--:--  248k
=> Downloading nvm from git to '/home/builder/.nvm'
=> Cloning into '/home/builder/.nvm'...
Warning: Permanently added the ECDSA host key for IP address '140.82.113.3' to the list of known hosts.
remote: Enumerating objects: 355, done.
remote: Counting objects: 100% (355/355), done.
remote: Compressing objects: 100% (302/302), done.
remote: Total 355 (delta 39), reused 169 (delta 28), pack-reused 0
Receiving objects: 100% (355/355), 221.36 KiB | 3.82 MiB/s, done.
Resolving deltas: 100% (39/39), done.
* (HEAD detached at FETCH_HEAD)
  master
=> Compressing and cleaning up git repository

=> Appending nvm source string to /home/builder/.bashrc
=> Appending bash_completion source string to /home/builder/.bashrc
=> Close and reopen your terminal to start using nvm or run the following to use it now:

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
builder@raku-doc-ci-01:~$ tail .bashrc 
  if [ -f /usr/share/bash-completion/bash_completion ]; then
    . /usr/share/bash-completion/bash_completion
  elif [ -f /etc/bash_completion ]; then
    . /etc/bash_completion
  fi
fi

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
builder@raku-doc-ci-01:~$ nvm use v12.19.0
bash: nvm: command not found
builder@raku-doc-ci-01:~$ source .bashrc
builder@raku-doc-ci-01:~$ nvm use v12.19.0
N/A: version "v12.19.0 -> N/A" is not yet installed.

You need to run "nvm install v12.19.0" to install it before using it.
builder@raku-doc-ci-01:~$ nvm install v12.19.0
Downloading and installing node v12.19.0...
Downloading https://nodejs.org/dist/v12.19.0/node-v12.19.0-linux-x64.tar.xz...
################################################################################################################################# 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v12.19.0 (npm v6.14.8)
Creating default alias: default -> v12.19.0
builder@raku-doc-ci-01:~$ nvm use v12.19.0
Now using node v12.19.0 (npm v6.14.8)
builder@raku-doc-ci-01:~$ wget https://rakudo.org/dl/rakudo/rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz
--2022-05-21 19:19:38--  https://rakudo.org/dl/rakudo/rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz
Resolving rakudo.org (rakudo.org)... 104.26.7.214, 104.26.6.214, 172.67.68.240, ...
Connecting to rakudo.org (rakudo.org)|104.26.7.214|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16008015 (15M) [application/octet-stream]
Saving to: ‘rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz’

rakudo-moar-2022.03-01-linux-x86_ 100%[=============================================================>]  15.27M  8.12MB/s    in 1.9s    

2022-05-21 19:19:41 (8.12 MB/s) - ‘rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz’ saved [16008015/16008015]

builder@raku-doc-ci-01:~$ tar -xzf rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz 
builder@raku-doc-ci-01:~$ ls
builds  rakudo-moar-2022.03-01-linux-x86_64-gcc  rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz
builder@raku-doc-ci-01:~$ ls rakudo-moar-2022.03-01-linux-x86_64-gcc
bin  include  lib  LICENSE  README.md  scripts  share
builder@raku-doc-ci-01:~$ ls rakudo-moar-2022.03-01-linux-x86_64-gcc/bin
moar  nqp-m  perl6-debug    perl6-gdb-m   perl6-m           raku        rakudo        rakudo-debug-m  rakudo-lldb-m  rakudo-valgrind-m
nqp   perl6  perl6-debug-m  perl6-lldb-m  perl6-valgrind-m  raku-debug  rakudo-debug  rakudo-gdb-m    rakudo-m
builder@raku-doc-ci-01:~$ export PATH=$PATH:$(pwd)/rakudo-moar-2022.03-01-linux-x86_64-gcc/bin
builder@raku-doc-ci-01:~$ which raku
/home/builder/rakudo-moar-2022.03-01-linux-x86_64-gcc/bin/raku
builder@raku-doc-ci-01:~$ which zef
builder@raku-doc-ci-01:~$ export PATH=$PATH:$(pwd)/rakudo-moar-2022.03-01-linux-x86_64-gcc/share/perl6/site/bin
builder@raku-doc-ci-01:~$ which zef
/home/builder/rakudo-moar-2022.03-01-linux-x86_64-gcc/share/perl6/site/bin/zef
builder@raku-doc-ci-01:~$ zef install Documentable
===> Searching for: Documentable
===> Updating fez mirror: https://360.zef.pm/
===> Updated fez mirror: https://360.zef.pm/
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Searching for missing dependencies: Pod::Load:ver<0.5.4+>, Pod::To::HTML:ver<0.7.1+>:auth<github:Raku>, Pod::From::Cache:ver<0.2+>, Doc::TypeGraph:ver<2.1.3+>:auth<github:JJ>:api<2>, Pod::Utilities:ver<0.0.1+>, URI:ver<0.3+>, File::Temp:ver<0.0.8+>, JSON::Fast:ver<0.9.18+>, Terminal::Spinners, Test::Output, Terminal::ANSIColor, File::Directory::Tree, Template::Mustache:ver<1.2.2+>, dot:from<bin>, Test::META:ver<0.0.16+>, Temp::Path
===> Failed to find dependencies: dot:from<bin>
Failed to resolve some missing dependencies (use e.g. --exclude="dot" to skip)
builder@raku-doc-ci-01:~$ zef install Documentable --exclude=dot
===> Searching for: Documentable
===> Searching for missing dependencies: Pod::Load:ver<0.5.4+>, Pod::To::HTML:ver<0.7.1+>:auth<github:Raku>, Pod::From::Cache:ver<0.2+>, Doc::TypeGraph:ver<2.1.3+>:auth<github:JJ>:api<2>, Pod::Utilities:ver<0.0.1+>, URI:ver<0.3+>, File::Temp:ver<0.0.8+>, JSON::Fast:ver<0.9.18+>, Terminal::Spinners, Test::Output, Terminal::ANSIColor, File::Directory::Tree, Template::Mustache:ver<1.2.2+>, Test::META:ver<0.0.16+>, Temp::Path
===> Searching for missing dependencies: OO::Monitors, Digest::SHA, Testo, META6:ver<0.0.24+>, License::SPDX
===> Searching for missing dependencies: JSON::Class:ver<0.0.14+>, JSON::Class:ver<0.0.15+>, JSON::Name
===> Searching for missing dependencies: JSON::Marshal:ver<0.0.23+>, JSON::Unmarshal:ver<0.08+>, JSON::OptIn
===> Testing: File::Directory::Tree:auth<labster>
===> Testing [OK] for File::Directory::Tree:auth<labster>
===> Testing: File::Temp:ver<0.0.10>:auth<zef:rbt>
===> Testing [OK] for File::Temp:ver<0.0.10>:auth<zef:rbt>
===> Testing: JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>
===> Testing [OK] for JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>
===> Testing: JSON::OptIn:ver<0.0.1>:auth<github:jonathanstowe>
===> Testing [OK] for JSON::OptIn:ver<0.0.1>:auth<github:jonathanstowe>
===> Testing: JSON::Name:ver<0.0.6>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Name:ver<0.0.6>:auth<github:jonathanstowe>:api<1.0>
===> Testing: JSON::Marshal:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Marshal:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Testing: JSON::Unmarshal:ver<0.08>
===> Testing [OK] for JSON::Unmarshal:ver<0.08>
===> Testing: JSON::Class:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Class:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Testing: META6:ver<0.0.26>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for META6:ver<0.0.26>:auth<github:jonathanstowe>:api<1.0>
===> Testing: URI:ver<0.3.5>
===> Testing [OK] for URI:ver<0.3.5>
===> Testing: License::SPDX:ver<3.17.0>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for License::SPDX:ver<3.17.0>:auth<github:jonathanstowe>:api<1.0>
===> Testing: Test::META:ver<0.0.17>:auth<github:jonathanstowe>:api<1.0>
[Test::META] # the following may make some diagnostics from the module itself
===> Testing [OK] for Test::META:ver<0.0.17>:auth<github:jonathanstowe>:api<1.0>
===> Testing: Pod::Load:ver<0.7.1>:auth<zef:jjmerelo>
[Pod::Load] # Testing strings
[Pod::Load] # Testing files
[Pod::Load] # Testing strings with metadata
===> Testing [OK] for Pod::Load:ver<0.7.1>:auth<zef:jjmerelo>
===> Testing: Template::Mustache:ver<1.2.3>:auth<github:softmoth>
===> Testing [OK] for Template::Mustache:ver<1.2.3>:auth<github:softmoth>
===> Testing: OO::Monitors:ver<1.1.1>
===> Testing [OK] for OO::Monitors:ver<1.1.1>
===> Testing: Test::Output:ver<1.001003>
===> Testing [OK] for Test::Output:ver<1.001003>
===> Testing: Pod::To::HTML:ver<0.8.1>:auth<github:Raku>
===> Testing [OK] for Pod::To::HTML:ver<0.8.1>:auth<github:Raku>
===> Testing: Pod::From::Cache:ver<0.3>:auth<github:finanalyst>
[Pod::From::Cache] # Prepare for t/45-compile-ok
[Pod::From::Cache] # Create multiple (3) caches
===> Testing [OK] for Pod::From::Cache:ver<0.3>:auth<github:finanalyst>
===> Testing: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2>
[Doc::TypeGraph] dot command failed! (did you install Graphviz?)
[Doc::TypeGraph]   in method to-file at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 170
[Doc::TypeGraph]   in method write-type-graph-images at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 203
[Doc::TypeGraph]   in sub testing-roundtrip at t/07-viz.t line 11
[Doc::TypeGraph]   in block <unit> at t/07-viz.t line 29
===> Testing [FAIL]: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2>
Aborting due to test failure: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2> (use --force-test to override)
builder@raku-doc-ci-01:~$ zef install --help
Usage:
  zef [--fetch] [--build] [--test] [--depends] [--build-depends] [--test-depends] [--force] [--force-resolve] [--force-fetch] [--force-extract] [--force-build] [--force-test] [--force-install] [--timeout[=Int]] [--fetch-timeout[=Int]] [--extract-timeout[=Int]] [--build-timeout[=Int]] [--test-timeout[=Int]] [--install-timeout[=Int]] [--degree[=Int]] [--fetch-degree[=Int]] [--test-degree[=Int]] [--dry] [--upgrade] [--deps-only] [--serial] [--contained] [--update[=Any]] [--exclude[=Any]] [--to|--install-to[=Any]] install [<wants> ...] -- Fetch, extract, build, test and install distributions
builder@raku-doc-ci-01:~$ zef install Documentable --exclude=dot --force-test
===> Searching for: Documentable
===> Searching for missing dependencies: Pod::Load:ver<0.5.4+>, Pod::To::HTML:ver<0.7.1+>:auth<github:Raku>, Pod::From::Cache:ver<0.2+>, Doc::TypeGraph:ver<2.1.3+>:auth<github:JJ>:api<2>, Pod::Utilities:ver<0.0.1+>, URI:ver<0.3+>, File::Temp:ver<0.0.8+>, JSON::Fast:ver<0.9.18+>, Terminal::Spinners, Test::Output, Terminal::ANSIColor, File::Directory::Tree, Template::Mustache:ver<1.2.2+>, Test::META:ver<0.0.16+>, Temp::Path
===> Searching for missing dependencies: OO::Monitors, Digest::SHA, Testo, META6:ver<0.0.24+>, License::SPDX
===> Searching for missing dependencies: JSON::Class:ver<0.0.14+>, JSON::Class:ver<0.0.15+>, JSON::Name
===> Searching for missing dependencies: JSON::Marshal:ver<0.0.23+>, JSON::Unmarshal:ver<0.08+>, JSON::OptIn
===> Testing: File::Directory::Tree:auth<labster>
===> Testing [OK] for File::Directory::Tree:auth<labster>
===> Testing: File::Temp:ver<0.0.10>:auth<zef:rbt>
===> Testing [OK] for File::Temp:ver<0.0.10>:auth<zef:rbt>
===> Testing: JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>
===> Testing [OK] for JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>
===> Testing: JSON::OptIn:ver<0.0.1>:auth<github:jonathanstowe>
===> Testing [OK] for JSON::OptIn:ver<0.0.1>:auth<github:jonathanstowe>
===> Testing: JSON::Name:ver<0.0.6>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Name:ver<0.0.6>:auth<github:jonathanstowe>:api<1.0>
===> Testing: JSON::Marshal:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Marshal:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Testing: JSON::Unmarshal:ver<0.08>
===> Testing [OK] for JSON::Unmarshal:ver<0.08>
===> Testing: JSON::Class:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for JSON::Class:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Testing: META6:ver<0.0.26>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for META6:ver<0.0.26>:auth<github:jonathanstowe>:api<1.0>
===> Testing: URI:ver<0.3.5>
===> Testing [OK] for URI:ver<0.3.5>
===> Testing: License::SPDX:ver<3.17.0>:auth<github:jonathanstowe>:api<1.0>
===> Testing [OK] for License::SPDX:ver<3.17.0>:auth<github:jonathanstowe>:api<1.0>
===> Testing: Test::META:ver<0.0.17>:auth<github:jonathanstowe>:api<1.0>
[Test::META] # the following may make some diagnostics from the module itself
===> Testing [OK] for Test::META:ver<0.0.17>:auth<github:jonathanstowe>:api<1.0>
===> Testing: Pod::Load:ver<0.7.1>:auth<zef:jjmerelo>
[Pod::Load] # Testing strings
[Pod::Load] # Testing files
[Pod::Load] # Testing strings with metadata
===> Testing [OK] for Pod::Load:ver<0.7.1>:auth<zef:jjmerelo>
===> Testing: Template::Mustache:ver<1.2.3>:auth<github:softmoth>
===> Testing [OK] for Template::Mustache:ver<1.2.3>:auth<github:softmoth>
===> Testing: OO::Monitors:ver<1.1.1>
===> Testing [OK] for OO::Monitors:ver<1.1.1>
===> Testing: Test::Output:ver<1.001003>
===> Testing [OK] for Test::Output:ver<1.001003>
===> Testing: Pod::To::HTML:ver<0.8.1>:auth<github:Raku>
===> Testing [OK] for Pod::To::HTML:ver<0.8.1>:auth<github:Raku>
===> Testing: Pod::From::Cache:ver<0.3>:auth<github:finanalyst>
[Pod::From::Cache] # Prepare for t/45-compile-ok
[Pod::From::Cache] # Create multiple (3) caches
===> Testing [OK] for Pod::From::Cache:ver<0.3>:auth<github:finanalyst>
===> Testing: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2>
[Doc::TypeGraph] dot command failed! (did you install Graphviz?)
[Doc::TypeGraph]   in method to-file at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 170
[Doc::TypeGraph]   in method write-type-graph-images at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 203
[Doc::TypeGraph]   in sub testing-roundtrip at t/07-viz.t line 11
[Doc::TypeGraph]   in block <unit> at t/07-viz.t line 29
===> Testing [FAIL]: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2>
[Doc::TypeGraph] Failed to get passing tests, but continuing with --force-test
===> Testing: Pod::Utilities:ver<0.0.1>
===> Testing [OK] for Pod::Utilities:ver<0.0.1>
===> Testing: Terminal::Spinners:ver<1.6.0>:auth<github:ryn1x>
===> Testing [OK] for Terminal::Spinners:ver<1.6.0>:auth<github:ryn1x>
===> Testing: Terminal::ANSIColor:ver<0.5>
===> Testing [OK] for Terminal::ANSIColor:ver<0.5>
===> Testing: Digest:ver<0.7.0>
===> Testing [OK] for Digest:ver<0.7.0>
===> Testing: Testo:ver<1.003007>:auth<zef:raku-community-modules>
===> Testing [OK] for Testo:ver<1.003007>:auth<zef:raku-community-modules>
===> Testing: Temp::Path:ver<1.001007>
===> Testing [OK] for Temp::Path:ver<1.001007>
===> Testing: Documentable:ver<2.0.1>:auth<github:Raku>:api<1>
[Documentable] dot command failed! (did you install Graphviz?)
[Documentable]   in method to-file at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 170
[Documentable]   in method write-type-graph-images at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 203
[Documentable]   in sub MAIN at /home/builder/.zef/tmp/Documentable.git/50eaf96ca910d5b5b01bed1f7af8227da52388fa/lib/Documentable/CLI.pm6 (Documentable::CLI) line 173
[Documentable]   in block <unit> at t/101-start.t line 11
[Documentable] dot command failed! (did you install Graphviz?)
[Documentable]   in method to-file at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 170
[Documentable]   in method write-type-graph-images at /home/builder/.zef/tmp/Raku-Doc-TypeGraph.git/6b8094f330ef72990073361e767150fa0b304ed8/lib/Doc/TypeGraph/Viz.pm6 (Doc::TypeGraph::Viz) line 203
[Documentable]   in sub MAIN at /home/builder/.zef/tmp/Documentable.git/50eaf96ca910d5b5b01bed1f7af8227da52388fa/lib/Documentable/CLI.pm6 (Documentable::CLI) line 173
[Documentable]   in block <unit> at t/102-update-only-modified.t line 10
[Documentable] /home/builder/.zef/tmp/Documentable.git/50eaf96ca910d5b5b01bed1f7af8227da52388fa/t/.cache-test-doc directory will be used as a cache. Please do not use any other directory with this name.
===> Testing [FAIL]: Documentable:ver<2.0.1>:auth<github:Raku>:api<1>
[Documentable] Failed to get passing tests, but continuing with --force-test
===> Installing: File::Directory::Tree:auth<labster>
===> Installing: File::Temp:ver<0.0.10>:auth<zef:rbt>
===> Installing: JSON::Fast:ver<0.17>:auth<cpan:TIMOTIMO>
===> Installing: JSON::OptIn:ver<0.0.1>:auth<github:jonathanstowe>
===> Installing: JSON::Name:ver<0.0.6>:auth<github:jonathanstowe>:api<1.0>
===> Installing: JSON::Marshal:ver<0.0.23>:auth<github:jonathanstowe>:api<1.0>
===> Installing: JSON::Unmarshal:ver<0.08>
===> Installing: JSON::Class:ver<0.0.18>:auth<github:jonathanstowe>:api<1.0>
===> Installing: META6:ver<0.0.26>:auth<github:jonathanstowe>:api<1.0>
===> Installing: URI:ver<0.3.5>
===> Installing: License::SPDX:ver<3.17.0>:auth<github:jonathanstowe>:api<1.0>
===> Installing: Test::META:ver<0.0.17>:auth<github:jonathanstowe>:api<1.0>
===> Installing: Pod::Load:ver<0.7.1>:auth<zef:jjmerelo>
===> Installing: Template::Mustache:ver<1.2.3>:auth<github:softmoth>
===> Installing: OO::Monitors:ver<1.1.1>
===> Installing: Test::Output:ver<1.001003>
===> Installing: Pod::To::HTML:ver<0.8.1>:auth<github:Raku>
===> Installing: Pod::From::Cache:ver<0.3>:auth<github:finanalyst>
===> Installing: Doc::TypeGraph:ver<2.2.1>:auth<github:JJ>:api<2>
===> Installing: Pod::Utilities:ver<0.0.1>
===> Installing: Terminal::Spinners:ver<1.6.0>:auth<github:ryn1x>
===> Installing: Terminal::ANSIColor:ver<0.5>
===> Installing: Digest:ver<0.7.0>
===> Installing: Testo:ver<1.003007>:auth<zef:raku-community-modules>
===> Installing: Temp::Path:ver<1.001007>
===> Installing: Documentable:ver<2.0.1>:auth<github:Raku>:api<1>

1 bin/ script [documentable] installed to:
/home/builder/rakudo-moar-2022.03-01-linux-x86_64-gcc/share/perl6/site/bin
builder@raku-doc-ci-01:~$ echo $?
0
builder@raku-doc-ci-01:~$ ls
builds  rakudo-moar-2022.03-01-linux-x86_64-gcc  rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz
builder@raku-doc-ci-01:~$ rm rakudo-moar-2022.03-01-linux-x86_64-gcc.tar.gz 
builder@raku-doc-ci-01:~$ git clone git@github.com:Raku/doc.git
Cloning into 'doc'...
Warning: Permanently added the ECDSA host key for IP address '140.82.114.3' to the list of known hosts.
remote: Enumerating objects: 76092, done.
remote: Counting objects: 100% (3529/3529), done.
remote: Compressing objects: 100% (1171/1171), done.
remote: Total 76092 (delta 2523), reused 3263 (delta 2346), pack-reused 72563
Receiving objects: 100% (76092/76092), 23.40 MiB | 25.39 MiB/s, done.
Resolving deltas: 100% (56247/56247), done.
builder@raku-doc-ci-01:~$ cd doc
builder@raku-doc-ci-01:~/doc$ git switch old-docs
Branch 'old-docs' set up to track remote branch 'old-docs' from 'origin'.
Switched to a new branch 'old-docs'
builder@raku-doc-ci-01:~/doc$ which npm
/home/builder/.nvm/versions/node/v12.19.0/bin/npm
builder@raku-doc-ci-01:~/doc$ make assets
bash: make: command not found
builder@raku-doc-ci-01:~/doc$ exit
exit
root@raku-doc-ci-01:~# apt install make
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  make-doc
The following NEW packages will be installed:
  make
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 162 kB of archives.
After this operation, 393 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 make amd64 4.2.1-1.2 [162 kB]
Fetched 162 kB in 0s (624 kB/s)
Selecting previously unselected package make.
(Reading database ... 21291 files and directories currently installed.)
Preparing to unpack .../make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Setting up make (4.2.1-1.2) ...
root@raku-doc-ci-01:~# su builder
builder@raku-doc-ci-01:/root$ cd
builder@raku-doc-ci-01:~$ cd doc/
builder@raku-doc-ci-01:~/doc$ make assets
./app.pl assets
Can't locate Mojolicious.pm in @INC (you may need to install the Mojolicious module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.30.0 /usr/local/share/perl/5.30.0 /usr/lib/x86_64-linux-gnu/perl5/5.30 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.30 /usr/share/perl/5.30 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at ./app.pl line 4.
BEGIN failed--compilation aborted at ./app.pl line 4.
make: *** [Makefile:52: assets] Error 2
builder@raku-doc-ci-01:~/doc$ 


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