I did this
buildprotos.h requires perl and is built in the lib directory at build-time, adding perl as a build prerequisite even when building from a tarball, which we try to avoid.
Ref: #17750 (comment)
I expected the following
Either we ship unitprotos.h in the tarball or we generate it first when building the tests.
curl/libcurl version
git master
operating system
any