[MacPorts] #66711: appstream-glib fails with Undefined symbols for architecture x86_64 10.5
MacPorts
noreply at macports.org
Fri Feb 3 19:18:35 UTC 2023
#66711: appstream-glib fails with Undefined symbols for architecture x86_64 10.5
-----------------------------+---------------------
Reporter: rmottola | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: Leopard
Port: appstream-glib |
-----------------------------+---------------------
Comment (by rmottola):
Replying to myself... before deciding if apple gcc 4.2 needs to be
blackisted, the error is this:
{{{
[1/91] /usr/bin/gcc-4.2 -Ilibappstream-glib/libappstream-glib.8.dylib.p
-Ilibappstream-glib -I../hughsie-appstream-glib-572c1ea/libappstream-glib
-I. -I../hughsie-appstream-glib-572c1ea -I/opt/local/include/gdk-
pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0
-I/opt/local/include -Wall -Winvalid-pch -std=c99 -O0 -g
-D_XOPEN_SOURCE=500 -DAS_COMPILATION -pipe -Os -arch x86_64
'-DG_LOG_DOMAIN="As"' -MD -MQ libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o -MF libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o.d -o libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o -c ../hughsie-appstream-glib-572c1ea
/libappstream-glib/as-node.c
FAILED: libappstream-glib/libappstream-glib.8.dylib.p/as-node.c.o
/usr/bin/gcc-4.2 -Ilibappstream-glib/libappstream-glib.8.dylib.p
-Ilibappstream-glib -I../hughsie-appstream-glib-572c1ea/libappstream-glib
-I. -I../hughsie-appstream-glib-572c1ea -I/opt/local/include/gdk-
pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0
-I/opt/local/lib/glib-2.0/include -I/opt/local/include/gio-unix-2.0
-I/opt/local/include -Wall -Winvalid-pch -std=c99 -O0 -g
-D_XOPEN_SOURCE=500 -DAS_COMPILATION -pipe -Os -arch x86_64
'-DG_LOG_DOMAIN="As"' -MD -MQ libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o -MF libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o.d -o libappstream-glib/libappstream-
glib.8.dylib.p/as-node.c.o -c ../hughsie-appstream-glib-572c1ea
/libappstream-glib/as-node.c
In file included from ../hughsie-appstream-glib-572c1ea/libappstream-glib
/as-app.h:17,
from ../hughsie-appstream-glib-572c1ea/libappstream-glib
/as-node-private.h:14,
from ../hughsie-appstream-glib-572c1ea/libappstream-glib
/as-node.c:27:
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-enums.h:162:
warning: ‘AsIdKind’ is deprecated
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-enums.h:165:
warning: ‘AsIdKind’ is deprecated
In file included from ../hughsie-appstream-glib-572c1ea/libappstream-glib
/as-node-private.h:14,
from ../hughsie-appstream-glib-572c1ea/libappstream-glib
/as-node.c:27:
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-app.h:735: warning:
‘AsIdKind’ is deprecated
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-app.h:737: warning:
‘AsIdKind’ is deprecated
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-node.c:44: warning:
declaration does not declare anything
../hughsie-appstream-glib-572c1ea/libappstream-glib/as-node.c:49: warning:
declaration does not declare anythin
}}}
doesn't look at a compiler limitation, at a first glance.
--
Ticket URL: <https://trac.macports.org/ticket/66711#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list