summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDante Catalfamo2020-07-25 03:14:37 -0400
committerDante Catalfamo2020-07-25 03:14:37 -0400
commitffff235cad1e0e4d6917625f418b64919cea72d0 (patch)
tree802edecf83e201bc163299cf71b2255ff3b6c9f4
parentd0c3228010bf7cdcaf4fc424763c2c9735a54e96 (diff)
downloadblog-ffff235cad1e0e4d6917625f418b64919cea72d0.tar.gz
blog-ffff235cad1e0e4d6917625f418b64919cea72d0.tar.bz2
blog-ffff235cad1e0e4d6917625f418b64919cea72d0.zip
rakudo-star: work cleaning it up
-rw-r--r--content/posts/openbsd-compiling-rakudo-star/index.org50
1 files changed, 24 insertions, 26 deletions
diff --git a/content/posts/openbsd-compiling-rakudo-star/index.org b/content/posts/openbsd-compiling-rakudo-star/index.org
index cdc348b..6ab16b9 100644
--- a/content/posts/openbsd-compiling-rakudo-star/index.org
+++ b/content/posts/openbsd-compiling-rakudo-star/index.org
@@ -11,34 +11,32 @@ I really enjoy using [[https://raku.org/][raku]] to write small scripts for syst
maintenance and text parsing. Its regex and grammar engine are next
level. The problem with using it on OpenBSD is that the packaged
version is a couple years out of date. The version in ports is from
-2018, which contains various bugs surrounding nativecall on OpenBSD,
-not to mention a lot of performance gains and bug fixes.
+2018, which contains a big regarding to nativecall on OpenBSD. Not
+to mention it's missing a lot of performance gains and patches.
Instead of just compiling everything from source and installing them
-as I did on my last system, I installed it using the [[https://github.com/rakudo/star][rakudo star]]
-distribution and its =rstar= command. Rakudo Star is raku plus some
-community modules and the =zef= package manager. It also comes with
-the =rstar= command, which helps you in the build process.
-
-I ran into a couple issues compiling it on OpenBSD while using the
-=rstar= command, so I figured I'd turn it into a post.
-
-First, it requires =bash= to be present on the host system as a build
-dependency for the =rstar= install script, which isn't on OpenBSD by
-default. Not to mention that many OpenBSD users do not use bash by
-choice. Not that this is an issue with =rstar=, but more of a personal
-grievance.
-
-After installing =bash=, I came across another problem. Upon running
-=rstar fetch=, which fetches all of the materials required to compile
-and assemble the star distribution, it failed to pull in all 3 major
-components. All of the modules are pulled in via =git=, which worked
-well. The main rakudo components, =MoarVM=, =nqp=, and =rakudo=, are
-pulled in as gzipped tarballs. Each of them failed to download
-correctly, which I suspect is down to an issue with the bash
-scripts. Tar also throws a warning about one of its arguments,
-although it never gets used as the files it's supposed to be operating
-on never appear.
+myself as I did on my last system, I installed it using the [[https://github.com/rakudo/star][rakudo
+star]] distribution and its =rstar= command. Rakudo Star is raku plus
+some community modules and the =zef= package manager. It also comes
+with the =rstar= command, which helps you in the build process.
+
+Unfortunately, the first thing I had to do was install =bash=. as that
+is what the =rstar= command is written in.
+
+#+BEGIN_SRC shell
+doas pkg_add bash
+#+END_SRC
+
+
+After installing =bash=, I came across a problem. Running =rstar
+fetch= fetches all of the materials required to compile and assemble
+the star distribution, and while all of the community modules were
+successfully retrieved using =git=, it failed to pull in all 3 major
+source components. =MoarVM=, =nqp=, and =rakudo=, are pulled in as
+gzipped tarballs, each of them failing to download correctly, which I
+suspect is down to an issue with the bash scripts. Tar also throws a
+warning about one of its arguments, which I suspect has to do with the
+script using a GNU tar specific command.
#+BEGIN_SRC
[2020-07-25T05:25:33] [NOTIC] Downloading https://www.moarvm.org/releases/MoarVM-2020.02.1.tar.gz to /home/dante/star/tmp/tmp.IMPt8mIFoC