[debian-mysql] Bug#975063: mariadb-10.5: FTBFS on alpha and hppa: warning: "MAP_HUGETLB" redefined

Otto Kekäläinen otto at debian.org
Wed Nov 18 16:09:32 GMT 2020


Source: mariadb-10.5
Version: 1:10.5.8-1
Forwarded: https://jira.mariadb.org/browse/MDEV-24215
Tags: upstream, confirmed, help, ftbfs
Severity: normal
Justification: not an official arch
User: debian-alpha at lists.debian.org, debian-hppa at lists.debian.org
Usertags: alpha, hppa

This might now be fixed upstream, so no additional effort in Debian
needed right now.

Build failed with:

cd /<<PKGBUILDDIR>>/builddir/extra/mariabackup && /usr/bin/cc
-DBTR_CUR_ADAPT -DBTR_CUR_HASH_ADAPT -DCOMPILER_HINTS -DDBUG_TRACE
-DHAVE_C99_INITIALIZERS -DHAVE_CONFIG_H
-DHAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE=1 -DHAVE_IB_LINUX_FUTEX=1
-DHAVE_LZ4=1 -DHAVE_LZ4_COMPRESS_DEFAULT=1 -DHAVE_NANOSLEEP=1
-DHAVE_OPENSSL -DHAVE_SCHED_GETCPU=1 -DHAVE_SNAPPY=1
-DHAVE_SYSTEM_REGEX -DLINUX_NATIVE_AIO=1 -DMUTEX_EVENT -DPCRE_STATIC=1
-DWITH_INNODB_DISALLOW_WRITES -D_FILE_OFFSET_BITS=64
-Dmariadb_backup_EXPORTS -I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include
-I/<<PKGBUILDDIR>>/storage/innobase/include
-I/<<PKGBUILDDIR>>/storage/innobase/handler
-I/<<PKGBUILDDIR>>/libbinlogevents/include -I/<<PKGBUILDDIR>>/tpool
-I/<<PKGBUILDDIR>>/include -I/<<PKGBUILDDIR>>/sql
-I/<<PKGBUILDDIR>>/extra/mariabackup/quicklz
-I/<<PKGBUILDDIR>>/extra/mariabackup -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -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
-Wdeclaration-after-statement -Wextra -Wformat-security
-Wno-format-truncation -Wno-init-self -Wno-nonnull-compare
-Wno-unused-parameter -Wvla -Wwrite-strings   -Wdate-time
-D_FORTIFY_SOURCE=2 -DUNIV_LINUX -D_GNU_SOURCE=1 -UMYSQL_SERVER -o
CMakeFiles/mariadb-backup.dir/__/__/libmysqld/libmysql.c.o -c
/<<PKGBUILDDIR>>/libmysqld/libmysql.c
cc1: warning: ‘-fstack-protector’ not supported for this target
In file included from /<<PKGBUILDDIR>>/sql/net_serv.cc:42:
/<<PKGBUILDDIR>>/include/my_sys.h:968: warning: "MAP_HUGETLB" redefined
  968 | #define MAP_HUGETLB 0x40000
      |
In file included from /usr/include/alpha-linux-gnu/sys/mman.h:41,
                 from /<<PKGBUILDDIR>>/include/my_global.h:444,
                 from /<<PKGBUILDDIR>>/sql/mariadb.h:29,
                 from /<<PKGBUILDDIR>>/sql/net_serv.cc:38:
/usr/include/alpha-linux-gnu/bits/mman.h:38: note: this is the
location of the previous definition
   38 | # define MAP_HUGETLB   0x100000 /* Create huge page mapping.  */
      |
In file included from /<<PKGBUILDDIR>>/libmysqld/libmysql.c:22:
/<<PKGBUILDDIR>>/include/my_sys.h:968: warning: "MAP_HUGETLB" redefined
  968 | #define MAP_HUGETLB 0x40000
      |
In file included from /usr/include/alpha-linux-gnu/sys/mman.h:41,
                 from /<<PKGBUILDDIR>>/include/my_global.h:444,
                 from /<<PKGBUILDDIR>>/libmysqld/libmysql.c:21:
/usr/include/alpha-linux-gnu/bits/mman.h:38: note: this is the
location of the previous definition
   38 | # define MAP_HUGETLB   0x100000 /* Create huge page mapping.  */
      |



More information about the pkg-mysql-maint mailing list