Tried to build dev-db/mysql-8.0.19-r1 with USE flag -server and got: ... -- Performing Test HAVE_STRINGOP_OVERFLOW - Success -- PATH_TO_LZ4 /usr/include -- LZ4_LIBRARY /usr/lib/liblz4.so CMake Error at cmake/icu.cmake:53 (MESSAGE): Cannot find ICU regular expression headers Call Stack (most recent call first): cmake/icu.cmake:133 (FIND_ICU) CMakeLists.txt:1203 (MYSQL_CHECK_ICU) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/dev-db/mysql-8.0.19-r1/work/mysql-8.0.19_build/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/dev-db/mysql-8.0.19-r1/work/mysql-8.0.19_build/CMakeFiles/CMakeError.log". * ERROR: dev-db/mysql-8.0.19-r1::gentoo failed (configure phase): * cmake failed Reproducible: Always Steps to Reproduce: 1. Prepare a machine where no other package pulls dev-libs/icu in. 2. Set USE flag -server for dev-db/mysql 3. emerge dev-db/mysql-8.0.19-r1 Actual Results: The ebuild requires dev-libs/icu only when the server USE falg is on. But the configure step still uses icu, so it fails. Expected Results: Either dev-libs/icu should be always required or the configure step should omit the checks that need icu.
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards.
Here the 'emerge --info': Portage 2.3.89 (python 2.7.17-final-0, default/linux/amd64/17.0/systemd, gcc-9.2.0, glibc-2.29-r7, 4.19.97-gentoo x86_64) ================================================================= System uname: Linux-4.19.97-gentoo-x86_64-AMD_Opteron_23xx_-Gen_3_Class_Opteron-with-gentoo-2.6 KiB Mem: 8189032 total, 3975608 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 10 Mar 2020 10:15:01 +0000 Head commit of repository gentoo: 019db9a8d3ebe8d3106d2c228497b6626c637408 Head commit of repository chaoslab: be11df7e103adf1b05f63bc7ed4eb04462729789 Head commit of repository theorie: a9e89fbe1543acfe0e50477d3eb288411bfa5870 sh bash 4.4_p23-r1 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 app-shells/bash: 4.4_p23-r1::gentoo dev-java/java-config: 2.2.0-r4::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 dev-util/pkgconfig: 0.29.2::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.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: /usr/portage sync-type: rsync sync-uri: rsync://alge/portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: no sync-rsync-extra-opts: --timeout=30 sync-rsync-verify-max-age: 24 x-host location: /usr/local/portage/host masters: gentoo chaoslab location: /usr/local/overlay/chaoslab sync-type: git sync-uri: https://gitlab.com/chaoslab/chaoslab-overlay masters: gentoo priority: 50 theorie location: /usr/local/overlay/theorie sync-type: git sync-uri: git@theogit.fmi.uni-stuttgart.de:fmi-service/theorieOverlay.git masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=x86-64 -O2 -pipe -mmmx -mpopcnt -msse -msse2 -msse3" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=x86-64 -O2 -pipe -mmmx -mpopcnt -msse -msse2 -msse3" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=6 --quiet-unmerge-warn" 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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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="-O2 -pipe" GENTOO_MIRRORS="http://theogent.informatik.uni-stuttgart.de/gentoo http://theogent.informatik.uni-stuttgart.de/theorie-overlay https://ftp.uni-erlangen.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=30" 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 bash-completion bzip2 caps crypt cxx gcj hardened iconv ipv6 libtirpc mbox multilib ncurses nls nptl nptlonly openmp pam pcre pie readline seccomp split-usr ssl ssp systemd threads truetype udev unicode urandom userlocales vhosts xattr xtpax zlib" 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 access_compat version" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en de" 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" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Created attachment 619254 [details] Build log And here the build log.
Confirmed, incoming patch.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/mysql-extras.git/commit/?id=b2acb6e8c9967432ac93905e707d5217f926f9cb commit b2acb6e8c9967432ac93905e707d5217f926f9cb Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-17 00:55:56 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-17 00:55:56 +0000 Fix 20018_all_*-8.0.*-without-clientlibs-tools.patch ICU is not required when building client tools only. Bug: https://bugs.gentoo.org/712072 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> 20018_all_mysql-8.0.19-without-clientlibs-tools.patch | 13 ++++++++++++- ...all_percona-server-8.0.18-without-clientlibs-tools.patch | 13 ++++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e88e9befc9c78bde1469f924ef10d3d21ccefbfd commit e88e9befc9c78bde1469f924ef10d3d21ccefbfd Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-17 01:07:24 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-17 01:07:36 +0000 dev-db/percona-server: ICU is not required for USE=-server Closes: https://bugs.gentoo.org/712072 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-db/percona-server/Manifest | 2 +- dev-db/percona-server/percona-server-8.0.18.9.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd81bb6786a6b78b9a2725de8c268e72a9a2514 commit 4dd81bb6786a6b78b9a2725de8c268e72a9a2514 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-03-17 01:06:12 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-03-17 01:07:35 +0000 dev-db/mysql: ICU is not required for USE=-server Closes: https://bugs.gentoo.org/712072 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-db/mysql/Manifest | 1 + dev-db/mysql/mysql-8.0.19-r1.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)