[MacPorts] #62177: mpv @0.33.0_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39+rubberband: cannot convert value of type 'CALayerContentsFormat' to specified type 'String'

MacPorts noreply at macports.org
Sat Jan 30 01:59:47 UTC 2021


#62177: mpv
@0.33.0_2+audiocd+bluray+bundle+dvd+libarchive+network+opengl+osd+python39+rubberband:
cannot convert value of type 'CALayerContentsFormat' to specified type
'String'
---------------------+----------------------
  Reporter:  JDLH    |      Owner:  ionic@…
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.6.4
Resolution:          |   Keywords:
      Port:  mpv     |
---------------------+----------------------

Comment (by i0ntempest):

 Replying to [comment:2 JDLH]:
 > Thank you for the prompt response!
 >
 > Unfortunately it did not seem to work. I edited the portfile to comment
 out the use of `use_xcode` as follows:
 > {{{
 >     # Should eliminate most swift (module) related problems
 >     # @@@ prevent this code per #62177 and #62112.
 >     # if {[vercmp ${xcodeversion} 9.1] >= 0 || ${os.major} >= 16} {
 >     #     use_xcode yes
 >     # }
 > }}}
 >
 > The build failed with the same error message as before:
 > `error: cannot convert value of type 'CALayerContentsFormat' to
 specified type 'String'`.
 >
 >
 I should have said that more clearly, I meant editing out the CONDITIONS
 and leave `use_xcode yes` in, that is forcing `use_xcode yes` on all OSes.
 Commandline tools (and mixing Xcode and CLT) are known to cause swift
 related problems like this.

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


More information about the macports-tickets mailing list