unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* [ANN] guile-curl 0.7
       [not found] <20210104043628.GA1092151.ref@spikycactus.com>
@ 2021-01-04  4:36 ` Mike Gran
  2021-01-04  7:16   ` Aleix Conchillo Flaqué
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Gran @ 2021-01-04  4:36 UTC (permalink / raw)
  To: guile-user

I am pleased to announce the release of guile-curl 0.7.
This is a library for fetching files by URL from the internet
in the GNU Guile dialect of the Scheme programming language.
It wraps functionality provided by the libcurl library.
It supports many protocols, such as https, ftp, tftp, gopher,
and smtp, and it has many options for proxies.

The development tree is at
  https://github.com/spk121/guile-curl
The latest source archive is at
  http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
MD5 a049da8e2b31b12fc8e6aaab4b56a7d7  guile_curl-0.7.tar.gz

For Release 0.7 - Jan 1, 2021

    - Eliminate Guile 2.0 support
    - All Guile 3.0 support
    - Update gnulib

There is no mailing list for this project.  Feel free to contact
me directly if you have any questions.

Thanks,

Mike Gran





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04  4:36 ` [ANN] guile-curl 0.7 Mike Gran
@ 2021-01-04  7:16   ` Aleix Conchillo Flaqué
  2021-01-04  9:02     ` Ricardo Wurmus
  0 siblings, 1 reply; 9+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-04  7:16 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

Hi Mike,

I'm trying to add guile-curl to homebrew-guile but ran into
compilation issues in type.c using the tarball from your email. If I
clone the repo it builds fine. Interestingly the file is a bit
different, for example one of the changes in the repo is:

-SCM scm_fo_curl_handle_t;
-SCM_GLOBAL_VARIABLE(scm_fo_curl_handle_var, "<curl-handle>");
+static scm_t_bits handle_tag;

Missing handle_tag is one of the reasons compilation fails, it's not
in the type.c from the tarball.

Aleix

On Sun, Jan 3, 2021 at 8:36 PM Mike Gran <spk121@yahoo.com> wrote:
>
> I am pleased to announce the release of guile-curl 0.7.
> This is a library for fetching files by URL from the internet
> in the GNU Guile dialect of the Scheme programming language.
> It wraps functionality provided by the libcurl library.
> It supports many protocols, such as https, ftp, tftp, gopher,
> and smtp, and it has many options for proxies.
>
> The development tree is at
>   https://github.com/spk121/guile-curl
> The latest source archive is at
>   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
> MD5 a049da8e2b31b12fc8e6aaab4b56a7d7  guile_curl-0.7.tar.gz
>
> For Release 0.7 - Jan 1, 2021
>
>     - Eliminate Guile 2.0 support
>     - All Guile 3.0 support
>     - Update gnulib
>
> There is no mailing list for this project.  Feel free to contact
> me directly if you have any questions.
>
> Thanks,
>
> Mike Gran
>
>
>



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04  7:16   ` Aleix Conchillo Flaqué
@ 2021-01-04  9:02     ` Ricardo Wurmus
  2021-01-04 11:36       ` Mike Gran via General Guile related discussions
  0 siblings, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2021-01-04  9:02 UTC (permalink / raw)
  To: Aleix Conchillo Flaqué; +Cc: guile-user


Aleix Conchillo Flaqué <aconchillo@gmail.com> writes:

> I'm trying to add guile-curl to homebrew-guile but ran into
> compilation issues in type.c using the tarball from your email.

I can confirm this.  (I just tried to upgrade the guile-curl package in
Guix.)

I’m getting this error output when building with Guile 2.2:

--8<---------------cut here---------------start------------->8---
In file included from /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/__scm.h:398:0,
                 from /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile.h:31,
                 from type.c:21:
type.c: In function '_scm_is_handle':
type.c:41:27: error: 'handle_tag' undeclared (first use in this function); did you mean 'handle_post_t'?
   if (SCM_SMOB_PREDICATE (handle_tag, x))
                           ^
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/tags.h:390:33: note: in definition of macro 'SCM_HAS_HEAP_TYPE'
   (SCM_NIMP (x) && type (x) == (tag))
                                 ^~~
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/smob.h:53:38: note: in expansion of macro 'SCM_HAS_TYP16'
 #define SCM_SMOB_PREDICATE(tag, obj) SCM_HAS_TYP16 (obj, tag)
                                      ^~~~~~~~~~~~~
type.c:41:7: note: in expansion of macro 'SCM_SMOB_PREDICATE'
   if (SCM_SMOB_PREDICATE (handle_tag, x))
       ^~~~~~~~~~~~~~~~~~
type.c:41:27: note: each undeclared identifier is reported only once for each function it appears in
   if (SCM_SMOB_PREDICATE (handle_tag, x))
                           ^
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/tags.h:390:33: note: in definition of macro 'SCM_HAS_HEAP_TYPE'
   (SCM_NIMP (x) && type (x) == (tag))
                                 ^~~
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/smob.h:53:38: note: in expansion of macro 'SCM_HAS_TYP16'
 #define SCM_SMOB_PREDICATE(tag, obj) SCM_HAS_TYP16 (obj, tag)
                                      ^~~~~~~~~~~~~
type.c:41:7: note: in expansion of macro 'SCM_SMOB_PREDICATE'
   if (SCM_SMOB_PREDICATE (handle_tag, x))
       ^~~~~~~~~~~~~~~~~~
In file included from /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile.h:94:0,
                 from type.c:21:
type.c: In function '_scm_from_handle':
type.c:65:26: error: 'handle_tag' undeclared (first use in this function); did you mean 'handle_post_t'?
   SCM_NEWSMOB (s_handle, handle_tag, x);
                          ^
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/smob.h:101:22: note: in definition of macro 'SCM_NEWSMOB'
   z = scm_new_smob ((tc), (scm_t_bits)(data))
                      ^~
type.c: In function 'cl_init_type':
type.c:486:37: warning: passing argument 3 of 'scm_make_foreign_object_type' from incompatible pointer type [-Wincompatible-pointer-types]
                                     gc_free_handle);
                                     ^~~~~~~~~~~~~~
In file included from /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile.h:56:0,
                 from type.c:21:
/gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/libguile/foreign-object.h:30:13: note: expected 'scm_t_struct_finalize {aka void (*)(struct scm_unused_struct *)}' but argument is of type 'size_t (*)(struct scm_unused_struct *) {aka long unsigned int (*)(struct scm_unused_struct *)}'
 SCM_API SCM scm_make_foreign_object_type (SCM name, SCM slot_names,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
type.c:489:3: error: 'handle_tag' undeclared (first use in this function); did you mean 'handle_post_t'?
   handle_tag = scm_make_smob_type ("handle", sizeof (handle_post_t));
   ^~~~~~~~~~
   handle_post_t
make[2]: *** [Makefile:539: libguile_curl_la-type.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
--8<---------------cut here---------------end--------------->8---

I get very similar output with Guile 3.0.

-- 
Ricardo



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04  9:02     ` Ricardo Wurmus
@ 2021-01-04 11:36       ` Mike Gran via General Guile related discussions
  2021-01-04 11:42         ` Ricardo Wurmus
  2021-01-04 18:43         ` Aleix Conchillo Flaqué
  0 siblings, 2 replies; 9+ messages in thread
From: Mike Gran via General Guile related discussions @ 2021-01-04 11:36 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guile-user

On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote:
> 
> Aleix Conchillo Flaqu� <aconchillo@gmail.com> writes:
> 
> > I'm trying to add guile-curl to homebrew-guile but ran into
> > compilation issues in type.c using the tarball from your email.
> 
> I can confirm this.  (I just tried to upgrade the guile-curl package in
> Guix.)

How embarassing. The tarball had a bit of unreverted commit. I've
regenerated the tarball, and the code in the repo is unchanged.

The corrected tarball is
  http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
and the corrected MD5 is
  http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz.md5
  
MD5 c62d274a18a209135b89509917e5569a  guile_curl-0.7.tar.gz

I apologize for the confusion.

-Mike




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04 11:36       ` Mike Gran via General Guile related discussions
@ 2021-01-04 11:42         ` Ricardo Wurmus
  2021-01-04 12:07           ` Mike Gran via General Guile related discussions
  2021-01-04 18:43         ` Aleix Conchillo Flaqué
  1 sibling, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2021-01-04 11:42 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user


Hi Mike,

> On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote:
>> 
>> Aleix Conchillo Flaqu� <aconchillo@gmail.com> writes:
>> 
>> > I'm trying to add guile-curl to homebrew-guile but ran into
>> > compilation issues in type.c using the tarball from your email.
>> 
>> I can confirm this.  (I just tried to upgrade the guile-curl package in
>> Guix.)
>
> How embarassing. The tarball had a bit of unreverted commit. I've
> regenerated the tarball, and the code in the repo is unchanged.
>
> The corrected tarball is
>   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz

Thank you!

Unfortunately, I’m getting test failures due to an undefined variable:

--8<---------------cut here---------------start------------->8---
FAIL: stress.scm
FAIL: setopt.scm
============================================================================
Testsuite summary for guile_curl 0.7
============================================================================
# TOTAL: 3
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to spk121@yahoo.com
============================================================================
make[4]: *** [Makefile:744: test-suite.log] Error 1
make[4]: Leaving directory '/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test'
make[3]: *** [Makefile:852: check-TESTS] Error 2
make[3]: Leaving directory '/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test'
make[2]: *** [Makefile:926: check-am] Error 2
make[2]: Leaving directory '/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test'
make[1]: *** [Makefile:928: check] Error 2
make[1]: Leaving directory '/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test'
make: *** [Makefile:477: check-recursive] Error 1

Test suite failed, dumping logs.

--- ./test/test-suite.log ---------------------------------------------------

=========================================
   guile_curl 0.7: test/test-suite.log
=========================================

# TOTAL: 3
# PASS:  1
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: setopt
============

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./setopt.scm
;;; WARNING: compilation of /tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./setopt.scm failed:
;;; failed to create path for auto-compiled file "/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./setopt.scm"
;;; compiling ../test/./lib.scm
;;; WARNING: compilation of ../test/./lib.scm failed:
;;; failed to create path for auto-compiled file "../test/./lib.scm"
;;; compiling ../src/curl.scm
;;; WARNING: compilation of ../src/curl.scm failed:
;;; failed to create path for auto-compiled file "../src/curl.scm"
Backtrace:
In ice-9/eval.scm:
   177:49 19 (lp (#<procedure 7ffff5f9e3e0 at ice-9/eval.scm:182:?> ?))
   177:49 18 (lp (#<procedure 7ffff5f9e3c0 at ice-9/eval.scm:182:?> ?))
   177:49 17 (lp (#<procedure 7ffff5f9e3a0 at ice-9/eval.scm:182:?> ?))
   177:49 16 (lp (#<procedure 7ffff5f9e380 at ice-9/eval.scm:182:?> ?))
   177:49 15 (lp (#<procedure 7ffff5f9e360 at ice-9/eval.scm:182:?> ?))
   177:49 14 (lp (#<procedure 7ffff5f9e340 at ice-9/eval.scm:182:?> ?))
   177:49 13 (lp (#<procedure 7ffff5f9e300 at ice-9/eval.scm:182:?> ?))
   177:49 12 (lp (#<procedure 7ffff5f9e2e0 at ice-9/eval.scm:182:?> ?))
   177:49 11 (lp (#<procedure 7ffff5f9e2a0 at ice-9/eval.scm:182:?> ?))
   177:49 10 (lp (#<procedure 7ffff5f9e280 at ice-9/eval.scm:182:?> ?))
   177:49  9 (lp (#<procedure 7ffff5f9e240 at ice-9/eval.scm:182:?> ?))
   177:49  8 (lp (#<procedure 7ffff5f9e220 at ice-9/eval.scm:282:?> ?))
   177:49  7 (lp (#<procedure 7ffff5f9e200 at ice-9/eval.scm:182:?> ?))
   177:49  6 (lp (#<procedure 7ffff5f9e1e0 at ice-9/eval.scm:182:?> ?))
   177:49  5 (lp (#<procedure 7ffff5f9e1c0 at ice-9/eval.scm:182:?> ?))
   177:32  4 (lp (#<procedure 7ffff5f9e180 at ice-9/eval.scm:182:?> ?))
    159:9  3 (_ #<directory (curl) 7ffff5a89aa0>)
    159:9  2 (_ #<directory (curl) 7ffff5a89aa0>)
   223:20  1 (proc #<directory (curl) 7ffff5a89aa0>)
In unknown file:
           0 (%resolve-variable (7 . CURLOPT_HAPROXYPROTOCOL) #<dire?>)

ERROR: In procedure %resolve-variable:
Unbound variable: CURLOPT_HAPROXYPROTOCOL
FAIL setopt.scm (exit status: 1)

FAIL: stress
============

;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./stress.scm
;;; WARNING: compilation of /tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./stress.scm failed:
;;; failed to create path for auto-compiled file "/tmp/guix-build-guile-curl-0.7.drv-0/guile_curl-0.7/test/./stress.scm"
;;; compiling ../test/./lib.scm
;;; WARNING: compilation of ../test/./lib.scm failed:
;;; failed to create path for auto-compiled file "../test/./lib.scm"
;;; compiling ../src/curl.scm
;;; WARNING: compilation of ../src/curl.scm failed:
;;; failed to create path for auto-compiled file "../src/curl.scm"
Backtrace:
In ice-9/eval.scm:
   177:49 19 (lp (#<procedure 7ffff5f969c0 at ice-9/eval.scm:182:?> ?))
   177:49 18 (lp (#<procedure 7ffff5f96940 at ice-9/eval.scm:182:?> ?))
   177:49 17 (lp (#<procedure 7ffff5f968c0 at ice-9/eval.scm:182:?> ?))
   177:49 16 (lp (#<procedure 7ffff5f96840 at ice-9/eval.scm:182:?> ?))
   177:49 15 (lp (#<procedure 7ffff5f967c0 at ice-9/eval.scm:182:?> ?))
   177:49 14 (lp (#<procedure 7ffff5f96740 at ice-9/eval.scm:182:?> ?))
   177:49 13 (lp (#<procedure 7ffff5f966c0 at ice-9/eval.scm:182:?> ?))
   177:49 12 (lp (#<procedure 7ffff5f96640 at ice-9/eval.scm:182:?> ?))
   177:49 11 (lp (#<procedure 7ffff5f965c0 at ice-9/eval.scm:182:?> ?))
   177:49 10 (lp (#<procedure 7ffff5f96540 at ice-9/eval.scm:182:?> ?))
   177:49  9 (lp (#<procedure 7ffff5f964c0 at ice-9/eval.scm:182:?> ?))
   177:49  8 (lp (#<procedure 7ffff5f96440 at ice-9/eval.scm:282:?> ?))
   177:49  7 (lp (#<procedure 7ffff5f963c0 at ice-9/eval.scm:182:?> ?))
   177:49  6 (lp (#<procedure 7ffff5f96340 at ice-9/eval.scm:182:?> ?))
   177:49  5 (lp (#<procedure 7ffff5f962c0 at ice-9/eval.scm:182:?> ?))
   177:32  4 (lp (#<procedure 7ffff5f96240 at ice-9/eval.scm:182:?> ?))
    159:9  3 (_ #<directory (curl) 7ffff5a89aa0>)
    159:9  2 (_ #<directory (curl) 7ffff5a89aa0>)
   223:20  1 (proc #<directory (curl) 7ffff5a89aa0>)
In unknown file:
           0 (%resolve-variable (7 . CURLOPT_HAPROXYPROTOCOL) #<dire?>)

ERROR: In procedure %resolve-variable:
Unbound variable: CURLOPT_HAPROXYPROTOCOL
FAIL stress.scm (exit status: 1)


command "make" "check" "-j" "4" failed with status 2
--8<---------------cut here---------------end--------------->8---

-- 
Ricardo



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04 11:42         ` Ricardo Wurmus
@ 2021-01-04 12:07           ` Mike Gran via General Guile related discussions
  2021-01-04 19:46             ` Aleix Conchillo Flaqué
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Gran via General Guile related discussions @ 2021-01-04 12:07 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guile-user

On Mon, Jan 04, 2021 at 12:42:34PM +0100, Ricardo Wurmus wrote:
> 
> Hi Mike,
> 
> > On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote:
> >> 
> >> Aleix Conchillo Flaqu� <aconchillo@gmail.com> writes:
> >> 
> >> > I'm trying to add guile-curl to homebrew-guile but ran into
> >> > compilation issues in type.c using the tarball from your email.
> >> 
> >> I can confirm this.  (I just tried to upgrade the guile-curl package in
> >> Guix.)
> >
> > How embarassing. The tarball had a bit of unreverted commit. I've
> > regenerated the tarball, and the code in the repo is unchanged.
> >
> > The corrected tarball is
> >   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
> 
> Thank you!
> 
> Unfortunately, I'm getting test failures due to an undefined variable:

Curious indeed. I can't reproduce, but, I think I know what it is
complaining about. Let me see what I can do.

-Mike





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04 11:36       ` Mike Gran via General Guile related discussions
  2021-01-04 11:42         ` Ricardo Wurmus
@ 2021-01-04 18:43         ` Aleix Conchillo Flaqué
  2021-01-04 23:23           ` Aleix Conchillo Flaqué
  1 sibling, 1 reply; 9+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-04 18:43 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

On Mon, Jan 4, 2021 at 3:36 AM Mike Gran <spk121@yahoo.com> wrote:
>
> On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote:
> >
> > Aleix Conchillo Flaqu� <aconchillo@gmail.com> writes:
> >
> > > I'm trying to add guile-curl to homebrew-guile but ran into
> > > compilation issues in type.c using the tarball from your email.
> >
> > I can confirm this.  (I just tried to upgrade the guile-curl package in
> > Guix.)
>
> How embarassing. The tarball had a bit of unreverted commit. I've
> regenerated the tarball, and the code in the repo is unchanged.
>
> The corrected tarball is
>   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
> and the corrected MD5 is
>   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz.md5
>
> MD5 c62d274a18a209135b89509917e5569a  guile_curl-0.7.tar.gz
>
> I apologize for the confusion.
>

Thanks!

Another issue I found is that the tarball URL is sometimes flaky, see:

https://github.com/aconchillo/homebrew-guile/pull/12/checks?check_run_id=1642592439#step:8:55

Also, would there be any way to support TLS? :-)

Aleix



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04 12:07           ` Mike Gran via General Guile related discussions
@ 2021-01-04 19:46             ` Aleix Conchillo Flaqué
  0 siblings, 0 replies; 9+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-04 19:46 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

On Mon, Jan 4, 2021 at 4:07 AM Mike Gran <spk121@yahoo.com> wrote:
>
> On Mon, Jan 04, 2021 at 12:42:34PM +0100, Ricardo Wurmus wrote:
> >
> > Hi Mike,
> >
> > > On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote:
> > >>
> > >> Aleix Conchillo Flaqu� <aconchillo@gmail.com> writes:
> > >>
> > >> > I'm trying to add guile-curl to homebrew-guile but ran into
> > >> > compilation issues in type.c using the tarball from your email.
> > >>
> > >> I can confirm this.  (I just tried to upgrade the guile-curl package in
> > >> Guix.)
> > >
> > > How embarassing. The tarball had a bit of unreverted commit. I've
> > > regenerated the tarball, and the code in the repo is unchanged.
> > >
> > > The corrected tarball is
> > >   http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
> >
> > Thank you!
> >
> > Unfortunately, I'm getting test failures due to an undefined variable:
>
> Curious indeed. I can't reproduce, but, I think I know what it is
> complaining about. Let me see what I can do.
>

I actually have the same issue:

scheme@(guile-user)> (use-modules (curl))
While compiling expression:
Unbound variable: CURLOPT_HAPROXYPROTOCOL

This is the output after a first try. On the first try I get:

scheme@(guile-user)> (use-modules (curl))
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/local/share/guile/site/3.0/curl.scm
;;; /usr/local/share/guile/site/3.0/curl.scm:370:2: warning: possibly
unbound variable `%curl-easy-init'
;;; /usr/local/share/guile/site/3.0/curl.scm:375:2: warning: possibly
unbound variable `%curl-easy-handle?'
;;; /usr/local/share/guile/site/3.0/curl.scm:384:2: warning: possibly
unbound variable `%curl-easy-cleanup'
;;; /usr/local/share/guile/site/3.0/curl.scm:392:2: warning: possibly
unbound variable `%curl-easy-reset'
;;; /usr/local/share/guile/site/3.0/curl.scm:395:2: warning: possibly
unbound variable `CURLOPT_VERBOSE'
.....
.....

Note that GUILE_SYSTEM_EXTENSIONS_PATH is properly set and
libguile-curl file are there. I don't recall if the warnings are an
issue or not in other libraries, but I don't remember seeing them
either.

Aleix



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [ANN] guile-curl 0.7
  2021-01-04 18:43         ` Aleix Conchillo Flaqué
@ 2021-01-04 23:23           ` Aleix Conchillo Flaqué
  0 siblings, 0 replies; 9+ messages in thread
From: Aleix Conchillo Flaqué @ 2021-01-04 23:23 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-user

On Mon, Jan 4, 2021 at 10:43 AM Aleix Conchillo Flaqué
<aconchillo@gmail.com> wrote:

>
> Another issue I found is that the tarball URL is sometimes flaky, see:
>
> https://github.com/aconchillo/homebrew-guile/pull/12/checks?check_run_id=1642592439#step:8:55
>

Weirdly clicking http://lonelycactus.com/tarball/guile_curl-0.7.tar.gz
on Chrome doesn't do anything, but if I open a new tab and paste the
URL there it works.

Aleix



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-01-04 23:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210104043628.GA1092151.ref@spikycactus.com>
2021-01-04  4:36 ` [ANN] guile-curl 0.7 Mike Gran
2021-01-04  7:16   ` Aleix Conchillo Flaqué
2021-01-04  9:02     ` Ricardo Wurmus
2021-01-04 11:36       ` Mike Gran via General Guile related discussions
2021-01-04 11:42         ` Ricardo Wurmus
2021-01-04 12:07           ` Mike Gran via General Guile related discussions
2021-01-04 19:46             ` Aleix Conchillo Flaqué
2021-01-04 18:43         ` Aleix Conchillo Flaqué
2021-01-04 23:23           ` Aleix Conchillo Flaqué

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).