FS#76100 - [python-pycparser] test fail prevents package update
Attached to Project:
Arch Linux
Opened by Panos (frostedpenguin) - Monday, 03 October 2022, 09:39 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 05 October 2022, 23:53 GMT
Opened by Panos (frostedpenguin) - Monday, 03 October 2022, 09:39 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 05 October 2022, 23:53 GMT
|
Details
Description:
when arch runs the test I get the following output ``` ---------------------------------------------------------------------- Ran 130 tests in 1.790s FAILED (failures=1) ==> ERROR: A failure occurred in check(). Aborting... -> error making: python2-pycparser ``` when I tried to run the tests from the repo directly they were all passing so it clearly has to do with the package Steps to reproduce: Try to update the package |
This task depends upon
> python2-pycparser
Where is the reference to python2 coming from?
[1] https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot
I managed to fix the problem by changing python2 to python in the PKGBUILD. I think this is the right way since this is how the examples are run in this [blogpost]: https://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers . I made a branch with the changes named `python2-to-python`. Does it work on your machine with those changes??
There is no reference to "python2" in the current PKGBUILD. No bug here.