Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 10:00:10 +1100
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        Shawn Webb <lattera@gmail.com>, AN <andy@neu.net>
Cc:        gerald@freebsd.org, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: problem with clamav
Message-ID:  <5291337A.20908@heuristicsystems.com.au>
In-Reply-To: <5290A9F2.9070004@heuristicsystems.com.au>
References:  <mailman.1246.1385131882.1389.freebsd-ports@freebsd.org> <alpine.BSF.2.00.1311222047190.32628@mail.neu.net> <CADt0fhxoUhdFuq6v=85xAD%2BFUtE3-h8UjJ%2BvCGOLFLLH1QtE8w@mail.gmail.com> <5290A9F2.9070004@heuristicsystems.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5291337A.20908>