From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.devel Subject: Re: what to do about gnulib Date: Mon, 24 Jun 2024 22:59:49 +0200 Message-ID: <87v81y12gq.fsf@pobox.com> References: <87ed8m8k6r.fsf@pobox.com> <7037800.QWXsJ6tzlI@nimes> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27848"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: guile-devel@gnu.org, Andy Wingo To: Bruno Haible Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Mon Jun 24 23:00:34 2024 Return-path: Envelope-to: guile-devel@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 1sLqni-000759-2F for guile-devel@m.gmane-mx.org; Mon, 24 Jun 2024 23:00:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLqnB-00062x-KJ; Mon, 24 Jun 2024 17:00:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLqn9-00062T-FA for guile-devel@gnu.org; Mon, 24 Jun 2024 17:00:00 -0400 Original-Received: from fanzine.igalia.com ([178.60.130.6] helo=fanzine2.igalia.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sLqn7-0002Br-8Q for guile-devel@gnu.org; Mon, 24 Jun 2024 16:59:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fECY/jfrf4/9/dOyS5rMbpV4Ei+PJFFcL8oD/d7F2pE=; b=jnzxrFj1yp+lGwGgnYTtVNpnoO ZCRjWmruJaEnEsDz97IYNNCwkATG1Wp7NV+5QuxZGquhhZ6wZzfm1Mky7IqC8/T7kSOIJVcZZg8U0 xxLwPsMA9P19HVRG9OlKiFYDSg2AuF01A745ePHuVVrVC+J1qaKdMTQ1Pkt4lxY+CYhmUBbMXQ780 gf8FYTmQpjpslNDXjzw/IqO/+uO62aW8Qxtccwilg+R5gpe2+lllKjrpM5ebXkU6/o1oAzZSxwI3s VRR3GJGkXiAHBstS1nw3duiG5qjVkVHcIt7NN2MiTe+Lf5QUeeszjdavTNYP9fhWH14+KPIsmqvCU V/cuFjUA==; Original-Received: from [37.67.75.195] (helo=trouble) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1sLqn0-0073u5-5u; Mon, 24 Jun 2024 22:59:50 +0200 In-Reply-To: <7037800.QWXsJ6tzlI@nimes> (Bruno Haible's message of "Mon, 24 Jun 2024 19:09:11 +0200") Received-SPF: neutral client-ip=178.60.130.6; envelope-from=wingo@pobox.com; helo=fanzine2.igalia.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22470 Archived-At: Hi Bruno! Thanks for your kind answer and tips :) On Mon 24 Jun 2024 19:09, Bruno Haible writes: > I can reproduce a problem by > 0. using a git checkout of guile ('main' branch, not 'master' branch), > 1. using a GNU gettext version 0.22.5, 0.21, 0.20.2, or 0.19.8.1, > 2. removing the gnulib-local/m4/clock_time.m4.diff file, which no longer > applies, > 3. running > $ $GNULIB_SRCDIR/gnulib-tool --update > 4. running > $ ./autogen.sh > (which is what the HACKING file recommends). > > It fails with > > configure:12833: error: possibly undefined macro: gl_PTHREADLIB > If this token and others are legitimate, please use m4_pattern_allow. > See the Autoconf documentation. > configure:12943: error: possibly undefined macro: gl_WEAK_SYMBOLS > configure:27584: error: possibly undefined macro: gl_TYPE_WINT_T_PREREQ > autoreconf: error: /usr/bin/autoconf failed with exit status: 1 > > Following your analysis, I locally apply the workaround from the Gnulib > documentation section "3.11 Caveat: gettextize and autopoint users", Thank you! It is embarrassing but I did not know this manual existed. I will use this workaround. Question, do you think it would be reasonable for autopoint to avoid overwriting newer files? It seems like the sort of problem we could avoid, but who knows. > 373 | unreachable (scm_jit_state *j) Ah interesting, will fix. > The way Guile handles versioning of Gnulib-imported files is fine. That's great to hear. In that case, no change planned to how we do things. > Note, though, that the imported po/ infrastructure will still be from 2010, > due to this line in configure.ac: > AM_GNU_GETTEXT_VERSION([0.18.1]) > It would be reasonable to bump this version specification to > AM_GNU_GETTEXT_VERSION([0.19.8.1]) > (from 2016) or > AM_GNU_GETTEXT_VERSION([0.20.2]) > (from 2020) or > AM_GNU_GETTEXT_VERSION([0.21.1]) > (from 2022). > > Note also that when upgrading to a newer Gnulib, you now have another choice > than Gnulib's 'master' branch: the 'stable-202401' branch. See the Gnulib > documentation [2], section "1.6.1 Stable Branches". Thanks!! Best regards, Andy