Subject: Re: [mumi] [PATCH] README: Add instructions for initializing nested git submodules

From: Rostislav Svoboda <[email-masked]>
Date: Mon, 10 Mar 2025 16:27:02 +0100

Hello,

For the record and for the sake of search engines: without the
assets/pico submodule, the build fails with the error below.

The run.sh script is something I wrote myself to automate the
instructions provided in the "Running a local instance of mumi"
section of README.org. Its contents are as follows:

```
#!/bin/sh

set -e   # stop the script after any error
set -x   # debug / trace execution steps

# 1. Copy some test mail data to be indexed:
cp -a tests/data data
# 2. Build mumi:
./bootstrap.sh
./configure
make
# 3. Have the test mail data indexed:
./pre-inst-env mumi fetch
# 4. Start the mumi instance:
./pre-inst-env mumi web --address=127.0.0.1
```

Cheers,
Bost

guix shell -D mumi
bost@ecke ~/dev/mumi [env]$ ./run.sh
+ cp -a tests/data data
+ ./bootstrap.sh
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running:
/gnu/store/yx5k2gnkwpfaw3wc64f8b9bak9wd5cgr-autoconf-2.69/bin/autoconf
--force
autoreconf: configure.ac: not using Autoheader
autoreconf: running: automake --add-missing --copy --force-missing
autoreconf: Leaving directory `.'
+ ./configure
checking for a BSD-compatible install...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for sassc...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/sassc
checking for xdg-open...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/xdg-open
checking for pkg-config...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
configure: checking for guile 3.0
configure: found guile 3.0
checking for guile-3.0... no
checking for guile3.0... no
checking for guile-3... no
checking for guile3... no
checking for guile...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/guile
checking for Guile version >= 3.0... 3.0.9
checking for guild...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/guild
checking for guile-config...
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/guile-config
checking if (email email) is available... yes
checking if (mailutils mailutils) is available... yes
checking if (gcrypt base64) is available... yes
checking if (redis) is available... yes
checking if (webutils sessions) is available... yes
checking if (xapian xapian) is available... yes
checking if (kolam graphql) is available... yes
checking if (avatar url) is available... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mumi/config.scm
config.status: creating scripts/mumi
config.status: creating pre-inst-env
+ make
/gnu/store/0xmx7p8x5jymzm3fhdsl8qa02s1w7zx7-profile/bin/sassc
assets/mumi.scss assets/css/mumi.css
Error: File to import not found or unreadable: pico/scss/pico.
        on line 9:1 of assets/mumi.scss
>> @import "pico/scss/pico";

   ^
make: *** [Makefile:1306: assets/css/mumi.css] Error 65