~abcdw/rde-discuss

1

Newcomer: Module named (nonrde packages clojure) has no public interface

Details
Message ID
<CAGxMbPZfaQqg5qTS5pK8rSzh1i+UMYUYvf_Nt7PqreDh9ygHBg@mail.gmail.com>
DKIM signature
missing
Download raw message
I'm trying to do the system installation of rde in my laptop (i.e. not a
foreign distro). I went to the section "3.2 Installation" in the rde
Info manual and read about the Makefile containing some targets that can
be used for the installation. I used the `ixy/system/init' target
because that looked like the more reasonable target to accomplish the
system installation

,----
| make -k ixy/system/init
`----

The command exited with code 2. In the code block below, you can see the
last lines of the `*compilation*' buffer in Emacs. The complete content
of the buffer can be found at:
<http://web.archive.org/web/20230518223309/http://0x0.st/HN5Y.txt>

,----
| (... some omitted lines ...)
|
| building profile with 2 packages...
| hint: Consider setting the necessary environment variables by running:
|
|      GUIX_PROFILE="/home/guest/
rde-configs/target/profiles/guix"
|      . "$GUIX_PROFILE/etc/profile"
|
| Alternately, see `guix package --search-paths -p
"/home/guest/rde-configs/target/profiles/guix"'.
|
|
| hint: After setting `PATH', run `hash guix' to make sure your shell
refers to `target/profiles/guix/bin/guix'.
|
| make[1]: Leaving directory '/home/guest/rde-configs'
| RDE_TARGET=ixy-system ./pre-inst-env target/profiles/guix/bin/guix system \
| init ./src/abcdw/configs.scm /mnt
| guix system: error: failed to load './src/abcdw/configs.scm':
| abcdw/configs.scm:318:4: Module named (nonrde packages clojure) has
no public interface
| make: *** [Makefile:32: ixy/system/init] Error 1
|
| Compilation exited abnormally with code 2 at Fri May 19 01:29:06
`----

I was wondering if this is an expected behavior. I suspect that this
error occurs because I executed `make -k ixy/system/init' withoyut
having followed the steps that are mentioned in "(guix) System
Installation". If that's the case, please confirm my hypothesis.

Because that command failed, I'll now try to perform the steps as if I
were doing a Guix system installation. Specifically, these are the steps
that I'll do

1. Follow steps "3.6.1.3 Disk partitioning" in "(guix) Keyboard Layout
   and Networking and Partitioning"
2. Mount the partitions in /mnt
3. makefile -k cow-store
4. Edit configuration files in /home/guest/rde-configs/src/abcdw to my
   needs
5. Execute makefile -k ixy/system/init
6. At this point, the system installation should have been done
   successfully which means that I can disconnect the USB stick
   containing the ISO file and boot into rde
Details
Message ID
<877ct3z8dl.fsf@trop.in>
In-Reply-To
<CAGxMbPZfaQqg5qTS5pK8rSzh1i+UMYUYvf_Nt7PqreDh9ygHBg@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 2023-05-19 01:30, Rodrigo Morales wrote:

Hi Rodrigo!

> I'm trying to do the system installation of rde in my laptop (i.e. not a
> foreign distro). I went to the section "3.2 Installation" in the rde
> Info manual and read about the Makefile containing some targets that can
> be used for the installation. I used the `ixy/system/init' target
> because that looked like the more reasonable target to accomplish the
> system installation
>
> ,----
> | make -k ixy/system/init
> `----
>
> The command exited with code 2. In the code block below, you can see the
> last lines of the `*compilation*' buffer in Emacs. The complete content
> of the buffer can be found at:
> <http://web.archive.org/web/20230518223309/http://0x0.st/HN5Y.txt>
>
> ,----
> | (... some omitted lines ...)
> |
> | building profile with 2 packages...
> | hint: Consider setting the necessary environment variables by running:
> |
> |      GUIX_PROFILE="/home/guest/
> rde-configs/target/profiles/guix"
> |      . "$GUIX_PROFILE/etc/profile"
> |
> | Alternately, see `guix package --search-paths -p
> "/home/guest/rde-configs/target/profiles/guix"'.
> |
> |
> | hint: After setting `PATH', run `hash guix' to make sure your shell
> refers to `target/profiles/guix/bin/guix'.
> |
> | make[1]: Leaving directory '/home/guest/rde-configs'
> | RDE_TARGET=ixy-system ./pre-inst-env target/profiles/guix/bin/guix system \
> | init ./src/abcdw/configs.scm /mnt
> | guix system: error: failed to load './src/abcdw/configs.scm':
> | abcdw/configs.scm:318:4: Module named (nonrde packages clojure) has
> no public interface
> | make: *** [Makefile:32: ixy/system/init] Error 1
> |
> | Compilation exited abnormally with code 2 at Fri May 19 01:29:06
> `----
>
> I was wondering if this is an expected behavior. I suspect that this
> error occurs because I executed `make -k ixy/system/init' withoyut
> having followed the steps that are mentioned in "(guix) System
> Installation". If that's the case, please confirm my hypothesis.

Is it happened on livecd image?  If so, probably we accidentially built
an image with local non-committed changes in src/abcdw/configs.scm,
which uses (nonrde packages clojure) module, which is not a part of rde
as well.  Just comment the code related to feature-clojure in
configs.scm and it should work just fine.

>
> Because that command failed, I'll now try to perform the steps as if I
> were doing a Guix system installation. Specifically, these are the steps
> that I'll do
>
> 1. Follow steps "3.6.1.3 Disk partitioning" in "(guix) Keyboard Layout
>    and Networking and Partitioning"
> 2. Mount the partitions in /mnt
> 3. makefile -k cow-store
> 4. Edit configuration files in /home/guest/rde-configs/src/abcdw to my
>    needs
> 5. Execute makefile -k ixy/system/init
> 6. At this point, the system installation should have been done
>    successfully which means that I can disconnect the USB stick
>    containing the ISO file and boot into rde

Keyboard layout configuration is covered in rde manual, but other than
that it looks good to me.

-- 
Best regards,
Andrew Tropin
Reply to thread Export thread (mbox)