problem with clamav

Dewayne Geraghty dewayne.geraghty at heuristicsystems.com.au
Sun Nov 24 00:08:23 UTC 2013


On 24/11/2013 12:13 AM, Dewayne Geraghty wrote:
> On 23/11/2013 1:56 PM, Shawn Webb wrote:
>> On Fri, Nov 22, 2013 at 8:57 PM, AN <andy at neu.net> wrote:
>>
>>> FreeBSD .rootbsd.net 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r258260M: Sun
>>> Nov 17 13:01:19 EST 2013 rootbsd.net:/usr/obj/usr/src/sys/GENERIC  amd64
>>>
>>> # portupgrade -va
>>> --->  Session started at: Fri, 22 Nov 2013 20:46:56 -0500
>>> [Reading data from pkg(8) ... - 81 packages found - done]
>>> ** Port marked as IGNORE: security/clamav:
>>>         Unknown version of GCC specified (USE_GCC=any)
>>> --->  Listing the results (+:done / -:ignored / *:skipped / !:failed)
>>>         - security/clamav (marked as IGNORE)
>>> --->  Packages processed: 0 done, 1 ignored, 0 skipped and 0 failed
>>> --->  Session ended at: Fri, 22 Nov 2013 20:47:00 -0500 (consumed 00:00:03)
>>>
>>>
>>> # pkg info |grep gcc
>>> gcc-4.6.4                      GNU Compiler Collection 4.6
>>> gcc-ecj-4.5                    Eclipse Java Compiler used to build GCC Java
>>>
>>> # pkg info |grep clam
>>> clamav-0.98_2                  Command line virus scanner written entirely
>>> in C
>>>
>>> Is clamav broken on current?  Any suggestions on how to proceed?
>>>
>>> Thanks in advance.
>>>
>> The problem wouldn't be with ClamAV, but with the port entry. ClamAV
>> currently doesn't build with clang on 11-CURRENT, but it does indeed work
>> with gcc (I'm building manually from source checked out via git, and am
>> using gcc/g++ 4.6.4 from ports). Maybe the port maintainer has some input.
>>
>> Thanks,
>>
>> Shawn
>> _______________________________________________
>> freebsd-ports at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>>
>>
> Unfortunately, I have the same problem on 9.2Stable (built/installed
> today), using default gcc only.
> cd /usr/ports/security/clamav && make -DBATCH package
> ===>  clamav-0.98_2 Unknown version of GCC specified (USE_GCC=any).
> *** [all] Error code 1
>
> Stop in /usr/ports/security/clamav.
>
> And the Makefile contains the line:
> USE_GCC=        any
>
> The only reference to gcc in make.conf is:
> FAVORITE_COMPILER=gcc
>
> And for completeness
> # cd /usr/ports/security/clamav/ && make -DBATCH __MAKE_CONF=/dev/null
> package
> ===>  clamav-0.98_2 Unknown version of GCC specified (USE_GCC=any).
> *** [package] Error code 1
>
> Stop in /usr/ports/security/clamav.
> and
> # gcc -v
> Using built-in specs.
> Target: i386-undermydesk-freebsd
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 4.2.1 20070831 patched [FreeBSD]
>
> Advice welcome?
>
> Regards, Dewayne.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
>
Thanks to Gerald for addressing this issue per
http://svnweb.freebsd.org/ports/head/Mk/bsd.gcc.mk?sortby=date&view=log
clamav now builds.
Regards, Dewayne


More information about the freebsd-ports mailing list