GNU bug report logs - #7833
automake uses two different values for DejaGNU srcdir

Previous Next

Package: automake;

Reported by: Ian Lance Taylor <iant <at> google.com>

Date: Wed, 12 Jan 2011 22:05:01 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ian Lance Taylor <iant <at> google.com>
Subject: bug#7833: closed (Re: bug#7833: automake uses two different
 values for DejaGNU srcdir)
Date: Sat, 22 Oct 2011 18:55:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#7833: automake uses two different values for DejaGNU srcdir

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 7833 <at> debbugs.gnu.org.

-- 
7833: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7833
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: automake-patches <at> gnu.org
Cc: Peter Breitenlohner <peb <at> mppmu.mpg.de>,
	Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>,
	7833-done <at> debbugs.gnu.org, bug-automake <at> gnu.org,
	Ian Lance Taylor <iant <at> google.com>
Subject: Re: bug#7833: automake uses two different values for DejaGNU srcdir
Date: Sat, 22 Oct 2011 20:53:10 +0200
On Wednesday 19 October 2011, Stefano Lattarini wrote:
> Reference:
>   <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7873>
> 
> I've rebased my patch on the "fixup" commit `v1.11-250-g0c0b402', and
> I will merge it to maint (and push) in a couple of days if there is
> no objection by then.  The updated patch is attached, for reference.
> 
Pushed now.  I'm closing this bug report.

Regards,
  Stefano

[Message part 3 (message/rfc822, inline)]
From: Ian Lance Taylor <iant <at> google.com>
To: bug-automake <at> gnu.org
Subject: automake uses two different values for DejaGNU srcdir
Date: Wed, 12 Jan 2011 13:52:09 -0800
When automake is configured to use DejaGNU, it uses two different values
for srcdir.  There are two different cases in lib/am/dejagnu.am:

The first is in check-DEJAGNU:

check-DEJAGNU: site.exp
## Life is easiest with an absolute srcdir, so do that.
	srcdir=`$(am__cd) $(srcdir) && pwd`; export srcdir; \

This value is passed to runtest with a --srcdir option.

The second is in site.exp:

site.exp: Makefile
	@echo 'Making a new site.exp file...'
	@echo '## these variables are automatically generated by make ##' >site.tmp
	@echo '# Do not edit here.  If you wish to override these values' >>site.tmp
	@echo '# edit the last section' >>site.tmp
	@echo 'set srcdir $(srcdir)' >>site.tmp

This value is read by DejaGNU after option processing is complete,
effectively overwriting the value passed with the --srcdir option.

The value of srcdir stored in site.exp should be an absolute path, just
like the value passed to runtest via --srcdir.

Ian



This bug report was last modified 13 years and 270 days ago.

Previous Next


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