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

MacPorts noreply at macports.org
Fri May 5 00:54:06 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:
Resolution:                 |   Keywords:
      Port:  groff          |
----------------------------+--------------------

Old 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.

New 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.

--

Comment (by ryandesign):

 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.

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


More information about the macports-tickets mailing list