[MacPorts] #69524: rawstudio does not build again: error: unknown type name 'xmlDocPtr' etc.

MacPorts noreply at macports.org
Sun Mar 17 07:28:24 UTC 2024


#69524: rawstudio does not build again: error: unknown type name 'xmlDocPtr' etc.
--------------------------+--------------------------
 Reporter:  barracuda156  |      Owner:  barracuda156
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.9.1
 Keywords:                |       Port:  rawstudio
--------------------------+--------------------------
 {{{
 :info:build libtool: compile:  /opt/local/bin/gcc-mp-13 -DHAVE_CONFIG_H
 -I. -I.. -I.. -DWITH_GCONF -isystem/opt/local/include/LegacySupport
 -I/opt/local/include -Wall -fno-strict-aliasing
 -DPACKAGE_DATA_DIR=\"/opt/local/share\"
 -DPACKAGE_LIBRARY_DIR=\"/opt/local/lib/rawstudio/plugins\"
 -DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\"
 -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0
 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0
 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
 -I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0
 -I/opt/local/include/libpng16 -I/opt/local/include/libxml2
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DORBIT2=1
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/lensfun -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -pipe -Os -arch ppc -MT rs-lens-db-
 editor.lo -MD -MP -MF .deps/rs-lens-db-editor.Tpo -c rs-lens-db-editor.c
 -o rs-lens-db-editor.o >/dev/null 2>&1
 :info:build rs-lens-fix.c: In function 'rs_lens_fix_init':
 :info:build rs-lens-fix.c:248:9: error: unknown type name 'xmlDocPtr'
 :info:build   248 |         xmlDocPtr doc;
 :info:build       |         ^~~~~~~~~
 :info:build rs-lens-fix.c:249:9: error: unknown type name 'xmlNodePtr'
 :info:build   249 |         xmlNodePtr cur;
 :info:build       |         ^~~~~~~~~~
 :info:build rs-lens-fix.c:250:9: error: unknown type name 'xmlNodePtr'
 :info:build   250 |         xmlNodePtr entry = NULL;
 :info:build       |         ^~~~~~~~~~
 :info:build rs-lens-fix.c:250:28: warning: initialization of 'int' from
 'void *' makes integer from pointer without a cast [-Wint-conversion]
 :info:build   250 |         xmlNodePtr entry = NULL;
 :info:build       |                            ^~~~
 :info:build rs-lens-fix.c:251:9: error: unknown type name 'xmlChar'
 :info:build   251 |         xmlChar *val;
 :info:build       |         ^~~~~~~
 :info:build rs-lens-fix.c:266:15: warning: implicit declaration of
 function 'xmlParseFile' [-Wimplicit-function-declaration]
 :info:build   266 |         doc = xmlParseFile(filename);
 :info:build       |               ^~~~~~~~~~~~
 :info:build libtool: compile:  /opt/local/bin/gcc-mp-13 -DHAVE_CONFIG_H
 -I. -I.. -I.. -DWITH_GCONF -isystem/opt/local/include/LegacySupport
 -I/opt/local/include -Wall -fno-strict-aliasing
 -DPACKAGE_DATA_DIR=\"/opt/local/share\"
 -DPACKAGE_LIBRARY_DIR=\"/opt/local/lib/rawstudio/plugins\"
 -DPACKAGE_LOCALE_DIR=\"/opt/local/share/locale\"
 -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0
 -I/opt/local/include/at-spi-2.0 -I/opt/local/include/dbus-1.0
 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/gtk-3.0
 -I/opt/local/include/gio-unix-2.0 -I/opt/local/include/cairo
 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz
 -I/opt/local/include/pango-1.0 -I/opt/local/include/fribidi
 -I/opt/local/include/harfbuzz -I/opt/local/include/atk-1.0
 -I/opt/local/include/cairo -I/opt/local/include/pixman-1
 -I/opt/local/include/freetype2 -I/opt/local/include/gdk-pixbuf-2.0
 -I/opt/local/include/libpng16 -I/opt/local/include/libxml2
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -DORBIT2=1
 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/lensfun -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -pipe -Os -arch ppc -MT rs-filetypes.lo
 -MD -MP -MF .deps/rs-filetypes.Tpo -c rs-filetypes.c  -fno-common -DPIC -o
 .libs/rs-filetypes.o
 :info:build rs-lens-fix.c:275:15: warning: implicit declaration of
 function 'xmlDocGetRootElement' [-Wimplicit-function-declaration]
 :info:build   275 |         cur = xmlDocGetRootElement(doc);
 :info:build       |               ^~~~~~~~~~~~~~~~~~~~
 :info:build rs-lens-fix.c:276:21: warning: implicit declaration of
 function 'xmlStrcmp'; did you mean 'strcmp'? [-Wimplicit-function-
 declaration]
 :info:build   276 |         if (cur && (xmlStrcmp(cur->name, BAD_CAST
 "rawstudio-lens-fix") == 0))
 :info:build       |                     ^~~~~~~~~
 :info:build       |                     strcmp
 :info:build rs-lens-fix.c:276:34: error: invalid type argument of '->'
 (have 'int')
 :info:build   276 |         if (cur && (xmlStrcmp(cur->name, BAD_CAST
 "rawstudio-lens-fix") == 0))
 :info:build       |                                  ^~
 :info:build rs-lens-fix.c:276:42: error: 'BAD_CAST' undeclared (first use
 in this function)
 :info:build   276 |         if (cur && (xmlStrcmp(cur->name, BAD_CAST
 "rawstudio-lens-fix") == 0))
 :info:build       |                                          ^~~~~~~~
 :info:build rs-lens-fix.c:276:42: note: each undeclared identifier is
 reported only once for each function it appears in
 :info:build rs-lens-fix.c:276:50: error: expected ')' before string
 constant
 :info:build   276 |         if (cur && (xmlStrcmp(cur->name, BAD_CAST
 "rawstudio-lens-fix") == 0))
 :info:build       |                              ~
 ^~~~~~~~~~~~~~~~~~~~~
 :info:build       |                                                  )
 :info:build rs-lens-fix.c:278:26: error: invalid type argument of '->'
 (have 'int')
 :info:build   278 |                 cur = cur->xmlChildrenNode;
 :info:build       |                          ^~
 :info:build rs-lens-fix.c:281:44: error: invalid type argument of '->'
 (have 'int')
 :info:build   281 |                         if ((!xmlStrcmp(cur->name,
 BAD_CAST "lens")))
 :info:build       |                                            ^~
 :info:build rs-lens-fix.c:281:60: error: expected ')' before string
 constant
 :info:build   281 |                         if ((!xmlStrcmp(cur->name,
 BAD_CAST "lens")))
 :info:build       |                                        ~
 ^~~~~~~
 :info:build       |
 )
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69524>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list