[MacPorts] #67292: port:clamav should use rust or compiler_wrapper PG (and the rust PG might be simplifiable)

MacPorts noreply at macports.org
Sat Sep 30 00:55:44 UTC 2023


#67292: port:clamav should use rust or compiler_wrapper PG (and the rust PG might
be simplifiable)
---------------------+--------------------
  Reporter:  RJVB    |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  clamav  |
---------------------+--------------------

Comment (by pcafstockf):

 Replying to [comment:6 kencu]:
 > clang-16 works nicely on 10.9. ...

 Indeed!  Thank you.  I got so caught up thinking **Xcode** clang 16, that
 I forgot one can just install the clang-16 port.

 Of course when creating a custom MacPorts install, clang-16 won't just
 "install" **binary** package dependencies, it wants to build them from
 scratch.  So you end up building clang-14, which depends on clang-11,
 which depends on clang-9, and you end up in an all day build :-).\\

 But, by installing {{{clang-14}}} and {{{clang_select}}} in the default
 MacPorts installation, then adding that to the PATH for the custom
 MacPorts installation, the custom installation built **only**
 {{{clang-16}}}, which then allowed for building {{{rust}}} and
 {{{cargo}}}, and eliminated all the jankiness I described above.  No more
 customizing {{{clamav}}} or any of the other {{{rust}}} dependent ports I
 subsequently wanted in the custom install.

 Thanks again!

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


More information about the macports-tickets mailing list