#65984 closed defect (fixed)
py310-libxml2 @2.10.2: Build fails on G4/PPC 10.5.8: libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyObject’
Reported by: | xanda-escuyer (xanda) | Owned by: | kencu (Ken) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | ||
Port: | py310-libxml2 |
Description
:info:build libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyObject’
Build fails with the above error message.
Attachments (1)
Change History (5)
Changed 2 years ago by xanda-escuyer (xanda)
Attachment: | py310-libxml2-main.log added |
---|
comment:1 Changed 2 years ago by kencu (Ken)
this worked -- just a typo I think:
$ cat patch-py-libxml-deprecation-typo.diff --- python/libxml_wrap.h.orig 2022-10-12 17:40:56.000000000 -0700 +++ python/libxml_wrap.h 2022-10-12 17:41:04.000000000 -0700 @@ -71,7 +71,7 @@ #define XML_POP_WARNINGS \ _Pragma("GCC diagnostic pop") #else -#define XML_IGNORE_PEDANTIC_WARNINGS +#define XML_IGNORE_DEPRECATION_WARNINGS #define XML_POP_WARNINGS #endif
comment:2 Changed 2 years ago by kencu (Ken)
Summary: | Build fails on G4/PPC 10.5.8: libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyObject’ → py310-libxml2 @2.10.2: Build fails on G4/PPC 10.5.8: libxml2-py.c:196: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyObject’ |
---|
comment:3 Changed 2 years ago by kencu (Ken)
Owner: | set to kencu |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 2 years ago by kencu (Ken)
this issue has already been fixed upstream by https://gitlab.gnome.org/GNOME/libxml2/-/commit/0d9012585926d6dc0f9bf563b8302c0f2e54876c which will come out in the next version update
Note: See
TracTickets for help on using
tickets.
Build main.log