[MacPorts] #67292: port:clamav should use rust or compiler_wrapper PG (and the rust PG might be simplifiable)
MacPorts
noreply at macports.org
Sat Apr 22 22:40:01 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:
Keywords: | Port: clamav
--------------------+--------------------
Trying to build port:clamav on my 10.9.5 system I ran into a failure
building the components written in rust.
I was about to give up under the assumption that my OS is too old, but
then saw noticed the `'cc'` in the error message. On a hunch I thought
this might be more than a mode switch (as used by libtool, for instance),
created a couple of symlinks mapping `cc` to `${configure.cc}` and `c++`
to `${configure.cxx}`, prepended their location to `env(PATH)` (simpler
than guessing which `foo.env` I'd need) and the build completed!
I assume that making `port:clamav` use the rust should fix the issue too.
I haven't tried to verify this though; the clamav build system invokes
`rustc` in a rather obfuscated manner.
(BTW: does `rustc` always invoke the C compiler as `cc` by default?)
--
Ticket URL: <https://trac.macports.org/ticket/67292>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list