GNU bug report logs -
#7403
Unused variable `$source' in the depcomp script?
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 7403 in the body.
You can then email your comments to 7403 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-automake <at> gnu.org
:
bug#7403
; Package
automake
.
(Sun, 14 Nov 2010 23:59:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Sun, 14 Nov 2010 23:59:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello automakers.
In the git master branch:
$ grep '\<source\>' lib/depcomp
source Source file read by `PROGRAMS ARGS'.
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
# the object too, otherwise makedepend will parse it as a source file.
Does this mean that the `$source' variable is really not required
by depcomp, or am I missing something?
Regards,
Stefano
Information forwarded
to
owner <at> debbugs.gnu.org, bug-automake <at> gnu.org
:
bug#7403
; Package
automake
.
(Sat, 20 Nov 2010 12:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 7403 <at> debbugs.gnu.org (full text, mbox):
* Stefano Lattarini wrote on Mon, Nov 15, 2010 at 01:03:04AM CET:
> $ grep '\<source\>' lib/depcomp
> source Source file read by `PROGRAMS ARGS'.
> if test -z "$depmode" || test -z "$source" || test -z "$object"; then
> echo "depcomp: Variables source, object and depmode must be set" 1>&2
> # the object too, otherwise makedepend will parse it as a source file.
>
> Does this mean that the `$source' variable is really not required
> by depcomp, or am I missing something?
It seems that $source is indeed not required.
I'd still be wary of removing it: users might have modified depcomp
scripts which use the variable. Yes, I consider that public API,
documented in 'depcomp --help', and with example usage in the manual.
In a sort of transposed way, there are packages using depcomp (plus some
custom macros) which do not use Automake; we should not break them
either.
Thanks,
Ralf
Information forwarded
to
owner <at> debbugs.gnu.org, bug-automake <at> gnu.org
:
bug#7403
; Package
automake
.
(Sat, 20 Nov 2010 13:06:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 7403 <at> debbugs.gnu.org (full text, mbox):
On Saturday 20 November 2010, Ralf Wildenhues wrote:
> * Stefano Lattarini wrote on Mon, Nov 15, 2010 at 01:03:04AM CET:
> > $ grep '\<source\>' lib/depcomp
> > source Source file read by `PROGRAMS ARGS'.
> > if test -z "$depmode" || test -z "$source" || test -z "$object"; then
> > echo "depcomp: Variables source, object and depmode must be set" 1>&2
> > # the object too, otherwise makedepend will parse it as a source file.
> >
> > Does this mean that the `$source' variable is really not required
> > by depcomp, or am I missing something?
>
> It seems that $source is indeed not required.
>
> I'd still be wary of removing it: users might have modified depcomp
> scripts which use the variable. Yes, I consider that public API,
> documented in 'depcomp --help', and with example usage in the manual.
>
> In a sort of transposed way, there are packages using depcomp (plus some
> custom macros) which do not use Automake; we should not break them
> either.
>
Makes sense. You can close the bug if you want (maybe with tag "wontfix"?)
Thanks,
Stefano
Information forwarded
to
owner <at> debbugs.gnu.org, bug-automake <at> gnu.org
:
bug#7403
; Package
automake
.
(Sat, 20 Nov 2010 14:23:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 7403 <at> debbugs.gnu.org (full text, mbox):
tags 7403 wontfix
close 7403
* Stefano Lattarini wrote on Sat, Nov 20, 2010 at 02:10:41PM CET:
> Makes sense. You can close the bug if you want (maybe with tag "wontfix"?)
You can also do that yourself if you like. Just put control at debbugs
in Bcc: for commands like above.
Cheers,
Ralf
Added tag(s) wontfix.
Request was from
Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
to
control <at> debbugs.gnu.org
.
(Sat, 20 Nov 2010 14:23:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to Stefano Lattarini <stefano.lattarini <at> gmail.com>
Request was from
Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
to
control <at> debbugs.gnu.org
.
(Sat, 20 Nov 2010 14:23:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 19 Dec 2010 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 14 years and 180 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.