Re: [MacPorts] #70272: pwlib @1.5.2: error: ISO C++ forbids declaration of ‘PTimerList’ with no type (was: pwlib fails to build: error: expected ‘;’ before ‘*’ token)

MacPorts noreply at macports.org
Sat Jun 22 00:56:25 UTC 2024


#70272: pwlib @1.5.2: error: ISO C++ forbids declaration of ‘PTimerList’ with no
type
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.3
Resolution:                |   Keywords:  haspatch
      Port:  pwlib         |
---------------------------+----------------------
Changes (by ryandesign):

 * keywords:   => haspatch


Comment:

 The port isn't UsingTheRightCompiler (nor `-arch` flags) so any attempts
 to use a different compiler via `configure.compiler=` won't work.

 I don't see a `-std=` flag so it's using whatever C++ standard `c++` on
 your system (presumably `g++-4.2`) uses by default.

 This software was released in 2003. The port has never been updated since
 it was originally added in #1663. The homepage hasn't existed in over 15
 years. Here's
 [https://web.archive.org/web/20080310001852/http://www.openh323.org/ the
 last archived version].

 This makes me think that even `g++-4.2` may be too ''new'' to build this
 ancient software. (The current version of gcc at the time was 3.3.)

 The error you're hitting so far does not appear to be related to openssl,
 but software this old is almost certainly not compatible with openssl 3
 which it declares a dependency on. Possibly it could work if the openssl
 portgroup were used and it were made to use an earlier openssl instead.

 I reran buildbot builds. On 10.6 we see the same `error: ISO C++ forbids
 declaration of ‘PTimerList’ with no type` error you did. On 10.7 and on
 arm64, `error: unknown type name 'PTimerList'`. On 10.8 and later on
 Intel, `clang: error: unknown argument: '-m486'`.

 So this has evidently never compiled on an Intel Mac and nobody has
 reported this before making me think nobody needs this software. I assume
 that you don't need this software either and are just trying to build all
 ports and reporting problems you find.

 A newer version 1.12.0 from 2007 is
 [https://sourceforge.net/projects/openh323/ available] however it also
 says that the whole openh323 project has been superseded by
 [https://sourceforge.net/projects/opalvoip/ opalvoip] and
 [https://sourceforge.net/projects/h323plus/ h323plus].

 I suggest [https://github.com/macports/macports-ports/pull/24620 deleting
 this port]. New ports for opalvoip and h323plus can be created later if
 there is any desire for them.

 pwlib is the only port mentioning openh323.

-- 
Ticket URL: <https://trac.macports.org/ticket/70272#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list