[MacPorts] #67373: Building groff v1.22.4 with the '+universal' variant

MacPorts noreply at macports.org
Thu May 4 23:43:20 UTC 2023


#67373: Building groff v1.22.4 with the '+universal' variant
---------------------------+--------------------
 Reporter:  RobbieNutland  |      Owner:  (none)
     Type:  defect         |     Status:  new
 Priority:  Normal         |  Milestone:
Component:  ports          |    Version:
 Keywords:                 |       Port:  groff
---------------------------+--------------------
 Posting here in case someone else experiences the same problem.

 I was trying to build groff v1.22.4 with the universal variant on macOS
 10.13.6 to produce binaries for both i386 and x86_64 architecture.

 'port install groff +universal' would fail at the 'destroot' phase.
 Seemingly, multiple destroot directories were being created for each
 architecture type due to the way that muniversal defined the universal
 variant. This ultimately led to the destroot phase complaining that select
 files could not be merged as their architecture could not be identified by
 'libtool'/'lipo' or becuase they differed when evaluated through
 'cmp'/'diff'.

 To resolve this, it was necessary to comment out line 5 of the groff
 Portfile:

 PortGroup           muniversal 1.1

 To:

 #PortGroup           muniversal 1.1

 Subsequently, cleaning the port and reattempting an install of groff
 succeeded.
 Hope that helps - Rob.

-- 
Ticket URL: <https://trac.macports.org/ticket/67373>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list