Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643374 - www-client/chromium-63.0.3239.108 fails to build with clang
Summary: www-client/chromium-63.0.3239.108 fails to build with clang
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-04 09:12 UTC by Markus Hauschild
Modified: 2018-01-08 08:49 UTC (History)
0 users

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


Attachments
'/var/log/portage/www-client:chromium-63.0.3239.108:20180104-084732.log' (build.log,254.12 KB, text/x-log)
2018-01-04 09:12 UTC, Markus Hauschild
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Hauschild 2018-01-04 09:12:30 UTC
Created attachment 513150 [details]
'/var/log/portage/www-client:chromium-63.0.3239.108:20180104-084732.log'

=www-client/chromium-63.0.3239.108 fails to build with =sys-devel/clang-4.0.1

# emerge --info '=www-client/chromium-63.0.3239.108::gentoo'
Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-6.4.0, glibc-2.25-r9, 4.13.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-6440HQ_CPU_@_2.60GHz-with-gentoo-2.4.1
KiB Mem:    16335592 total,   6122964 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 04 Jan 2018 06:15:01 +0000
Head commit of repository gentoo: 5c5af6f0b0c4fb3e986d6a878568b2f8fed91db0
Head commit of repository tlp: e636f1a26030ef7d80b6fd0231cbdf46f1dc31ac

sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 50

tlp
    location: /var/lib/layman/tlp
    sync-type: git
    sync-uri: git://github.com/dywisor/tlp-portage.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/local/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j2"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/local/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="X a52 aac acl acpi activities alsa amd64 avx avx2 berkdb bluetooth branding bzip2 cairo cdda cdr cli corefonts crypt cups cxx dbus declarative dhcpcd dri dts dvd dvdr dvdread emboss encode exif faac faad fakevim fam ffmpeg firefox flac fontconfig fortran g3dvl gdbm gif git glamor gpm gtk iconv infinality iproute2 ipv6 jabber jpeg kde kipi kwallet laptop lcms ldap libnotify mad matroska mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg openal opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qml qt3support qt5 rdesktop rdp readline rtmp rtsp sdl seccomp semantic-desktop session smp spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification subversion svg svgvaapi systemd tcpd threads tiff truetype udev udisks unicode upower usb vaapi vim-syntax vnc vorbis widgets wxwidgets x264 x265 xa xattr xcb xcomposite xml xv xvid xvmc zlib zsh-completion" 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="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="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 avx2 mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2" 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="efi-64" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# emerge -pqv '=www-client/chromium-63.0.3239.108::gentoo'
[ebuild     U ] www-client/chromium-63.0.3239.108 [62.0.3202.94] USE="cups hangouts (pic) proprietary-codecs pulseaudio suid system-ffmpeg widevine -component-build -custom-cflags -gnome-keyring -kerberos (-neon) (-selinux) (-system-icu) (-system-libvpx) (-tcmalloc)" L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW"
Comment 1 Markus Hauschild 2018-01-04 09:14:09 UTC
Maybe also relevant:

# cat /etc/portage/package.env
dev-libs/re2 clang
www-client/chromium clang

# cat /etc/portage/env/clang
CC=clang
CXX=clang++
Comment 2 Mike Gilbert gentoo-dev 2018-01-05 21:38:47 UTC
From the log:

clang++: error: unable to execute command: Executable "clang++" doesn't exist!

Did you un-merge clang while the build was running? This seems quite strange...
Comment 3 Mike Gilbert gentoo-dev 2018-01-06 22:56:54 UTC
I have to conclude that something went horribly wrong on your system. If you can reproduce the problem consistently, please re-open with instructions.
Comment 4 Markus Hauschild 2018-01-08 08:49:16 UTC
I have this problem on two systems, last chromium version working is this one:

Installed versions:  62.0.3202.89(12:40:05 AM 11/13/2017)(cups hangouts kerberos pic proprietary-codecs pulseaudio suid system-ffmpeg widevine -component-build -custom-cflags -gnome-keyring -neon -selinux -system-icu -system-libvpx -tcmalloc L10N="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv sw ta te th tr uk vi zh-CN zh-TW")

Problem exists with both clang-3.9.1-r100 and clang-4.0.1.

As you can see from the buildlog earlier calls to clang++ work fine but at least parts of the build system are able to find clang++

Will try again with chromium-63.0.3239.108, what other information can I supply?