As per summary... setting USE=server works. Reproducible: Always Steps to Reproduce: 1. USE=-server emerge =dev-db/mariadb-10.3.5_rc Actual Results: cd /var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql-abi_x86_64.amd64/plugin/handler_socket && /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql-abi_x86_64.amd64/include -I/var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql/plugin/handler_socket/libhsclient -O3 -march=native -pipe -fno-stack-protector -felide-constructors -fno-strict-aliasing -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -DWITH_INNODB_DISALLOW_WRITES -fno-rtti -Wno-deprecated-declarations -DNDEBUG -DDBUG_OFF -fPIC -o CMakeFiles/hsclient.dir/libhsclient/hstcpcli.cpp.o -c /var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql/plugin/handler_socket/libhsclient/hstcpcli.cpp /var/tmp/portage/dev-db/mariadb-10.3.5_rc/work/mysql/plugin/handler_socket/libhsclient/hstcpcli.cpp:9:10: fatal error: my_global.h: No such file or directory #include <my_global.h> ^~~~~~~~~~~~~ compilation terminated. Expected Results: Build success.
Created attachment 521516 [details] build.log
Forgot these bits: ~ $ emerge --info Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r6, 4.15.6-gentoo x86_64) ================================================================= System uname: Linux-4.15.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.4.1 KiB Mem: 8148476 total, 69328 free KiB Swap: 8388604 total, 8388348 free Timestamp of repository gentoo: Wed, 28 Feb 2018 21:06:46 +0000 Head commit of repository gentoo: 11c6e43fcae59b627a269ef9136006b1f4c3d745 sh bash 4.4_p19 ld GNU ld (Gentoo 2.30 p1) 2.30.0 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p19::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r2::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/ccache: 3.3.4-r1::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 7.3.0::gentoo sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r2::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 RandomLAN location: /home/randomdan/dev/portage masters: gentoo priority: 10 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA PUEL AdobeFlash-10.1 Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=native -pipe -fno-stack-protector" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O3 -march=native -pipe -fno-stack-protector" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://portage.random.lan/ http://sys.randomdan.homeip.net/" LANG="en_GB.utf8" LC_ALL="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -O3 -march=native -pipe" LINGUAS="en en_GB" MAKEOPTS="-j6 -l6" PKGDIR="/usr/portage/packages" 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="64bit X a52 aac accessibility acl acpi activities additions aim alsa amd64 apm apng audiofile automount autoshutdown autoupdate bash-completion berkdb bluetooth branding browserplugin btrfs bzip2 c++0x cairo caps cdb cdda cddb cdparanoia cdr clang cli cscope css ctype curl curlwrappers custom-cflags custom-march custom-optimization cxx dbus declarative device-mapper dhcpcd dio disable-sound disable-torrent disk-partition divx dlloader docbook dpms dri dts dv dvb dvd dvdr dvdread dynagraph ebook effects emerald encode evdev exif extensions extrafilters extras fam fame fastcgi ffmpeg firefox firmware flac fontconfig frei0r frontendonly ftp fts3 fuse gallium gcrypt gdbm gegl gif gimp git glamor glib glitz glut glx gmail gmailtimestamps gmedia gnome-keyring gnutls grub gtk gtk3 h323 hardenedphp hpn http2 iconv icq icu id3 id3tag imagemagick imap imlib imlib2 innodb inotify ipv6 ithreads javascript jemalloc jemalloc3 jpeg jpeg2k json kdeenablefinal kipi kqemu kwallet lame lcms ldap legacy-systray libkms libnotify lightning lm_sensors logrotate lto lvm lvmboot lvmroot lzma lzo mad maildir man melt messenger minizip mmx mmxext modules mozcalendar mp3 mp4 mp4live mpeg mpeg2 mpeg4 mpm-prefork msn mtp multithreaded mysql mysqli mythtv ncurses network network-cron nls no-old-linux nocardbus nocd nohardenedkernel nptl nptlonly nscd nuv nvidia offensive ogg openexr opengl openmp optimize opus oscar pam pango pch pcre pcre16 pdf plasma plymouth png policykit portage postgres postproc ppds pvr python python3 qml qt3support qt5 rdesktop readline real realmedia redland remote resolvconf rtmp savedconfig sblive screen seccomp secure-delete sharedext shorten silc smp sndfile soap sockets soprano spell sql sqlite sse sse-filters sse2 ssl ssl2 startup-notification stats stencil-buffer stream svg symlink sysfs syslog system-cairo system-harfbuzz system-icu system-jpeg system-jsoncpp system-libevent system-libvpx system-lua system-sqlite system-v8 systemd taglib tcpd theora threads thumbnail tidy tiff transcode truetype udev udisks underscores unicode unittest unity-lobby unlock-notify usb user-session uuid v4l v4l2 vaapi vhosts vim vim-pager vim-syntax vim-with-x vlc vorbis widgets win32codecs wmf wmp wxwidgets x264 xa xattr xcb xcomposite xinerama xml xmms xmp xrandr xscreensaver xsl xslt xv xvfb xvid xvmc yahoo yvl2 zip zlib" ABI_X86="64" 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="filter authz_host cgid mime_magic mime autoindex vhost_alias dav dir deflate log_config env rewrite cache mem_cache unixd socache authz_core authn_core socache_shmcb http2 alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock 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="evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="none" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ~ $ emerge -pvO mariadb These are the packages that would be merged, in order: [ebuild R ] dev-db/mariadb-10.3.5_rc:0/18::gentoo USE="backup jemalloc pam perl systemd xml -bindist (-client-libs) -cracklib -debug -extraengine -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -kerberos -latin1 -libressl -mroonga -numa -odbc -oqgraph -profiling -rocksdb (-selinux) -server* -sphinx -sst-mariabackup -sst-rsync -sst-xtrabackup -static -static-libs -systemtap -tcmalloc {-test} -tokudb -yassl" ABI_X86="(64) -32 (-x32)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB ~ $
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88cfceb412c9c27b9b8fc9318cc38113478dd0db commit 88cfceb412c9c27b9b8fc9318cc38113478dd0db Author: Brian Evans <grknight@gentoo.org> AuthorDate: 2018-03-01 00:46:58 +0000 Commit: Brian Evans <grknight@gentoo.org> CommitDate: 2018-03-01 00:46:58 +0000 dev-db/mariadb: Fix building with abi_x86_32 and -server USE Closes: https://bugs.gentoo.org/649092 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-db/mariadb/mariadb-10.3.5_rc.ebuild | 39 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 20 deletions(-)