[Bug 268379] security/clamav Fails to compile, FreeBSD 12.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Dec 2022 18:54:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268379 Bug ID: 268379 Summary: security/clamav Fails to compile, FreeBSD 12.4 Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: yasu@freebsd.org Reporter: FreeBSD_Bugs@jhorland.com Assignee: yasu@freebsd.org Flags: maintainer-feedback?(yasu@freebsd.org) Please excuse any protocol or etiquette violations - this is my first FreeBSD Bugzilla report. Let me know of any versioning checks, configuration files, or logs you may require to complete this report or assignment. The build of this port failed with the message: [ 60% 214/355] /usr/bin/cc -DHAVE_CONFIG_H -DTFM_CHECK -DTFM_NO_ASM -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/usr/ports/security/clamav/work/.build/libclamav -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamunrar_iface -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamav/.. -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamav -isystem /usr/local/include/libxml2 -isystem /usr/local/include -isystem /usr/ports/security/clamav/work/.build -isystem /usr/local/include/json-c -isystem /usr/ports/security/clamav/work/clamav-1.0.0/libclamav_rust -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -Wformat-security -pthread -std=gnu90 -MD -MT libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -MF libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o.d -o libclamav/CMakeFiles/clamav.dir/htmlnorm.c.o -c /usr/ports/security/clamav/work/clamav-1.0.0/libclamav/htmlnorm.c ninja: build stopped: subcommand failed. ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/clamav *** Error code 1 Stop. make: stopped in /usr/ports/security/clamav As recommended by OS, I used make MAKE_JOBS_UNSAFE=yes and got this: FAILED: libclamav/CMakeFiles/clamav.dir/others.c.o /usr/bin/cc -DHAVE_CONFIG_H -DTFM_CHECK -DTFM_NO_ASM -DTHIS_IS_LIBCLAMAV -Dclamav_EXPORTS -I/usr/ports/security/clamav/work/.build/libclamav -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamunrar_iface -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamav/.. -I/usr/ports/security/clamav/work/clamav-1.0.0/libclamav -isystem /usr/local/include/libxml2 -isystem /usr/local/include -isystem /usr/ports/security/clamav/work/.build -isystem /usr/local/include/json-c -isystem /usr/ports/security/clamav/work/clamav-1.0.0/libclamav_rust -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -Wformat-security -pthread -std=gnu90 -MD -MT libclamav/CMakeFiles/clamav.dir/others.c.o -MF libclamav/CMakeFiles/clamav.dir/others.c.o.d -o libclamav/CMakeFiles/clamav.dir/others.c.o -c /usr/ports/security/clamav/work/clamav-1.0.0/libclamav/others.c /usr/ports/security/clamav/work/clamav-1.0.0/libclamav/others.c:106:13: warning: suspicious concatenation of string literals in an array initialization; did you mean to separate the elements with a comma? [-Wstring-concatenation] "." LT_LIBEXT}; ^ , /usr/local/include/clamav-config.h:433:19: note: expanded from macro 'LT_LIBEXT' #define LT_LIBEXT "a" ^ /usr/ports/security/clamav/work/clamav-1.0.0/libclamav/others.c:106:9: note: place parentheses around the string literal to silence warning "." LT_LIBEXT}; ^ /usr/ports/security/clamav/work/clamav-1.0.0/libclamav/others.c:132:18: error: use of undeclared identifier 'SEARCH_LIBDIR' searchpath = SEARCH_LIBDIR; ^ 1 warning and 1 error generated. ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/clamav *** Error code 1 Stop. make: stopped in /usr/ports/security/clamav -- You are receiving this mail because: You are the assignee for the bug.