Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c: In function ‘igraph_read_graph_graphml’:
- /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c:1614:39: error: passing argument 2 of ‘xmlSetStructuredErrorFunc’ from incompatible pointer type [-Wincompatible-pointer-types]
- 1614 | xmlSetStructuredErrorFunc(&state, &igraph_i_libxml_structured_error_handler);
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | |
- | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
- In file included from /usr/include/libxml2/libxml/valid.h:16,
- from /usr/include/libxml2/libxml/parser.h:20,
- from /usr/include/libxml2/libxml/HTMLparser.h:16,
- from /usr/include/libxml2/libxml/globals.h:18,
- from /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c:44:
- /usr/include/libxml2/libxml/xmlerror.h:905:57: note: expected ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void *, const struct _xmlError *)’} but argument is of type ‘void (*)(void *, xmlError *)’ {aka ‘void (*)(void *, struct _xmlError *)’}
- 905 | xmlStructuredErrorFunc handler);
- | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
- /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c:1534:13: note: ‘igraph_i_libxml_structured_error_handler’ declared here
- 1534 | static void igraph_i_libxml_structured_error_handler(void* ctx, xmlErrorPtr error) {
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/include/libxml2/libxml/xmlerror.h:871:16: note: ‘xmlStructuredErrorFunc’ declared here
- 871 | typedef void (*xmlStructuredErrorFunc) (void *userData, const xmlError *error);
- | ^~~~~~~~~~~~~~~~~~~~~~
- [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/dl-parser.c.o
- At top level:
- cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
- make[2]: *** [src/CMakeFiles/igraph.dir/build.make:1927: src/CMakeFiles/igraph.dir/io/graphml.c.o] Error 1
- make[2]: *** Attesa per i processi non terminati....
- [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/gml-lexer.c.o
- [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/gml-parser.c.o
- make[1]: *** [CMakeFiles/Makefile2:834: src/CMakeFiles/igraph.dir/all] Error 2
- make: *** [Makefile:156: all] Error 2
- Build failed for the C core of igraph.
- ERROR Backend subprocess exited when trying to invoke build_wheel
Advertisement
Add Comment
Please, Sign In to add comment