Skip to content

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

@Romain-Geissler-1A

Description

@Romain-Geissler-1A

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions