Opened 5 years ago
Closed 5 years ago
#58593 closed defect (wontfix)
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"
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | danielluke (Daniel J. Luke) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.5.4 |
Keywords: | tiger | Cc: | |
Port: | clamav |
Description
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'
Attachments (1)
Change History (7)
Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
The build succeeded with the command line option configure.compiler=macports-gcc-6
. And freshclam
ran.
comment:2 Changed 5 years ago by jmroot (Joshua Root)
Cc: | dluke@… removed |
---|---|
Owner: | set to danielluke |
Status: | new → assigned |
comment:3 follow-up: 4 Changed 5 years ago by danielluke (Daniel J. Luke)
Can you provide a patch that works?
I don't have a 10.4 PPC system to test with. I'm willing to patch the port if someone with a system can test and verify it.
comment:4 Changed 5 years ago by ballapete (Peter "Pete" Dyballa)
Replying to danielluke:
Can you provide a patch that works?
No, I cannot, I do not write or speak Portfile, I only learned a few tricks with port
on the command line. What I can assume is that GCC 4.2
needs to be blackmailed and then GCC 6 or 7 or 8 will be used automatically (because a useful Clang
version does not yet work on PowerPC hardware), maybe a dependency of GCC 6 or 7 or 8 needs to be created in case no GCC 6 or 7 or 8 is already installed.
comment:5 Changed 5 years ago by danielluke (Daniel J. Luke)
I don't have a system to test on, and I'm not willing to spend a lot of time on an unsupported OS. If you can generate a patch or find someone who can generate and test a patch, then I'm happy to apply it, otherwise this won't get fixed.
comment:6 Changed 5 years ago by danielluke (Daniel J. Luke)
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Main.log from PPC Tiger