Skip to content
New issue

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

Curl 8.4.0 fails to build because of a checksrc error. File src/.checksrc is missing from release tarball #12084

Closed
Romain-Geissler-1A opened this issue Oct 11, 2023 · 6 comments

Comments

@Romain-Geissler-1A
Copy link
Contributor

I did this

Hi,

See my comments in #11958, it seems that the release tarball for curl 8.4.0 misses the file src/.checksrc. When we try to build it from sources, we get this when checksrc is ran:

09:20:40  ./tool_stderr.c:62:1: warning: STDERR already disabled from line 35 (BADCOMMAND)
09:20:40     /* !checksrc! disable STDERR 1 */
09:20:40   ^
09:20:40  ./tool_stderr.c:69:1: warning: STDERR already disabled from line 35 (BADCOMMAND)
09:20:40     /* !checksrc! disable STDERR 1 */
09:20:40   ^
09:20:40  ./tool_stderr.c:35:18: warning: Unused ignore: STDERR (UNUSEDIGNORE)
09:20:40     /* !checksrc! disable STDERR 1 */
09:20:40                    ^
09:20:40  checksrc: 0 errors and 3 warnings
09:20:40  checksrc: 0 errors and 10 warnings suppressed

We have downloaded this tarball https://curl.se/download/curl-8.4.0.tar.gz where apparently the newly added file src/.checksrc is missing. If we apply this patch to add it back, it works:

This file is committed in git, but missing from the curl 8.4.0 tarball, and makes the build fail if missing.

--- /dev/null
+++ src/.checksrc
@@ -0,0 +1 @@
+enable STDERR

So... shall there be a new 8.4.1 release with the file included in the tarball ?

Cheers,
Romain

I expected the following

Build works from the official tarball.

curl/libcurl version

curl 8.4.0

operating system

Ubuntu 22.04.

@tawmoto
Copy link

tawmoto commented Oct 11, 2023

Thanks everyone for reporting and fixing.
Is there an ETA when the new tarballs with be available?

@Romain-Geissler-1A
Copy link
Contributor Author

@tawmoto From what I see in the latest git commits, a release 8.4.1 is currently being cut, so I would expect "very soon" ;)

@bagder
Copy link
Member

bagder commented Oct 12, 2023

This has not been decided. From my perspective, this is a rather minor build nuisance that might not in itself suffice to make us to a quick patch release. The fact that we work on 8.4.1 now is just because we just shipped 8.4.0 so if we don't merge any feature, the next release will become 8.4.1.

But I'm not ruling it out either.

@tawmoto
Copy link

tawmoto commented Oct 12, 2023

thank you, Daniel.
any chance to update the tarballs to contain the missing file for 8.4.0?

@bagder
Copy link
Member

bagder commented Oct 12, 2023

We cannot modify a release, we can only do new releases.

@MarcelRaad
Copy link
Member

MarcelRaad commented Oct 12, 2023

@bagder

From my perspective, this is a rather minor build nuisance that might not in itself suffice to make us to a quick patch release.

Building with --enable-debug fails by default, so I'd consider it rather major, no? At least together with the CMake cross-build failure from #12093, and maybe the Android and CURL_DISABLE_VERBOSE_STRINGS build break issues currently open, I think a patch release would make sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

5 participants