pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41777: devel/ptlib compilation errors (NetBSD 4.0)



>Number:         41777
>Category:       pkg
>Synopsis:       devel/ptlib compilation errors (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 24 21:05:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        devel/ptlib fails to compile on NetBSD 4.0

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 sets installed
        (except the x* sets, I use pkgsrc modular xorg instead).

        With that environment, I see ...

/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/unix/ptlib/pmachdep.h:128:1:
 warning: "_THREAD_SAFE" redefined
<command line>:1:1: warning: this is the location of the previous definition
c++ -I/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include -DPTRACING=1 
-D_REENTRANT     -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE 
-I/usr/pkg/include/SDL    -fno-exceptions -DLDAP_DEPRECATED -I/usr/pkg/include 
-I/usr/include -Wall  -fPIC -DPIC -DNDEBUG -Os  -felide-constructors -Wreorder 
-DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -O2 -DLDAP_DEPRECATED 
-I/usr/pkg/include -I/usr/include -c ptclib/pssl.cxx -o 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/lib_NetBSD_x86/obj/pssl.o
In file included from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/unix/ptlib/contain.h:34,
                 from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/object.h:44,
                 from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/psync.h:43,
                 from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/critsec.h:34,
                 from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/contain.h:42,
                 from 
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib.h:56,
                 from ptclib/pssl.cxx:86:
/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/include/ptlib/unix/ptlib/pmachdep.h:128:1:
 warning: "_THREAD_SAFE" redefined
<command line>:1:1: warning: this is the location of the previous definition
ptclib/pssl.cxx: In member function 'void 
PSSLContext::Construct(PSSLContext::Method, const void*, PINDEX)':
ptclib/pssl.cxx:821: error: invalid conversion from 'const SSL_METHOD*' to 
'SSL_METHOD*'
ptclib/pssl.cxx:821: error:   initializing argument 1 of 'SSL_CTX* 
SSL_CTX_new(SSL_METHOD*)'
gmake[2]: *** 
[/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/lib_NetBSD_x86/obj/pssl.o] 
Error 1
gmake[2]: Leaving directory 
`/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/src'
gmake[1]: *** [optshared] Error 2
gmake[1]: Leaving directory 
`/pkg_comp/obj/pkgsrc/devel/ptlib/4x/ptlib-2.6.4/src'
gmake: *** [optshared] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/devel/ptlib
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index