Opened 9 years ago

Closed 9 years ago

#50624 closed defect (worksforme)

cmake 3.4.3.0 - Building cmake fails on PPC/G4 Tiger/10.4.11

Reported by: zffjcgni@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: tiger Cc: cssdev, ryandesign (Ryan Carsten Schmidt)
Port: cmake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

See attached main.log

Last login: Sat Feb 13 09:41:15 on console
Welcome to Darwin!
PATH:/bin:/sbin:/usr/bin:/usr/sbin
PATH2:/opt/local/sbin:/opt/local/bin:/sw/bin:/sw/sbin:/Developer/usr/sbin:/Developer/usr/bin:/Developer/Tools:/usr/lib:/usr/libexec:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/z/utools/bin:/z/mytools/bin:/usr/share/ant/bin:/usr/X11R6/bin
NoZone:~ notdiego10$ sudo -s
Password:
NoZone:~ root# port version
Version: 2.3.4
NoZone:~ root# port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.3.4 installed,
MacPorts base version 2.3.4 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
NoZone:~ root# port upgrade outdated
--->  Computing dependencies for freetype
--->  Fetching archive for freetype
--->  Attempting to fetch freetype-2.6.3_0.darwin_8.ppc.tbz2 from http://packages.macports.org/freetype
--->  Attempting to fetch freetype-2.6.3_0.darwin_8.ppc.tbz2 from http://sea.us.packages.macports.org/macports/packages/freetype
--->  Attempting to fetch freetype-2.6.3_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/freetype
--->  Fetching distfiles for freetype
--->  Attempting to fetch freetype-2.6.3.tar.bz2 from http://distfiles.macports.org/freetype
--->  Attempting to fetch freetype-doc-2.6.3.tar.bz2 from http://distfiles.macports.org/freetype
--->  Verifying checksums for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Building freetype
--->  Staging freetype into destroot
--->  Installing freetype @2.6.3_0
--->  Cleaning freetype
--->  Computing dependencies for freetype
--->  Deactivating freetype @2.6.2_0
--->  Cleaning freetype
--->  Activating freetype @2.6.3_0
--->  Cleaning freetype
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
NoZone:~ root# port install megatools
--->  Computing dependencies for megatools
--->  Dependencies to be installed: glib-networking libproxy cmake vala osxfuse
--->  Fetching archive for cmake
--->  Attempting to fetch cmake-3.4.3_0.darwin_8.ppc.tbz2 from http://packages.macports.org/cmake
--->  Attempting to fetch cmake-3.4.3_0.darwin_8.ppc.tbz2 from http://sea.us.packages.macports.org/macports/packages/cmake
--->  Attempting to fetch cmake-3.4.3_0.darwin_8.ppc.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/cmake
--->  Fetching distfiles for cmake
--->  Verifying checksums for cmake
--->  Extracting cmake
--->  Applying patches to cmake
--->  Configuring cmake
--->  Building cmake
Error: org.macports.build for port cmake returned: command execution failed
Error: Failed to install cmake
Please see the log file for port cmake for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log
Error: The following dependencies were not installed: glib-networking libproxy cmake vala osxfuse
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port megatools failed
NoZone:~ root# date
Sat Feb 13 14:07:41 PST 2016
NoZone:~ root# 

Attachments (1)

main.log (511.5 KB) - added by zffjcgni@… 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by zffjcgni@…

Attachment: main.log added

comment:1 Changed 9 years ago by zffjcgni@…

Incidentally, this OS was completely reinstalled last week. New MacPorts install. /opt/local/bin/curl crashes as well.

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: css@… ryandesign@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…
Port: cmake added

I think you're running into a problem with the linker that's part of Xcode on Tiger, which was fixed long ago. The replacement linker is in the MacPorts ld64 port, and that should have been installed when you installed apple-gcc42. Or do you have apple-gcc42 installed with the +bootstrap variant? If so, please reinstall it without the +bootstrap variant.

comment:3 Changed 9 years ago by zffjcgni@…

Yes, you're right. Given the weirdness I've experienced in the few ports I had installed I decided to start over. Uninstalled and completely removed MacPorts and associated files. Re-installed, ran selfupdate, installed +bootstrap first (required) then noticed this in the output which I had missed last time. Wish that message had been more obvious and persistent... or automatically reinstalled with -bootstrap as part of the port.

--->  Activating apple-gcc42 @5666.3_15+bootstrap

Now please reinstall apple-gcc42 without the bootstrap variant by running:

sudo port install apple-gcc42

This will ensure that apple-gcc42 uses MacPorts versions of cctools and ld64 which are newer than the ones included with Xcode and will work better and prevent some ports from failing to build.

--->  Cleaning apple-gcc42

sudo port install apple-gcc42 -bootstrap has been running since last night, still going (building now) without errors. Will re-retry this port after it completes and report back if any problems but I think that you can consider this solved - user error. :) Sorry to bother you and thank you very much for the help.

comment:4 Changed 9 years ago by michaelld (Michael Dickens)

Resolution: worksforme
Status: newclosed

Awesome; glad that works. Thanks for the quick reply!

Note: See TracTickets for help on using tickets.