Summary: | qt4-build.eclass: CC, CXX, LINK variables has to be explicitly defined for all config.tests/*/*.test | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrey <ahipp0> |
Component: | Eclasses | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
proposed fix
fix empty sed arguments list |
Description
Andrey
2010-05-24 17:46:37 UTC
Created attachment 232759 [details, diff]
proposed fix
I rebuilt all modules with your patch applied and it seems to work fine. Thanks a lot! Fixed :) (In reply to comment #2) > I rebuilt all modules with your patch applied and it seems to work fine. Thanks > a lot! Fixed :) Thank you! :) As of the 05/26 version of the eclass, the find|xargs breaks the split qt-4.5.3 ebuilds; that version of qt does not have the string MAKE in its *.test files. The find needs to avoid giving sed(1) an emply list of files to edit, either by not grep(1)ing any out of the list, or by passing something like /dev/null as an additional input file. I would appreciate it if you have a quick patch for this since I don't use 4.5.X anymore to do local test Cheers Created attachment 233487 [details, diff]
fix empty sed arguments list
Fixes issue, pointed by James Cloos.
Patch against version 1.73 of qt4-build.eclass.
The patch isn't tested, because I don't have qt-4.5*.
By the way, passing /dev/null to sed won't work, because
sed: couldn't edit /dev/null: not a regular file
Now the eclass only seds if version is at least 4.6, which means that 4.5 is left alone. Thanks for reporting, please reopen if other problems appear. |