Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620436 - media-libs/mesa-17.0.6 fails to install after upgrade of gcc
Summary: media-libs/mesa-17.0.6 fails to install after upgrade of gcc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-02 15:46 UTC by Mark Dominik Bürkle
Modified: 2017-06-03 15:26 UTC (History)
0 users

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


Attachments
/opt/tmp/portage/media-libs/mesa-17.0.6/temp/build.log gzipped (mesa-17.0.6-build.log.gz,127.81 KB, application/gzip)
2017-06-02 15:46 UTC, Mark Dominik Bürkle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Dominik Bürkle 2017-06-02 15:46:05 UTC
Created attachment 474990 [details]
/opt/tmp/portage/media-libs/mesa-17.0.6/temp/build.log gzipped

after upgrading gcc, mesa needs a rebuild of llvm to compile:


 * ERROR: media-libs/mesa-17.0.6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/mesa-17.0.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-17.0.6::gentoo'`.
 * The complete build log is located at '/opt/tmp/portage/media-libs/mesa-17.0.6/temp/build.log'.
 * The ebuild environment file is located at '/opt/tmp/portage/media-libs/mesa-17.0.6/temp/environment'.
 * Working directory: '/opt/tmp/portage/media-libs/mesa-17.0.6/work/mesa-17.0.6-abi_x86_32.x86'
 * S: '/opt/tmp/portage/media-libs/mesa-17.0.6/work/mesa-17.0.6'


lapmdb-hpl ~ #>> emerge -pqv '=media-libs/mesa-17.0.6::gentoo'
emerge --info '=media-libs/mesa-17.0.6::gentoo'
[ebuild     U ] media-libs/mesa-17.0.6 [13.0.5] USE="classic dri3 egl gallium gbm gles2 llvm nptl wayland -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -xa -xvmc (-gcrypt%) (-libressl%) (-nettle%*) (-openssl%)" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel radeon (-freedreno) -i915 -i965 -imx% -nouveau -r100 -r200 -r300 -r600 -radeonsi (-vc4) (-vivante) -vmware" 
lapmdb-hpl ~ #>> emerge --info '=media-libs/mesa-17.0.6::gentoo'
Portage 2.3.5 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-5.4.0, glibc-2.23-r3, 4.11.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.11.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:     8113308 total,   2284096 free
KiB Swap:   10483708 total,   8979728 free
Timestamp of repository gentoo: Wed, 31 May 2017 16:00:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.26.3::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

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

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=6 --with-bdeps=y --keep-going=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch 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://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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="/opt/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr cgi cli colord cracklib crypt cryptsetup css cups cxx dbus dedicated dga dri dts dvd dvdr eds egl emboss encode evo exif fam fastcgi firefox flac fortran gdbm gif glamor gles2 glut gnome gnome-keyring gnome-online-accounts gnutls gpm gsm gstreamer gtk gzip hddtemp iconv idn introspection ipv6 jack java java6 javascript jpeg jpeg2k kerberos lame lash lcms ldap libav libnotify libsecret lm_sensors mad matroska mbox mikmod mime mmap mms mng mod modules mp3 mp4 mpeg mplayer multilib musepack nautilus ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl php png policykit posix ppds pulseaudio qt3support qt4 quicktime raw rdesktop readline recode samba sasl savedconfig sdl seccomp session sharedmem simplexml smp sound spell ssl startup-notification subversion svg symlink syslog systemd sysvipc tcl tcmalloc tcpd theora tiff tokenizer tracker truetype udev udisks unicode upower usb vcd videos vim-syntax vnc vorbis wavpack wayland wifi win32codecs wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xosd xsl xulrunner xv xvid zlib" ABI_X86="64 32" 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" APACHE2_MPMS="prefork" 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 synaptics" KERNEL="linux" L10N="de en fr" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en fr" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4 pypy1_9 jython2_5" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel radeon amdgpu" 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, USE_PYTHON

lapmdb-hpl ~ #>> emerge -1v llvm mesa

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo  USE="libffi ncurses sanitize static-analyzer xml -clang -debug -default-compiler-rt -default-libcxx -doc -gold -libedit (-lldb) -multitarget -ocaml -python {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 0 KiB
[ebuild     U  ] media-libs/mesa-17.0.6::gentoo [13.0.5::gentoo] USE="classic dri3 egl gallium gbm gles2 llvm nptl wayland -bindist -d3d9 -debug -gles1 -opencl -openmax -osmesa -pax_kernel -pic (-selinux) -vaapi -valgrind -vdpau -vulkan -xa -xvmc (-gcrypt%) (-libressl%) (-nettle%*) (-openssl%)" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="intel radeon (-freedreno) -i915 -i965 -imx% -nouveau -r100 -r200 -r300 -r600 -radeonsi (-vc4) (-vivante) -vmware" 0 KiB

Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB

>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-devel/llvm-3.9.1-r1
 * Checking for at least 1100 MiB disk space at "/opt/tmp/portage/sys-devel/llvm-3.9.1-r1/temp" ...                                                              [ ok ]
>>> Emerging (1 of 2) sys-devel/llvm-3.9.1-r1::gentoo
>>> Installing (1 of 2) sys-devel/llvm-3.9.1-r1::gentoo
>>> Emerging (2 of 2) media-libs/mesa-17.0.6::gentoo
>>> Installing (2 of 2) media-libs/mesa-17.0.6::gentoo
>>> Jobs: 2 of 2 complete                           Load avg: 3.26, 4.83, 5.32
Comment 1 Andreas Sturmlechner gentoo-dev 2017-06-03 06:54:45 UTC
After upgrading GCC, a lot of packages need to be rebuilt. Did you do that?

https://www.gentoo.org/support/news-items/2015-10-22-gcc-5-new-c++11-abi.html
Comment 2 Andreas Sturmlechner gentoo-dev 2017-06-03 15:26:40 UTC
Closing after examining the build.log. Please don't submit bugs until you have successfully moved from GCC-4 to GCC-5 per the above news item.

Once you have rebuilt by using the command in the news item, *DO NOT SWITCH
BACK TO AN EARLIER GCC, EVER*.