pkgsrc-Bugs archive

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

pkg/53200: textproc/php-intl does not compile on NetBSD 7.1.1



>Number:         53200
>Category:       pkg
>Synopsis:       textproc/php-intl does not compile on NetBSD 7.1.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 20 12:40:00 +0000 2018
>Originator:     Joern Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Compiling textproc/php-intl on NetBSD 7.1.1 fails with

libtool: compile:  c++ -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include -Wno-write-strings -D__STDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl -DPHP_ATOM_INC -I/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/include -I/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/main -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php/main -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php/TSRM -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php/Zend -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php/ext -I/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.cpp  -fPIC -DPIC -o .libs/intl_convertcpp.o
In file included from /usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:0:
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:25: error: 'UnicodeString' was not declared in this scope
 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
                         ^
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:25: note: suggested alternative:
In file included from /usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:26:0,
                 from /usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:
/usr/pkgsrc/textproc/php-intl/work/.buildlink/include/unicode/unistr.h:286:20: note:   'icu_61::UnicodeString'
 class U_COMMON_API UnicodeString : public Replaceable
                    ^
In file included from /usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.cpp:21:0:
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:40: error: 'ret' was not declared in this scope
 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
                                        ^
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:45: error: expected primary-expression before 'char'
 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
                                             ^
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:63: error: expected primary-expression before 'str_len'
 int intl_stringFromChar(UnicodeString &ret, char *str, size_t str_len, UErrorCode *status);
                                                               ^
/usr/pkgsrc/textproc/php-intl/work/php-7.1.16/ext/intl/intl_convertcpp.h:29:83: error: expected primary-expression before '*' token

and some more followup errors.
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index