[MacPorts] #64954: boost177 @1.77.0+universal: error: 64-bit PPC compilation is not supported when targeting OSX 10.6 or later (was: boot does not build +universal)

MacPorts noreply at macports.org
Thu Apr 7 03:47:15 UTC 2022


#64954: boost177 @1.77.0+universal: error: 64-bit PPC compilation is not supported
when targeting OSX 10.6 or later
-----------------------+-----------------------
  Reporter:  kithrup   |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.2
Resolution:            |   Keywords:
      Port:  boost177  |
-----------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: mascguy (added)
 * owner:  (none) => michaelld
 * keywords:  universal =>
 * port:  bost177 => boost177


Old description:

> This seems to be the same as https://trac.macports.org/ticket/63045, but
> I actually *do* need universal.
> {{{
> sudo port install boost177 -no_single -no_static        --->  Computing
> dependencies for boost177
> --->  Fetching archive for boost177
> --->  Attempting to fetch
> boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
> https://packages.macports.org/boost177
> --->  Attempting to fetch
> boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
> https://ywg.ca.packages.macports.org/mirror/macports/packages/boost177
> --->  Attempting to fetch
> boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
> https://kmq.jp.packages.macports.org/boost177
> --->  Fetching distfiles for boost177
> --->  Verifying checksums for boost177
> --->  Extracting boost177
> --->  Applying patches to boost177
> --->  Configuring boost177
> --->  Building boost177
> Error: Failed to build boost177: command execution failed
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_releas_ports_devel_boost177/boost177/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port boost177 failed
> }}}
> (I also tried it with no options; the only one that did anything was
> `-universal`.)
>
> As far as I can tell, it... seems to be trying to compile PPC, although I
> have no idea why -- I changed `macports.conf` to have `universal_archs
> arm64 x86_64`.
>
> I tried running the build command manually; the output of that is
> attached as "output.txt".
>
> (I also tried uninstalling all of the ports and starting again.  Same
> behaviour.)

New description:

 This seems to be the same as #63045, but I actually *do* need universal.
 {{{
 sudo port install boost177 -no_single -no_static        --->  Computing
 dependencies for boost177
 --->  Fetching archive for boost177
 --->  Attempting to fetch
 boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
 https://packages.macports.org/boost177
 --->  Attempting to fetch
 boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/boost177
 --->  Attempting to fetch
 boost177-1.77.0_1+python310+universal.darwin_20.arm64-x86_64.tbz2 from
 https://kmq.jp.packages.macports.org/boost177
 --->  Fetching distfiles for boost177
 --->  Verifying checksums for boost177
 --->  Extracting boost177
 --->  Applying patches to boost177
 --->  Configuring boost177
 --->  Building boost177
 Error: Failed to build boost177: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_releas_ports_devel_boost177/boost177/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port boost177 failed
 }}}
 (I also tried it with no options; the only one that did anything was
 `-universal`.)

 As far as I can tell, it... seems to be trying to compile PPC, although I
 have no idea why -- I changed `macports.conf` to have `universal_archs
 arm64 x86_64`.

 I tried running the build command manually; the output of that is attached
 as "output.txt".

 (I also tried uninstalling all of the ports and starting again.  Same
 behaviour.)

--

Comment:

 > This seems to be the same as #63045, but I actually *do* need universal.

 I see no similarity with #63045. The error in that ticket's log was:

 {{{
 error: No best alternative for libs/context/build/asm_sources
 }}}

 while the error in this ticket's log is:

 {{{
 error: 64-bit PPC compilation is not supported when targeting OSX 10.6 or
 later
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64954#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list