Opened 2 years ago

Closed 2 years ago

#66418 closed defect (fixed)

cppcheck @2.9.3 does not build on PPC Tiger, Mac OS X 10.4.11, because of Extraneous text after `else' directive in Makefile

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: tiger ppc Cc: khindenburg@…
Port: cppcheck

Description

Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cppcheck/cppcheck/work/cppcheck-2.9.3" && /usr/bin/make -j1 -w all man CXX="/opt/local/bin/g++-mp-7 -arch ppc" DB2MAN=/opt/local/share/xsl/docbook-xsl-nons/manpages/docbook.xsl FILESDIR=/opt/local/share/cppcheck HAVE_RULES=yes MATCHCOMPILER=yes PREFIX=/opt/local PYTHON_INTERPRETER=/opt/local/bin/python3.10 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cppcheck/cppcheck/work/cppcheck-2.9.3" && /usr/bin/make -j1 -w all man CXX="/opt/local/bin/g++-mp-7 -arch ppc" DB2MAN=/opt/local/share/xsl/docbook-xsl-nons/manpages/docbook.xsl FILESDIR=/opt/local/share/cppcheck HAVE_RULES=yes MATCHCOMPILER=yes PREFIX=/opt/local PYTHON_INTERPRETER=/opt/local/bin/python3.10 
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cppcheck/cppcheck/work/cppcheck-2.9.3'
Makefile:106: Extraneous text after `else' directive
Makefile:108: Extraneous text after `else' directive
Makefile:108: *** only one `else' per conditional.  Stop.
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_cppcheck/cppcheck/work/cppcheck-2.9.3'

Btter use gmake?

Attachments (1)

main.log (90.7 KB) - added by ballapete (Peter "Pete" Dyballa) 2 years ago.
Main.log from PPC Tiger, Mac OS X 10.4.11

Download all attachments as: .zip

Change History (4)

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

Attachment: main.log added

Main.log from PPC Tiger, Mac OS X 10.4.11

comment:1 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)

Yes, gmake is necessary on Tiger.

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

Owner: set to kencu
Resolution: fixed
Status: newclosed

In 8c115a72c251e8b94b44e11a7f11be57cb33bd8a/macports-ports (master):

cppcheck: use newer gmake on Tiger

closes: #66418

Note: See TracTickets for help on using tickets.