[MacPorts] #58812: clamav @0.101.3 does not build on PPC Tiger, Mac OS X 10.4.11, because GCC 4.2 does not seem to understand "-Wno-logical-op-parentheses" and "-Wno-dangling-else"

MacPorts noreply at macports.org
Fri Aug 9 19:59:22 UTC 2019


#58812: clamav @0.101.3 does not build on PPC Tiger, Mac OS X 10.4.11, because GCC
4.2 does not seem to understand "-Wno-logical-op-parentheses" and "-Wno-
dangling-else"
-----------------------+--------------------
 Reporter:  ballapete  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.5.4
 Keywords:  tiger      |       Port:  clamav
-----------------------+--------------------
 {{
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3/libclamav'
 /bin/sh ../libtool  --tag=CXX   --mode=compile
 /opt/local/bin/g++-apple-4.2 -DHAVE_CONFIG_H -I. -I.. -I../libclammspack
 -I../libclammspack/mspack  -I.. -I./nsis  -DWARN_DLOPEN_FAIL
 -I/opt/local/include -I/opt/local/include -I.. -I./nsis
 -DWARN_DLOPEN_FAIL -DRARDLL -Wno-logical-op-parentheses -Wno-switch -Wno-
 dangling-else -pipe -Os -arch ppc -MT libclamunrar_la-archive.lo -MD -MP
 -MF .deps/libclamunrar_la-archive.Tpo -c -o libclamunrar_la-archive.lo
 `test -f '../libclamunrar/archive.cpp' || echo
 './'`../libclamunrar/archive.cpp
 libtool: compile:  /opt/local/bin/g++-apple-4.2 -DHAVE_CONFIG_H -I. -I..
 -I../libclammspack -I../libclammspack/mspack -I.. -I./nsis
 -DWARN_DLOPEN_FAIL -I/opt/local/include -I/opt/local/include -I.. -I./nsis
 -DWARN_DLOPEN_FAIL -DRARDLL -Wno-logical-op-parentheses -Wno-switch -Wno-
 dangling-else -pipe -Os -arch ppc -MT libclamunrar_la-archive.lo -MD -MP
 -MF .deps/libclamunrar_la-archive.Tpo -c ../libclamunrar/archive.cpp
 -fno-common -DPIC -o .libs/libclamunrar_la-archive.o
 cc1plus: error: unrecognized command line option "-Wno-logical-op-
 parentheses"
 cc1plus: error: unrecognized command line option "-Wno-dangling-else"
 make[4]: *** [libclamunrar_la-archive.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3/libclamav'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3/libclamav'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3/libclamav'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_sysutils_clamav/clamav/work/clamav-0.101.3"
 && /usr/bin/make -w all
 Exit code: 2
 }}

-- 
Ticket URL: <https://trac.macports.org/ticket/58812>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list