[DebianGIS-dev] Bug#489090: Bug#489090: mapserver: FTBFS: php_mapscript.c:14195: undefined reference to `_convert_to_string'

Francesco P. Lovergine frankie at debian.org
Tue Jul 8 11:18:09 UTC 2008


On Mon, Jul 07, 2008 at 10:36:56PM +0200, Andreas Putzo wrote:
> Hi Lucas,
> 
> On Jul 03  10:01, Lucas Nussbaum wrote:
> > Package: mapserver
> > Version: 5.0.3-2
> > Severity: serious
> > User: debian-qa at lists.debian.org
> > Usertags: qa-ftbfs-20080702 qa-ftbfs
> > Justification: FTBFS on i386
> > 
> > During a rebuild of all packages in sid, your package failed to build on
> > i386.
> > 
> > Relevant part:
> > > g++ -shared   -o php_mapscript.so php_mapscript_util.o php_mapscript.o mapscript_i.o php_regex.o  -L/build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2 -lmapserver -lfcgi  -lcurl -Wl,-z,defs    -L/usr/lib -lpq  -L/usr/lib -ljpeg -lfreetype -L/usr/lib -lpng -L/usr/lib -lz -L/usr/lib -lXpm -lX11  -L/usr/lib -lgdal1.5.0 -L/usr/lib -lgeos_c  -lpthread -lproj -L/build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/.agg-2.4/lib -lagg -laggfontfreetype  -L/usr/lib -lgd -L/usr/lib -ljpeg -lfreetype -L/usr/lib -lpng -L/usr/lib -lz -L/usr/lib -lXpm -lX11  -lc -L/usr/lib -lz   -lm -lstdc++ 
> > > php_mapscript_util.o: In function `_phpms_report_mapserver_error':
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:52: undefined reference to `zend_error'
> > > php_mapscript_util.o: In function `_phpms_fetch_handle2':
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:75: undefined reference to `zend_error'
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:78: undefined reference to `zend_hash_find'
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:82: undefined reference to `zend_error'
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:89: undefined reference to `_zend_list_find'
> > > /build/user-mapserver_5.0.3-2-amd64-bTd7Ax/mapserver-5.0.3-2/mapscript/php3/php_mapscript_util.c:93: undefined reference to `zend_error'
> [..]
> 
> I cannot reproduce this problem. I noticed that you built with php 5.2.6-1.
> Does mapscript still ftbfs with 5.2.6-2 for you?
> 
> 
> regards,
> andreas
> 

This is exactly the same failure I saw on HPPA due to to -z defs use (why?).
I did not find any explicit use of that flag in the mapscript code
anyway...

-- 
Francesco P. Lovergine





More information about the Pkg-grass-devel mailing list