← Back to team overview

maria-developers team mailing list archive

Re: Regression in crossbuilding MariaDB


Hi Otto,

On Thu, May 18, 2023 at 12:14:43AM -0700, Otto Kekäläinen wrote:
> > Here're relevant lines from the log:
> > ...
> > -- Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.11")
> > ...
> > CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
> > Please set them or make sure they are set and tested correctly in the CMake files:
> Indeed, the configure stage already has errors. I was thrown off by
> the fact that the build proceeds and has errors a long section without
> errors and then starts erroring later on.

When I looked into the pipeline (thanks for linking it), this also
jumped into my eye. Note that this happens during a native build pass
and then it really makes sense: There only is a dependency for the host
architecture zlib, but none for the build architecture one. If the
native build pass needs zlib, you need to duplicate the zlib dependency
with a ":native" annotation. Whether that need is real is beyond my
understanding though.

Hope this helps


Follow ups