[MacPorts] #34056: cmake @2.8.7 cannot be built as an universal binary for ppc and intel

MacPorts noreply at macports.org
Mon Apr 16 06:22:24 PDT 2012


#34056: cmake  @2.8.7 cannot be built as an universal binary for ppc and intel
--------------------------------+-------------------------------------------
 Reporter:  weltall2@…          |       Owner:  css@…           
     Type:  defect              |      Status:  new             
 Priority:  Normal              |   Milestone:                  
Component:  ports               |     Version:  2.0.4           
 Keywords:                      |        Port:  cmake           
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: css@… (removed)
 * cc: jeremyhu@… (added)
  * keywords:  cmake =>
  * owner:  macports-tickets@… => css@…


Old 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?

New 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: r91563

 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?

--

Comment:

 The "Dev timeout" referenced in the commit message refers to our usual
 [http://guide.macports.org/#project.update-policies.nonmaintainer 72-hour
 response waiting period]; if a maintainer has not responded to an inquiry
 within that time period, other committers, in this case Jeremy, can go
 ahead with the proposed changes anyway.

 I'm Cc'ing Jeremy to explain why this change was made.

-- 
Ticket URL: <https://trac.macports.org/ticket/34056#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list