[MacPorts] #48265: Build of policykit 0.113 fails on Snow Leopard because _getline not found for architecture x86_64
#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
#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 Resolution: | Keywords: Port: policykit | ------------------------------+-------------------------------- Comment (by Peter_Dyballa@…): OS version is Mac OS X 10.5.8. -- Ticket URL: <https://trac.macports.org/ticket/48265#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#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: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: policykit | ------------------------------+-------------------------------- Changes (by devans@…): * cc: openmaintainer@… (removed) * status: new => closed * resolution: => fixed Comment: Fix for this issue committed in r138310. See also #48245. -- Ticket URL: <https://trac.macports.org/ticket/48265#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts