Hi I have just switched from Fink to Macports and want to set up Gnome. The install fails when trying to install dbus. I am running osx 10.3.9, xdarwin 1.3.0, xfree86 4.4.0 on a g5 imac Here is the output which looks the same as http://trac.macosforge.org/projects/macports/ticket/10659 -------------------- ---> Fetching dbus ---> Attempting to fetch dbus-0.92.tar.gz from http://dbus.freedesktop.org/releases/ ---> Verifying checksum(s) for dbus ---> Extracting dbus ---> Configuring dbus ---> Building dbus with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_devel_dbus/work/dbus-0.92" && make all" returned error 2 Command output: dbus-string.c: In function `_dbus_string_insert_alignment': dbus-string.c:1171: warning: unused variable `real' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-string.lo -MD -MP -MF .deps/dbus-string.Tpo -c dbus-string.c -o dbus-string.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-sysdeps.lo -MD -MP -MF ".deps/dbus-sysdeps.Tpo" -c -o dbus-sysdeps.lo dbus-sysdeps.c; \ then mv -f ".deps/dbus-sysdeps.Tpo" ".deps/dbus-sysdeps.Plo"; else rm -f ".deps/dbus-sysdeps.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-sysdeps.lo -MD -MP -MF .deps/dbus-sysdeps.Tpo -c dbus-sysdeps.c -fno-common -DPIC -o .libs/dbus-sysdeps.o dbus-sysdeps.c: In function `_dbus_read_credentials_unix_socket': dbus-sysdeps.c:971: warning: implicit declaration of function `getpeereid' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-sysdeps.lo -MD -MP -MF .deps/dbus-sysdeps.Tpo -c dbus-sysdeps.c -o dbus-sysdeps.o >/dev/null 2>&1 if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-userdb.lo -MD -MP -MF ".deps/dbus-userdb.Tpo" -c -o dbus-userdb.lo dbus-userdb.c; \ then mv -f ".deps/dbus-userdb.Tpo" ".deps/dbus-userdb.Plo"; else rm -f ".deps/dbus-userdb.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-userdb.lo -MD -MP -MF .deps/dbus-userdb.Tpo -c dbus-userdb.c -fno-common -DPIC -o .libs/dbus-userdb.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DDBUS_COMPILATION -DDBUS_API_SUBJECT_TO_CHANGE=1 -I/opt/local/include -L/opt/local/lib -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -MT dbus-userdb.lo -MD -MP -MF .deps/dbus-userdb.Tpo -c dbus-userdb.c -o dbus-userdb.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -no-cpp-precomp -flat_namespace -undefined suppress -L/opt/local/lib -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -o libdbus-1.la -rpath /opt/local/lib -export-symbols-regex "^[^_].*" -version-info 3:0:0 -no-undefined dbus-address.lo dbus-auth.lo dbus-auth-script.lo dbus-bus.lo dbus-connection.lo dbus-errors.lo dbus-keyring.lo dbus-marshal-header.lo dbus-marshal-byteswap.lo dbus-marshal-recursive.lo dbus-marshal-validate.lo dbus-message.lo dbus-object-tree.lo dbus-pending-call.lo dbus-resources.lo dbus-server.lo dbus-server-debug-pipe.lo dbus-server-unix.lo dbus-sha.lo dbus-signature.lo dbus-timeout.lo dbus-threads.lo dbus-transport.lo dbus-transport-unix.lo dbus-watch.lo dbus-dataslot.lo dbus-hash.lo dbus-internals.lo dbus-list.lo dbus-marshal-basic.lo dbus-memory.lo dbus-mempool.lo dbus-string.lo dbus-sysdeps.lo dbus-userdb.lo generating symbol list for `libdbus-1.la' /usr/bin/nm -p .libs/dbus-address.o .libs/dbus-auth.o .libs/dbus-auth-script.o .libs/dbus-bus.o .libs/dbus-connection.o .libs/dbus-errors.o .libs/dbus-keyring.o .libs/dbus-marshal-header.o .libs/dbus-marshal-byteswap.o .libs/dbus-marshal-recursive.o .libs/dbus-marshal-validate.o .libs/dbus-message.o .libs/dbus-object-tree.o .libs/dbus-pending-call.o .libs/dbus-resources.o .libs/dbus-server.o .libs/dbus-server-debug-pipe.o .libs/dbus-server-unix.o .libs/dbus-sha.o .libs/dbus-signature.o .libs/dbus-timeout.o .libs/dbus-threads.o .libs/dbus-transport.o .libs/dbus-transport-unix.o .libs/dbus-watch.o .libs/dbus-dataslot.o .libs/dbus-hash.o .libs/dbus-internals.o .libs/dbus-list.o .libs/dbus-marshal-basic.o .libs/dbus-memory.o .libs/dbus-mempool.o .libs/dbus-string.o .libs/dbus-sysdeps.o .libs/dbus-userdb.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libdbus-1.exp /usr/bin/nm: no name list /usr/bin/nm: no name list grep -E -e "^[^_].*" ".libs/libdbus-1.exp" > ".libs/libdbus-1.expT" mv -f ".libs/libdbus-1.expT" ".libs/libdbus-1.exp" sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < .libs/libdbus-1.exp > .libs/libdbus-1-symbols.expsym gcc -dynamiclib -o .libs/libdbus-1.3.0.0.dylib .libs/dbus-address.o .libs/dbus-auth.o .libs/dbus-auth-script.o .libs/dbus-bus.o .libs/dbus-connection.o .libs/dbus-errors.o .libs/dbus-keyring.o .libs/dbus-marshal-header.o .libs/dbus-marshal-byteswap.o .libs/dbus-marshal-recursive.o .libs/dbus-marshal-validate.o .libs/dbus-message.o .libs/dbus-object-tree.o .libs/dbus-pending-call.o .libs/dbus-resources.o .libs/dbus-server.o .libs/dbus-server-debug-pipe.o .libs/dbus-server-unix.o .libs/dbus-sha.o .libs/dbus-signature.o .libs/dbus-timeout.o .libs/dbus-threads.o .libs/dbus-transport.o .libs/dbus-transport-unix.o .libs/dbus-watch.o .libs/dbus-dataslot.o .libs/dbus-hash.o .libs/dbus-internals.o .libs/dbus-list.o .libs/dbus-marshal-basic.o .libs/dbus-memory.o .libs/dbus-mempool.o .libs/dbus-string.o .libs/dbus-sysdeps.o .libs/dbus-userdb.o -L/opt/local/lib -install_name /opt/local/lib/libdbus-1.3.dylib -Wl,-compatibility_version -Wl,4 -Wl,-current_version -Wl,4.0 ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _getpeereid /usr/bin/libtool: internal link edit command failed make[3]: *** [libdbus-1.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: Status 1 encountered during processing. ----------------- Any tips or advice on workarounds would be greatly appreciated!
On 7 sep 2006, at 12.23, pasky wrote:
Hi I have just switched from Fink to Macports and want to set up Gnome. The install fails when trying to install dbus. I am running osx 10.3.9, xdarwin 1.3.0, xfree86 4.4.0 on a g5 imac Here is the output which looks the same as http://trac.macosforge.org/projects/macports/ticket/10659
--------------------
---> Fetching dbus ---> Attempting to fetch dbus-0.92.tar.gz from http:// dbus.freedesktop.org/releases/ ---> Verifying checksum(s) for dbus
<snip>
ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _getpeereid /usr/bin/libtool: internal link edit command failed make[3]: *** [libdbus-1.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
I've seen problems with _getpeerid when trying software built for Tiger(10.4) on Panther(10.3). AFAICS getpeereid isn't available on Panther. deric@roguewave:~> otool -Tv /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/ libSystem.B.dylib | grep getpeereid getpeereid.So _getpeereid deric@roguewave:~> otool -Tv /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/ libSystem.B.dylib | grep getpeereid I don't know if it's possible to target getpeereid-less platforms in the dbus-build.
Any tips or advice on workarounds would be greatly appreciated!
dbus jumped from 0.61 to 0.92 on the last change to the Portfile[1]. It says 0.92 is API compatible with 0.62 so I'd try to make a local port for 0.62 or grab the Portfile as of r17753[2] for dbus 0.61. [1] http://trac.macosforge.org/projects/macports/log/trunk/dports/ devel/dbus/Portfile [2] http://trac.macosforge.org/projects/macports/browser/trunk/dports/ devel/dbus/Portfile?rev=17753 - Daniel
Thankyou for the advice. I tried installing 0.61 from a local portfile but ended up getting the same error message... ...so unless there is a way of bypassing dbus en-route to getting Gnome set up, I'll probably have to upgrade OS X. On 7 Sep 2006, at 21:49, Daniel Ericsson wrote:
On 7 sep 2006, at 12.23, pasky wrote:
Hi I have just switched from Fink to Macports and want to set up Gnome. The install fails when trying to install dbus. I am running osx 10.3.9, xdarwin 1.3.0, xfree86 4.4.0 on a g5 imac Here is the output which looks the same as http://trac.macosforge.org/projects/macports/ticket/10659
--------------------
---> Fetching dbus ---> Attempting to fetch dbus-0.92.tar.gz from http://dbus.freedesktop.org/releases/ ---> Verifying checksum(s) for dbus
<snip>
ld: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _getpeereid /usr/bin/libtool: internal link edit command failed make[3]: *** [libdbus-1.la] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Error: Status 1 encountered during processing.
I've seen problems with _getpeerid when trying software built for Tiger(10.4) on Panther(10.3). AFAICS getpeereid isn't available on Panther.
deric@roguewave:~> otool -Tv /Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib | grep getpeereid getpeereid.So _getpeereid deric@roguewave:~> otool -Tv /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libSystem.B.dylib | grep getpeereid
I don't know if it's possible to target getpeereid-less platforms in the dbus-build.
Any tips or advice on workarounds would be greatly appreciated!
dbus jumped from 0.61 to 0.92 on the last change to the Portfile[1].
It says 0.92 is API compatible with 0.62 so I'd try to make a local port for 0.62 or grab the Portfile as of r17753[2] for dbus 0.61.
[1] http://trac.macosforge.org/projects/macports/log/trunk/dports/devel/ dbus/Portfile [2] http://trac.macosforge.org/projects/macports/browser/trunk/dports/ devel/dbus/Portfile?rev=17753
- Daniel -- This email has been verified as Virus free Virus Protection and more available at http://www.plus.net
participants (2)
-
Daniel Ericsson
-
pasky