GNU bug report logs - #76919
[mumi] [PATCH] README: Add instructions for initializing nested git submodules

Previous Next

Package: mumi;

Reported by: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>

Date: Mon, 10 Mar 2025 14:48:01 UTC

Severity: normal

Tags: easy, patch

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76919 in the body.
You can then email your comments to 76919 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#76919; Package guix-patches. (Mon, 10 Mar 2025 14:48:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 10 Mar 2025 14:48:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: guix-patches <at> gnu.org,
	arunisaac <at> systemreboot.net
Cc: Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>
Subject: [mumi] [PATCH] README: Add instructions for initializing nested git
 submodules
Date: Mon, 10 Mar 2025 15:46:02 +0100
---
 README.org | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/README.org b/README.org
index d36585c..66b7b13 100644
--- a/README.org
+++ b/README.org
@@ -5,8 +5,13 @@ frontend to Debbugs.
 
 * Hacking
 
-To enter a development environment with all dependencies installed,
-run
+To initialize, fetch and checkout any nested submodules run
+
+#+BEGIN_SRC shell
+  $ git submodule update --init --recursive
+#+END_SRC
+
+To enter a development environment run
 
 #+BEGIN_SRC shell
   $ guix shell -D mumi
-- 
2.48.1





Information forwarded to guix-patches <at> gnu.org:
bug#76919; Package guix-patches. (Mon, 10 Mar 2025 15:28:02 GMT) Full text and rfc822 format available.

Message #8 received at 76919 <at> debbugs.gnu.org (full text, mbox):

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: 76919 <at> debbugs.gnu.org
Subject: Re: [mumi] [PATCH] README: Add instructions for initializing nested
 git submodules
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 <at> 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




bug reassigned from package 'guix-patches' to 'mumi'. Request was from Arun Isaac <arunisaac <at> systemreboot.net> to control <at> debbugs.gnu.org. (Mon, 10 Mar 2025 15:37:03 GMT) Full text and rfc822 format available.

Added tag(s) easy. Request was from Arun Isaac <arunisaac <at> systemreboot.net> to control <at> debbugs.gnu.org. (Mon, 10 Mar 2025 15:37:03 GMT) Full text and rfc822 format available.

Reply sent to Arun Isaac <arunisaac <at> systemreboot.net>:
You have taken responsibility. (Mon, 10 Mar 2025 15:43:01 GMT) Full text and rfc822 format available.

Notification sent to Rostislav Svoboda <rostislav.svoboda <at> gmail.com>:
bug acknowledged by developer. (Mon, 10 Mar 2025 15:43:02 GMT) Full text and rfc822 format available.

Message #17 received at 76919-done <at> debbugs.gnu.org (full text, mbox):

From: Arun Isaac <arunisaac <at> systemreboot.net>
To: 76919-done <at> debbugs.gnu.org
Cc: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
Subject: Re: [mumi] [PATCH] README: Add instructions for initializing nested
 git submodules
Date: Mon, 10 Mar 2025 15:41:46 +0000
Thank you, Bost! Applied and pushed! :-)

Next time, send mumi patches to bug-mumi <at> gnu.org, instead of
guix-patches <at> gnu.org. Otherwise, all good.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Apr 2025 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 132 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.