Thanks Mike (and Brad for reporting to exr upstream already).
On 2022/05/05 14:59, Mike Larkin wrote: > On Thu, May 05, 2022 at 06:24:40PM +0100, Stuart Henderson wrote: > > Could someone with a sparc64 try building this please (and maybe "make > > test" while you're there)? I'd like to check that the Rust parts don't > > depend on something which fails there. > > > > Fails on my sparc64 T4-1: > > ... > ... > ... > Compiling pin-project v1.0.10 > Compiling thiserror v1.0.31 > Compiling flume v0.10.12 > Compiling exr v1.4.2 > error: expected `,`, found `function` > --> > /usr/ports/pobj/clamav-0.105.0/clamav-0.105.0/libclamav_rust/.cargo/vendor/exr/src/compression/rle.rs:39:29 > | > 39 | unimplemented!(this function probably returns little-endian > data); > | ^^^^^^^^ expected `,` > > error: could not compile `exr` due to previous error > warning: build failed, waiting for other jobs to finish... > error: build failed > ninja: build stopped: subcommand failed. > *** Error 1 in . (/usr/ports/devel/cmake/cmake.port.mk:42 'do-build': @cd > /usr/ports/pobj/clamav-0.105.0/build-sparc64 && exec /usr/bin/env ...) > *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2963 > '/usr/ports/pobj/clamav-0.105.0/build-sparc64/.build_done') > *** Error 2 in /usr/ports/security/clamav > (/usr/ports/infrastructure/mk/bsd.port.mk:2607 'all') > > > -ml > > > Index: Makefile > > =================================================================== > > RCS file: /cvs/ports/security/clamav/Makefile,v > > retrieving revision 1.151 > > diff -u -p -r1.151 Makefile > > --- Makefile 5 May 2022 10:57:55 -0000 1.151 > > +++ Makefile 5 May 2022 17:22:57 -0000 > > @@ -1,5 +1,5 @@ > > COMMENT= virus scanner > > -DISTNAME= clamav-0.104.3 > > +DISTNAME= clamav-0.105.0 > > > > CATEGORIES= security > > > > @@ -16,11 +16,12 @@ MAINTAINER= Stuart Henderson <stu.ports@ > > PERMIT_PACKAGE= Yes > > > > WANTLIB += ${COMPILER_LIBCXX} > > -WANTLIB += bz2 c crypto curl curses iconv json-c m milter mspack > > -WANTLIB += pcre2-8 ssl xml2 z > > +WANTLIB += bz2 c crypto curl curses execinfo iconv json-c m milter > > +WANTLIB += mspack pcre2-8 ssl util xml2 z > > > > COMPILER= base-clang ports-gcc > > > > +BUILD_DEPENDS= lang/rust > > LIB_DEPENDS= archivers/bzip2 \ > > archivers/libmspack \ > > devel/json-c \ > > @@ -47,7 +48,7 @@ CONFIGURE_ARGS+= -DBYTECODE_RUNTIME=inte > > # for tests > > MODULES+= lang/python > > MODPY_RUNDEP= No > > -BUILD_DEPENDS= devel/check > > +BUILD_DEPENDS+= devel/check > > CONFIGURE_ARGS+= -DENABLE_TESTS=on > > > > post-install: > > Index: distinfo > > =================================================================== > > RCS file: /cvs/ports/security/clamav/distinfo,v > > retrieving revision 1.80 > > diff -u -p -r1.80 distinfo > > --- distinfo 5 May 2022 10:57:55 -0000 1.80 > > +++ distinfo 5 May 2022 17:22:57 -0000 > > @@ -1,2 +1,2 @@ > > -SHA256 (clamav-0.104.3.tar.gz) = > > KBz668KiHTJ0bVI8TSOpYwmSq2H8KPVdL4EPKWfBBSE= > > -SIZE (clamav-0.104.3.tar.gz) = 12017176 > > +SHA256 (clamav-0.105.0.tar.gz) = > > JwIDpUxFgEnbVPzZNoP/Wy2xkVHzY8SOgs7O/d4rNdQ= > > +SIZE (clamav-0.105.0.tar.gz) = 28765652 > > Index: patches/patch-CMakeLists_txt > > =================================================================== > > RCS file: /cvs/ports/security/clamav/patches/patch-CMakeLists_txt,v > > retrieving revision 1.2 > > diff -u -p -r1.2 patch-CMakeLists_txt > > --- patches/patch-CMakeLists_txt 7 Mar 2022 21:36:53 -0000 1.2 > > +++ patches/patch-CMakeLists_txt 5 May 2022 17:22:57 -0000 > > @@ -3,7 +3,7 @@ https://github.com/Cisco-Talos/clamav/is > > Index: CMakeLists.txt > > --- CMakeLists.txt.orig > > +++ CMakeLists.txt > > -@@ -587,10 +587,12 @@ else() > > +@@ -632,10 +632,12 @@ else() > > if(APPLE) > > set(BIND_8_COMPAT 1) > > endif() > > >