Package Details: python2-pycparser 2.21-2

Git Clone URL: https://aur.archlinux.org/python2-pycparser.git (read-only, click to copy)
Package Base: python2-pycparser
Description: C parser and AST generator written in Python
Upstream URL: https://github.com/eliben/pycparser
Licenses: BSD
Submitter: bionade24
Maintainer: matthewq337
Last Packager: matthewq337
Votes: 8
Popularity: 0.034152
First Submitted: 2022-01-08 16:10 (UTC)
Last Updated: 2024-06-30 19:35 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Pinned Comments

bionade24 commented on 2022-01-08 20:34 (UTC) (edited on 2022-01-08 20:40 (UTC) by bionade24)

If building the package fails for you, either build in a clean chroot or disable the tests, but at your own risk that the functionality will be faulty.

This package builds fine in a clean chroot: https://abs-cd.oscloud.info/cd_manager/python2-pycparser

This package is also available in my unofficial user repo: https://wiki.archlinux.org/title/Unofficial_user_repositories#oscloud

Latest Comments

« First ‹ Previous 1 2 3 4

Wennadocta commented on 2022-01-08 19:02 (UTC)

I have the same issue

evdinowork commented on 2022-01-08 19:01 (UTC) (edited on 2022-01-08 19:02 (UTC) by evdinowork)

build with chroot dosen't work since it requires systemd to build python-ply which is a dependancy for some reason edit: was using an aur helper, doing it the 'offical' way works

bionade24 commented on 2022-01-08 17:55 (UTC)

@maveric7911: And again, same message: Either build in a clean chroot or disable the tests, but at your own risk that the functionality will be faulty. The problem is that YOU don't build in a clean chroot, resulting in a build sideeffect, which is detected by the tests, so the build is aborted as it didn't passt the test.

This package builds fine in a clean chroot: https://abs-cd.oscloud.info/cd_manager/python2-pycparser

maveric7911 commented on 2022-01-08 17:36 (UTC)

Same problem, doesn't build with the error the other user states in their thread.

semeion commented on 2022-01-08 17:07 (UTC)

@bionade24 Oh yes, i got it, thank you

bionade24 commented on 2022-01-08 16:54 (UTC) (edited on 2022-01-08 20:32 (UTC) by bionade24)

@semeion: Either build in a clean chroot or disable the tests, but at your own risk that the functionality will be faulty.

This package builds fine in a clean chroot: https://abs-cd.oscloud.info/cd_manager/python2-pycparser

semeion commented on 2022-01-08 16:44 (UTC) (edited on 2022-01-08 16:52 (UTC) by semeion)

I can´t build, it is returning an error:


==> Making package: python2-pycparser 2.21-1 (sáb 08 jan 2022 13:40:58)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading python2-pycparser-2.21.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   131  100   131    0     0    450      0 --:--:-- --:--:-- --:--:--   450
100  274k  100  274k    0     0   326k      0 --:--:-- --:--:-- --:--:--  326k
==> Validating source files with sha512sums...
    python2-pycparser-2.21.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting python2-pycparser-2.21.tar.gz with bsdtar
==> Starting build()...
running build
running build_py
creating build
creating build/lib
creating build/lib/pycparser
copying pycparser/plyparser.py -> build/lib/pycparser
copying pycparser/c_parser.py -> build/lib/pycparser
copying pycparser/c_generator.py -> build/lib/pycparser
copying pycparser/c_ast.py -> build/lib/pycparser
copying pycparser/_build_tables.py -> build/lib/pycparser
copying pycparser/_ast_gen.py -> build/lib/pycparser
copying pycparser/__init__.py -> build/lib/pycparser
copying pycparser/ast_transforms.py -> build/lib/pycparser
copying pycparser/c_lexer.py -> build/lib/pycparser
creating build/lib/pycparser/ply
copying pycparser/ply/lex.py -> build/lib/pycparser/ply
copying pycparser/ply/ctokens.py -> build/lib/pycparser/ply
copying pycparser/ply/cpp.py -> build/lib/pycparser/ply
copying pycparser/ply/yacc.py -> build/lib/pycparser/ply
copying pycparser/ply/__init__.py -> build/lib/pycparser/ply
copying pycparser/ply/ygen.py -> build/lib/pycparser/ply
copying pycparser/_c_ast.cfg -> build/lib/pycparser
==> Starting check()...
Generating LALR tables
WARNING: 79 shift/reduce conflicts
WARNING: 37 reduce/reduce conflicts
WARNING: reduce/reduce conflict in state 27 resolved using rule (type_specifier -> atomic_specifier)
WARNING: rejected rule (empty -> <empty>) in state 27
WARNING: reduce/reduce conflict in state 87 resolved using rule (type_specifier -> atomic_specifier)
WARNING: rejected rule (empty -> <empty>) in state 87
WARNING: reduce/reduce conflict in state 437 resolved using rule (statement -> pppragma_directive)
WARNING: rejected rule (empty -> <empty>) in state 437
..............................................F...................................................................................
======================================================================
FAIL: test_all_examples (tests.test_examples.TestExamplesSucceed)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/mnemonic/.aur/python2-pycparser/python2-pycparser/src/pycparser-release_v2.21/tests/test_examples.py", line 29, in test_all_examples
    rc, 0, 'example "{}" failed with stdout =\n{}'.format(filename, stdout))
AssertionError: example "using_gcc_E_libc.py" failed with stdout =


----------------------------------------------------------------------
Ran 130 tests in 1.272s

FAILED (failures=1)
==> ERROR: A failure occurred in check().
    Aborting...