-
Type:
Bug
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.1.6
-
Fix Version/s: None
-
Labels:None
-
Environment:
Portage 2.3.89 (python 3.6.10-final-0, default/linux/amd64/17.0/hardened/selinux, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.86-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-2.6 KiB Mem: 2042144 total, 356104 free KiB Swap: 4194300 total, 3404656 free Timestamp of repository gentoo: Wed, 18 Mar 2020 22:15:01 +0000 Head commit of repository gentoo: 3b97d7e9b27d393babda6a995d6a1bbb752bc7ca Head commit of repository local: b3e7763b81fb580d895ad721c7e8eee28e3b0697sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo dev-util/cmake: 3.14.6::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo, 2.33.1-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories:gentoo location: /var/cache/portage/gentoo sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yeslocal location: /var/cache/portage/local sync-type: git sync-uri: https://github.com/devurandom/gentoo-overlay.git masters: gentooACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -mtune=generic -O2" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-pipe -mtune=generic -O2" DISTDIR="/var/cache/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --nospinner --usepkg --buildpkg --binpkg-respect-use --binpkg-changed-deps=y --rebuilt-binaries=y --rebuild-if-unbuilt=y --verbose-conflicts" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS="-j3 -l2" PKGDIR="/var/cache/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 audit berkdb blake2 bzip2 caps crypt cxx gpg hardened iconv idn initramfs ipv6 jemalloc jit libidn2 libtirpc lto luajit lz4 lzma lzo multilib ncurses nftables nls nptl openmp pam pcap pcre pcre2 pie pkcs11 pkcs7 readline sctp seccomp selinux split-usr ssl ssp systemd udev unicode utempter vhosts xattr xtpax xz zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy pypy3" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS================================================================= Package Settings =================================================================net-dns/opendnssec-2.1.3::local was built with the following: USE="mysql readline signer softhsm -debug -doc -external-hsm -opensc -sqlite -test" ABI_X86="(64)" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" dev-db/mariadb-10.3.22::gentoo was built with the following: USE="backup innodb-lz4 innodb-lzo innodb-snappy jemalloc pam perl (selinux) server systemd -bindist (-client-libs) -cracklib -debug -extraengine -galera -jdbc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb -sphinx -sst-mariabackup -sst-rsync -static -systemtap -tcmalloc -test -tokudb -xml -yassl" ABI_X86="(64)" CFLAGS="-pipe -mtune=generic -O2 -fno-strict-aliasing" CXXFLAGS="-pipe -mtune=generic -O2 -felide-constructors -fno-strict-aliasing" FEATURES="ipc-sandbox assume-digests binpkg-logs network-sandbox multilib-strict usersandbox binpkg-dostrip strict protect-owned usersync selinux news sesandbox unmerge-orphans sandbox unmerge-logs parallel-install merge-sync preserve-libs buildpkg parallel-fetch config-protect-if-modified sfperms userfetch distlocks ebuild-locks binpkg-docompress unknown-features-warn qa-unresolved-soname-deps fixlafiles xattr compressdebug userpriv"
Portage 2.3.89 (python 3.6.10- final -0, default /linux/amd64/17.0/hardened/selinux, gcc-9.2.0, glibc-2.29-r7, 4.19.86-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.86-gentoo-x86_64-AMD_Athlon-tm-_64_Processor_3700+-with-gentoo-2.6 KiB Mem: 2042144 total, 356104 free KiB Swap: 4194300 total, 3404656 free Timestamp of repository gentoo: Wed, 18 Mar 2020 22:15:01 +0000 Head commit of repository gentoo: 3b97d7e9b27d393babda6a995d6a1bbb752bc7ca Head commit of repository local: b3e7763b81fb580d895ad721c7e8eee28e3b0697sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.32 p2) 2.32.0 distcc 3.3.3 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.4_p23-r1::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.6::gentoo dev-util/cmake: 3.14.6::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo, 2.33.1-r1::gentoo sys-devel/gcc: 9.2.0-r2::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r7::gentoo Repositories:gentoo location: / var /cache/portage/gentoo sync-type: rsync sync-uri: rsync: //rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yeslocal location: / var /cache/portage/local sync-type: git sync-uri: https: //github.com/devurandom/gentoo-overlay.git masters: gentooACCEPT_KEYWORDS= "amd64" ACCEPT_LICENSE= "@FREE" CBUILD= "x86_64-pc-linux-gnu" CFLAGS= "-pipe -mtune= generic -O2" CHOST= "x86_64-pc-linux-gnu" CONFIG_PROTECT= "/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK= "/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS= "-pipe -mtune= generic -O2" DISTDIR= "/ var /cache/portage/distfiles" EMERGE_DEFAULT_OPTS= "--keep-going --nospinner --usepkg --buildpkg --binpkg-respect-use --binpkg-changed-deps=y --rebuilt-binaries=y --rebuild- if -unbuilt=y --verbose-conflicts" ENV_UNSET= "DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS= "-O2 -pipe" FEATURES= "assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect- if -modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned qa-unresolved-soname-deps sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS= "-O2 -pipe" GENTOO_MIRRORS= "http: //ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://distfiles.gentoo.org" LANG= "en_GB.UTF-8" LDFLAGS= "-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" MAKEOPTS= "-j3 -l2" PKGDIR= "/ var /cache/portage/packages" PORTAGE_COMPRESS= "xz" PORTAGE_CONFIGROOT= "/" PORTAGE_RSYNC_OPTS= "--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR= "/ var /tmp" USE= "acl amd64 audit berkdb blake2 bzip2 caps crypt cxx gpg hardened iconv idn initramfs ipv6 jemalloc jit libidn2 libtirpc lto luajit lz4 lzma lzo multilib ncurses nftables nls nptl openmp pam pcap pcre pcre2 pie pkcs11 pkcs7 readline sctp seccomp selinux split-usr ssl ssp systemd udev unicode utempter vhosts xattr xtpax xz zlib zstd" ABI_X86= "64" ADA_TARGET= "gnat_2018" ALSA_CARDS= "ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES= "authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES= "karbon sheets words" COLLECTD_PLUGINS= "df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86= "3dnow 3dnowext mmx mmxext sse sse2 sse3" ELIBC= "glibc" GPSD_PROTOCOLS= "ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" KERNEL= "linux" LCD_DEVICES= "bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS= "presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION= "libreoffice" PHP_TARGETS= "php7-2 php7-3" POSTGRES_TARGETS= "postgres10 postgres11" PYTHON_SINGLE_TARGET= "python3_6" PYTHON_TARGETS= "python2_7 python3_6 pypy pypy3" RUBY_TARGETS= "ruby24 ruby25" USERLAND= "GNU" XTABLES_ADDONS= "quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS================================================================= Package Settings =================================================================net-dns/opendnssec-2.1.3::local was built with the following: USE= "mysql readline signer softhsm -debug -doc -external-hsm -opensc -sqlite -test" ABI_X86= "(64)" FEATURES= "assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg compressdebug config-protect- if -modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install preserve-libs protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" dev-db/mariadb-10.3.22::gentoo was built with the following: USE= "backup innodb-lz4 innodb-lzo innodb-snappy jemalloc pam perl (selinux) server systemd -bindist (-client-libs) -cracklib -debug -extraengine -galera -jdbc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb -sphinx -sst-mariabackup -sst-rsync - static -systemtap -tcmalloc -test -tokudb -xml -yassl" ABI_X86= "(64)" CFLAGS= "-pipe -mtune= generic -O2 -fno-strict-aliasing" CXXFLAGS= "-pipe -mtune= generic -O2 -felide-constructors -fno-strict-aliasing" FEATURES= "ipc-sandbox assume-digests binpkg-logs network-sandbox multilib-strict usersandbox binpkg-dostrip strict protect-owned usersync selinux news sesandbox unmerge-orphans sandbox unmerge-logs parallel-install merge-sync preserve-libs buildpkg parallel-fetch config-protect- if -modified sfperms userfetch distlocks ebuild-locks binpkg-docompress unknown-features-warn qa-unresolved-soname-deps fixlafiles xattr compressdebug userpriv"
When building against mariadb 10.3.22, I see the following error:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../common -I../../common -I../../common -I./../../libhsm/src/lib -I./../../libhsm/src/lib -I/usr/include/libxml2 -I/usr/include -I/usr/include/mysql -pipe -mtune=generic -O2 -pedantic -Wall -pthread -fno-strict-aliasing -Wall -Wextra -Wwrite-strings -Wpointer-arith -Wno-unused-parameter -Wno-missing-field-init ializers -Wformat=2 -Wcast-align -Wformat-security -Wstrict-aliasing -Wpacked -Winit-self -Wmissing-include-dirs -Warray-bounds -Wreturn-type -Wno-format-nonliteral -Wno-format-y2k -Wno-unused-function -Wno-unused-variable -Wno-sign-compare -Wno-error=unused-parameter -Wno-error=missing-field-initializers -Wno-error=format-nonliteral -Wno-error=format-y2k -Wno-e rror=unused-function -Wno-error=unused-variable -Wno-error=sign-compare -c -o db/db_backend_mysql.o db/db_backend_mysql.c db/db_backend_mysql.c:75:5: error: unknown type name 'my_bool' 75 | my_bool error; | ^~~~~~~ db/db_backend_mysql.c: In function '__db_backend_mysql_prepare': db/db_backend_mysql.c:273:36: error: 'my_bool' undeclared (first use in this function); did you mean 'bool'? 273 | mysql_bind->is_null = (my_bool*)0; | ^~~~~~~ | bool db/db_backend_mysql.c:273:36: note: each undeclared identifier is reported only once for each function it appears in db/db_backend_mysql.c:273:44: error: expected expression before ')' token 273 | mysql_bind->is_null = (my_bool*)0; | ^ db/db_backend_mysql.c:274:31: warning: assignment to '_Bool *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 274 | mysql_bind->error = &bind->error; | ^ db/db_backend_mysql.c: In function '__db_backend_mysql_bind_clause': db/db_backend_mysql.c:962:35: error: 'my_bool' undeclared (first use in this function); did you mean 'bool'? 962 | (*bind)->bind->is_null = (my_bool*)0; | ^~~~~~~ | bool db/db_backend_mysql.c:962:43: error: expected expression before ')' token 962 | (*bind)->bind->is_null = (my_bool*)0; | ^ db/db_backend_mysql.c: In function '__db_backend_mysql_bind_value': db/db_backend_mysql.c:1082:28: error: 'my_bool' undeclared (first use in this function); did you mean 'bool'? 1082 | bind->bind->is_null = (my_bool*)0; | ^~~~~~~ | bool db/db_backend_mysql.c:1082:36: error: expected expression before ')' token 1082 | bind->bind->is_null = (my_bool*)0; | ^ make[3]: *** [Makefile:1373: db/db_backend_mysql.o] Error 1 make[3]: *** Waiting for unfinished jobs....
See attached build.log for details. The patches mentioned in that log can be found in my Gentoo overlay: https://github.com/devurandom/gentoo-overlay/tree/master/net-dns/opendnssec/files