general high-level discussion about spectrum
 help / color / mirror / Atom feed
From: Dan Connolly <dckc@madmode.com>
To: discuss@spectrum-os.org
Subject: make run fails: make-gpt.sh: 9: set: Illegal option -o pipefail
Date: Mon, 30 Mar 2026 19:44:53 -0500	[thread overview]
Message-ID: <CAD2YivbRwDUzgXv32A2Otetunny1MXsbuROj7VV8C7EYrAdNiw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1902 bytes --]

Hi. Spectrum looks very interesting! I look forward to more progress.
I just added it to https://github.com/dckc/awesome-ocap#os

I tried kicking the tires... I set up the binary cache, cloned 2026-03-18
17:11 93839a1 , and then tried `nix-shell --run 'make run'`. My fans spun
for a little while building rust crates, and then I got:

Build completed.
------
Filesystem UUID: d14e3b49-df7d-487c-9d85-8f6f70b51af0
Filesystem total blocks: 2076633 (of 4096-byte blocks)
Filesystem total inodes: 86328
Filesystem total metadata blocks: 19765
Filesystem total deduplicated bytes (of source files): 0
mkdir -p build
veritysetup format \
--root-hash-file build/rootfs.verity.roothash \
-- build/rootfs build/rootfs.verity.superblock
VERITY header information for build/rootfs.verity.superblock.
UUID:             8d368df1-69bb-4f4b-9633-9e1555d3d492
Hash type:       1
Data blocks:     2076633
Data block size: 4096 [bytes]
Hash blocks:     16352
Hash block size: 4096 [bytes]
Hash algorithm:   sha256
Salt:
64d5042171257c589206d50ed727edaeba98da7f7be5dfb3d38b5cf8a5c04288
Root hash:
7919b30b902cda65737af583b1b9c6defeff3a60ba668cc1012300dfd9fa9ef9
Hash device size: 66981888 [bytes]
echo >> build/rootfs.verity.roothash
touch -- build/verity-timestamp
../../scripts/make-gpt.sh build/live.img.tmp \
    build/rootfs.verity.superblock:verity:$(../../scripts/format-uuid.sh
"$(dd if=build/rootfs.verity.roothash bs=32 skip=1 count=1
status=none)"):Spectrum_'0.0.0.verity' \
    build/rootfs:root:$(../../scripts/format-uuid.sh "$(head -c 32
build/rootfs.verity.roothash)"):Spectrum_'0.0.0'
../../scripts/make-gpt.sh: 9: set: Illegal option -o pipefail
make: *** [Makefile:116: build/live.img] Error 2

I'm using nix on Ubuntu 24.04.4 LTS, not NixOS.

As to what version of nixpkgs I might have installed or something, I still
get dizzy every time I try to find out.

-- 
Dan Connolly
https://www.madmode.com

[-- Attachment #2: Type: text/html, Size: 2469 bytes --]

             reply	other threads:[~2026-04-29  6:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-31  0:44 Dan Connolly [this message]
2026-03-31  3:17 ` make run fails: make-gpt.sh: 9: set: Illegal option -o pipefail Dan Connolly
2026-04-29 13:57   ` Alyssa Ross
2026-05-01  3:26     ` Dan Connolly

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAD2YivbRwDUzgXv32A2Otetunny1MXsbuROj7VV8C7EYrAdNiw@mail.gmail.com \
    --to=dckc@madmode.com \
    --cc=discuss@spectrum-os.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).