Date: Thu, 30 Apr 2020 13:14:20 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246059] securit/clamav: fix build with non-default LOCALBASE, PREFIX Message-ID: <bug-246059-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246059 Bug ID: 246059 Summary: securit/clamav: fix build with non-default LOCALBASE, PREFIX Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: jcfyecrayz@liamekaens.com Created attachment 213955 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D213955&action= =3Dedit [patch] fixes for non-default LOCALBASE, PREFIX The attached patch fixes the security/clamav build if LOCALBASE !=3D /usr/l= ocal and/or PREFIX !=3D LOCALBASE. Some of the issues that were encountered before this patch (with default OPTIONS) are shown below (build log excerpts): When LOCALBASE !=3D /usr/local: checking for libxml2 installation... not found configure: error: ****** Please install libxml2 packages! checking for libcurl installation... configure: error: libcurl not found. libcurl (e.g. libcurl-devel) is required in order to build freshclam and clamsubmit. clamsubmit : no (missing libjson-c-dev. Use the website to submit FPs/FNs.) (disabled) . . =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: bin/clamsubmit Error: Missing: man/man1/clamsubmit.1.gz And when PREFIX !=3D LOCALBASE: =3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: /usr/local/lib/lib%%CLAMAVUSER%%.so Error: Orphaned: /usr/local/lib/lib%%CLAMAVUSER%%.so.9 Error: Orphaned: /usr/local/lib/lib%%CLAMAVUSER%%.so.9.0.4 Error: Orphaned: /usr/local/lib/libclamunrar.so Error: Orphaned: /usr/local/lib/libclamunrar.so.9 Error: Orphaned: /usr/local/lib/libclamunrar.so.9.0.4 Error: Orphaned: /usr/local/lib/libclamunrar_iface.so Error: Orphaned: /usr/local/lib/libclamunrar_iface.so.9 Error: Orphaned: /usr/local/lib/libclamunrar_iface.so.9.0.4 Error: Orphaned: /usr/local/lib/libfreshclam.so Error: Orphaned: /usr/local/lib/libfreshclam.so.2 Error: Orphaned: /usr/local/lib/libfreshclam.so.2.0.0 =3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR Error: Missing: lib/lib%%CLAMAVUSER%%.so Error: Missing: lib/lib%%CLAMAVUSER%%.so.9 Error: Missing: lib/lib%%CLAMAVUSER%%.so.9.0.4 Error: Missing: lib/libclamunrar.so Error: Missing: lib/libclamunrar.so.9 Error: Missing: lib/libclamunrar.so.9.0.4 Error: Missing: lib/libclamunrar_iface.so Error: Missing: lib/libclamunrar_iface.so.9 Error: Missing: lib/libclamunrar_iface.so.9.0.4 Error: Missing: lib/libfreshclam.so Error: Missing: lib/libfreshclam.so.2 Error: Missing: lib/libfreshclam.so.2.0.0 ../libclamav/.libs/libclamav.so: undefined reference to `X509_CRL_get0_nextUpdate' ../libclamav/.libs/libclamav.so: undefined reference to `EVP_MD_CTX_free' ../libclamav/.libs/libclamav.so: undefined reference to `EVP_MD_CTX_new' --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246059-7788>