Opened 15 years ago

Closed 15 years ago

#22133 closed defect (duplicate)

dbus fails to build on snow leopard

Reported by: danielc@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: dbus

Description

dbus, which is a dependency for qt4-mac fails to build

--->  Fetching dbus
--->  Attempting to fetch dbus-1.2.16.tar.gz from http://distfiles.macports.org/dbus
--->  Verifying checksum(s) for dbus
--->  Extracting dbus
--->  Applying patches to dbus
--->  Configuring dbus
--->  Building dbus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/dbus-1.2.16" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in dbus
/usr/bin/make  all-am
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I..  -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/opt/local/var/lib/dbus/machine-id"\" -DDBUS_SYSTEM_CONFIG_FILE=\""/opt/local/etc/dbus-1/system.conf"\" -DDBUS_SESSION_CONFIG_FILE=\""/opt/local/etc/dbus-1/session.conf"\"  -I/opt/local/include  -O2 -arch x86_64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-address.lo -MD -MP -MF .deps/dbus-address.Tpo -c -o dbus-address.lo dbus-address.c
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I..  -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/opt/local/var/lib/dbus/machine-id"\" -DDBUS_SYSTEM_CONFIG_FILE=\""/opt/local/etc/dbus-1/system.conf"\" -DDBUS_SESSION_CONFIG_FILE=\""/opt/local/etc/dbus-1/session.conf"\"  -I/opt/local/include  -O2 -arch x86_64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-auth.lo -MD -MP -MF .deps/dbus-auth.Tpo -c -o dbus-auth.lo dbus-auth.c
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [dbus-auth.lo] Error 63
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [dbus-address.lo] Error 63
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: The following dependencies failed to build: dbus jpeg libmng autoconf help2man gettext libiconv gperf ncurses ncursesw p5-locale-gettext perl5 perl5.8 m4 automake lcms tiff libtool libpng openssl sqlite3 readline
Error: Status 1 encountered during processing.

Change History (6)

comment:1 Changed 15 years ago by chuck@…

Same thing here-- trying to build kdebase4

--->  Computing dependencies for kdebase4
--->  Building dbus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/dbus-1.2.16" && /usr/bin/make -j8 all " returned error 2
Command output: libtool: and run autoconf again.
make[3]: libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
*** [dbus-auth-script.lo] Error 63
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [dbus-connection.lo] Error 63
make[3]: *** [dbus-credentials.lo] Error 63
make[3]: *** [dbus-bus.lo] Error 63
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [dbus-keyring.lo] Error 63
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [dbus-errors.lo] Error 63
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Keywords: qt4-mac removed
Owner: changed from macports-tickets@… to mcalhoun@…

comment:3 in reply to:  2 Changed 15 years ago by ben@…

I'm a new user discovering MacPorts for the first time, and this is blocking almost everything I want to install. Same error here, it's dbus.

--->  Computing dependencies for dbus
--->  Building dbus
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_dbus/work/dbus-1.2.16" && /usr/bin/make -j2 all " returned error 2
Command output: /usr/bin/make  all-recursive
Making all in dbus
/usr/bin/make  all-am
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I..  -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/opt/local/var/lib/dbus/machine-id"\" -DDBUS_SYSTEM_CONFIG_FILE=\""/opt/local/etc/dbus-1/system.conf"\" -DDBUS_SESSION_CONFIG_FILE=\""/opt/local/etc/dbus-1/session.conf"\"  -I/opt/local/include  -O2 -arch x86_64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-address.lo -MD -MP -MF .deps/dbus-address.Tpo -c -o dbus-address.lo dbus-address.c
/bin/sh ../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I.. -I..  -fPIC -DDBUS_COMPILATION -DDBUS_MACHINE_UUID_FILE=\""/opt/local/var/lib/dbus/machine-id"\" -DDBUS_SYSTEM_CONFIG_FILE=\""/opt/local/etc/dbus-1/system.conf"\" -DDBUS_SESSION_CONFIG_FILE=\""/opt/local/etc/dbus-1/session.conf"\"  -I/opt/local/include  -O2 -arch x86_64 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wdeclaration-after-statement -fno-common -Wno-unused -Wno-sign-compare -Wno-pointer-sign -Wno-format -fno-strict-aliasing -MT dbus-auth.lo -MD -MP -MF .deps/dbus-auth.Tpo -c -o dbus-auth.lo dbus-auth.c
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from libtool 2.2.4.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [dbus-auth.lo] Error 63
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [dbus-address.lo] Error 63
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


comment:4 Changed 15 years ago by jxh@…

May be a dup of #21654. Try "sudo port install libtool && sudo port clean dbus && sudo port install dbus". This worked on SnowLeopard, MacOS 10.6, 32-bit, MacPorts 1.8.1.

comment:5 in reply to:  4 Changed 15 years ago by dmcguire@…

Replying to jxh@…:

May be a dup of #21654. Try "sudo port install libtool && sudo port clean dbus && sudo port install dbus". This worked on SnowLeopard, MacOS 10.6, 32-bit, MacPorts 1.8.1.

I was having the same problem. This solution works for me. SnowLeopard, MacOS 10.6.1, 32-bit, MacPorts 1.8.1.

Thanks!

comment:6 Changed 15 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.