Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#58812 closed defect (wontfix)

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"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.5.4
Keywords: tiger Cc: dliessi (Davide Liessi)
Port: clamav

Description (last modified by mf2k (Frank Schima))

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

Attachments (1)

main.log (53.4 KB) - added by ballapete (Peter "Pete" Dyballa) 5 years ago.
Main.log from PPC Tiger

Download all attachments as: .zip

Change History (6)

Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Tiger

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Cc: dluke@… removed
Description: modified (diff)
Owner: set to danielluke
Status: newassigned

comment:2 Changed 5 years ago by danielluke (Daniel J. Luke)

Resolution: wontfix
Status: assignedclosed

I don't have a PPC machine to test on (and I'm not inclined to spend time making ports work on OS releases that are no longer receiving security updates). Feel free to re-open with a patch that fixes the build and I'll be happy to commit it, though.

comment:3 Changed 5 years ago by kencu (Ken)

Hey Pete, can you tell me if forcing gcc-6 works?

comment:4 in reply to:  3 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

Hey Pete, can you tell me if forcing gcc-6 works?

Yes, it builds fine and freshclam seems to work (although it did not find a virus definitions update).

comment:5 Changed 5 years ago by dliessi (Davide Liessi)

Cc: dliessi added
Note: See TracTickets for help on using tickets.