‘chicken-build-system’ is not able to deal with specific version of egg

  • Open
  • quality assurance status badge
Details
One participant
  • Xinglu Chen
Owner
unassigned
Submitted by
Xinglu Chen
Severity
normal
X
X
Xinglu Chen wrote on 3 Jun 2021 23:24
(address . bug-guix@gnu.org)(name . raingloom)(address . raingloom@riseup.net)
874keed4kh.fsf@yoctocell.xyz
I am trying to package ‘chicken-begin-syntax’, it requires version 0.2.1
of ‘module-declarations’, which I have created a Guix package for (only
exists on my local branch). However, when compiling
‘chicken-begin-syntax’, ‘chicken-install’ complains about an outdated
version of ‘module-declarations’, even though it’s not outdated.

Removing this restriction makes it build.

The content of ‘begin-syntax.egg’:

Toggle snippet (10 lines)
((synopsis "Convenience macro for inline syntax expansion")
(author "Evan Hanson")
(license "BSD")
(category lang-exts)
(dependencies matchable)
(test-dependencies srfi-1)
(build-dependencies (module-declarations "0.2.1"))
(components (extension begin-syntax (csc-options "-X" "module-declarations"))))

Build error message:

Toggle snippet (16 lines)
starting phase `build'
The following installed extensions are outdated, because `begin-syntax' requires later versions:

module-declarations (0.0.0 -> 0.2.1)

Do you want to replace the existing extensions? (yes/no/abort)
Error: (string->list) bad argument type - not a string: #!eof
command "chicken-install" "-cached" "-no-install" "begin-syntax" failed with status 70
note: keeping build directory `/tmp/guix-build-chicken-begin-syntax-0.2.1.drv-0'
builder for `/gnu/store/gw8w10whrz9vmiaqhj5p9a8kwzd37pcp-chicken-begin-syntax-0.2.1.drv' failed with exit code 1
build of /gnu/store/gw8w10whrz9vmiaqhj5p9a8kwzd37pcp-chicken-begin-syntax-0.2.1.drv failed
View build log at '/var/log/guix/drvs/gw/8w10whrz9vmiaqhj5p9a8kwzd37pcp-chicken-begin-syntax-0.2.1.drv.bz2'.
cannot build derivation `/gnu/store/9lfv9h6ra9g5adw9ppdd1yf2r3z1bcc2-chicken-sourcehut-0.3.3.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/9lfv9h6ra9g5adw9ppdd1yf2r3z1bcc2-chicken-sourcehut-0.3.3.drv' failed

I also tried passing the ‘-force’ and ‘-verbose’ flags to
‘chicken-install’, now it complains about ‘module-declarations’ not
being cached. ¯\_(?)_/¯

Toggle snippet (16 lines)
starting phase `build'
begin-syntax located at /tmp/guix-build-chicken-begin-syntax-0.2.1.drv-0/begin-syntax
checking begin-syntax ...
checking platform for `begin-syntax'
checking dependencies for `begin-syntax'
upgrade: module-declarations
module-declarations not cached

Error: extension not cached
command "chicken-install" "-cached" "-no-install" "-force" "-verbose" "begin-syntax" failed with status 70
note: keeping build directory `/tmp/guix-build-chicken-begin-syntax-0.2.1.drv-6'
builder for `/gnu/store/87d8vdmsbmw5nl163j4x10km82swxash-chicken-begin-syntax-0.2.1.drv' failed with exit code 1
build of /gnu/store/87d8vdmsbmw5nl163j4x10km82swxash-chicken-begin-syntax-0.2.1.drv failed
View build log at '/var/log/guix/drvs/87/d8vdmsbmw5nl163j4x10km82swxash-chicken-begin-syntax-0.2.1.drv.bz2'.
guix build: error: build of `/gnu/store/87d8vdmsbmw5nl163j4x10km82swxash-chicken-begin-syntax-0.2.1.drv' failed
-----BEGIN PGP SIGNATURE-----

iQJJBAEBCAAzFiEEAVhh4yyK5+SEykIzrPUJmaL7XHkFAmC5SJ4VHHB1YmxpY0B5
b2N0b2NlbGwueHl6AAoJEKz1CZmi+1x5VF4QALr0WQBFJbgmQM/2vs8xdojmb23H
QGyCmDKscPiDi9RXcT2j88vS+Hivagco1ELb2nLbLwPlOxW7cs8qYcxgdKjsnGAS
Tp17XpZyl7Uu3N7f5e6hDh2krtsDUjuLgOGMx26XLpR+TvLX1/azc28tYv5MuFFv
1SoKPYC4HYynLiHG/qaJjHo/84vqYxaqHPJbw2Uw3+5twzLcF1RSeSbG6HSKJIor
Bbn4q0UZIa9ifEPharyVVOnLHc7EgxjpENGDYJHbU79gsdYkpiga9PsW+ydPg7xj
6vPzJ6zQscxM5A+sFvOfrCQXt4WL22ewP1Re2e/At8mR71nHUk6eWWbTtvitAnGk
qIufQGb17BaO6dOYzk/e0k4uK8ix8rVV1u/YUCntx7/vo1vlouTl99gg9X0Vqdl2
8xxWr2E1PAWF6MEu7r+RcnctNARzRX2ahfDNJzSChiUS8mBaZcE2emc+Co9H3GYF
h35OjAIUPCHwFf4whZhlNN7qzxF4jawOLvvx03R94XNJve5s7Cro9xV+/ndAeIvr
XcIZFcUgWM4EpDHtEz01iU4PaKgK6XzzgHWcP0UC/XhHRfdCJW7pV/oXiNUkgV0w
xumwaKAqeukpwjHbs9C349+nctwBj56yP6R8x4UEDgbQKLztS4Jf/QPujXmS1zw+
GKgxK1QJuw37pq9y
=X2ax
-----END PGP SIGNATURE-----

?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 48819@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 48819
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch