i'm not really sure how i hit this, but.. Switching to xorg-x11 OpenGL interface... done * * ERROR: media-libs/mesa-7.0.2 failed. * Call stack: * ebuild.sh, line 1682: Called qa_call 'pkg_postinst' * ebuild.sh, line 44: Called pkg_postinst * mesa-7.0.2.ebuild, line 270: Called built_with_use 'x11-base/xorg-server' 'nptl' * eutils.eclass, line 1665: Called die * The specific snippet of code: * [[ -z ${PKG} ]] && die "Unable to resolve $1 to an installed package" * The die message: * Unable to resolve x11-base/xorg-server to an installed package * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-libs/mesa-7.0.2/temp/build.log'. * !!! FAILED postinst: 1 * GNU info directory index is up-to-date. the mesa ebuild contains this: # We need the outer check, because xorg-server may not be installed # first, and built_with_use() dies if the package isn't installed. if best_version x11-base/xorg-server; then if built_with_use x11-base/xorg-server nptl; then ewarn "Rebuild x11-base/xorg-server without USE=nptl" ewarn "or AIGLX (compiz, etc.) will not work." ewarn "This is because of a bug in the Mesa NPTL assembly code" ewarn "in all Mesa 7.0.x versions (Mesa 6.x is OK)." fi fi so i really don't know what's happening here.
jakub pointed out to me that best_version returns an empty string, and we should be using has_version instead, which works for me.
on my paludis system, I get the error (when trying to build xorg) !!! ERROR in x11-base/xorg-server-1.3.0.0-r2: !!! In pkg_setup at line 3796 !!! You must build xorg-server and mesa with the same nptl USE setting. and true, although I have globally 'nptl', mesa has '-motif (-nptl)' as default. As I don't have motif, the mismatched triggered the error. I this the same bug?
should I rebuild xorg with -nptl? should I wait for a patch in sync?
Made the has_version change, thanks. For the others on here, yes you do need to rebuild with -nptl for now because I have no plans of adding a patch unless someone submits one.
Donnie, I sent you a patch long ago trying to fix the NPTL breakage in Mesa assembly. Did it work or not?
Deafening silence on that one. Maybe you could post the patch here if you want if testing. I take it you have it working locally and you want wider testing. thx.
Because of #235789 I've had to mask every xorg-server above 1.5.0. With the one below 1.5.0 this still happens. Even though I've had mesa built with nptl. Apparently the reason is, xorg-server <1.5.0 doesn't know about this flag. Unfortunately, since #235789 hasn't been fixed in quite some time despite of the existing patch I ended up with no useable xserver I can build. I would probably reopen that one. I also add a comment on the other one. Thanks and greetings... Stephan
This is an odd bug that has gone on without a fix for some time. I have also masked every xorg-server above 1.4.2 and run into the same emerge problem. Mesa 6.5.2-r1 is installed with nptl - I've tried it both on and off. What, step-by-step, needs to be done to get a working xorg-server again on my gentoo x86_64 system? Kind regards...