media-libs/mesa-7.3-r1 includes in its SRC_URI a tarball with >60 patches, but does not actually apply any of them to the source before building, making this a meaningless upgrade. My assumption is that there is a missing line in src_unpack, containing: EPATCH_SUFFIX="patch" EPATCH_FORCE="yes" epatch or similar.
# ebuild mesa-7.3-r1.ebuild unpack Appending /home/portage/cvs.gentoo.org/gentoo-x86 to PORTDIR_OVERLAY... * mesa-7.3-gentoo-patches-01.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * MesaLib-7.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mesa-7.3-gentoo-patches-01.tar.bz2 ;-) ... [ ok ] * checking MesaLib-7.3.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mesa-7.3-gentoo-patches-01.tar.bz2 to /var/tmp/portage/media-libs/mesa-7.3-r1/work >>> Unpacking MesaLib-7.3.tar.bz2 to /var/tmp/portage/media-libs/mesa-7.3-r1/work * Applying various patches (bugfixes/updates) ... * 0001-docs-7.3-md5-sums.patch ... [ ok ] * 0002-docs-skeleton-7.4-release-notes-file.patch ... [ ok ] * 0003-mesa-set-version-to-7.4-for-mesa_7_4_branch.patch ... [ ok ] * 0004-docs-fix-typo.patch ... [ ok ] * 0005-intel-save-restore-GL-matrix-mode-in-intel_meta_set.patch ... [ ok ] * 0006-intel-check-if-stencil-test-is-enabled-in-intel_ste.patch ... [ ok ] * 0007-i965-widen-per-texture-bitfields-for-16-texture-ima.patch ... [ ok ] * 0008-i965-fix-bug-in-pass0_precalc_mov.patch ... [ ok ] * 0009-docs-i965-fixes.patch ... [ ok ] * 0010-mesa-remove-incorrect-refcounting-adjustment-in-adj.patch ... [ ok ] * 0011-mesa-add-missing-_mesa_reference_texobj-calls-for.patch ... [ ok ] * 0012-mesa-fix-incorrect-call-to-clear_teximage_fields.patch ... [ ok ] * 0013-docs-recent-bug-fixes-for-7.4.patch ... [ ok ] * 0014-mesa-move-code-after-decls.-Fixes-Window-build-fai.patch ... [ ok ] * 0015-dri2-Avoid-round-tripping-on-DRI2GetBuffers-for-the.patch ... [ ok ] * 0016-xlib-use-MESA_GLX_FORCE_DIRECT-to-make-glXIsDirect.patch ... [ ok ] * 0017-docs-document-new-MESA_GLX_FORCE_DIRECT-env-var-for.patch ... [ ok ] * 0018-docs-fixed-Windows-build-error-added-MESA_GLX_FORC.patch ... [ ok ] * 0019-glsl-replace-assertion-with-conditional-in-_slang_p.patch ... [ ok ] * 0020-swrast-return-0-0-0-1-when-sampling-incomplete-te.patch ... [ ok ] * 0021-mesa-fix-tnl-render_inputs_bitset-setup-for-fragme.patch ... [ ok ] * 0022-mesa-fix-logic-error-in-computing-enableBits-in-upd.patch ... [ ok ] * 0023-autoconf-Use-include-fixed-directory-with-makedepen.patch ... [ ok ] * 0024-dri2-support-glXWaitX-glXWaitGL-by-using-fake-fro.patch ... [ ok ] * 0026-mesa-fix-change-state-validation-order-for-program.patch ... [ ok ] * 0027-mesa-another-fix-for-program-texture-state-validati.patch ... [ ok ] * 0028-glsl-use-_slang_var_swizzle-in-a-few-places-to-si.patch ... [ ok ] * 0029-glsl-fix-incorrect-size-returned-by-glGetActiveUnif.patch ... [ ok ] * 0030-glsl-fix-glUniform-array-bounds-error-checking.patch ... [ ok ] * 0031-glsl-rework-_mesa_get_uniform-fi-v-to-avoid-using.patch ... [ ok ] * 0032-glsl-raise-GL_INVALID_OPERATION-for-glUniform-locat.patch ... [ ok ] * 0033-glsl-allow-setting-arrays-of-samplers-in-set_progra.patch ... [ ok ] * 0034-docs-recent-7.4-bug-fixes.patch ... [ ok ] * 0035-glsl-fix-an-array-indexing-bug.patch ... [ ok ] * 0036-glsl-fix-mistake-in-a-comment.patch ... [ ok ] * 0037-mesa-turn-on-reporting-of-GLSL-version-1.20.patch ... [ ok ] * 0038-glsl-silence-some-uninit-var-warnings.patch ... [ ok ] * 0039-docs-7.4-relnotes-report-GLSL-1.20-fixed-GLSL-arr.patch ... [ ok ] * 0040-glsl-fix-a-swizzle-related-regression.patch ... [ ok ] * 0041-mesa-increase-MAX_UNIFORMS-to-1024-of-vec4-type.patch ... [ ok ] * 0042-mesa-improved-error-msg.patch ... [ ok ] * 0043-glsl-fix-link-failure-for-variable-indexed-varying.patch ... [ ok ] * 0044-mesa-bump-gl.h-version-comment-to-7.4-bug-20170.patch ... [ ok ] * 0045-glsl-fix-inequality-in-set_program_uniform.patch ... [ ok ] * 0046-glsl-asst-improvements-clean-ups-in-set_program_un.patch ... [ ok ] * 0047-glsl-update-program-InputsRead-when-referencing-in.patch ... [ ok ] * 0048-mesa-fix-GLSL-issue-preventing-use-of-all-16-generi.patch ... [ ok ] * 0049-util-added-more-functions-to-extfuncs.h.patch ... [ ok ] * 0051-mesa-fixes-for-building-on-Haiku.patch ... [ ok ] * 0052-docs-Haiku-fixes.patch ... [ ok ] * 0053-glsl-fix-another-swizzle-related-bug.patch ... [ ok ] * 0054-glsl-yet-another-swizzled-expression-fix.patch ... [ ok ] * 0055-mesa-Build-DRI-by-default-on-Linux-sparc.patch ... [ ok ] * 0056-R300-Add-support-for-RS600-chips.patch ... [ ok ] * 0057-mesa-fix-incorrect-error-handling-in-glBufferDataAR.patch ... [ ok ] * 0058-mesa-if-a-buffer-object-is-mapped-when-glDeleteBuff.patch ... [ ok ] * 0059-mesa-set-bufObj-Pointer-NULL-after-unmapping.patch ... [ ok ] * 0060-mesa-update-fragResults-array-in-arb_output_attrib_.patch ... [ ok ] * 0061-mesa-fix-sw-fallback-state-validation-bug.patch ... [ ok ] * 0062-gl-update-glext.h-to-version-46.patch ... [ ok ] * 0063-docs-update-glext.h-to-version-46.patch ... [ ok ] * 0064-mesa-Fix-typo.patch ... [ ok ] * 0065-mesa-Reads-must-also-be-done-with-lock-held.patch ... [ ok ] * 0066-autoconf-Restore-_GNU_SOURCE-for-all-Linux-systems.patch ... [ ok ] * Done with patching * Removing DO_DEBUG defs in dri drivers... * Running eautoreconf in '/var/tmp/portage/media-libs/mesa-7.3-r1/work/Mesa-7.3' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] >>> Source unpacked in /var/tmp/portage/media-libs/mesa-7.3-r1/work And the patches are very much applied. There's nothing to fix AFAICS.
sorry, user error - for some reason the wrong version was built on my machine - trying again, everything works