Opened 12 years ago

Last modified 12 years ago

#34056 closed defect

cmake @2.8.7 cannot be built as an universal binary for ppc and intel — at Initial Version

Reported by: weltall2@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: css@…
Port: cmake

Description

Due to a recent change to the cmake ports it's not possible to build cmake anymore as an universal binary.

This is the main.log:

version:1
:error:main cmake cannot be installed for the configured universal_archs 'i386 ppc' because it only supports the arch(s) 'i386 x86_64'.
:debug:main invalid command name "::ui_init"
    while executing
"::ui_init any stdout"
    ("eval" body line 1)
    invoked from within
"eval ::ui_init $priority $prefix $channels($priority) $args"
    ("uplevel" body line 2)
    invoked from within
"uplevel 1 $body"
:error:main Unable to upgrade port: 1
:notice:main To report a bug, see <http://guide.macports.org/#project.tickets>

Analyzing the port file it seems now only ppc+ppc64 and i386+x86_64 universal binaries are supported while ppc+i386 is not supported anymore.

This seems to be caused by this change: https://trac.macports.org/changeset/91563/trunk/dports/devel/cmake/Portfile

I don't know where this time out specified in the commit log is happening as the commit doesn't give much information, but for sure removing that code results in a perfectly successful build on MacOSX Tiger of an universal ppc+i386 binary. Maybe it would be better to disable this build only for the MacOSX version with this "time out" problem?

Change History (0)

Note: See TracTickets for help on using tickets.