[debian-mysql] Bug#1065496: mysql-8.0 builds with the embedded zlib library
Matthias Klose
doko at debian.org
Tue Mar 5 13:41:20 GMT 2024
Package: src:mysql-8.0
Version: 8.0.36-1
Severity: serious
Tags: sid trixie
mysql-8.0 builds with the embedded zlib library
[...]
-- Adding -DWITH_CURL=system
-- Adding -DWITH_EDITLINE=system
-- Adding -DWITH_ICU=system
-- Adding -DWITH_LIBEVENT=system
-- Adding -DWITH_LZ4=system
-- Adding -DWITH_PROTOBUF=system
-- Adding -DWITH_SSL=system
-- Adding -DWITH_ZSTD=system
-- Found WITH_FIDO=bundled on command line
-- ZLIB_VERSION (bundled) is 1.2.13
-- ZLIB_INCLUDE_DIR /<<PKGBUILDDIR>>/extra/zlib/zlib-1.2.13
it should not do that, please use the system zlib.
But building with the embedded zlib for time64:
[...]
DLZ4_DISABLE_DEPRECATE_WARNINGS -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE=1 -D_USE_MATH_DEFINES -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -I/<<PKGBUILDDIR>>/builddir
-I/<<PKGBUILDDIR>>/builddir/include -I/<<PKGBUILDDIR>>
-I/<<PKGBUILDDIR>>/include -isystem
/<<PKGBUILDDIR>>/builddir/extra/zlib/zlib-1.2.13 -isystem
/<<PKGBUILDDIR>>/extra/zlib/zlib-1.2.13 -fno-omit-frame-pointer -g -O2
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat
-Werror=format-security -fno-stack-clash-protection
-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/mysql-8.0-8.0.36-1build2
-fdebug-prefix-map=/<<PKGBUILDDIR>>/=./
-fdebug-prefix-map=/<<PKGBUILDDIR>>/builddir=./obj -ffunction-sections
-fdata-sections -O2 -g -DNDEBUG -fPIC -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=3
-Wno-missing-profile -fvisibility=hidden -MD -MT
extra/zlib/zlib-1.2.13/CMakeFiles/zlib_objlib.dir/gzclose.c.o -MF
CMakeFiles/zlib_objlib.dir/gzclose.c.o.d -o
CMakeFiles/zlib_objlib.dir/gzclose.c.o -c
/<<PKGBUILDDIR>>/extra/zlib/zlib-1.2.13/gzclose.c
In file included from /usr/include/features.h:394,
from
/usr/include/arm-linux-gnueabihf/bits/libc-header-start.h:33,
from /usr/include/stdio.h:28,
from ../../../../extra/zlib/zlib-1.2.13/gzguts.h:21,
from ../../../../extra/zlib/zlib-1.2.13/gzclose.c:6:
/usr/include/features-time64.h:26:5: error: #error "_TIME_BITS=64 is
allowed only with _FILE_OFFSET_BITS=64"
26 | # error "_TIME_BITS=64 is allowed only with _FILE_OFFSET_BITS=64"
| ^~~~~
make[4]: ***
[extra/zlib/zlib-1.2.13/CMakeFiles/zlib_objlib.dir/build.make:135:
extra/zlib/zlib-1.2.13/CMakeFiles/zlib_objlib.dir/gzclose.c.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:5761:
extra/zlib/zlib-1.2.13/CMakeFiles/zlib_objlib.dir/all] Error 2
More information about the pkg-mysql-maint
mailing list