GNU bug report logs - #29376
automake gnits version check vs. gnulib's git-version-gen?

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Severity: minor; Reported by: Bernhard Voelker <mail@HIDDEN>; dated Tue, 21 Nov 2017 07:46:02 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at 29376 <at> debbugs.gnu.org:


Received: (at 29376) by debbugs.gnu.org; 5 Jan 2018 03:15:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 04 22:15:33 2018
Received: from localhost ([127.0.0.1]:36233 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eXITl-0000Bo-Cd
	for submit <at> debbugs.gnu.org; Thu, 04 Jan 2018 22:15:33 -0500
Received: from eggs.gnu.org ([208.118.235.92]:38358)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mthl@HIDDEN>) id 1eXITk-0000Bc-1x
 for 29376 <at> debbugs.gnu.org; Thu, 04 Jan 2018 22:15:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mthl@HIDDEN>) id 1eXITd-0002rd-CG
 for 29376 <at> debbugs.gnu.org; Thu, 04 Jan 2018 22:15:26 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD,
 URIBL_BLOCKED autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39071)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <mthl@HIDDEN>)
 id 1eXITR-0002dP-Iz; Thu, 04 Jan 2018 22:15:13 -0500
Received: from [2a01:e35:2ec2:e580:491c:541:7a4a:37d9] (port=34198
 helo=localhost.localdomain)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <mthl@HIDDEN>)
 id 1eXITQ-0002ek-W5; Thu, 04 Jan 2018 22:15:13 -0500
From: Mathieu Lirzin <mthl@HIDDEN>
To: Paul Eggert <eggert@HIDDEN>
Subject: Re: bug#29376: automake gnits version check vs. gnulib's
 git-version-gen?
References: <68d5b06f-7011-a422-f656-b98f7ac06ee8@HIDDEN>
 <e0b42975-d04b-ed55-f8f3-f44026034e59@HIDDEN>
Date: Fri, 05 Jan 2018 04:15:11 +0100
In-Reply-To: <e0b42975-d04b-ed55-f8f3-f44026034e59@HIDDEN> (Paul Eggert's
 message of "Wed, 22 Nov 2017 11:30:47 -0800")
Message-ID: <87mv1t2dz4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: 29376
Cc: James Youngman <jay@HIDDEN>, Eric Blake <eblake@HIDDEN>,
 mail@HIDDEN, bug-gnulib <bug-gnulib@HIDDEN>,
 29376 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Paul Eggert <eggert@HIDDEN> writes:

> On 11/20/2017 11:44 PM, Bernhard Voelker wrote:
>> So my question: aren't 3-level version strings allowed by the gnits check
>> in combination with gnulib's git-version-gen script?=C2=A0 Do we have to
>> change
>> the strictness from gnits to gnu?
>
> I would think so, unless someone takes the time to change Automake so
> that gnits supports the new format of version strings that
> git-version-gen is generating.

Such change would be welcome.

Basically one would have to adapt the following regexp from automake.

--8<---------------cut here---------------start------------->8---
# This pattern recognizes a Gnits version id and sets $1 if the
# release is an alpha release.  We also allow a suffix which can be
# used to extend the version number with a "fork" identifier.
my $GNITS_VERSION_PATTERN =3D '\d+\.\d+([a-z]|\.\d+)?(-[A-Za-z0-9]+)?';
--8<---------------cut here---------------end--------------->8---

Ideally with some unit tests.  :-)

--=20
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37




Information forwarded to bug-automake@HIDDEN:
bug#29376; Package automake. Full text available.
Severity set to 'minor' from 'normal' Request was from Mathieu Lirzin <mthl@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Nov 2017 19:31:01 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 22 14:31:01 2017
Received: from localhost ([127.0.0.1]:53099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eHajd-0006vY-ER
	for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 14:31:01 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eggert@HIDDEN>) id 1eHajc-0006vH-9A
 for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 14:31:00 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eggert@HIDDEN>) id 1eHajW-0006pU-8E
 for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 14:30:55 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:34099)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eggert@HIDDEN>) id 1eHajW-0006pI-55
 for submit <at> debbugs.gnu.org; Wed, 22 Nov 2017 14:30:54 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40123)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <eggert@HIDDEN>) id 1eHajV-0005iE-4n
 for bug-automake@HIDDEN; Wed, 22 Nov 2017 14:30:53 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eggert@HIDDEN>) id 1eHajR-0006n3-Oz
 for bug-automake@HIDDEN; Wed, 22 Nov 2017 14:30:53 -0500
Received: from zimbra.cs.ucla.edu ([131.179.128.68]:47892)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <eggert@HIDDEN>)
 id 1eHajR-0006mW-IZ; Wed, 22 Nov 2017 14:30:49 -0500
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id 6C7C0160FA1;
 Wed, 22 Nov 2017 11:30:48 -0800 (PST)
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id 4k-cpVOGYZnW; Wed, 22 Nov 2017 11:30:47 -0800 (PST)
Received: from localhost (localhost [127.0.0.1])
 by zimbra.cs.ucla.edu (Postfix) with ESMTP id BE6651610BB;
 Wed, 22 Nov 2017 11:30:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu
Received: from zimbra.cs.ucla.edu ([127.0.0.1])
 by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id kjV5o8gVyTUV; Wed, 22 Nov 2017 11:30:47 -0800 (PST)
Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200])
 by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id A4341160915;
 Wed, 22 Nov 2017 11:30:47 -0800 (PST)
Subject: Re: automake gnits version check vs. gnulib's git-version-gen?
To: Bernhard Voelker <mail@HIDDEN>, bug-automake@HIDDEN
References: <68d5b06f-7011-a422-f656-b98f7ac06ee8@HIDDEN>
From: Paul Eggert <eggert@HIDDEN>
Organization: UCLA Computer Science Department
Message-ID: <e0b42975-d04b-ed55-f8f3-f44026034e59@HIDDEN>
Date: Wed, 22 Nov 2017 11:30:47 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <68d5b06f-7011-a422-f656-b98f7ac06ee8@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
Cc: bug-gnulib <bug-gnulib@HIDDEN>, James Youngman <jay@HIDDEN>,
 Eric Blake <eblake@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

On 11/20/2017 11:44 PM, Bernhard Voelker wrote:
> So my question: aren't 3-level version strings allowed by the gnits che=
ck
> in combination with gnulib's git-version-gen script?=C2=A0 Do we have t=
o=20
> change
> the strictness from gnits to gnu?

I would think so, unless someone takes the time to change Automake so=20
that gnits supports the new format of version strings that=20
git-version-gen is generating.





Information forwarded to bug-automake@HIDDEN:
bug#29376; Package automake. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Nov 2017 07:45:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Nov 21 02:45:16 2017
Received: from localhost ([127.0.0.1]:49806 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1eH3F6-0004qr-9w
	for submit <at> debbugs.gnu.org; Tue, 21 Nov 2017 02:45:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:49509)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1eH3F4-0004qe-Pi
 for submit <at> debbugs.gnu.org; Tue, 21 Nov 2017 02:45:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1eH3Ey-00076m-Hc
 for submit <at> debbugs.gnu.org; Tue, 21 Nov 2017 02:45:09 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49854)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <mail@HIDDEN>)
 id 1eH3Ey-00076c-F3
 for submit <at> debbugs.gnu.org; Tue, 21 Nov 2017 02:45:08 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40461)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1eH3Ex-00068h-8U
 for bug-automake@HIDDEN; Tue, 21 Nov 2017 02:45:08 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <mail@HIDDEN>) id 1eH3Er-00073c-5v
 for bug-automake@HIDDEN; Tue, 21 Nov 2017 02:45:06 -0500
Received: from mout.kundenserver.de ([212.227.126.133]:50640)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <mail@HIDDEN>)
 id 1eH3Eq-00072k-OE; Tue, 21 Nov 2017 02:45:01 -0500
Received: from [192.168.101.10] ([91.12.163.189]) by mrelayeu.kundenserver.de
 (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id
 0LrXFh-1fJUkd1HqP-013JJc; Tue, 21 Nov 2017 08:44:54 +0100
From: Bernhard Voelker <mail@HIDDEN>
Subject: automake gnits version check vs. gnulib's git-version-gen?
To: bug-automake@HIDDEN
Message-ID: <68d5b06f-7011-a422-f656-b98f7ac06ee8@HIDDEN>
Date: Tue, 21 Nov 2017 08:44:53 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K0:BCniyfKwjfavoNJeZ0vnSeK23/nmuHKK87y8PFv5eSQeY4gMCGj
 vauA+oTLG1OQCdkU8UHkXLV93OPoD30fKZKzL8wq0wjLdC3V6A24KQ3+eXx6f4xyJUK8ZB9
 dMhlWHYCayCIEDpcrcUgLMw7jZ5yuTR0JGkDI4ttx33gVBXnysEE/ia09thMdzVQIu0mPOu
 P0dhM9JXjGn0N76y0zufw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:BiUC3UpU1Mk=:f6XOQMDghF9dNHS7YJglaN
 HKr8UpgJnkS47v0Kts6qb7SC5HM6UREKL/N/zn6nKZrUfwH6B68l1Ta4pXHuFjhd/9KMvjfec
 uk2Lc8U8RcsUwOOIHWFOkVNnrbcNUK6g9smJehIF2T/PPmYXTV2I/Wkg/OCr+Iwh7nFbwL5lP
 N6k2skzs+jvPc4PCKjPrrOcAWrJYnFJIRqoB2pCw9wj8tfcSarQKcuOfSHbsswQk7QqFmYlWM
 asqpMw/1k4YpPmXTBSCgX146m7K/MMi/+EZKi4XKAJTqm3tJf52f8daI3VWx2U6JpK1bNdhPy
 64bDHXHuQBVqkiDYjbxZEPxvDcl4jv/NskulTeSeZZTcO0VK5Zx9awVzUHX2SDodY8jBSiJTL
 FcKLQiyqe5pvESBY/jSrOoTLQuLqyyzGRd3kWuIPQlHlTP8RrBJRf5m0BWCE2PrMC5ciBPYdO
 afQk1Gs3wcwpYsZa8huP6otiqHcywqAdp4aWosBRIPY5Mfve1RYRonF0ym59H2u00Kr9h3/nG
 TIiAS8tj8Mvlg0rF3B8gBsTvkZnroLLGavbGMMhrxpuqlvJ39JvDrRm6ViLS5nt3jlg5PR1Qw
 BoQ2Opff7Qx92N0TBrVAN5XKK0ckR5uxTirlDnPM3jZy7oRRVssNxbBG/QFaWtU9HQaZA+v91
 G0go1TGifm+DYRKL3gJih7unDNygXVbxe9Ud+Zs00ZU5vxV2diLUA33CyIhpN1IgWYI/xu9Ix
 T/VMr3DBiQPDyaKwr/JSo+FlrlRjVT5tcxQ5zmTGH4E4cuerk2lmyy/aW8M=
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
Cc: Eric Blake <eblake@HIDDEN>, James Youngman <jay@HIDDEN>,
 bug-gnulib <bug-gnulib@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

At GNU findutils, we're trying to use gnulib's git-version-gen [1]
to derive the version string from the current git commit.

Until now, we've been using a 3-level versioning scheme X.Y.Z, e.g. the
latest tag was 'v4.6.0'.  Now for any non-release commit version
before the next release, 'git-version-gen' determines a version
like e.g. '4.6.0.149-2f6a' for the 149th commit past the v4.6.0 tag;
but the automake gnits check complains:

   ...
   running: AUTOPOINT=true LIBTOOLIZE=true autoreconf --verbose --install --force -I gl/m4  --no-recursive
   autoreconf: Entering directory `.'
   autoreconf: running: true --force
   autoreconf: running: aclocal -I gl/m4 --force -I gl/m4 -I m4
   autoreconf: configure.ac: tracing
   autoreconf: configure.ac: not using Libtool
   autoreconf: running: /usr/bin/autoconf --include=gl/m4 --force
   autoreconf: running: /usr/bin/autoheader --include=gl/m4 --force
   autoreconf: running: automake --add-missing --copy --force-missing
   configure.ac:95: installing 'build-aux/compile'
   configure.ac:51: installing 'build-aux/config.guess'
   configure.ac:51: installing 'build-aux/config.sub'
   configure.ac:46: installing 'build-aux/install-sh'
   configure.ac:46: installing 'build-aux/missing'
   configure.ac:195: installing 'build-aux/mkinstalldirs'
   Makefile.am: installing './INSTALL'
   configure.ac:25: error: version '4.6.0.149-2f6a' doesn't follow Gnits standards

So my question: aren't 3-level version strings allowed by the gnits check
in combination with gnulib's git-version-gen script?  Do we have to change
the strictness from gnits to gnu?

[1] https://git.sv.gnu.org/cgit/gnulib.git/tree/build-aux/git-version-gen

Thanks & have a nice day,
Berny






Acknowledgement sent to Bernhard Voelker <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#29376; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.