| Summary: | If no configure-flags are specified kdesrc-build failes with no hints | ||
|---|---|---|---|
| Product: | [Developer tools] kdesrc-build | Reporter: | Dario Cambié <dariocambie> |
| Component: | general | Assignee: | Michael Pyne <mpyne> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | wishlist | Keywords: | triaged |
| Priority: | NOR | ||
| Version First Reported In: | 1.15 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Proposed patch | ||
|
Description
Dario Cambié
2012-06-30 10:56:40 UTC
Created attachment 72233 [details]
Proposed patch
The patch works, but I would prefer to continue if configure-flags are left blank (under the assumption the user wants that behavior). However, the return value of getOption() at that point shouldn't be undefined, it should be empty (i.e. '') if the option isn't set, since configure-flags is also defined as a global option. Even then, Perl should still have split undef with a warning (that you saw) and at least tried to run configure. Was there any other log output (e.g. configure.log)? If leaving options off completely would cause the build to fail I'd prefer to know what options are required so that information could be given in the error message. Right now telling the user that the configuration file is incorrect doesn't help them figure out the right option to specify. Updating status. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |