Fink build error: ptlib2.6.0-2.6.0-3 on Intel OS 10.5.6

Monic Polynomial <[email protected]>
Newsgroups gmane.os.apple.fink.gnome
Message-ID <[email protected]>
(detected via Todai’s build logs)

ptlib2.6.0-2.6.0-3 fails to build on Intel OS 10.5.6.

$ fink -V | head -n 2
Package manager version: 0.29.2
Distribution version: selfupdate-rsync Wed Apr 22 08:57:12 2009, 10.5,  
i386

$ fink --build-as-nobody rebuild ptlib2.6.0

(...)

g++ -I/Volumes/ajdext/build.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/ 
include  -Wno-long-double -DPTRACING=1 -D_REENTRANT  -I/sw/include    - 
I/sw/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE   -fno-exceptions -I/ 
sw/include -Wall  -D__MACOSX__ -m486 -DNDEBUG -O2 -I/Volumes/ajdext/ 
build.build/ptlib2.6.0-2.6.0-3/ptlib-2.6.0/include -fno-common - 
dynamic -felide-constructors -Wreorder -I/sw/include -c ptlib/unix/ 
pipechan.cxx -o /Volumes/ajdext/build.build/ptlib2.6.0-2.6.0-3/ 
ptlib-2.6.0/lib_Darwin_x86/obj/pipechan.o
ptlib/unix/pipechan.cxx: In member function 'PBoolean  
PPipeChannel::PlatformOpen(const PString&, const PStringArray&,  
PPipeChannel::OpenMode, PBoolean, PBoolean, const PStringToString*)':
/usr/include/unistd.h:481: error: too many arguments to function  
'pid_t setpgrp()'
ptlib/unix/pipechan.cxx:190: error: at this point in file
ptlib/unix/pipechan.cxx:203: warning: unused variable 'environ'
make[2]: *** [/Volumes/ajdext/build.build/ptlib2.6.0-2.6.0-3/ 
ptlib-2.6.0/lib_Darwin_x86/obj/pipechan.o] Error 1
make[1]: *** [optshared] Error 2
make: *** [optshared] Error 2
### execution of make failed, exit code 2
### execution of /var/tmp/tmp.4.bUKX3W failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-ptlib2.6.0-2.6.0-3
(Reading database ... 135820 files and directories currently installed.)
Removing fink-buildlock-ptlib2.6.0-2.6.0-3 ...
Failed: phase compiling: ptlib2.6.0-2.6.0-3 failed


This build error has been reproduced on my box. If you want to check  
Todai’s full build log, it’s available at
http://fink.sodan.ecc.u-tokyo.ac.jp/build-10.5-i386/2009-04-16/ekiga.err.gz
(it occurred while building ekiga)


Cheers,

--
monipol


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.