GNU bug report logs - #22376
FAIL: test-update-copyright.sh

Previous Next

Package: grep;

Reported by: sam razavi <sam.razavi6 <at> gmail.com>

Date: Fri, 15 Jan 2016 14:11:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22376 in the body.
You can then email your comments to 22376 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-grep <at> gnu.org:
bug#22376; Package grep. (Fri, 15 Jan 2016 14:11:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to sam razavi <sam.razavi6 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-grep <at> gnu.org. (Fri, 15 Jan 2016 14:11:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sam razavi <sam.razavi6 <at> gmail.com>
To: bug-grep <at> gnu.org
Subject: FAIL: test-update-copyright.sh
Date: Fri, 15 Jan 2016 17:40:12 +0330
[Message part 1 (text/plain, inline)]
in developing Linux From Scratch for checking test suite i run this command:
"make check" and then i found failure by this verbose:
"FAIL: test-update-copyright.sh"

and at last it shows some errors as you seen attachment, i'll be merciful
to guide me about this problem.
[Message part 2 (text/html, inline)]
[grep error.jpg (image/jpeg, attachment)]

Information forwarded to bug-grep <at> gnu.org:
bug#22376; Package grep. (Fri, 15 Jan 2016 15:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 22376 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: sam razavi <sam.razavi6 <at> gmail.com>, 22376 <at> debbugs.gnu.org
Subject: Re: bug#22376: FAIL: test-update-copyright.sh
Date: Fri, 15 Jan 2016 07:47:00 -0800
On 01/15/2016 06:10 AM, sam razavi wrote:
> in developing Linux From Scratch for checking test suite i run this command:
> "make check" and then i found failure by this verbose:
> "FAIL: test-update-copyright.sh"
>
> and at last it shows some errors as you seen attachment, i'll be merciful
> to guide me about this problem.

Please don't send screenshots of text; just send the text. As far as the 
actual bug goes, what is in gnulib-tests/test-update-copyright.sh.log?




Information forwarded to bug-grep <at> gnu.org:
bug#22376; Package grep. (Fri, 15 Jan 2016 16:30:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: sam razavi <sam.razavi6 <at> gmail.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>, bug-grep <at> gnu.org
Subject: Re: bug#22376: FAIL: test-update-copyright.sh
Date: Fri, 15 Jan 2016 19:58:33 +0330
[Message part 1 (text/plain, inline)]
On Fri, Jan 15, 2016 at 7:46 PM, sam razavi <sam.razavi6 <at> gmail.com> wrote:

> OK here is my log:
> FAIL: test-update-copyright.sh
> PASS: test-vasnprintf
> SKIP: test-vc-list-files-git.sh
> SKIP: test-vc-list-files-cvs.sh
> PASS: test-verify
> PASS: test-verify.sh
> PASS: test-version-etc.sh
> PASS: test-wchar
> PASS: test-wcrtomb.sh
> SKIP: test-wcrtomb-w32-1.sh
> SKIP: test-wcrtomb-w32-2.sh
> SKIP: test-wcrtomb-w32-3.sh
> SKIP: test-wcrtomb-w32-4.sh
> SKIP: test-wcrtomb-w32-5.sh
> PASS: test-wctype-h
> PASS: test-wcwidth
> PASS: test-xalloc-die.sh
> PASS: test-xstrtoimax.sh
> PASS: test-xstrtol.sh
> ================================================
>    GNU grep 2.21: gnulib-tests/test-suite.log
> ================================================
>
> # TOTAL: 138
> # PASS:  130
> # SKIP:  7
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
>
> .. contents:: :depth: 2
>
> FAIL: test-update-copyright.sh
> ==============================
>
> --- - 2016-01-15 16:13:56.436855711 +0000
> +++ update-copyright.test-ex-stderr 2016-01-15 16:13:56.429093131 +0000
> @@ -1,2 +1,3 @@
>  update-copyright.test-ex.4: warning: copyright statement not found
>  update-copyright.test-ex.5: warning: copyright statement not found
> : No such file or directory, <> chunk 6.
> FAIL test-update-copyright.sh (exit status: 1)
>
> SKIP: test-vc-list-files-git.sh
> ===============================
>
> ++ initial_cwd_=/sources/grep-2.21/gnulib-tests
> ++ fail=0
> +++ testdir_prefix_
> +++ printf gt
> ++ pfx_=gt
> +++ mktempd_ /sources/grep-2.21/gnulib-tests
> gt-test-vc-list-files-git.sh.XXXX
> +++ case $# in
> +++ destdir_=/sources/grep-2.21/gnulib-tests
> +++ template_=gt-test-vc-list-files-git.sh.XXXX
> +++ MAX_TRIES_=4
> +++ case $destdir_ in
> +++ case $template_ in
> ++++ unset TMPDIR
> +++ d=/sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> +++ case $d in
> +++ test -d
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> ++++ tr S -
> ++++ ls -dgo
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> +++ perms='drwx------ 2 4096 Jan 15 19:43
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9'
> +++ case $perms in
> +++ test 0 = 0
> +++ echo /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> +++ return
> ++
> test_dir_=/sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> ++ cd /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> ++ gl_init_sh_nl_='
> '
> ++ IFS='
> '
> ++ for sig_ in 1 2 3 13 15
> +++ expr 1 + 128
> ++ eval 'trap '\''Exit 129'\'' 1'
> +++ trap 'Exit 129' 1
> ++ for sig_ in 1 2 3 13 15
> +++ expr 2 + 128
> ++ eval 'trap '\''Exit 130'\'' 2'
> +++ trap 'Exit 130' 2
> ++ for sig_ in 1 2 3 13 15
> +++ expr 3 + 128
> ++ eval 'trap '\''Exit 131'\'' 3'
> +++ trap 'Exit 131' 3
> ++ for sig_ in 1 2 3 13 15
> +++ expr 13 + 128
> ++ eval 'trap '\''Exit 141'\'' 13'
> +++ trap 'Exit 141' 13
> ++ for sig_ in 1 2 3 13 15
> +++ expr 15 + 128
> ++ eval 'trap '\''Exit 143'\'' 15'
> +++ trap 'Exit 143' 15
> ++ trap remove_tmp_ 0
> + path_prepend_ /sources/grep-2.21/build-aux .
> + test 2 '!=' 0
> + path_dir_=/sources/grep-2.21/build-aux
> + case $path_dir_ in
> + abs_path_dir_=/sources/grep-2.21/build-aux
> + case $abs_path_dir_ in
> +
> PATH=/sources/grep-2.21/build-aux:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> + create_exe_shims_ /sources/grep-2.21/build-aux
> + case $EXEEXT in
> + return 0
> + shift
> + test 1 '!=' 0
> + path_dir_=.
> + case $path_dir_ in
> + abs_path_dir_=/sources/grep-2.21/gnulib-tests/.
> + case $abs_path_dir_ in
> +
> PATH=/sources/grep-2.21/gnulib-tests/.:/sources/grep-2.21/build-aux:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> + create_exe_shims_ /sources/grep-2.21/gnulib-tests/.
> + case $EXEEXT in
> + return 0
> + shift
> + test 0 '!=' 0
> + export PATH
> + tmpdir=vc-git-81272
> + GIT_DIR=
> + GIT_WORK_TREE=
> + unset GIT_DIR GIT_WORK_TREE
> + fail=1
> + mkdir vc-git-81272
> + cd vc-git-81272
> + skip_ 'git not found in PATH'
> + warn_ 'test-vc-list-files-git.sh: skipped test: git not found in PATH'
> + case $IFS in
> + printf '%s\n' 'test-vc-list-files-git.sh: skipped test: git not found in
> PATH'
> test-vc-list-files-git.sh: skipped test: git not found in PATH
> + test 2 = 2
> + Exit 77
> + set +e
> + exit 77
> + exit 77
> + remove_tmp_
> + __st=77
> + cleanup_
> + :
> + cd /sources/grep-2.21/gnulib-tests
> + chmod -R u+rwx
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> + rm -rf /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-git.sh.o9D9
> + exit 77
> SKIP test-vc-list-files-git.sh (exit status: 77)
>
> SKIP: test-vc-list-files-cvs.sh
> ===============================
>
> ++ initial_cwd_=/sources/grep-2.21/gnulib-tests
> ++ fail=0
> +++ testdir_prefix_
> +++ printf gt
> ++ pfx_=gt
> +++ mktempd_ /sources/grep-2.21/gnulib-tests
> gt-test-vc-list-files-cvs.sh.XXXX
> +++ case $# in
> +++ destdir_=/sources/grep-2.21/gnulib-tests
> +++ template_=gt-test-vc-list-files-cvs.sh.XXXX
> +++ MAX_TRIES_=4
> +++ case $destdir_ in
> +++ case $template_ in
> ++++ unset TMPDIR
> +++ d=/sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> +++ case $d in
> +++ test -d
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> ++++ tr S -
> ++++ ls -dgo
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> +++ perms='drwx------ 2 4096 Jan 15 19:43
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35'
> +++ case $perms in
> +++ test 0 = 0
> +++ echo /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> +++ return
> ++
> test_dir_=/sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> ++ cd /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> ++ gl_init_sh_nl_='
> '
> ++ IFS='
> '
> ++ for sig_ in 1 2 3 13 15
> +++ expr 1 + 128
> ++ eval 'trap '\''Exit 129'\'' 1'
> +++ trap 'Exit 129' 1
> ++ for sig_ in 1 2 3 13 15
> +++ expr 2 + 128
> ++ eval 'trap '\''Exit 130'\'' 2'
> +++ trap 'Exit 130' 2
> ++ for sig_ in 1 2 3 13 15
> +++ expr 3 + 128
> ++ eval 'trap '\''Exit 131'\'' 3'
> +++ trap 'Exit 131' 3
> ++ for sig_ in 1 2 3 13 15
> +++ expr 13 + 128
> ++ eval 'trap '\''Exit 141'\'' 13'
> +++ trap 'Exit 141' 13
> ++ for sig_ in 1 2 3 13 15
> +++ expr 15 + 128
> ++ eval 'trap '\''Exit 143'\'' 15'
> +++ trap 'Exit 143' 15
> ++ trap remove_tmp_ 0
> + path_prepend_ /sources/grep-2.21/build-aux .
> + test 2 '!=' 0
> + path_dir_=/sources/grep-2.21/build-aux
> + case $path_dir_ in
> + abs_path_dir_=/sources/grep-2.21/build-aux
> + case $abs_path_dir_ in
> +
> PATH=/sources/grep-2.21/build-aux:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> + create_exe_shims_ /sources/grep-2.21/build-aux
> + case $EXEEXT in
> + return 0
> + shift
> + test 1 '!=' 0
> + path_dir_=.
> + case $path_dir_ in
> + abs_path_dir_=/sources/grep-2.21/gnulib-tests/.
> + case $abs_path_dir_ in
> +
> PATH=/sources/grep-2.21/gnulib-tests/.:/sources/grep-2.21/build-aux:/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin
> + create_exe_shims_ /sources/grep-2.21/gnulib-tests/.
> + case $EXEEXT in
> + return 0
> + shift
> + test 0 '!=' 0
> + export PATH
> + tmpdir=vc-cvs
> ++ pwd
> +
> repo=/sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35/vc-cvs/repo
> + fail=0
> + for i in with-cvsu without
> + test with-cvsu = without
> + ok=0
> + mkdir vc-cvs
> + cd vc-cvs
> + skip_ 'cvs not found in PATH'
> + warn_ 'test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH'
> + case $IFS in
> + printf '%s\n' 'test-vc-list-files-cvs.sh: skipped test: cvs not found in
> PATH'
> test-vc-list-files-cvs.sh: skipped test: cvs not found in PATH
> + test 2 = 2
> + Exit 77
> + set +e
> + exit 77
> + exit 77
> + remove_tmp_
> + __st=77
> + cleanup_
> + :
> + cd /sources/grep-2.21/gnulib-tests
> + chmod -R u+rwx
> /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> + rm -rf /sources/grep-2.21/gnulib-tests/gt-test-vc-list-files-cvs.sh.mF35
> + exit 77
> SKIP test-vc-list-files-cvs.sh (exit status: 77)
>
> SKIP: test-wcrtomb-w32-1.sh
> ===========================
>
> Skipping test: not a native Windows system
> SKIP test-wcrtomb-w32-1.sh (exit status: 77)
>
> SKIP: test-wcrtomb-w32-2.sh
> ===========================
>
> Skipping test: not a native Windows system
> SKIP test-wcrtomb-w32-2.sh (exit status: 77)
>
> SKIP: test-wcrtomb-w32-3.sh
> ===========================
>
> Skipping test: not a native Windows system
> SKIP test-wcrtomb-w32-3.sh (exit status: 77)
>
> SKIP: test-wcrtomb-w32-4.sh
> ===========================
>
> Skipping test: not a native Windows system
> SKIP test-wcrtomb-w32-4.sh (exit status: 77)
>
> SKIP: test-wcrtomb-w32-5.sh
> ===========================
>
> Skipping test: not a native Windows system
> SKIP test-wcrtomb-w32-5.sh (exit status: 77)
>
>
> ============================================================================
> Testsuite summary for GNU grep 2.21
>
> ============================================================================
> # TOTAL: 138
> # PASS:  130
> # SKIP:  7
> # XFAIL: 0
> # FAIL:  1
> # XPASS: 0
> # ERROR: 0
>
> ============================================================================
> See gnulib-tests/test-suite.log
> Please report to bug-grep <at> gnu.org
>
> ============================================================================
> Makefile:3151: recipe for target 'test-suite.log' failed
> make[5]: *** [test-suite.log] Error 1
> make[5]: Leaving directory '/sources/grep-2.21/gnulib-tests'
> Makefile:3257: recipe for target 'check-TESTS' failed
> make[4]: *** [check-TESTS] Error 2
> make[4]: Leaving directory '/sources/grep-2.21/gnulib-tests'
> Makefile:4314: recipe for target 'check-am' failed
> make[3]: *** [check-am] Error 2
> make[3]: Leaving directory '/sources/grep-2.21/gnulib-tests'
> Makefile:3044: recipe for target 'check-recursive' failed
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory '/sources/grep-2.21/gnulib-tests'
> Makefile:4317: recipe for target 'check' failed
> make[1]: *** [check] Error 2
> make[1]: Leaving directory '/sources/grep-2.21/gnulib-tests'
> Makefile:1254: recipe for target 'check-recursive' failed
> make: *** [check-recursive] Error 1
>
> ======
> with special thanks
>
> On Fri, Jan 15, 2016 at 7:17 PM, Paul Eggert <eggert <at> cs.ucla.edu> wrote:
>
>> On 01/15/2016 06:10 AM, sam razavi wrote:
>>
>>> in developing Linux From Scratch for checking test suite i run this
>>> command:
>>> "make check" and then i found failure by this verbose:
>>> "FAIL: test-update-copyright.sh"
>>>
>>> and at last it shows some errors as you seen attachment, i'll be merciful
>>> to guide me about this problem.
>>>
>>
>> Please don't send screenshots of text; just send the text. As far as the
>> actual bug goes, what is in gnulib-tests/test-update-copyright.sh.log?
>>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-grep <at> gnu.org:
bug#22376; Package grep. (Fri, 15 Jan 2016 18:40:02 GMT) Full text and rfc822 format available.

Message #14 received at 22376 <at> debbugs.gnu.org (full text, mbox):

From: Bruce Dubbs <bruce.dubbs <at> gmail.com>
To: sam razavi <sam.razavi6 <at> gmail.com>, eggert <at> cs.ucla.edu,
 22376 <at> debbugs.gnu.org
Subject: Re: bug#22376: FAIL: test-update-copyright.sh
Date: Fri, 15 Jan 2016 12:39:44 -0600
sam razavi wrote:
> On Fri, Jan 15, 2016 at 7:46 PM, sam razavi <sam.razavi6 <at> gmail.com> wrote:
>
>> OK here is my log:
>> FAIL: test-update-copyright.sh

>> FAIL: test-update-copyright.sh
>> ==============================
>>
>> --- - 2016-01-15 16:13:56.436855711 +0000
>> +++ update-copyright.test-ex-stderr 2016-01-15 16:13:56.429093131 +0000
>> @@ -1,2 +1,3 @@
>>   update-copyright.test-ex.4: warning: copyright statement not found
>>   update-copyright.test-ex.5: warning: copyright statement not found
>> : No such file or directory, <> chunk 6.
>> FAIL test-update-copyright.sh (exit status: 1)

IIRC, this is a bug in gnulib.  The same failure shows up in m4 and 
diffutils.  See gnulib-tests/test-update-copyright.sh

  -- Bruce Dubbs
     linuxfromscratch.org





Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Fri, 15 Jan 2016 19:31:02 GMT) Full text and rfc822 format available.

Notification sent to sam razavi <sam.razavi6 <at> gmail.com>:
bug acknowledged by developer. (Fri, 15 Jan 2016 19:31:02 GMT) Full text and rfc822 format available.

Message #19 received at 22376-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Bruce Dubbs <bruce.dubbs <at> gmail.com>, sam razavi <sam.razavi6 <at> gmail.com>,
 22376-done <at> debbugs.gnu.org
Subject: Re: bug#22376: FAIL: test-update-copyright.sh
Date: Fri, 15 Jan 2016 11:30:49 -0800
[Message part 1 (text/plain, inline)]
On 01/15/2016 10:39 AM, Bruce Dubbs wrote:
>
> IIRC, this is a bug in gnulib.

Thanks for mentioning that. The gnulib bug has nothing to do with 
whether grep works (it's merely a maintainer-tool issue), so I removed 
it from the list of tests for 'grep' by installing the attached patch, 
and am closing the grep bug report. Someone who likes to deal with test 
cases and Perl (probably not me :-) can take a look at it from the 
gnulib point of view whenever they have the time.
[0001-tests-omit-update-copyright-tests.patch (application/x-patch, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 13 Feb 2016 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 95 days ago.

Previous Next


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