GNU bug report logs -
#18057
[PATCH] Find tail.c in srcdir, not builddir
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 18057 in the body.
You can then email your comments to 18057 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Sat, 19 Jul 2014 15:28:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Andreas Schwab <schwab <at> linux-m68k.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 19 Jul 2014 15:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
index c25f354..7140871 100755
--- a/tests/tail-2/inotify-race.sh
+++ b/tests/tail-2/inotify-race.sh
@@ -37,7 +37,7 @@ case $(cat gdb.out) in
*) skip_ "can't run gdb";;
esac
-break_src="$abs_top_builddir/src/tail.c"
+break_src="$abs_top_srcdir/src/tail.c"
break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
--
2.0.2
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Wed, 23 Jul 2014 14:39:03 GMT)
Full text and
rfc822 format available.
Message #8 received at 18057 <at> debbugs.gnu.org (full text, mbox):
On 07/19/2014 05:26 PM, Andreas Schwab wrote:
> diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
> index c25f354..7140871 100755
> --- a/tests/tail-2/inotify-race.sh
> +++ b/tests/tail-2/inotify-race.sh
> @@ -37,7 +37,7 @@ case $(cat gdb.out) in
> *) skip_ "can't run gdb";;
> esac
>
> -break_src="$abs_top_builddir/src/tail.c"
> +break_src="$abs_top_srcdir/src/tail.c"
> break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
> break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
>
Thanks for the patch.
However, what's wrong with $abs_top_builddir?
... given that it's successfully used in 21 other
places:
$ git grep abs_top_builddir -- tests | wc -l
22
Thanks & have a nice day,
Berny
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Wed, 23 Jul 2014 16:49:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 18057 <at> debbugs.gnu.org (full text, mbox):
Bernhard Voelker <mail <at> bernhard-voelker.de> writes:
> On 07/19/2014 05:26 PM, Andreas Schwab wrote:
>> diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
>> index c25f354..7140871 100755
>> --- a/tests/tail-2/inotify-race.sh
>> +++ b/tests/tail-2/inotify-race.sh
>> @@ -37,7 +37,7 @@ case $(cat gdb.out) in
>> *) skip_ "can't run gdb";;
>> esac
>>
>> -break_src="$abs_top_builddir/src/tail.c"
>> +break_src="$abs_top_srcdir/src/tail.c"
>> break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
>> break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
>>
>
> Thanks for the patch.
> However, what's wrong with $abs_top_builddir?
Is that a serious question?
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Wed, 23 Jul 2014 17:15:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 18057 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 07/23/2014 10:48 AM, Andreas Schwab wrote:
> Bernhard Voelker <mail <at> bernhard-voelker.de> writes:
>
>> On 07/19/2014 05:26 PM, Andreas Schwab wrote:
>>> diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
>>> index c25f354..7140871 100755
>>> --- a/tests/tail-2/inotify-race.sh
>>> +++ b/tests/tail-2/inotify-race.sh
>>> @@ -37,7 +37,7 @@ case $(cat gdb.out) in
>>> *) skip_ "can't run gdb";;
>>> esac
>>>
>>> -break_src="$abs_top_builddir/src/tail.c"
>>> +break_src="$abs_top_srcdir/src/tail.c"
>>> break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
>>> break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
>>>
>>
>> Thanks for the patch.
>> However, what's wrong with $abs_top_builddir?
>
> Is that a serious question?
That's where a good commit message would have spared some time. If you
had mentioned something like this in the commit message:
tail.c lives in srcdir; for users that test in-tree, this happens to be
the same as builddir. But this is not true for a VPATH build, and was
breaking 'make check' with the following error message:
....
then it could have prevented this back-and-forth. The patch looks
correct and necessary to me, but it is always better to give a
maintainer zero excuse for not applying a patch by giving them full
justification up front instead of making them figure out on their own
what you already learned while writing the patch.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[signature.asc (application/pgp-signature, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Sat, 26 Jul 2014 20:55:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 18057 <at> debbugs.gnu.org (full text, mbox):
On 07/23/2014 05:48 PM, Andreas Schwab wrote:
> Bernhard Voelker <mail <at> bernhard-voelker.de> writes:
>
>> On 07/19/2014 05:26 PM, Andreas Schwab wrote:
>>> diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
>>> index c25f354..7140871 100755
>>> --- a/tests/tail-2/inotify-race.sh
>>> +++ b/tests/tail-2/inotify-race.sh
>>> @@ -37,7 +37,7 @@ case $(cat gdb.out) in
>>> *) skip_ "can't run gdb";;
>>> esac
>>>
>>> -break_src="$abs_top_builddir/src/tail.c"
>>> +break_src="$abs_top_srcdir/src/tail.c"
>>> break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
>>> break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_
>>>
>>
>> Thanks for the patch.
>> However, what's wrong with $abs_top_builddir?
>
> Is that a serious question?
Please be constructive.
Bernhard was referring to the other instances with VPATH issues,
that may only be passing now accidentally.
I.E.: git grep "abs_top_builddir}\?/"
thanks,
Pádraig.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Sat, 26 Jul 2014 21:30:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 18057 <at> debbugs.gnu.org (full text, mbox):
Pádraig Brady <P <at> draigBrady.com> writes:
> Bernhard was referring to the other instances with VPATH issues,
> that may only be passing now accidentally.
Please don't mix unrelated issues.
Andreas.
--
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Fri, 01 Aug 2014 19:53:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Andreas Schwab <schwab <at> linux-m68k.org>
:
bug acknowledged by developer.
(Fri, 01 Aug 2014 19:53:03 GMT)
Full text and
rfc822 format available.
Message #25 received at 18057-done <at> debbugs.gnu.org (full text, mbox):
Andreas Schwab wrote:
> -break_src="$abs_top_builddir/src/tail.c"
> +break_src="$abs_top_srcdir/src/tail.c"
Thanks; I installed that.
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#18057
; Package
coreutils
.
(Fri, 01 Aug 2014 21:19:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 18057 <at> debbugs.gnu.org (full text, mbox):
On 08/01/2014 08:52 PM, Paul Eggert wrote:
> Andreas Schwab wrote:
>> -break_src="$abs_top_builddir/src/tail.c"
>> +break_src="$abs_top_srcdir/src/tail.c"
>
> Thanks; I installed that.
Looks good thanks.
I thought there might also be an issue with at least
"$abs_top_builddir/src/coreutils.h", but that's generated
in the builddir so is fine.
cheers,
Pádraig.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 30 Aug 2014 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 301 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.