View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005131 | DarkRadiant | Compilation/Build | public | 20.01.2020 19:58 | 08.11.2020 18:35 |
| Reporter | jonri | Assigned To | greebo | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Linux | OS | Arch | ||
| Product Version | 2.7.0 | ||||
| Fixed in Version | 2.8.0 | ||||
| Summary | 0005131: Python 3.8 does not get linked | ||||
| Description | When I built darkradiant, the scripting function was missing, with errors about undefined symbols printed to the log. It turns out that as of python 3.8, python-config --libs does not provide the argument to link python itself. A new --embed option was added which provides this instead. Example: $ python-config --libs -lcrypt -lpthread -ldl -lutil -lm -lm $ python-config --libs --embed -lpython3.8 -lcrypt -lpthread -ldl -lutil -lm -lm Here's the python commit that added --embed: https://github.com/python/cpython/pull/13500 | ||||
| Steps To Reproduce | Build darkradiant on a system with python 3.8 | ||||
| Additional Information | Adding --embed in addition to --libs fixed the problem for me, but I have not tested whether this is backwards-compatible to earlier versions of python. If --embed causes earlier versions to fail, you may need to have a fallback to call --libs only. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 20.01.2020 19:58 | jonri | New Issue | |
| 21.01.2020 07:27 | greebo | Status | new => acknowledged |
| 21.01.2020 07:27 | greebo | Note Added: 0012155 | |
| 22.03.2020 11:35 | greebo | Assigned To | => greebo |
| 22.03.2020 11:35 | greebo | Status | acknowledged => assigned |
| 22.03.2020 11:35 | greebo | Changeset attached | => DarkRadiant master e9fc31ef |
| 22.03.2020 11:35 | greebo | Resolution | open => fixed |
| 22.03.2020 11:35 | greebo | Fixed in Version | => 2.8.0 |
| 22.03.2020 11:36 | greebo | Status | assigned => resolved |
| 22.03.2020 11:36 | greebo | Note Added: 0012290 | |
| 08.11.2020 18:35 | greebo | Status | resolved => closed |