all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: Simon Josefsson <simon@josefsson.org>
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Vivien Kraus" <vivien@planete-kraus.eu>,
	63331@debbugs.gnu.org
Subject: bug#63331: Guile-GnuTLS/Git circular dependency
Date: Tue, 09 May 2023 12:15:24 +0100	[thread overview]
Message-ID: <874jol4uje.fsf@cbaines.net> (raw)
In-Reply-To: <8735472aep.fsf@josefsson.org>

[-- Attachment #1: Type: text/plain, Size: 3330 bytes --]


Simon Josefsson via Bug reports for GNU Guix <bug-guix@gnu.org> writes:

> [[PGP Signed Part:Undecided]]
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> We need to solve that.  For now, the only fix I can think of is having
>> ‘guile-gnutls’ built from a “make dist”-provided tarballs.  Apparently
>> we can add assets at <https://gitlab.com/gnutls/guile/-/tags>; would you
>> like to upload a tarball and accompanying signature, Simon?
>
> I published a release of gnutls-guile 3.7.12, this time built on my Guix
> development machine to test that the release machinery (README-release)
> works under Guix as well; the only "interesting" dependency was ncftp
> but you had that packaged and it worked fine.
>
> https://gitlab.com/gnutls/guile/-/releases/v3.7.12

Thanks so much for this Simon.

I've had a go at updating the Guix guile-gnutls package and sent an
initial patch to https://issues.guix.gnu.org/63388 .

It seems to build for me, but I'm having problems cross building. There
were warnings before about protocol/ssl3 being undefined, but now this
seems to result in an error when building extra.scm:


  GUILEC   modules/gnutls.go
gnutls.scm:608:23: warning: possibly unbound variable `protocol/ssl3'
gnutls.scm:609:25: warning: possibly unbound variable `protocol/tls1-0'
gnutls.scm:610:25: warning: possibly unbound variable `protocol/tls1-1'
  GUILEC   modules/gnutls/extra.go
Backtrace:
In ice-9/psyntax.scm:
  1229:36 19 (expand-top-sequence (#<syntax:extra.scm:21:0 (#<synt?>) ?)
  1221:19 18 (parse _ (("placeholder" placeholder)) ((top) #(# # ?)) ?)
   259:10 17 (parse _ (("placeholder" placeholder)) (()) _ c&e (# #) #)
In ice-9/eval.scm:
   293:34 16 (_ #<module (#{ g106}#) 7ffff786d500>)
In ice-9/boot-9.scm:
   3411:4 15 (define-module* _ #:filename _ #:pure _ #:version _ # _ ?)
  2595:24 14 (call-with-deferred-observers #<procedure 7ffff778ac30 ?>)
  3424:24 13 (_)
   222:17 12 (map1 (((gnutls))))
  3327:17 11 (resolve-interface (gnutls) #:select _ #:hide _ #:prefix ?)
In ice-9/threads.scm:
    390:8 10 (_ _)
In ice-9/boot-9.scm:
  3253:13  9 (_)
In ice-9/threads.scm:
    390:8  8 (_ _)
In ice-9/boot-9.scm:
  3544:20  7 (_)
   2836:4  6 (save-module-excursion #<procedure 7ffff78660f0 at ice-?>)
  3564:26  5 (_)
In unknown file:
           4 (primitive-load-path "gnutls" #<procedure 7ffff27384a0 ?>)
In ice-9/eval.scm:
   626:19  3 (_ #<directory (gnutls) 7ffff786d320>)
   223:20  2 (proc #<directory (gnutls) 7ffff786d320>)
In unknown file:
           1 (%resolve-variable (7 . protocol/ssl3) #<directory (gnu?>)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Unbound variable: protocol/ssl3
make[3]: *** [Makefile:1295: modules/gnutls/extra.go] Error 1
make[3]: Leaving directory '/tmp/guix-build-guile-gnutls-3.7.12.drv-0/guile-gnutls-3.7.12/guile'
make[2]: *** [Makefile:754: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-guile-gnutls-3.7.12.drv-0/guile-gnutls-3.7.12/guile'
make[1]: *** [Makefile:471: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-guile-gnutls-3.7.12.drv-0/guile-gnutls-3.7.12'
make: *** [Makefile:403: all] Error 2
error: in phase 'build': uncaught exception:

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2023-05-09 11:25 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-06 17:20 bug#63331: Guile-GnuTLS/Git circular dependency Ludovic Courtès
2023-05-06 20:07 ` Vivien Kraus via Bug reports for GNU Guix
2023-05-06 20:17   ` Ludovic Courtès
2023-09-25 14:03     ` Simon Tournier
2023-05-07  8:54 ` Simon Josefsson via Bug reports for GNU Guix
2023-05-08 13:57 ` Simon Josefsson via Bug reports for GNU Guix
2023-05-09 11:15   ` Christopher Baines [this message]
2023-05-09 12:23     ` Simon Josefsson via Bug reports for GNU Guix
2023-05-09 15:19       ` Vivien Kraus via Bug reports for GNU Guix
2023-05-10 15:37     ` Ludovic Courtès
2023-05-10 15:59       ` Christopher Baines
2023-05-11 10:38         ` Ludovic Courtès
2023-09-11 14:36 ` Ludovic Courtès
2023-09-11 15:16   ` [bug#65866] bug#63331: Guile-GnuTLS/Git circular dependency and built-in git checkouts Vivien Kraus via Guix-patches via
2023-09-11 20:57     ` [bug#65866] [PATCH 0/8] Add built-in builder for Git checkouts Ludovic Courtès
2023-10-12 14:44   ` bug#63331: Guile-GnuTLS/Git circular dependency Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874jol4uje.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=63331@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=simon@josefsson.org \
    --cc=vivien@planete-kraus.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.