php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76963 Fails during make.
Submitted: 2018-10-02 17:52 UTC Modified: 2018-10-04 12:29 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: scott dot mosbrucker at doosan dot com Assigned:
Status: Wont fix Package: mnogosearch (PECL)
PHP Version: 7.3.0RC2 OS: RHEL 7.5
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scott dot mosbrucker at doosan dot com
New email:
PHP Version: OS:

 

 [2018-10-02 17:52 UTC] scott dot mosbrucker at doosan dot com
Description:
------------
....
config.status: creating config.h
running: make
/bin/sh /tmp/pear/temp/pear-build-rootvgLZ5y/mnogosearch-1.0.0/libtool --mode=compile cc  -I. -I/tmp/pear/temp/mnogosearch -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvgLZ5y/mnogosearch-1.0.0/include -I/tmp/pear/temp/pear-build-rootvgLZ5y/mnogosearch-1.0.0/main -I/tmp/pear/temp/mnogosearch -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/mnogosearch/include  -DHAVE_CONFIG_H  -g -O2   -c /tmp/pear/temp/mnogosearch/php_mnogo.c -o php_mnogo.lo
mkdir .libs
 cc -I. -I/tmp/pear/temp/mnogosearch -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootvgLZ5y/mnogosearch-1.0.0/include -I/tmp/pear/temp/pear-build-rootvgLZ5y/mnogosearch-1.0.0/main -I/tmp/pear/temp/mnogosearch -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/local/mnogosearch/include -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/mnogosearch/php_mnogo.c  -fPIC -DPIC -o .libs/php_mnogo.o
/tmp/pear/temp/mnogosearch/php_mnogo.c:154:1: error: unknown type name ‘function_entry’
 function_entry mnogosearch_functions[] = {
 ^
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: braces around scalar initializer [enabled by default]
  PHP_FE(udm_api_version,  NULL)
  ^
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: (near initialization for ‘mnogosearch_functions[0]’) [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: initialization makes integer from pointer without a cast [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: (near initialization for ‘mnogosearch_functions[0]’) [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: error: initializer element is not computable at load time
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: error: (near initialization for ‘mnogosearch_functions[0]’)
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: (near initialization for ‘mnogosearch_functions[0]’) [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: excess elements in scalar initializer [enabled by default]
/tmp/pear/temp/mnogosearch/php_mnogo.c:155:2: warning: (near initialization for ‘mnogosearch_functions[0]’) [enabled by default]
In file included from /usr/include/php/main/php.h:37:0,
                 from /tmp/pear/temp/mnogosearch/php_mnogo.c:29:
/usr/include/php/Zend/zend_API.h:67:128: warning: excess elements in scalar initializer [enabled by default]
 #define ZEND_FENTRY(zend_name, name, arg_info, flags) { #zend_name, name, arg_info, (uint32_t) (sizeof(arg_info)/sizeof(struct _zend_internal_arg_info)-1), flags },
                                                                                                                                ^
/usr/include/php/Zend/zend_API.h:73:38: note: in expansion of macro ‘ZEND_FENTRY’
 #define ZEND_FE(name, arg_info)      ZEND_FENTRY(name, ZEND_FN(name), arg_info, 0)
                                      

Expected result:
----------------
Makes correctly without errors.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-04 12:29 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2018-10-04 12:29 UTC] kalle@php.net
It seems that the mnogosearch package is no longer hosted on PECL, so I'm afraid you will have to report any issues to the Mnogosearch project at:

  <http://www.mnogosearch.org/>

Ps, the code in SVN is terribly old and most likely not even late PHP 5.x compatible.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu May 13 00:01:23 2021 UTC