From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.comp.gnu.guix.devel,gmane.lisp.guile.user Subject: Re: guile-gdbm doesn't work with gdbm-1.14 Date: Mon, 19 Mar 2018 17:47:30 +0100 Message-ID: <87lgeoui59.fsf@gnu.org> References: <874lldvktm.fsf@member.fsf.org> <87efkhebmf.fsf@netris.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1521477958 9620 195.159.176.226 (19 Mar 2018 16:45:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2018 16:45:58 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: guix-devel@gnu.org, guile-user@gnu.org, Ian Price To: Mark H Weaver Original-X-From: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Mon Mar 19 17:45:54 2018 Return-path: Envelope-to: gcggd-guix-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1exxuz-0002O3-Vx for gcggd-guix-devel@m.gmane.org; Mon, 19 Mar 2018 17:45:54 +0100 Original-Received: from localhost ([::1]:43010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exxx3-0007n5-2F for gcggd-guix-devel@m.gmane.org; Mon, 19 Mar 2018 12:48:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exxwg-0007lw-Mr for guix-devel@gnu.org; Mon, 19 Mar 2018 12:47:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exxwf-00082g-Vc for guix-devel@gnu.org; Mon, 19 Mar 2018 12:47:38 -0400 Original-Received: from hera.aquilenet.fr ([2a0c:e300::1]:42846) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1exxwb-0007zj-Et; Mon, 19 Mar 2018 12:47:33 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C659B123DD; Mon, 19 Mar 2018 17:47:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Original-Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id d32ehMz0gDpe; Mon, 19 Mar 2018 17:47:31 +0100 (CET) Original-Received: from ribbon (unknown [193.50.110.92]) by hera.aquilenet.fr (Postfix) with ESMTPSA id BC02110F23; Mon, 19 Mar 2018 17:47:30 +0100 (CET) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?utf-8?Q?Vent=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu In-Reply-To: <87efkhebmf.fsf@netris.org> (Mark H. Weaver's message of "Sun, 18 Mar 2018 09:50:32 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a0c:e300::1 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Original-Sender: "Guix-devel" Xref: news.gmane.org gmane.comp.gnu.guix.devel:41926 gmane.lisp.guile.user:14495 Archived-At: Hello, Mark H Weaver skribis: > iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) writes: > >> Hello, since version 1.14, gdbm doesn't export "gdbm_errno" anymore [1], >> so the guile-gdbm ffi binding code [2] need updates now (I'm not >> confident to do it myself...). Thanks, Mark for the quick fix. > --- /dev/null > +++ b/gnu/packages/patches/guile-gdbm-ffi-support-gdbm-1.14.patch > @@ -0,0 +1,53 @@ > +From 1da99396dc65993ba34ac0370ca5d6acda6a3322 Mon Sep 17 00:00:00 2001 > +From: Mark H Weaver > +Date: Sun, 18 Mar 2018 07:02:37 -0400 > +Subject: [PATCH] Add support for gdbm-1.14. > + > +As of gdbm-1.14, 'gdbm_errno' no longer exists as a binary interface. > +It has been replaced by 'gdbm_errno_location', a function that returns > +int*. We now use this new interface if it's available. Ian, could you consider applying this patch upstream? Thanks! Ludo=E2=80=99.