Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#64437 - [ledger] Python support got removed in 3.1.3-3
Attached to Project:
Community Packages
Opened by Baptiste (zorun) - Saturday, 09 November 2019, 18:36 GMT
Last edited by Ivy Foster (escondida) - Friday, 01 May 2020, 23:11 GMT
Opened by Baptiste (zorun) - Saturday, 09 November 2019, 18:36 GMT
Last edited by Ivy Foster (escondida) - Friday, 01 May 2020, 23:11 GMT
|
DetailsDescription:
Up until ledger 3.1.3-2, the ledger Python library was bundled with the package and working. However, it got removed in ledger 3.1.3-3, and the commit message does not explain why. Can you please enable Python support again? |
This task depends upon
Closed by Ivy Foster (escondida)
Friday, 01 May 2020, 23:11 GMT
Reason for closing: Fixed
Additional comments about closing: Ledger 3.2.0 includes python3 support.
Friday, 01 May 2020, 23:11 GMT
Reason for closing: Fixed
Additional comments about closing: Ledger 3.2.0 includes python3 support.
I'll see if I can fix it. Do you have any objection if I push a patch to fix & re-enable python support?
<pre>
[ 98%] Linking CXX executable ../ledger
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsUTF8String'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromFormat'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyModule_Create2'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromString'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `_Py_fopen'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromStringAndSize'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyBytes_AsString'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyBytes_Size'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsWideChar'
/usr/bin/ld: ../libledger.so.3: undefined reference to `boost::python::detail::init_module(char const*, void (*)())'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromEncodedObject'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsUTF8'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_InternFromString'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/ledger.dir/build.make:111: ledger] Error 1
make[1]: *** [CMakeFiles/Makefile2:98: src/CMakeFiles/ledger.dir/all] Error 2
[100%] Linking CXX executable ../../MathTests
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsUTF8String'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromFormat'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyModule_Create2'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromString'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `_Py_fopen'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromStringAndSize'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyBytes_AsString'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyBytes_Size'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsWideChar'
/usr/bin/ld: ../../libledger.so.3: undefined reference to `boost::python::detail::init_module(char const*, void (*)())'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_FromEncodedObject'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_AsUTF8'
/usr/bin/ld: /usr/lib64/libboost_python37.so.1.71.0: undefined reference to `PyUnicode_InternFromString'
collect2: error: ld returned 1 exit status
make[2]: *** [test/unit/CMakeFiles/MathTests.dir/build.make:156: MathTests] Error 1
make[1]: *** [CMakeFiles/Makefile2:310: test/unit/CMakeFiles/MathTests.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
</pre>
Otherwise you would only be adding the feature back for seven weeks.
https://github.com/ledger/ledger/compare/v3.1.3...master