GNU bug report logs -
#41622
[PATCH] tests: Change gnulib commit to compile make check
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 41622 in the body.
You can then email your comments to 41622 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#41622
; Package
coreutils
.
(Sat, 30 May 2020 23:23:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Colton Lewis <colton.w.lewis <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Sat, 30 May 2020 23:23:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
When I ran make check after building the master branch commit
aefd434e, I got a compilation error.
test-explicit_bzero.c:132:1: error: no previous declaration for
'do_secret_stuff' [-Werror=missing-declarations]
132 | do_secret_stuff (volatile int pass)
| ^~~~~~~~~~~~~~~
test-explicit_bzero.c:148:1: error: no previous declaration for
'test_stack' [-Werror=missing-declarations]
148 | test_stack (void)
| ^~~~~~~~~~
I noticed the gnulib repo had a detached HEAD at b3c04ecec. I tried
switching the gnulib repo to master and running make check again. I
got a different error.
test-sameacls.c: In function 'main':
test-sameacls.c:58:17: error: too many arguments to function 'read_file'
58 | contents1 = read_file (file1, 0, &size1);
| ^~~~~~~~~
In file included from test-sameacls.c:36:
../lib/read-file.h:29:14: note: declared here
29 | extern char *read_file (const char *filename, size_t * length);
| ^~~~~~~~~
test-sameacls.c:65:17: error: too many arguments to function 'read_file'
65 | contents2 = read_file (file2, 0, &size2);
| ^~~~~~~~~
In file included from test-sameacls.c:36:
../lib/read-file.h:29:14: note: declared here
29 | extern char *read_file (const char *filename, size_t * length);
| ^~~~~~~~~
Here, coreutils and gnulib having conflicting declarations of
read_file and the wrong one is included. This may require future
changes.
Poking around in the git logs for gnulib, I found commit a305580f,
which fixes the first problem before introducing the second.
File test-explicit_bzero.c now declares do_secret_stuff and test_stack
static to appease -Werror=missing-declarations.
---
gnulib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnulib b/gnulib
index b3c04ecec..a305580f0 160000
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit b3c04ecec58ea687423f5c709410e6ecee4abd9b
+Subproject commit a305580f09ada2674c0509389b1674c7b32dce67
--
2.26.2
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Mon, 01 Jun 2020 06:33:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Colton Lewis <colton.w.lewis <at> gmail.com>
:
bug acknowledged by developer.
(Mon, 01 Jun 2020 06:33:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 41622-done <at> debbugs.gnu.org (full text, mbox):
On 5/30/20 4:17 PM, Colton Lewis wrote:
> When I ran make check after building the master branch commit
> aefd434e, I got a compilation error.
Thanks for reporting the problem. I updated the Gnulib version while fixing some
other stuff, and am closing the bug report.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 29 Jun 2020 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 353 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.