Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 712692 - net-dns/bind-9.16.0 fails to build with mysql use flag and >=dev-db/mysql-connector-c-8.0.19
Summary: net-dns/bind-9.16.0 fails to build with mysql use flag and >=dev-db/mysql-con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords: PATCH
Depends on: CVE-2020-8616
Blocks:
  Show dependency tree
 
Reported: 2020-03-15 12:36 UTC by Klemen Mihevc
Modified: 2020-05-20 14:22 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,931.18 KB, application/octet-stream)
2020-03-15 12:37 UTC, Klemen Mihevc
Details
fixed patch (bind-9.16.0-mysql8-bool.patch,464 bytes, patch)
2020-03-15 17:57 UTC, Klemen Mihevc
Details | Diff
patch for bind 9.16.1 (bind-9.16.1-mysql8-bool.patch,484 bytes, patch)
2020-03-19 17:06 UTC, Klemen Mihevc
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Klemen Mihevc 2020-03-15 12:36:59 UTC
https://bugs.gentoo.org/692834

When BIND got updated to 9.16.0 patch that fixed that issue in previous builds was not carried over and it wasnt fixed on upstream as well. Patch as it is, fails on build 9.16.0 and will need modification. Attaching full build.log

Portage 2.3.94 (python 3.7.7-final-0, default/linux/amd64/17.1/hardened, gcc-9.3.0, glibc-2.30-r5, 5.5.9-gentoo x86_64)
=================================================================
System uname: Linux-5.5.9-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_X5670_@_2.93GHz-with-gentoo-2.7
KiB Mem:     8152224 total,   2074244 free
KiB Swap:   16777684 total,  16777684 free
Timestamp of repository gentoo: Sun, 15 Mar 2020 11:38:50 +0000
Head commit of repository gentoo: 405fdc99871ac3c8f7f39bcecfd066ababb6b6e0

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          3.7.7::gentoo
dev-util/cmake:           3.16.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

LocalPortage
    location: /usr/local/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -pipe -O3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -pipe -O3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--exclude net-firewall/xtables-addons"
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="-march=native -pipe -O3 -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -pipe -O3 -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://mirror.yandex.ru/gentoo-distfiles/"
LANG="sl_SI.UTF8"
LDFLAGS="-Wl,-O3 -Wl,--as-needed -Wl,--sort-common -Wl,--hash-style=gnu"
LINGUAS="en sl"
MAKEOPTS="-j12 -l12"
PKGDIR="/var/cache/binpkgs"
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 apache2 apng authfile berkdb bittorrent bzip2 caps cgi cli client corefonts cracklib crypt curl cxx dhcp dlz dovecot-sasl eap exif expat experimental extraengine fontconfig ftp gd gdbm gif glib gmp gssapi gzip hardened http2 iconv icu idn intl iproute2 iptables ipv6 ithreads java jitterentropy jpeg kerberos lcms libtirpc lm_sensors lz4 lzma lzo maildir managesieve mp3 multilib mysql mysqli ncurses nls nping nptl openmp openssl pam pci pcntl pcre pcre16 pcre32 pdo perl php pie png posix python rar readline rpc rtmp ruby samba seccomp server session sieve slang smtp soap sockets socks5 split-usr sqlite ssh ssl ssp suexec svg tcpd threads tiff tracepath truetype udev unicode urandom usb vhosts webui xattr xml xmlreader xmlrpc xmlwriter xslt xtpax xz zip 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 authn_dbd authn_socache authz_dbd cache_socache dbd http2 proxy proxy_html proxy_http proxy_http2 xml2enc" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en sl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="geoip"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Klemen Mihevc 2020-03-15 12:37:59 UTC
Created attachment 619764 [details]
build.log
Comment 2 Klemen Mihevc 2020-03-15 17:57:48 UTC
Created attachment 619928 [details, diff]
fixed patch
Comment 3 Klemen Mihevc 2020-03-16 18:39:44 UTC
I also reported this bug upstream btw and it seems like they will fix it in next version...
Comment 5 Klemen Mihevc 2020-03-19 17:06:49 UTC
Created attachment 622804 [details, diff]
patch for bind 9.16.1

Patch for bind 9.16.1 that is not in portage yet...

It seems they are always changing something in that file so patch needs to be fixed for every version... lets hope next one will have it fixed in upstream...
Comment 6 Klemen Mihevc 2020-04-16 06:37:33 UTC
BIND (9.11.18, 9.16.2, 9.17.1) released with this fixed
Comment 7 Klemen Mihevc 2020-05-20 14:22:48 UTC
Fixed with bind 9.16.3 release