Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 15:54:21 -0400
From:      "Steve Ames" <steve@energistic.com>
To:        "David Southwell" <david@vizion2000.net>
Cc:        mi@aldan.algebra.com, freebsd-ports@freebsd.org
Subject:   Re: ptlib build failure - breaks pwlib - hence also asterisk - opal - & openh323
Message-ID:  <337EAE2CBCD84FF49F376860EF1830F6@eservoffice.com>
References:  <201009201028.38559.david@vizion2000.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Does SSL from ports declare something that we can #ifdef around? I don't =
really use pwlib anymore. If you can produce a patch that fixes your =
issue without breaking the case of using system openssl I'll happly give =
it the nod. ports/pwlib is very old. Everything should be moving to =
ports/ptlib (2.4) or ports/ptlib26
  ----- Original Message -----=20
  From: David Southwell=20
  To: steve@energistic.com=20
  Cc: freebsd-ports@freebsd.org ; mi@aldan.algebra.com=20
  Sent: Monday, September 20, 2010 5:28 AM
  Subject: Re: ptlib build failure - breaks pwlib - hence also asterisk =
- opal - & openh323


  > > On Sat, 18 Sep 2010, David Southwell wrote:

  > > > /usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o

  > > > ../../ptclib/pssl.cxx: In constructor =
'PSSLContext::PSSLContext(const

  > >> void*, PINDEX)':

  >> > ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const

  > > SSL_METHOD*' to 'SSL_METHOD*'

  > > > gmake[3]: ***

  > > > [/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] =
Error 1

  > >=20

  > > I'm having this error too. My guess is that is that pwlib has =
problems

  > > with the OpenSSL version in the ports. I've had similar problems =
with

  > > other ports in the past.

  > >=20

  > > Regards,

  > > Marco


  > That makes sense. The problem is this also breaks asterisk which =
depends=20

  > > upon=20

  > pwlib!!

  > I have also tried building ptlib26 but get the same failures.

  > I have cc'd this to the maintainer<lihong@ieee.org>

  lihong@ieee.org is maintainer for ptlib.

  I have also just sent a copy to steve@energistic.com who is maintainer =
for pwlib and net/openh323 which is also affected by this build failure.


  I have also added mi@aldan.algebra.com who is maintainer for /net/opal =
which has the same problem.


  dns1# portupgrade -a


  ---> Upgrading 'opal-2.2.11_2' to 'opal-2.2.11_3' (net/opal)

  ---> Building '/usr/ports/net/opal'

  =3D=3D=3D> Cleaning for pwlib-1.12.0_6,1

  :

  :

  Created dependencies.

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  gmake[3]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins'

  Created dependencies.

  set -e; gmake -C sound_oss debugdepend ; gmake -C vidinput_v4l =
debugdepend ; gmake -C vidinput_v4l2 debugdepend ; gmake -C vidinput_bsd =
debugdepend ;

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/sound_oss'

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -D_DEBUG -fPIC -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-M sound_oss.cxx >> ../pwlib/device/sound/*.dep

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/sound_oss'

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/sound_oss'

  Created dependencies.

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/sound_oss'

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l'

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -D_DEBUG -fPIC -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-M vidinput_v4l.cxx >> ../pwlib/device/videoinput/*.dep

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l'

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l'

  Created dependencies.

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l'

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l2'

  Created dependencies.

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_v4l2'

  gmake[4]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_bsd'

  Created dependencies.

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_bsd'

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins'

  set -e; if test -e src/ptlib/unix ; then gmake -C src/ptlib/unix =
debug; fi; if test -e plugins ; then gmake -C plugins debug; fi;=20

  gmake[3]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/psasl.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/psasl.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pldap.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pldap.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pils.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pils.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pssl.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o

  ../../ptclib/pssl.cxx: In constructor 'PSSLContext::PSSLContext(const =
void*, PINDEX)':

  ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const =
SSL_METHOD*' to 'SSL_METHOD*'

  gmake[3]: *** =
[/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  gmake[2]: *** [debug] Error 2

  gmake[2]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake[1]: *** [libs] Error 2

  gmake[1]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake: *** [debuglibs] Error 2

  *** Error code 1


  Stop in /usr/ports/devel/pwlib.

  *** Error code 1


  Stop in /usr/ports/net/opal.

  *** Error code 1


  Stop in /usr/ports/net/opal.

  ________________________--


  ---> Upgrading 'openh323-1.19.0.1_2' to 'openh323-1.19.0.1_3' =
(net/openh323)

  ---> Building '/usr/ports/net/openh323'

  =3D=3D=3D> Cleaning for pwlib-1.12.0_6,1

  =3D=3D=3D> Cleaning for openh323-1.19.0.1_3

  =3D=3D=3D> License check disabled, port has not defined LICENSE

  =3D=3D=3D> Extracting for openh323-1.19.0.1_3

  =3D> MD5 Checksum OK for openh323/openh323-v1_19_0_1-src-tar.gz.

  =3D> SHA256 Checksum OK for openh323/openh323-v1_19_0_1-src-tar.gz.

  =3D=3D=3D> Patching for openh323-1.19.0.1_3


  :

  :

  :

  t -e; if test -e src/ptlib/unix ; then gmake -C src/ptlib/unix debug; =
fi; if test -e plugins ; then gmake -C plugins debug; fi;=20

  gmake[3]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/psasl.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/psasl.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pldap.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pldap.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pils.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pils.o

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pssl.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o

  ../../ptclib/pssl.cxx: In constructor 'PSSLContext::PSSLContext(const =
void*, PINDEX)':

  ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const =
SSL_METHOD*' to 'SSL_METHOD*'

  gmake[3]: *** =
[/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  gmake[2]: *** [debug] Error 2

  gmake[2]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake[1]: *** [libs] Error 2

  gmake[1]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake: *** [debuglibs] Error 2

  *** Error code 1


  Stop in /usr/ports/devel/pwlib.

  *** Error code 1


  Stop in /usr/ports/net/openh323.

  ---> Backing up the old version

  ---> Uninstalling the old version

  ---> Deinstalling 'openh323-1.19.0.1_2'

  :

  :

  :

  ---> Installing the new version via the port

  =3D=3D=3D> openh323-1.19.0.1_3 depends on executable: gmake - found

  =3D=3D=3D> openh323-1.19.0.1_3 depends on executable: bison - found

  =3D=3D=3D> openh323-1.19.0.1_3 depends on file: =
/usr/local/bin/autoconf-2.67 - found

  =3D=3D=3D> openh323-1.19.0.1_3 depends on shared library: pt_r.1 - not =
found

  =3D=3D=3D> Verifying reinstall for pt_r.1 in /usr/ports/devel/pwlib

  =3D=3D=3D> Building for pwlib-1.12.0_6,1


  :

  :

  gmake[4]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins/vidinput_bsd'

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/plugins'

  set -e; if test -e src/ptlib/unix ; then gmake -C src/ptlib/unix =
debug; fi; if test -e plugins ; then gmake -C plugins debug; fi;=20

  gmake[3]: Entering directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  c++ -O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -D_REENTRANT -pthread -fno-exceptions -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-Wall -g -D_DEBUG -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-O1 -fPIC -DLDAP_DEPRECATED -O1 =
-I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include -I/usr/local/include =
-O1 -I/usr/ports/devel/pwlib/work/ptlib_v1_12_0/include =
-I/usr/local/include -c ../../ptclib/pssl.cxx -o =
/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o

  ../../ptclib/pssl.cxx: In constructor 'PSSLContext::PSSLContext(const =
void*, PINDEX)':

  ../../ptclib/pssl.cxx:917: error: invalid conversion from 'const =
SSL_METHOD*' to 'SSL_METHOD*'

  gmake[3]: *** =
[/usr/ports/devel/pwlib/work/ptlib_v1_12_0/lib/obj_d/pssl.o] Error 1

  gmake[3]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0/src/ptlib/unix'

  gmake[2]: *** [debug] Error 2

  gmake[2]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake[1]: *** [libs] Error 2

  gmake[1]: Leaving directory =
`/usr/ports/devel/pwlib/work/ptlib_v1_12_0'

  gmake: *** [debuglibs] Error 2

  *** Error code 1


  Stop in /usr/ports/devel/pwlib.

  *** Error code 1


  Stop in /usr/ports/devel/pwlib.

  *** Error code 1


  Stop in /usr/ports/net/openh323.

  *** Error code 1


  Stop in /usr/ports/net/openh323.





  Photographic Artist

  Permanent Installations & Design

  Creative Imagery and Advanced Digital Techniques

  High Dynamic Range Photography & Official Portraiture

  Combined darkroom & digital creations

  & Systems Adminstrator for the vizion2000.net network



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?337EAE2CBCD84FF49F376860EF1830F6>