From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ricardo Wurmus Newsgroups: gmane.lisp.guile.user Subject: Re: [ANN] guile-curl 0.7 Date: Mon, 04 Jan 2021 10:02:57 +0100 Message-ID: <87zh1phy66.fsf@elephly.net> References: <20210104043628.GA1092151.ref@spikycactus.com> <20210104043628.GA1092151@spikycactus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30345"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.13; emacs 27.1 Cc: guile-user@gnu.org To: Aleix Conchillo =?utf-8?Q?Flaqu=C3=A9?= Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Mon Jan 04 10:03:37 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kwLm4-0007kA-PF for guile-user@m.gmane-mx.org; Mon, 04 Jan 2021 10:03:36 +0100 Original-Received: from localhost ([::1]:38096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwLm3-0000Ui-R4 for guile-user@m.gmane-mx.org; Mon, 04 Jan 2021 04:03:35 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34788) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwLld-0000UM-He for guile-user@gnu.org; Mon, 04 Jan 2021 04:03:09 -0500 Original-Received: from sender4-of-o59.zoho.com ([136.143.188.59]:21903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwLlb-0003tO-0s for guile-user@gnu.org; Mon, 04 Jan 2021 04:03:09 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1609750982; cv=none; d=zohomail.com; s=zohoarc; b=DXpe+FPxiFU/YbeHw6k8Diug26BmFoxUeL8eJST5Wkuv9HSivBx3qAorSHblaeDEU937x2jli0H8j9SjOuEYKro6RSfeAzPHThDNmzyxjL2BchdjxJnlRYgejtOgXoJqUCAUd+EUF4B5FhPFOA4JTBBdDYgxGbsqxKXDy8w3se0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609750982; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=eburDI46yyrBJUPlzz4xvi1G/qavllGEX/USfpiL1sQ=; b=Nt2yT5hft5oiLcEZy5B5bugQdgIWlj12/YKjp4fpLAiB5bMvxBbnWJlcX28C5ceJTT+qDBVMHlJq6JDOgXZ4iQhvSpCX+9E9IM/n3RrV2ADBMdrOw6UAGpUrbUvEx3+48UPTbGqUoLIIkfSpo1Iwo80q/z8FLHMg1ic/UnODMR0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1609750982; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=eburDI46yyrBJUPlzz4xvi1G/qavllGEX/USfpiL1sQ=; b=SqpsgiviKaCMYT0cxV/3XJ5yUVVFRYxaAc1a2KSJZPCMBH/hbaPb5lqh/6Z5lm4l 1BqPeChoCeXFKSiiJoZ/X/mgsUS7PJMWujM0OnFOKo0GWCZgBbxi2Nos1hIHYAxMIPP ATgyjfxJhH0cWivAKN7oQ7Ap2HMwSrJNa9n8d7AU= Original-Received: from localhost (p54ad44c7.dip0.t-ipconnect.de [84.173.68.199]) by mx.zohomail.com with SMTPS id 160975098156647.09079704876979; Mon, 4 Jan 2021 01:03:01 -0800 (PST) In-reply-to: X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.59; envelope-from=rekado@elephly.net; helo=sender4-of-o59.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17146 Archived-At: Aleix Conchillo Flaqu=C3=A9 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=E2=80=99m 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/l= ibguile/tags.h:390:33: note: in definition of macro 'SCM_HAS_HEAP_TYPE' (SCM_NIMP (x) && type (x) =3D=3D (tag)) ^~~ /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/l= ibguile/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 ea= ch function it appears in if (SCM_SMOB_PREDICATE (handle_tag, x)) ^ /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/l= ibguile/tags.h:390:33: note: in definition of macro 'SCM_HAS_HEAP_TYPE' (SCM_NIMP (x) && type (x) =3D=3D (tag)) ^~~ /gnu/store/l6id6m9fjx5bphgyf1kp6srbmdwspqkn-guile-2.2.7/include/guile/2.2/l= ibguile/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/l= ibguile/smob.h:101:22: note: in definition of macro 'SCM_NEWSMOB' z =3D 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/l= ibguile/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_st= ruct *)}' 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 =3D 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. --=20 Ricardo