[MacPorts] #64200: par2 @0.8.1+universal: Undefined symbols for architecture i386: ___atomic_compare_exchange ___atomic_load

MacPorts noreply at macports.org
Mon Dec 13 15:35:41 UTC 2021


#64200: par2 @0.8.1+universal: Undefined symbols for architecture i386:
___atomic_compare_exchange ___atomic_load
---------------------+----------------------
  Reporter:  RobK88  |      Owner:  (none)
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.7.1
Resolution:          |   Keywords:  lion
      Port:  par2    |
---------------------+----------------------

Comment (by RobK88):

 Thanks for the explanation.  I can see why you suggested that I give the
 `muniversal 1.0` PortGroup a try.

 P.S.  As you know, normally, Macports remembers the variants that were
 used when upgrading a port.  That did not happen here after I added
 `PortGroup muniversal 1.0` to the `par2` portfile.  Perhaps it has
 something to do with the `muniversal 1.0` PortGroup.

 Even with `PortGroup muniversal 1.0` added to the `par2` portfile, I am
 still unable to make the +universal build of `par2`.
 I see a pause when building.  As you said, it sure looks like the `par2`
 portfile with `PortGroup muniversal 1.0` added, is trying to perform at
 least two separate builds (one for x86 and another for x86_64?) but fails
 during the second build.  I will attach main.log with the hope it may
 provide some additional insight.

 So adding `PortGroup muniversal` 1.0 did NOT fix the problem.  But it was
 definitely worth a try.


 {{{
 bash-3.2$ sudo port clean par2
 --->  Cleaning par2
 bash-3.2$ sudo port install par2 +universal
 --->  Computing dependencies for par2
 --->  Fetching distfiles for par2
 --->  Verifying checksums for par2
 --->  Extracting par2
 --->  Configuring par2
 --->  Building par2
 Error: Failed to build par2: command execution failed
 Error: See
 /opt/local/var/macports/logs/_Users_grinch_Macports_ports_archivers_par2/par2/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port par2 failed
 bash-3.2$
 }}}

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


More information about the macports-tickets mailing list