[MacPorts] #63402: ccache @ 4.4_0 error: static_assert failed "unique_ptr constructed with null function pointer deleter"

MacPorts noreply at macports.org
Fri Oct 1 23:15:50 UTC 2021


#63402: ccache @ 4.4_0 error: static_assert failed "unique_ptr constructed with
null function pointer deleter"
-----------------------+---------------------------------
  Reporter:  thetrial  |      Owner:  ryandesign
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  elcapitan legacy-os
      Port:  ccache    |
-----------------------+---------------------------------

Comment (by kencu):

 once we sort out exactly where the cutoff for the system clangs that can
 build ccache, we "blacklist" all the clangs older than the oldest one that
 works.

 That involves a PortGroup, usually:
 {{{
 PortGroup compiler_blacklist_versions 1.0
 }}}

 found here https://github.com/macports/macports-
 ports/blob/master/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl

 and then an entry to spec the cutoff, whatever it is, something like this
 perhaps:
 {{{
 compiler.blacklist-append {clang<800}
 }}}

 As it turns out, all that is already in the ccache Portfile, so assuming
 you have the current ccache Portfile, we just need to update the cutoff to
 the new level of failing compilers:

 https://github.com/macports/macports-
 ports/blob/9d8ec313b4cea0c0f0b361a640fc66b8ec70978b/devel/ccache/Portfile#L42

 Of course, if you do not have the current Portfile, then that is your
 trouble right there :>

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


More information about the macports-tickets mailing list