Skip to content

[Bug] error feast with gcc-9.3 and python-3.8.2 #435

@dirteat

Description

@dirteat

hi there,
cannot compile grass version 7.8.2, 3 errors show up. Any help welcome.

1)grass-7.8.2/lib/python/ctypes
A lot of ---->
Error: /usr/include/sys/stat.h:235: Syntax error at '__buf'
Error: /usr/include/sys/stat.h:259: Syntax error at '__file'
Error: /usr/include/sys/stat.h:260: Syntax error at '__buf'
Status: Processing description list.
Warning: Member "def" of Struct "Option" has been renamed to "_def" because it has the same name as a Python keyword.
Status: Writing to OBJ.x86_64-mageia-linux-gnu/raster.py.
Status: Wrapping complete.
free(): invalid pointer
make[1]: *** [Makefile:102: OBJ.x86_64-mageia-linux-gnu/raster.py] Aborted (core dumped)
make[1]: *** Deleting file 'OBJ.x86_64-mageia-linux-gnu/raster.py'
make[1]: Leaving directory '/root/repos/grass/BUILD/grass-7.8.2/lib/python/ctypes'
make: *** [Makefile:81: default] Error 2

2)grass-7.8.2/display/d.linegraph

Traceback (most recent call last):
File "/root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/tools/g.html2man.py", line 45, in main
p.feed(line)
File "/usr/lib64/python3.8/html/parser.py", line 111, in feed
self.goahead(0)
File "/usr/lib64/python3.8/html/parser.py", line 173, in goahead
k = self.parse_endtag(i)
File "/usr/lib64/python3.8/html/parser.py", line 412, in parse_endtag
self.handle_endtag(tagname)
File "/root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/tools/ghtml.py", line 231, in handle_endtag
if self.pop() == tag:
File "/root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/tools/ghtml.py", line 185, in pop
self.excluded = self.excluded_stack.pop()
IndexError: pop from empty list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/tools/g.html2man.py", line 78, in
main()
File "/root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/tools/g.html2man.py", line 49, in main
(infile, err.lineno, err.offset, err.msg))
AttributeError: 'IndexError' object has no attribute 'lineno'
make: *** [../../include/Make/Html.make:11: /root/repos/grass/BUILD/grass-7.8.2/dist.x86_64-mageia-linux-gnu/docs/man/man1/d.linegraph.1] Error 1

  1. Same error in grass-7.8.2/man

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions