Hi, Are you sure expanse/packages/sterm.scm starts with
(define-module (expanse packages sterm) …) ? I think it would cause this issue if it doesn't. HTH! Le 24 avril 2021 05:28:49 GMT-04:00, phodina via <[email protected]> a écrit : >Hi, I created package definition and wanted to place it in my custom >channel. Therefore I placed the channel definition in >~/.config/guix/channels.scm > >(cons* (channel >(name 'expanse) >(url " >https://gitlab.com/phodina/expanse >") >(introduction >(make-channel-introduction >"71b93677a2312b2d0af2bfc1cc75eba43fa89ea2" >(openpgp-fingerprint >"418E BDDC 2C3B 1F72 6844 B7C6 7EBE C331 8DB7 196D")))) >%default-channels) > >The channel contains the .guix-authorizations and .guix-channel files >as well as my public key in the keyring branch.There is one package >definition in expanse/packages/sterm.scm When I run guix pull I get >this output: > >$ guix pull -K >Updating channel 'expanse' from Git repository at ' >https://gitlab.com/phodina/expanse >'... >Updating channel 'guix' from Git repository at ' >https://git.savannah.gnu.org/git/guix.git >'... >Authenticating channel 'guix', commits 9edb3f6 to 92032d8 (10 new >commits)... >Building from these channels: >guix >https://git.savannah.gnu.org/git/guix.git >92032d8 >expanse >https://gitlab.com/phodina/expanse >827a688 >substitute: updating substitutes from ' >https://ci.guix.gnu.org >'... 100.0% >substitute: updating substitutes from ' >https://ci.guix.gnu.org >'... 100.0% >building >/gnu/store/2h67qhmnh3hf0pynzk5jggcrbh8fk11j-module-import.drv... >module-import-compiled 1.5MiB 2.1MiB/s >00:01 [##################] 100.0% >building >/gnu/store/7z39zhgqcw7qcr3ih44rhzrfpmmfm9dm-compute-guix-derivation.drv... >Computing Guix derivation for 'x86_64-linux'... - >substitute: updating substitutes from ' >https://ci.guix.gnu.org >'... 100.0% >The following derivations will be built: >/gnu/store/q7fkprrx1yqc6vik31ls0dmwg9mndq7n-profile.drv >/gnu/store/0382fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv >/gnu/store/ilr973xg8asj57lxj0agix1g2qayx68v-guix-92032d808.drv >/gnu/store/6aym9idfnqg5k5dlhbyipr3b2jhdbv0z-guix-command.drv >/gnu/store/3lyzk1niwvrm44b9h56hsmknbqpf829w-guix-module-union.drv >/gnu/store/bjgx1pjwrl5m96y3101nm9pc94ncnh3z-guix-92032d808-modules.drv >/gnu/store/3agckqhaxlzi8xvyssif9ipa86shqk8g-guix-packages-modules.drv >/gnu/store/697adifw2krl36c4si10pz5wkdfn0rz2-guix-system-modules.drv >/gnu/store/aaxfxchqji885i707986pg2m799q9ryy-guix-system-tests-modules.drv >/gnu/store/fsv09san3v40spndv4p7ym4wxzqplnz5-guix-packages-base-modules.drv >/gnu/store/m39nl7icxvf3qycajnhjsji36lakh7k8-guix-config-modules.drv >/gnu/store/a7nq6p35bv8mdz2s7v1kkryq4b65js0r-guix-config.drv >/gnu/store/kz3jvd0v5b98ss9b6f6inq5jmjfd6hk3-guix-config-source.drv >/gnu/store/lc5vkhyp7wf7s9m1gjrifryxlg1qqgjg-config.scm.drv >/gnu/store/n57yb1dw5ixm5vm2cla92yxsb2kgy94f-guix-cli-modules.drv >/gnu/store/r8dbpvgikfnkar9rqx8ps7glk1gaqsj6-guix-extra-modules.drv >/gnu/store/vhmmlz0sca70paq4a00ng6gbhydivxfz-guix-daemon.drv >/gnu/store/nw4bfijh29frvix5x93krbfwdzgl36ny-inferior-script.scm.drv >/gnu/store/q00jp79aclams7gfil09k3vmplp0sqsh-profile.drv > >7 items will be downloaded >guix-cli >2.1MiB/s 00:00 | 1017KiB transferred >guix-extra >2.4MiB/s 00:01 | 2.9MiB transferred >guix-packages >2.5MiB/s 00:02 | 3.9MiB transferred >guix-packages-base 12.0MiB 5.3MiB/s >00:02 [##################] 100.0% >guix-system >5.9MiB/s 00:02 | 10.0MiB transferred >guix-system-tests 382KiB 2.0MiB/s >00:00 [##################] 100.0% >module-import-compiled 165KiB 5.7MiB/s >00:00 [##################] 100.0% >building /gnu/store/lc5vkhyp7wf7s9m1gjrifryxlg1qqgjg-config.scm.drv... >building >/gnu/store/n57yb1dw5ixm5vm2cla92yxsb2kgy94f-guix-cli-modules.drv... >building >/gnu/store/kz3jvd0v5b98ss9b6f6inq5jmjfd6hk3-guix-config-source.drv... >building >/gnu/store/r8dbpvgikfnkar9rqx8ps7glk1gaqsj6-guix-extra-modules.drv... >building /gnu/store/a7nq6p35bv8mdz2s7v1kkryq4b65js0r-guix-config.drv... >building >/gnu/store/fsv09san3v40spndv4p7ym4wxzqplnz5-guix-packages-base-modules.drv... >building >/gnu/store/m39nl7icxvf3qycajnhjsji36lakh7k8-guix-config-modules.drv... >building >/gnu/store/3agckqhaxlzi8xvyssif9ipa86shqk8g-guix-packages-modules.drv... >building >/gnu/store/697adifw2krl36c4si10pz5wkdfn0rz2-guix-system-modules.drv... >building >/gnu/store/aaxfxchqji885i707986pg2m799q9ryy-guix-system-tests-modules.drv... >building >/gnu/store/bjgx1pjwrl5m96y3101nm9pc94ncnh3z-guix-92032d808-modules.drv... >building >/gnu/store/3lyzk1niwvrm44b9h56hsmknbqpf829w-guix-module-union.drv... >building >/gnu/store/6aym9idfnqg5k5dlhbyipr3b2jhdbv0z-guix-command.drv... >building /gnu/store/vhmmlz0sca70paq4a00ng6gbhydivxfz-guix-daemon.drv... >building >/gnu/store/ilr973xg8asj57lxj0agix1g2qayx68v-guix-92032d808.drv... >building /gnu/store/0382fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv... >|builder for `/gnu/store/0382fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv' >failed to produce output path >`/gnu/store/sqns9h0rwrfg9986szfzqsww7hx6i88c-expanse' >build of /gnu/store/0382fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv failed >View build log at >'/var/log/guix/drvs/03/82fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv.bz2'. >note: keeping build directory `/tmp/guix-build-expanse.drv-2'cannot >build derivation >`/gnu/store/q7fkprrx1yqc6vik31ls0dmwg9mndq7n-profile.drv': 1 >dependencies couldn't be built >guix pull: error: build of >`/gnu/store/q7fkprrx1yqc6vik31ls0dmwg9mndq7n-profile.drv' failed > >Could it fail due to the fact that /tmp/guix-build-expanse.drv-2 is >empty? If so how to structure channel and what other fies (scheme code) >are necessary? > >$ bzcat >/var/log/guix/drvs/03/82fv3ypq8831li0klhfxj3pa5z61vc-expanse.drv.bz2 >(repl-version 0 1 1) >(exception misc-error (value #f) (value "no code for module ~S") (value >((expanse packages sterm))) (value #f)) > >Kind regards >Petr Hodina > >Sent with [ProtonMail](https://protonmail.com) Secure Email.
