Apparently a missing quote in /etc/portage/make.conf but I can't find
where that would be now.
'# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="--march=native -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j9"
ACCEPTLICENSE="@EULA"
USE="x a52 aac acpi accessibility alsa audiofile calendar cdda cdr cracklib
crypt css dbus debug dvdr espeak ffmpeg fftw flac fortran ftp git gnome gtk gui
imap ipv6 mad mp3 mp4 mpeg mplayer mtp multilib mysql mysqli ncurses nntp
nsplugin offensive ogg openal opus pcre pda pdf perl php pie plotutils
policykit portaudio posix postgres -pulseaudio python qt4 qt5 quicktime
readline recode rss ruby sasl seccomp slang smp sndfile snmp sockets sound sox
speex spell sqlite ssl startup-notification static-libs subversion symlink
syslog szip taglib tcl tcmalloc tcpd telemetry test threads tidy timidity udev
udisks unicode unwind upnp upnp-av usb v4l vaapi vcd vdpau verify-sig videos
vim-syntax vorbis wavpack -wayland wifi wxwidgets x264 xattr xcomposite xemacs
xml zip xv xvid zlib zstd"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/
http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo
https://gentoo.osuosl.org/ http://gentoo.osuosl.org/
http://gentoo.mirrors.pair.com/ https://mirrors.rit.edu/gentoo/
http://mirrors.rit.edu/gentoo/ ftp://mirrors.rit.edu/gentoo/
rsync://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo
http://gentoo.cs.utah.edu/"
--