pkgsrc-Bugs archive

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

pkg/48029: lang/php54 fails to compile on NetBSD 6.0



>Number:         48029
>Category:       pkg
>Synopsis:       lang/php54 fails to compile on NetBSD 6.0
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 08 12:00:00 +0000 2013
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
The latest version of lang/php54 fails to compile on NetBSD 6.0:

/bin/sh /usr/pkgsrc/lang/php54/work/php-5.4.17/libtool --silent 
--preserve-dup-deps --mode=compile gcc  -Imain/streams/ 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/ -DPHP_ATOM_INC 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17/include 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17/main 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17/ext/date/lib 
-I/usr/pkg/include/libxml2 -I/usr/pkgsrc/lang/php54/work/php-5.4.17/TSRM 
-I/usr/pkgsrc/lang/php54/work/php-5.4.17/Zend  -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include  -O2 -pthread -I/usr/pkg/include 
-I/usr/include  -c /usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c 
-o main/streams/cast.lo 
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c: In function 
'fopencookie':
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c:51:2: warning: 
passing argument 4 of 'funopen' from incompatible pointer type
/usr/include/stdio.h:429:7: note: expected '__off_t (*)(void *, __off_t,  int)' 
but argument is of type 'struct fpos_t (*)(void *, struct fpos_t,  int)'
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c: In function 
'stream_cookie_seeker':
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c:83:2: error: 
conversion to non-scalar type requested
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c: At top level:
/usr/pkgsrc/lang/php54/work/php-5.4.17/main/streams/cast.c:148:2: warning: 
initialization from incompatible pointer type
gmake: *** [main/streams/cast.lo] Error 1
*** Error code 2

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index