New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #21654 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

dbus needs a dependency on libtool

Reported by: gbjsmith@… Owned by: mcalhoun@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: dbus

Description

Building gtk still fails as is described in bug number 20997.

Platform: PowerMac G5 OS: Mac OS X 10.5.8 with all updates available Tools: Xcode 3.1.4 MacPorts: 1.8.0 freshly installed

There are several issues with doing this build:

% sudo port install gedit

First, I completely uninstalled MacPorts per the docs:

% sudo rm -rf /opt/local /Applications/MacPorts/ /Library/Tcl/macports1.0/ /Library/Receipts/MacPorts-1.8.0.pkg/ ~/.macports/

Second, I installed MacPorts 1.8.0 from the .dmg file

Next, I edited /opt/local/etc/macports/macports.conf to set the value of "build_arch" to "ppc"

Next, I edited /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/glib2/Portfile to make the changes in the glib2 Portfile as suggested in the patch included with bug number 20372.

Then I ran "sudo port install gedit"

It ran till it got an error from a missing install of libtool while compiling dbus... so I just ran "sudo port install libtool" which completed ok, and then ran "sudo port install gedit" again.

It ran till it got the dreaded error "gtk-update-icon-cache: The generated cache was invalid."

issue 1: macports.conf doesn't seem to be set correctly for building on PPC

issue 2: libtool is a dependency for gedit but it doesn't get built before dbus where it is frist needed

issue 3: gtk2 still won't build on PPC even with suggested fixes from 20372 and 20997.

Just did a clean install of Macports 1.8.0 and Xcode 3.1.4 on a MacPro quad core running 10.5.8 and without making any changes to Macport files, the command

% sudo port install gedit

will successfully build gtk2 except that it still has the dependency problem of issue 2 mentioned above where it gets an error when building dbus since libtool has not been built yet.

Attachments

attachment.txt (9.5 KB) - added by gbjsmith@… 4 years ago.
log of failing build of gtk2 on PPC platform

Change History

Changed 4 years ago by gbjsmith@…

log of failing build of gtk2 on PPC platform

comment:1 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to mcalhoun@…
  • Port set to dbus
  • Summary changed from several issues still exist with building gtk with MacPorts 1.8.0 on PPC platform to dbus needs a dependency on libtool

There only appears to be one real actionable non-duplicate issue here. #20372 is still open and the build_arch defaults are fine.

comment:2 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.