First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 130402
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Sound Team <sound@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alberto Zennaro <morph@ngi.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
powermac.patch Fix powermac error patch Alberto Zennaro 2006-04-18 13:38 0000 336 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 130402 depends on: Show dependency tree
Bug 130402 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-04-18 13:37 0000
Emerge fails with a powermac card on ~ppc.
Attached you find the patch from upstream.

------- Comment #1 From Alberto Zennaro 2006-04-18 13:38:36 0000 -------
Created an attachment (id=84919) [edit]
Fix powermac error

------- Comment #2 From Diego E. 'Flameeyes' Pettenò 2006-04-18 13:44:41 0000 -------
Thanks for the patch, applied to 1.0.11_rc5.

------- Comment #3 From Alberto Zennaro 2006-04-21 16:36:04 0000 -------
I'm reopening it because the 1.0.11 final has the same problem.

------- Comment #4 From Igor Rafienko 2006-04-22 07:23:43 0000 -------
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?

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2006-04-22 07:33:55 0000 -------
D'oh, thanks Igor, I actually overseen that, added it blindly :|

Fixed now :)

First Last Prev Next    No search results available      Search page      Enter new bug