Hi Mike,
> On Mon, Jan 04, 2021 at 10:02:57AM +0100, Ricardo Wurmus wrote: >> >> Aleix Conchillo Flaqu� <aconchi...@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 spk...@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