Opened 6 years ago

Closed 6 years ago

#48265 closed defect (fixed)

Build of policykit 0.113 fails on Snow Leopard because _getline not found for architecture x86_64

Reported by: ballapete (Peter Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: dbevans (David B. Evans)
Port: policykit

Description

/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....

Attachments (1)

main.log (268.6 KB) - added by ballapete (Peter Dyballa) 6 years ago.
main.log

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by ballapete (Peter Dyballa)

Attachment: main.log added

main.log

comment:1 Changed 6 years ago by ballapete (Peter Dyballa)

OS version is Mac OS X 10.5.8.

comment:2 Changed 6 years ago by dbevans (David B. Evans)

Cc: openmaintainer@… removed
Resolution: fixed
Status: newclosed

Fix for this issue committed in r138310. See also #48245.

Note: See TracTickets for help on using tickets.