[MacPorts] #58593: clamav @0.101.2 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
Wed Jun 12 18:22:46 UTC 2019


#58593: clamav @0.101.2 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
-----------------------+--------------------
 {{{
 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/in\
 clude -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_l\
 a-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.2/libclamav'
 }}}

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


More information about the macports-tickets mailing list