Opened 17 months ago

Last modified 17 months ago

#67373 accepted defect

Building groff v1.22.4 with the '+universal' variant — at Version 1

Reported by: RobbieNutland (Robbie Nutland) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: groff

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Change History (1)

comment:1 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

Removing the muniversal portgroup would unfix #66631 so before we jump to that conclusion, please attach the two differing files to this ticket so that we can see how they differ and if we can somehow resolve that difference.

Note: See TracTickets for help on using tickets.