Subject: pkg/35988: pwlib gcc4.1.2
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 03/12/2007 10:30:00
>Number:         35988
>Category:       pkg
>Synopsis:       pwlib gcc4.1.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 10:30:00 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


gmake[1]: Entering directory `/pkg/obj/devel/pwlib/work/pwlib/src/ptlib/unix'
libtool --mode=compile --tag=CXX g++ -D_REENTRANT -fno-exceptions -Wall  -I/pkg/obj/devel/pwlib/work/pwlib/include -Os  -g -I/usr/pkg/include -I/usr/include -felide-constructors -x c++ -c ../../ptclib/asner.cxx -o /pkg/obj/devel/pwlib/work/pwlib/lib/obj_solaris_x86_64_r/asner.o
 g++ -D_REENTRANT -fno-exceptions -Wall -I/pkg/obj/devel/pwlib/work/pwlib/include -Os -g -I/pkg/obj/devel/pwlib/work/.buildlink/include -felide-constructors -x c++ -c ../../ptclib/asner.cxx  -fPIC -DPIC -o /pkg/obj/devel/pwlib/work/pwlib/lib/obj_solaris_x86_64_r/.libs/asner.o
/pkg/obj/devel/pwlib/work/pwlib/include/ptlib/timer.h:363: error: ISO C++ forbids declaration of 'PTimerList' with no type
/pkg/obj/devel/pwlib/work/pwlib/include/ptlib/timer.h:363: error: expected ';' before '*' token
/pkg/obj/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/pprocess.h:175: error: ISO C++ forbids declaration of 'PHouseKeepingThread' with no type
/pkg/obj/devel/pwlib/work/pwlib/include/ptlib/unix/ptlib/pprocess.h:175: error: expected ';' before '*' token
../../ptclib/asner.cxx: In member function 'PString PASN_Choice::GetTagName() const':
../../ptclib/asner.cxx:2112: error: 'psprintf' was not declared in this scope

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg/obj/devel/pwlib/work/.gcc/bin/g++ -D_REENTRANT -fno-exceptions -Wall -I/pkg/obj/devel/pwlib/work/pwlib/include -Os -g -I/pkg/obj/devel/pwlib/work/.buildlink/include -felide-constructors -x c++ -c ../../ptclib/asner.cxx -fPIC -DPIC -o /pkg/obj/devel/pwlib/work/pwlib/lib/obj_solaris_x86_64_r/.libs/asner.o -m64 -L/pkg/obj/devel/pwlib/work/.buildlink/lib 

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkg/bin/libtool --mode=compile --tag=CXX g++ -D_REENTRANT -fno-exceptions -Wall -I/pkg/obj/devel/pwlib/work/pwlib/include -Os -g -I/pkg/obj/devel/pwlib/work/.buildlink/include -felide-constructors -x c++ -c ../../ptclib/asner.cxx -o /pkg/obj/devel/pwlib/work/pwlib/lib/obj_solaris_x86_64_r/asner.o 
gmake[1]: *** [/pkg/obj/devel/pwlib/work/pwlib/lib/obj_solaris_x86_64_r/asner.o] Error 1
gmake[1]: Leaving directory `/pkg/obj/devel/pwlib/work/pwlib/src/ptlib/unix'
gmake: *** [opt] Error 2
*** Error code 2




>How-To-Repeat:


bmake


>Fix:


?