I'm trying to update the port I maintain for pkgsrc. Building on NetBSD/amd64 (pkgsrc is cross-system, not just NetBSD) with guile 2.2 I get this error. My gcrypt version is:
pkg_info libgcrypt
Information for libgcrypt-1.8.5:
[...]
Requires:
libgpg-error>=1.13
[...]
error:
GEN gcrypt/hash.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
;;; note: source file /usr/work/devel/guile-gcrypt/work/guile-gcrypt/gcrypt/package-config.scm
;;; newer than compiled /usr/pkg/guile/2.2/lib/guile/2.2/site-ccache/gcrypt/package-config.go
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Syntax error:
gcrypt/hash.scm:83:0: source expression failed to match any pattern in form (define-enumerate-type hash-algorithm lookup-hash-algorithm hash-algorithm-name (md5 1) (sha1 2) (rmd160 3) (tiger 6) (haval 7) (sha256 8) (sha384 9) (sha512 10) (sha224 11) (md4 301) (crc32 302) (crc32-rfc1510 303) (crc24-rfc2440 304) (whirlpool 305) (tiger1 306) (tiger2 307) (gostr3411-94 308) (stribog256 309) (stribog512 310) (gostr3411-cp 311) (sha3-224 312) (sha3-256 313) (sha3-384 314) (sha3-512 315) (blake2b-512 318) (blake2b-384 319) (blake2b-256 320) (blake2b-160 321) (blake2s-256 322) (blake2s-224 323) (blake2s-160 324) (blake2s-128 325))
*** [gcrypt/hash.go] Error code 1
make: stopped in /usr/work/devel/guile-gcrypt/work/guile-gcrypt
--- gcrypt/base16.go ---
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
wrote `gcrypt/base16.go'
--- gcrypt/base64.go ---
wrote `gcrypt/base64.go'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
--- gcrypt/common.go ---
wrote `gcrypt/common.go'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
;;; note: source file /usr/work/devel/guile-gcrypt/work/guile-gcrypt/gcrypt/package-config.scm
;;; newer than compiled /usr/pkg/guile/2.2/lib/guile/2.2/site-ccache/gcrypt/package-config.go
1 error
make: stopped in /usr/work/devel/guile-gcrypt/work/guile-gcrypt
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/devel/guile-gcrypt
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/guile-gcrypt
Hi Chris,
I'm trying to update the port I maintain for pkgsrc. Building on NetBSD/amd64 (pkgsrc is cross-system, not just NetBSD) with guile 2.2 I get this error. My gcrypt version is:
```
pkg_info libgcrypt
Information for libgcrypt-1.8.5:
[...]
Requires:
libgpg-error>=1.13
[...]
```
error:
```
GEN gcrypt/hash.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
;;; note: source file /usr/work/devel/guile-gcrypt/work/guile-gcrypt/gcrypt/package-config.scm
;;; newer than compiled /usr/pkg/guile/2.2/lib/guile/2.2/site-ccache/gcrypt/package-config.go
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Syntax error:
gcrypt/hash.scm:83:0: source expression failed to match any pattern in form (define-enumerate-type hash-algorithm lookup-hash-algorithm hash-algorithm-name (md5 1) (sha1 2) (rmd160 3) (tiger 6) (haval 7) (sha256 8) (sha384 9) (sha512 10) (sha224 11) (md4 301) (crc32 302) (crc32-rfc1510 303) (crc24-rfc2440 304) (whirlpool 305) (tiger1 306) (tiger2 307) (gostr3411-94 308) (stribog256 309) (stribog512 310) (gostr3411-cp 311) (sha3-224 312) (sha3-256 313) (sha3-384 314) (sha3-512 315) (blake2b-512 318) (blake2b-384 319) (blake2b-256 320) (blake2b-160 321) (blake2s-256 322) (blake2s-224 323) (blake2s-160 324) (blake2s-128 325))
*** [gcrypt/hash.go] Error code 1
make: stopped in /usr/work/devel/guile-gcrypt/work/guile-gcrypt
--- gcrypt/base16.go ---
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
wrote `gcrypt/base16.go'
--- gcrypt/base64.go ---
wrote `gcrypt/base64.go'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
--- gcrypt/common.go ---
wrote `gcrypt/common.go'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/work/devel/guile-gcrypt/work/.buildlink/bin/guild
;;; compiled /usr/work/devel/guile-gcrypt/work/.home/.cache/guile/ccache/2.2-LE-8-3.A/usr/pkg/guile/2.2/bin/guild.go
;;; note: source file /usr/work/devel/guile-gcrypt/work/guile-gcrypt/gcrypt/package-config.scm
;;; newer than compiled /usr/pkg/guile/2.2/lib/guile/2.2/site-ccache/gcrypt/package-config.go
1 error
make: stopped in /usr/work/devel/guile-gcrypt/work/guile-gcrypt
*** Error code 2
Stop.
make[1]: stopped in /usr/pkgsrc/devel/guile-gcrypt
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/devel/guile-gcrypt
```
In Guix, Guile-Gcrypt 0.3.0 builds successfully with Guile 2.2.7. I wonder what the difference might be.
Thanks,
Ludo'.
Hi Nikita,
Which version of Guile 2.2.x is it?
In Guix, Guile-Gcrypt 0.3.0 builds successfully with Guile 2.2.7. I wonder what the difference might be.
Thanks,
Ludo'.
Hi Chris,
I'm trying to update the port I maintain for pkgsrc. Building on NetBSD/amd64 (pkgsrc is cross-system, not just NetBSD) with guile 2.2 I get this error. My gcrypt version is:
error:
Hi Nikita,
Which version of Guile 2.2.x is it?
In Guix, Guile-Gcrypt 0.3.0 builds successfully with Guile 2.2.7. I wonder what the difference might be.
Thanks, Ludo'.