Summary: | media-sound/rezound-0.12.3_beta-r2 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Patrick Lauer <patrick> |
Component: | New packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | groepaz, hodge, toralf, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2017-07-05 | ||
Attachments: | Patch to fix the compile error (missing mode argument) |
Description
Patrick Lauer
2014-06-30 03:31:19 UTC
Created attachment 425490 [details, diff]
Patch to fix the compile error (missing mode argument)
This patch fixes it for me.
Thanks, it worked here too. same issue here... how do i apply this patch during emerge? (In reply to groepaz from comment #3) > same issue here... how do i apply this patch during emerge? Create directory /etc/portage/patches/media-sound/rezound and put the patch there (not sure if its name needs to end with .patch, mine is). Then re-emerge. mmmh, that gives me the same result here *shrug* (In reply to groepaz from comment #5) > mmmh, that gives me the same result here *shrug* Make sure the file is readable by user portage all the way to directory rezound, and the patch itself. And I just checked, the filename must end with .patch. So the complete path should be something like: /etc/portage/patches/media-sound/rezound/rezound-missing-open-mode.patch If you emerge with --jobs=1 you can see it actually being applied at the beginning. i did exactly that ... chmod -R 755 on /etc/portage/patches - still no dice :( (In reply to groepaz from comment #7) > i did exactly that ... chmod -R 755 on /etc/portage/patches - still no dice > :( Check for typos in the path and make sure you see the lines: * Applying user patches from /etc/portage/patches//media-sound/rezound .. * rezound-missing-open-mode.patch ... when emerging with --jobs=1 Also, are you sure it's failing with the same error? checked for typos, i dont see those lines, and yes, its the same error (of course, since the patch was not applied :)) - some googling suggests that user patches do not work for every ebuild, and that you have to enable them globally with some hack first (not sure if i want that). perhaps that is the case here? (In reply to groepaz from comment #9) > checked for typos, i dont see those lines, and yes, its the same error (of > course, since the patch was not applied :)) - some googling suggests that > user patches do not work for every ebuild, and that you have to enable them > globally with some hack first (not sure if i want that). perhaps that is the > case here? Hmmm, now that you mention it. Sorry, I've completely forgotten that I did that in the past, the file /etc/portage/bashrc mentioned in https://wiki.gentoo.org/wiki//etc/portage/patches needs to exist. Mine is like this: pre_src_prepare() { if ! type epatch_user > /dev/null 2>&1; then local names="epatch_user epatch evar_push evar_push_set evar_pop estack_push estack_pop" source <(awk "/^# @FUNCTION: / { p = 0 } /^# @FUNCTION: (${names// /|})\$/ { p = 1; } p { print }" /usr/portage/eclass/eutils.eclass) fi epatch_user for name in $names; do unset $name done } The alternative requires more work, which is to duplicate the ebuild to /usr/local/portage/... and modify it to apply the patch. yeah, thats the "hack" i referred to ... i think i'll prefer to wait until this patch goes into the tree :) thanks anyway! *** Bug 582420 has been marked as a duplicate of this bug. *** *** Bug 586640 has been marked as a duplicate of this bug. *** this one is already very heavily patched and seems unmaintained upstream for years; ccing treecleaners # Michał Górny <mgorny@gentoo.org> (05 Jun 2017) # (on behalf of Treecleaner project) # Unmaintained upstream. Already suffers heavy patching in Gentoo. # Multiple bugs filed, including build failures. # Removal in 30 days. Bug #515760. media-sound/rezound commit 03d583af7161787c20d903985ae9715c2f554b5b Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Wed Jul 5 15:34:31 2017 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Wed Jul 5 15:35:46 2017 media-sound/rezound: Remove last-rited pkg, #515760 |