Guest User

Untitled

a guest
Jul 31st, 2025
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.74 KB | None | 0 0
  1. /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c: In function ‘igraph_read_graph_graphml’:
  2. /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]
  3. 1614 | xmlSetStructuredErrorFunc(&state, &igraph_i_libxml_structured_error_handler);
  4. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. | |
  6. | void (*)(void *, xmlError *) {aka void (*)(void *, struct _xmlError *)}
  7. In file included from /usr/include/libxml2/libxml/valid.h:16,
  8. from /usr/include/libxml2/libxml/parser.h:20,
  9. from /usr/include/libxml2/libxml/HTMLparser.h:16,
  10. from /usr/include/libxml2/libxml/globals.h:18,
  11. from /tmp/makepkg/python-leidenalg/src/leidenalg-0.9.0/vendor/source/igraph/src/io/graphml.c:44:
  12. /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 *)’}
  13. 905 | xmlStructuredErrorFunc handler);
  14. | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
  15. /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
  16. 1534 | static void igraph_i_libxml_structured_error_handler(void* ctx, xmlErrorPtr error) {
  17. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. /usr/include/libxml2/libxml/xmlerror.h:871:16: note: ‘xmlStructuredErrorFunc’ declared here
  19. 871 | typedef void (*xmlStructuredErrorFunc) (void *userData, const xmlError *error);
  20. | ^~~~~~~~~~~~~~~~~~~~~~
  21. [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/dl-parser.c.o
  22. At top level:
  23. cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
  24. make[2]: *** [src/CMakeFiles/igraph.dir/build.make:1927: src/CMakeFiles/igraph.dir/io/graphml.c.o] Error 1
  25. make[2]: *** Attesa per i processi non terminati....
  26. [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/gml-lexer.c.o
  27. [ 87%] Building C object src/CMakeFiles/igraph.dir/io/parsers/gml-parser.c.o
  28. make[1]: *** [CMakeFiles/Makefile2:834: src/CMakeFiles/igraph.dir/all] Error 2
  29. make: *** [Makefile:156: all] Error 2
  30. Build failed for the C core of igraph.
  31.  
  32.  
  33. ERROR Backend subprocess exited when trying to invoke build_wheel
Advertisement
Add Comment
Please, Sign In to add comment