Opened 17 months ago
Last modified 17 months ago
#67373 accepted defect
Building groff v1.22.4 with the '+universal' variant — at Initial Version
Reported by: | RobbieNutland (Robbie Nutland) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | groff |
Description
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.