[MacPorts] #48265: Build of policykit 0.113 fails on Snow Leopard because _getline not found for architecture x86_64
MacPorts
noreply at macports.org
Mon Jul 6 00:38:16 PDT 2015
#48265: Build of policykit 0.113 fails on Snow Leopard because _getline not found
for architecture x86_64
-----------------------------+--------------------------------
Reporter: Peter_Dyballa@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Keywords: | Port: policykit
-----------------------------+--------------------------------
{{{
/opt/local/include/glib-2.0/gio/gliststore.h: In function ‘G_LIST_STORE’:
/opt/local/include/glib-2.0/gio/gliststore.h:36: warning:
‘g_list_store_get_type’ is deprecated (declared at
/opt/local/include/glib-2.0/gio/gliststore.h:36)
/opt/local/include/glib-2.0/gio/gliststore.h: In function
‘G_IS_LIST_STORE’:
/opt/local/include/glib-2.0/gio/gliststore.h:36: warning:
‘g_list_store_get_type’ is deprecated (declared at
/opt/local/include/glib-2.0/gio/gliststore.h:36)
polkitagenthelperprivate.c: In function ‘read_cookie’:
polkitagenthelperprivate.c:65: warning: implicit declaration of function
‘getline’
polkitagenthelperprivate.c:65: warning: nested extern declaration of
‘getline’
polkitagenthelperprivate.c: In function ‘flush_and_wait’:
polkitagenthelperprivate.c:140: warning: implicit declaration of function
‘fdatasync’
polkitagenthelperprivate.c:140: warning: nested extern declaration of
‘fdatasync’
mv -f .deps/polkit_agent_helper_1-polkitagenthelperprivate.Tpo
.deps/polkit_agent_helper_1-polkitagenthelperprivate.Po
mv -f .deps/polkit_agent_helper_1-polkitagenthelper-pam.Tpo
.deps/polkit_agent_helper_1-polkitagenthelper-pam.Po
/bin/sh ../../libtool --tag=CC --mode=link /usr/bin/llvm-gcc-4.2 -arch
x86_64 -D_POLKIT_COMPILATION -D_REENTRANT -I/opt/local/include/gio-
unix-2.0/ -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -pipe -Os -I/usr/include -arch x86_64 -Wall -Wchar-
subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-
align -Wsign-compare -Wformat -Wformat-security -L/opt/local/lib
-Wl,-headerpad_max_install_names -L/usr/lib -arch x86_64 -o polkit-agent-
helper-1 polkit_agent_helper_1-polkitagenthelperprivate.o
polkit_agent_helper_1-polkitagenthelper-pam.o -lpam -L/opt/local/lib
-lgmodule-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl ../../src/polkit
/libpolkit-gobject-1.la
libtool: link: /usr/bin/llvm-gcc-4.2 -arch x86_64 -D_POLKIT_COMPILATION
-D_REENTRANT -I/opt/local/include/gio-unix-2.0/
-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
-I/opt/local/include -pipe -Os -I/usr/include -arch x86_64 -Wall -Wchar-
subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-
align -Wsign-compare -Wformat -Wformat-security
-Wl,-headerpad_max_install_names -arch x86_64 -o .libs/polkit-agent-
helper-1 polkit_agent_helper_1-polkitagenthelperprivate.o
polkit_agent_helper_1-polkitagenthelper-pam.o -L/opt/local/lib -L/usr/lib
-lpam ../../src/polkit/.libs/libpolkit-gobject-1.dylib
/opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libgio-2.0.dylib
/opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib
/opt/local/lib/libintl.dylib
Undefined symbols for architecture x86_64:
"_getline", referenced from:
_read_cookie in polkit_agent_helper_1-polkitagenthelperprivate.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[4]: *** [polkit-agent-helper-1] Error 1
make[4]: *** Waiting for unfinished jobs....
}}}
--
Ticket URL: <https://trac.macports.org/ticket/48265>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list