[MacPorts] #56737: graphene 1.8.2: difficulty building +universal

MacPorts noreply at macports.org
Fri Jun 29 17:27:24 UTC 2018


#56737: graphene 1.8.2: difficulty building +universal
-----------------------+----------------------
  Reporter:  kencu     |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.2
Resolution:            |   Keywords:
      Port:  graphene  |
-----------------------+----------------------

Comment (by ryandesign):

 Replying to [ticket:56737 kencu]:
 > The error comes with three text files that don't lipo, of course.

 The muniversal portgroup knows how to merge Mach-O files using lipo, and
 some text files, including .h files, so excluding the .h file should not
 have been necessary.

 Of course it does not support merging .pc files because pkg-config doesn't
 offer any conditional syntax in .pc files, nor does it know what arch
 you're going to build for. The build system must therefore generate
 identical .pc files for each arch, or you will get the error you got.

 Replying to [comment:11 kencu]:
 > In this case, our option seems to be to force `SSE2` for everyone and
 then figure out how to fix the ones that break doing that, or
 alternatively to shut it off for everyone, which is easier fer sure, but
 dumbs down `graphene` a bit on the 99% of MacPorts systems that can
 support `SSE2`.

 Presumably you're saying that this 99% of systems will be building for
 x86_64 only. Assuming the above PR solves the problem for i386, that only
 leaves ppc systems. The port could disable SSE2 for the Intel archs when
 building universal and universal_archs contains the string "ppc".

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


More information about the macports-tickets mailing list