From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.devel,gmane.comp.lib.gnulib.bugs Subject: almost smooth Date: Mon, 14 Jun 2010 22:25:42 +0200 Message-ID: <87y6ehbbuh.fsf@ambire.localdomain> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1276547287 23155 80.91.229.12 (14 Jun 2010 20:28:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Jun 2010 20:28:07 +0000 (UTC) Cc: bug-gnulib@gnu.org To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Mon Jun 14 22:28:06 2010 connect(): No such file or directory Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OOGGL-0005MZ-Ua for guile-devel@m.gmane.org; Mon, 14 Jun 2010 22:28:06 +0200 Original-Received: from localhost ([127.0.0.1]:50906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOGGL-0006a6-B9 for guile-devel@m.gmane.org; Mon, 14 Jun 2010 16:28:05 -0400 Original-Received: from [140.186.70.92] (port=46575 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OOGGH-0006Zm-Fc for guile-devel@gnu.org; Mon, 14 Jun 2010 16:28:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OOGGF-0003SC-Hf for guile-devel@gnu.org; Mon, 14 Jun 2010 16:28:01 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:54367 helo=smtp208-alice.cp.alice.it) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OOGGF-0003Rt-93; Mon, 14 Jun 2010 16:27:59 -0400 Original-Received: from ambire.localdomain (95.244.66.119) by smtp208-alice.cp.alice.it (8.5.124.05) id 4C13FF2C0020D111; Mon, 14 Jun 2010 22:27:57 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.69) (envelope-from ) id 1OOGE2-0005gf-Mk; Mon, 14 Jun 2010 22:25:42 +0200 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:10472 gmane.comp.lib.gnulib.bugs:22135 Archived-At: Progress report from the "energetic (ha!) curmudgeon".... I have - upgraded my computer from Etch to Lenny; - installed the requisite support packages, except for libtool (libltdl) and libunistring, which are installed under prefix /home/ttn/local; - done a "git pull" earlier today; - successfully bootstrapped w/ "sh -x autogen.sh"; - successfully configured w/: ../GG/configure -C \ --with-threads \ --prefix /tmp/a/b/z \ BDW_GC_CFLAGS=3D'-I/usr/include' BDW_GC_LIBS=3D'-lgc' \ LIBFFI_CFLAGS=3D'-I/usr/include' LIBFFI_LIBS=3D'-lffi' \ LDFLAGS=3D'-L/home/ttn/local/lib'; - and successfully built w/ "make all". This is much further than previous attempts; i tip my hat to the next generation! Now comes the hairy part -- "make check" failed with many messages of the type: WARNING: (test-suite test-rnrs-records-procedural): imported module (rnrs= records procedural) overrides core binding `record-constructor' I saw several PASS and UNRESOLVED tests, and finally it failed with: FAIL: version.test: version reporting works Digging further, it looks like configure.ac uses build-aux/git-version-gen to compute the effective version. In that script, there is the fragment: 81 # First see if there is a tarball-only version file. 82 # then try "git describe", then default. 83 if test -f $tarball_version_file 84 then 85 v=3D`cat $tarball_version_file` || exit 1 86 ... [snip]=20 94=09 95 if test -n "$v" 96 then 97 : # use $v In the case where $tarball_version_file does not exist, var =E2=80=98v=E2= =80=99 will never have been set, the (inverse) condition checked on line 95. That's fine, unless =E2=80=98v=E2=80=99 had already inherited a value from the environme= nt, in which case the test on line 95 evaluates to true and the env value is used (incorrectl= y). In short, =E2=80=98v=E2=80=99 is "possibly used uninitialized". Locally, i= have provisionally applied the following patch and now "make check" succeeds. Woo hoo! BTW, gnulib folks: Here is a suitable ChangeLog entry: 2010-06-14 Thien-Thi Nguyen (tiny change) git-version-gen: Init shell var to avoid env var influence. * build-aux/git-version-gen (v): Init shell var to empty. thi _______________________________________________________________________ build-aux/git-version-gen | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/build-aux/git-version-gen b/build-aux/git-version-gen index 9b821e0..5617eb8 100755 --- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=3D2010-05-28.15; # UTC +scriptversion=3D2010-06-14.19; # UTC =20 # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -78,6 +78,9 @@ tag_sed_script=3D"${2:-s/x/x/}" nl=3D' ' =20 +# Avoid meddling by environment variable of the same name. +v=3D + # First see if there is a tarball-only version file. # then try "git describe", then default. if test -f $tarball_version_file