Le Mon, 18 May 2020 18:56:55 -0600 (MDT),
Stuart Henderson <[email protected]> a écrit :

> CVSROOT:      /cvs
> Module name:  ports
> Changes by:   [email protected]   2020/05/18 18:56:55
> 
> Modified files:
>       security/clamav: Tag: OPENBSD_6_7 Makefile distinfo 
> 
> Log message:
> MFC clamav update, DoS in PDF, out-of-bounds read in ARJ
> 

for some reasons it doesn't build on i386-stable

I tried to install gcc package but this didn't help

/usr/bin/libtool  --tag CXX   --mode=link gcc    -pthread -L/usr/lib  
-L/usr/local/lib  -thread-safe  -L/usr/local/lib -liconv -L/usr/local/lib 
-lxml2 -lz -L/usr/local/lib -llzma -lpthread -L/usr/local/lib -liconv -lm 
-version-info  2:0:0 -no-undefined   
-Wl,--version-script,../libfreshclam/libfreshclam.map -pthread -L/usr/lib  
-L/usr/local/lib -o libfreshclam.la -rpath /usr/local/lib output.lo 
optparser.lo getopt.lo misc.lo  cdiff.lo tar.lo cert_util.lo libfreshclam.lo  
libfreshclam_internal.lo dns.lo cert_util_linux.lo ../libclamav/libclamav.la   
-pthread -L/usr/lib  -L/usr/local/lib -L/usr/local/lib -lcurl -lnghttp2 -lssl 
-lcrypto -lssl -lcrypto -lz  -lz -L/usr/local/lib -lcurl -lnghttp2 -lssl 
-lcrypto -lssl -lcrypto -lz  -lssl -lcrypto -lz -ljson-c  -L/usr/local/lib 
-lltdl -pthread -lm -lcharset libtool: link: gcc -shared -fPIC -DPIC -o 
.libs/libfreshclam.so.0.0 -pthread -Wl,--version-script 
-Wl,../libfreshclam/libfreshclam.map .libs/output.o .libs/optparser.o 
.libs/getopt.o .libs/misc.o .libs/cd
iff.o .libs/tar.o .libs/cert_util.o .libs/libfreshclam.o 
.libs/libfreshclam_internal.o .libs/dns.o .libs/cert_util_linux.o -L.libs 
-liconv -lxml2 -lpthread -lz -llzma -lm -lclamav -lssl -lcrypto -ljson-c 
-lpcre2-8 -lbz2 -lltdl -lmspack -lcharset -lcurl -lnghttp2 
-Wl,-soname,libfreshclam.so.0.0
ld: error: unable to find library -lgcc
ld: error: unable to find library -lgcc
Error while executing gcc -shared -fPIC -DPIC -o .libs/libfreshclam.so.0.0 
-pthread -Wl,--version-script -Wl,../libfreshclam/libfreshclam.map 
.libs/output.o .libs/optparser.o .libs/getopt.o .libs/misc.o .libs/cdiff.o 
.libs/tar.o .libs/cert_util.o .libs/libfreshclam.o 
.libs/libfreshclam_internal.o .libs/dns.o .libs/cert_util_linux.o -L.libs 
-liconv -lxml2 -lpthread -lz -llzma -lm -lclamav -lssl -lcrypto -ljson-c 
-lpcre2-8 -lbz2 -lltdl -lmspack -lcharset -lcurl -lnghttp2 
-Wl,-soname,libfreshclam.so.0.0
*** Error 2 in libfreshclam (Makefile:703 'libfreshclam.la')
*** Error 1 in . (Makefile:878 'all-recursive': @fail=;  if (target_option=k; 
case ${target_option-} in  ?) ;;  *) echo "am__make_running_wi...)
*** Error 2 in /build/tmp/pobj/clamav-0.102.3/clamav-0.102.3 (Makefile:649 
'all')
*** Error 2 in security/clamav (/home/ports//infrastructure/mk/bsd.port.mk:2907 
'/build/tmp/pobj//clamav-0.102.3/.build_done': @cd /build/tm...)
*** Error 2 in security/clamav (/home/ports//infrastructure/mk/bsd.port.mk:2105 
'/home/packages/i386/all/clamav-0.102.3.tgz': @cd /home/port...)
*** Error 2 in security/clamav (/home/ports//infrastructure/mk/bsd.port.mk:2103 
'/home/packages/i386/all/clamav-0.102.3.tgz': @cd /home/port...)
*** Error 2 in security/clamav (/home/ports//infrastructure/mk/bsd.port.mk:2594 
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPEND...)
*** Error 2 in security/clamav (/home/ports//infrastructure/mk/bsd.port.mk:2573 
'package': @lock=clamav-0.102.3;  export _LOCKS_HELD=" clama...)
===> Exiting security/clamav with an error

Reply via email to