[Bug 233763] security/clamav: broken when building without MSPACK

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Dec 4 01:57:26 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233763

            Bug ID: 233763
           Summary: security/clamav: broken when building without MSPACK
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler at FreeBSD.org
          Reporter: PopularMoment at protonmail.com
             Flags: maintainer-feedback?(ler at FreeBSD.org)
          Assignee: ler at FreeBSD.org

When building with the new MSPACK option disabled (which should force the use
of the internal version of mspack) the installation of the resulting build
fails as the following are not produced by the build or are not in the expected
location.

[...]
pkg-static: Unable to access file
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/lib/libclammspack.a:No
such file or directory
pkg-static: Unable to access file
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/libdata/pkgconfig/libclammspack.pc:No
such file or directory

# ls -la
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/lib/libclammspack* 
lrwxr-xr-x 1 root wheel    22 2018-12-04 02:37
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/lib/libclammspack.so
-> libclammspack.so.0.1.0
lrwxr-xr-x 1 root wheel    22 2018-12-04 02:37
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/lib/libclammspack.so.0
-> libclammspack.so.0.1.0
-rwxr-xr-x 1 root wheel 76100 2018-12-04 02:37
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/lib/libclammspack.so.0.1.0
# ls -la
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/libdata/pkgconfig/*pc
-rw-r--r-- 1 root wheel 242 2018-12-04 02:37
/usr/ports/build//usr/ports/security/clamav/work/stage/usr/local/libdata/pkgconfig/libclamav.pc
#


It should be notedd the ports version of libmspack should NOT have been changed
to the default as the internal version is newer/better/patched.

>From the 0.101 release notes (
https://blog.clamav.net/2018/12/clamav-01010-has-been-released.html ):

"Upgrade from libmspack 0.5alpha to libmspack 0.7.1alpha. As a reminder, we
support system-installed versions of libmspack. However, at this time the
ClamAV-provided version of libmspack provides additional abilities to parse
broken or non-standard CAB files beyond what the stock libmspack 0.7.1alpha
provides. We are working with the upstream project to incorporate our
modifications, and hopefully these changes will appear in a future release of
libmspack."

The port version of libmspack is still using 0.5alpha.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list