Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Look at https://curl.haxx.se/dev/builds.html
Mostly green builds. All but one are red though because of a checksrc warning:
/tests/libtest/stub_gssapi.h:71:2: warning: typedef'ed struct (TYPEDEFSTRUCT) typedef struct gss_buffer_desc_struct { ^ /tests/libtest/stub_gssapi.h:88:2: warning: typedef'ed struct (TYPEDEFSTRUCT) typedef struct gss_OID_desc_struct { ^ /tests/libtest/stub_gssapi.h:93:2: warning: typedef'ed struct (TYPEDEFSTRUCT) typedef struct gss_channel_bindings_struct { ^
Also, is it expected that checksrc warnings, in contrast to compiler warnings, prevent running the tests?
Everything still on the autobuilds page, which starts with 2020-07-10.
Linux, Windows, Solaris
The text was updated successfully, but these errors were encountered:
Odd. tests/libtest/.checksrc already contains disable TYPEDEFSTRUCT but it seems it doesn't work on some builds?
tests/libtest/.checksrc
disable TYPEDEFSTRUCT
Sorry, something went wrong.
@MarcelRaad I can see your build at https://curl.haxx.se/dev/log.cgi?id=20200727044957-11233#prob5 reproduces this. Can you repro manually, perhaps on the same host? If so, can you figure out why the disabling of that warning doesn't work there?
I can reproduce it on any machine with testcurl.pl:
./tests/testcurl.pl --configure="--enable-debug --enable-static --disable-shared" --runtestopts="-a" [...] make[2]: Leaving directory '/build-12975/tests/unit' make[2]: Entering directory '/build-12975/tests' cd libtest && make checksrc make[3]: Entering directory '/build-12975/tests/libtest' RUN checksrc /tests/libtest/stub_gssapi.h:71:2: warning: typedef'ed struct (TYPEDEFSTRUCT)
I haven't had the chance to look closer so far, but maybe it's something similar to #5288 (comment)?
Thanks. I understand now...
checksrc: invoke script with -D to find .checksrc proper
68b5b26
Without the -D command line option, checksrc.pl won't know which directory to load the ".checksrc" file from when building out of the source tree. Reported-by: Marcel Raad Fixes #5715
faeec84
bagder
Successfully merging a pull request may close this issue.
MarcelRaad commentedJul 23, 2020
•
edited
I did this
Look at https://curl.haxx.se/dev/builds.html
I expected the following
Mostly green builds. All but one are red though because of a checksrc warning:
Also, is it expected that checksrc warnings, in contrast to compiler warnings, prevent running the tests?
curl/libcurl version
Everything still on the autobuilds page, which starts with 2020-07-10.
operating system
Linux, Windows, Solaris
The text was updated successfully, but these errors were encountered: