[MacPorts] #70261: shared-mime-info @2.4_0: build failure on 10.11.6
MacPorts
noreply at macports.org
Thu Jun 20 07:52:28 UTC 2024
#70261: shared-mime-info @2.4_0: build failure on 10.11.6
--------------------+------------------------------
Reporter: tenzap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: shared-mime-info
--------------------+------------------------------
Build is failing with
port upgrade outdated
Log attached
{{{
:info:build [1/85] /opt/local/bin/clang-mp-16 -Isrc/test-subclassing.p
-Isrc -I../shared-mime-info-2.4/src -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2
-I/opt/local/include -fdiagnostics-color=always -O0 -g -pipe -Os -arch
x86_64 -nostdinc++ -MD -MQ src/test-subclassing.p/test-subclassing.c.o -MF
src/test-subclassing.p/test-subclassing.c.o.d -o src/test-subclassing.p
/test-subclassing.c.o -c ../shared-mime-info-2.4/src/test-subclassing.c
:info:build FAILED: src/test-subclassing.p/test-subclassing.c.o
:info:build /opt/local/bin/clang-mp-16 -Isrc/test-subclassing.p -Isrc -I
../shared-mime-info-2.4/src -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2
-I/opt/local/include -fdiagnostics-color=always -O0 -g -pipe -Os -arch
x86_64 -nostdinc++ -MD -MQ src/test-subclassing.p/test-subclassing.c.o -MF
src/test-subclassing.p/test-subclassing.c.o.d -o src/test-subclassing.p
/test-subclassing.c.o -c ../shared-mime-info-2.4/src/test-subclassing.c
:info:build ../shared-mime-info-2.4/src/test-subclassing.c:12:8: error:
call to undeclared function 'xmlReadFile'; ISO C99 and later do not
support implicit function declarations [-Wimplicit-function-declaration]
:info:build doc = xmlReadFile ("freedesktop.org.xml", NULL, 0);
:info:build ^
:info:build ../shared-mime-info-2.4/src/test-subclassing.c:12:6: error:
incompatible integer to pointer conversion assigning to 'xmlDocPtr' (aka
'struct _xmlDoc *') from 'int' [-Wint-conversion]
:info:build doc = xmlReadFile ("freedesktop.org.xml", NULL, 0);
:info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build 2 errors generated.
:info:build [2/85] /opt/local/bin/clang++-mp-16 -Isrc/update-mime-
database.p -Isrc -I../shared-mime-info-2.4/src
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include/libxml2 -I/opt/local/include -fdiagnostics-
color=always -D_LIBCPP_ENABLE_ASSERTIONS=1 -std=c++17 -O0 -g -pipe -Os
-Wno-reserved-user-defined-literal -Wno-error=unknown-warning-option -Wno-
unknown-warning-option -stdlib=libc++ -arch x86_64 -nostdinc++ -MD -MQ src
/update-mime-database.p/update-mime-database.cpp.o -MF src/update-mime-
database.p/update-mime-database.cpp.o.d -o src/update-mime-database.p
/update-mime-database.cpp.o -c ../shared-mime-info-2.4/src/update-mime-
database.cpp
:info:build ninja: build stopped: subcommand failed.
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_devel_shared-mime-info/shared-mime-
info/work/build" && /opt/local/bin/ninja -j2 -v
:info:build Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/70261>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list