[MacPorts] #45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because it needs Clang 3.4 which cannot be built

MacPorts noreply at macports.org
Sat Nov 29 10:59:07 PST 2014


#45832: defect: policykit 0.112_1 cannot be built on PPC Tiger and Leopard because
it needs Clang 3.4 which cannot be built
------------------------------+----------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  devans@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.3.2
Resolution:                   |   Keywords:
      Port:  policykit        |
------------------------------+----------------------

Comment (by braumann@…):

 I did these experimental steps and had success building both {{{mozjs17
 @17.0.0.2}}} and {{{policykit @0.104_1}}} on 10.5.8. PPC:

 {{{
 $ sudo port configure mozjs17 configure.compiler=gcc-4.2
 }}}

 {{{
 $ sudo nedit
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_mozjs17/mozjs17/work/mozjs17.0.0/mfbt
 /double-conversion/utils.h
 }}}


 Added the pattern as variant in capitals inside {{{utils.h}}}:

 {{{
 defined(__powerpc__) || defined(__POWERPC__)
 }}}

 Continued building:

 {{{
 $ sudo port install mozjs17 configure.compiler=gcc-4.2
 }}}

 {{{
 --->  Computing dependencies for mozjs17
 --->  Building mozjs17
 --->  Staging mozjs17 into destroot
 --->  Installing mozjs17 @17.0.0_2
 --->  Activating mozjs17 @17.0.0_2
 --->  Cleaning mozjs17
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 }}}

 Then have built {{{policykit}}}:

 {{{
 $ sudo port upgrade policykit
 }}}

 {{{
 --->  Computing dependencies for policykit
 --->  Fetching archive for policykit
 --->  Attempting to fetch policykit-0.112_1.darwin_9.ppc.tbz2 from
 http://nue.de.packages.macports.org/macports/package/policykit
 --->  Attempting to fetch policykit-0.112_1.darwin_9.ppc.tbz2 from
 http://lil.fr.packages.macports.org/policykit
 --->  Attempting to fetch policykit-0.112_1.darwin_9.ppc.tbz2 from
 http://mse.uk.packages.macports.org/site/packages.macports.org/policykit
 --->  Fetching distfiles for policykit
 --->  Attempting to fetch polkit-0.112.tar.gz from
 http://nue.de.distfiles.macports.org/macports/distfiles/policykit
 --->  Verifying checksums for policykit
 --->  Extracting policykit
 --->  Applying patches to policykit
 --->  Configuring policykit
 --->  Building policykit
 --->  Staging policykit into destroot
 --->  Installing policykit @0.112_1
 --->  Cleaning policykit
 --->  Computing dependencies for policykit
 --->  Deactivating policykit @0.104_1
 --->  Cleaning policykit
 --->  Activating policykit @0.112_1
 --->  Cleaning policykit
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45832#comment:9>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list