Emerge fails with a powermac card on ~ppc. Attached you find the patch from upstream.
Created attachment 84919 [details, diff] Fix powermac error
Thanks for the patch, applied to 1.0.11_rc5.
I'm reopening it because the 1.0.11 final has the same problem.
Hmm... It looks like the unconditional patching with powermac.patch causes a bit of a problem on amd64 (or, perhaps, not only amd64): # emerge -Dvp alsa-driver [ebuild R ] media-sound/alsa-driver-1.0.11 USE="doc oss -debug" 0 kB # emerge -Dv alsa-driver (...) * Failed Patch: alsa-driver-1.0.11-powermac.patch ! *(/usr/portage/media-sound/alsa-driver/files/alsa-driver-1.0.11-powermac.patch) * * Include in your bugreport the contents of: * /var/tmp/portage/alsa-driver-1.0.11/temp/alsa-driver-1.0.11-powermac.patch-16038.out The file says that there is no file to patch. When I look into the powermac.patch, I see that it patches alsa-driver-1.0.11rc5/ppc/../alsa-kernel/ppc/pmac.c The file is there (at least alsa-kernel/ppc/pmac.c part is correct), but perhaps the patching should be delayed to src_unpack? It seems to me that under pkg_setup (where the epatch is issued), portage stays in whichever directory emerge is being run. In such a case, naturally, all attempts of epatch would fail miserably, as the patch itself assumes that we are somewhere in the alsa-driver tree. Any thoughts?
D'oh, thanks Igor, I actually overseen that, added it blindly :| Fixed now :)