#43635: clamav 0.98.3_0 fails in build stage (missing symbols) with pre-Xcode 5.1 ----------------------------+---------------------- Reporter: zanderpower@… | Owner: dluke@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: clamav | ----------------------------+---------------------- Comment (by zanderpower@…): Replying to [comment:7 dluke@…]:
So, it looks like r119875 (strangely) fixed the build on the other buildslaves - can you let me know if it still fails on Leopard/PPC (and attach a new build log if it fails)?
Oops... build stage still fails on Leopard/PPC. I seem to have made it a bit further though. The new main.log should be posted above. The error is different: {{{ :info:build /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I.. -I/opt/local/include -I.. -I../shared -I../libclamav -I/opt/local/include -I/opt/local/include -pipe -Os -ar ch ppc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -MT freshclam.o -MD -MP -MF .deps/freshcl am.Tpo -c -o freshclam.o freshclam.c :info:build In file included from ../libclamav/matcher.h:28,:info:build from ../libclamav/others.h:21,:info:build from freshclam.c:57: :info:build ../libclamav/others.h:154: error: expected specifier- qualifier-list before ‘st ats_section_t’:info:build ../libclamav/others.h:323: error: expected specifier-qualifier-list before ‘clcb_stats_add_sample’ :info:build ../libclamav/others.h:380: error: expected specifier- qualifier-list before ‘cl cb_stats_add_sample’:info:build freshclam.c: In function ‘submit_host_info’::info:build freshclam.c:766: error: ‘struct cl_engine’ has no member named ‘cb_stats_submi t’:info:build freshclam.c:773: error: ‘struct cl_engine’ has no member named ‘cb_stats_submit’ :info:build freshclam.c:786: error: ‘CL_ENGINE_STATS_TIMEOUT’ undeclared (first use in thi s function) :info:build freshclam.c:786: error: (Each undeclared identifier is reported only once :info:build freshclam.c:786: error: for each function it appears in.) :info:build make[2]: *** [freshclam.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macpo rts_sources_rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0 .98.3/freshclam' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macpo rts_sources_rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0 .98.3' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports _sources_rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.98.3' }}} I hope this helps. Though I enjoy the challenges that Leopard poses 7 years after its release, occasionally I daydream about a brand-new MacBook Pro... -- Ticket URL: <https://trac.macports.org/ticket/43635#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X