I'm running 32-bit Gentoo. mesa is the last remaining package in the current emerge update. Just in case, I tried...
MAKEOPTS="-j1" emerge --changed-use --deep --update @world That did not help. Attached are the build log and output of emerge --info '=media-libs/mesa-17.1.8::gentoo' -- Walter Dnes <[email protected]> I don't run "desktop environments"; I run useful applications
eminfo.txt.gz
Description: Binary data
mesalog.txt.gz
Description: Binary data

