| Summary: | python patch has typo, aborts build in scenario | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Mark Wickham <markw> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | buildroot |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | Proposed patch to python patch 005 | ||
Indeed this was a mistake in the patch, so: Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Just curious: how did you trigger the case where PYTHON_MODULES_LIB is not set ? In Buildroot, for both the host and target python, PYTHON_MODULES_LIB is passed in the environment (which is why I didn't see the problem). Committed, thanks |
Created attachment 2899 [details] Proposed patch to python patch 005 Pulled from git repository, CHANGES says: 2011-02, not yet released. python package patch file python-2.7-005-staging-headers-libs.patch has typo in modules_lib_dirs section, causing build abort if PYTHON_MODULES_LIB is not specified during build. + try: + modules_lib_dirs = os.environ["PYTHON_MODULES_LIB"].split() + except KeyError: + modules_include_dirs = ['/usr/lib'] modules_include_dirs should be modules_lib_dirs: + modules_lib_dirs = ['/usr/lib'] Proposed patch to patch is attached, or you could replace existing patch. No attribution is necessary. Thanks. Mark Wickham Digi International