[debian-mysql] Bug#1066019: mariadb: FTBFS on hurd-i386: information_schema_disks.cc:69:31: error: ‘PATH_MAX’ was not declared in this scope

Otto Kekäläinen otto at debian.org
Mon Mar 11 00:25:22 GMT 2024


Source: mariadb
Version: 1:10.11.7-2
Tags: confirmed, help, ftbfs
User: debian-hurd at lists.debian.org
Usertags: hurd
X-Debbugs-CC: debian-hurd at lists.debian.org

After fixing https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063739
the builds of MariaDB currently fail with:

[ 86%] Building CXX object
plugin/disks/CMakeFiles/disks.dir/information_schema_disks.cc.o
cd /<<PKGBUILDDIR>>/builddir/plugin/disks && /usr/bin/c++
-DHAVE_CONFIG_H -DMYSQL_DYNAMIC_PLUGIN -D_FILE_OFFSET_BITS=64
-Ddisks_EXPORTS -I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/include/providers -I/<<PKGBUILDDIR>>/sql
-I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC
-fstack-protector --param=ssp-buffer-size=4 -O2 -g -static-libgcc
-fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized
-fno-omit-frame-pointer -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall
-Wenum-compare -Wenum-conversion -Wextra -Wformat-security
-Wmissing-braces -Wno-format-truncation -Wno-init-self
-Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual
-Wnon-virtual-dtor -Wvla -Wwrite-strings -std=gnu++11 -fPIC
-Wdate-time -D_FORTIFY_SOURCE=2 -MD -MT
plugin/disks/CMakeFiles/disks.dir/information_schema_disks.cc.o -MF
CMakeFiles/disks.dir/information_schema_disks.cc.o.d -o
CMakeFiles/disks.dir/information_schema_disks.cc.o -c
/<<PKGBUILDDIR>>/plugin/disks/information_schema_disks.cc
/<<PKGBUILDDIR>>/plugin/disks/information_schema_disks.cc:69:31:
error: ‘PATH_MAX’ was not declared in this scope; did you mean
‘AF_MAX’?
   69 |   Column("Disk",      Varchar(PATH_MAX), NOT_NULL),
      |                               ^~~~~~~~
      |                               AF_MAX
/<<PKGBUILDDIR>>/plugin/disks/information_schema_disks.cc:70:31:
error: ‘PATH_MAX’ was not declared in this scope; did you mean
‘AF_MAX’?
   70 |   Column("Path",      Varchar(PATH_MAX), NOT_NULL),
      |                               ^~~~~~~~
      |                               AF_MAX
make[4]: *** [plugin/disks/CMakeFiles/disks.dir/build.make:79:
plugin/disks/CMakeFiles/disks.dir/information_schema_disks.cc.o] Error
1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
make[3]: *** [CMakeFiles/Makefile2:8478:
plugin/disks/CMakeFiles/disks.dir/all] Error 2



Full log at https://buildd.debian.org/status/fetch.php?pkg=mariadb&arch=hurd-i386&ver=1%3A10.11.7-2&stamp=1709941524&raw=0



More information about the pkg-mysql-maint mailing list