badoo / funcmap

PHP extension that logs all called userspace functions/methods

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

too few arguments to function 'php_funcmap_write_and_cleanup_map'

rez1dent3 opened this issue · comments

Hello. An error was made while synchronizing with an internal package. 47fcc9a

A method was called with no arguments. I think it should be 0

php_funcmap_write_and_cleanup_map();

  - git clone https://github.com/badoo/funcmap.git /opt/funcmap
  - cd /opt/funcmap
  - /usr/bin/phpize8.0
  - ./configure
  - make -j4
  - make install

trace

│ │ build-libs/setup  funcmap.lo 
│ │ build-libs/setup  libtool: compile:  cc -I. -I/opt/funcmap -I/opt/funcmap/include -I/opt/funcmap/main -I/opt/funcmap         ↵
│ │ build-libs/setup  -I/usr/include/php/20200930 -I/usr/include/php/20200930/main -I/usr/include/php/20200930/TSRM              ↵
│ │ build-libs/setup  -I/usr/include/php/20200930/Zend -I/usr/include/php/20200930/ext -I/usr/include/php/20200930/ext/date/lib  ↵
│ │ build-libs/setup  -DHAVE_CONFIG_H -g -O2 -c /opt/funcmap/funcmap.c  -fPIC -DPIC -o .libs/funcmap.o
│ │ build-libs/setup  /opt/funcmap/funcmap.c: In function 'zif_funcmap_flush':
│ │ build-libs/setup  /opt/funcmap/funcmap.c:386:2: error: too few arguments to function 'php_funcmap_write_and_cleanup_map'
│ │ build-libs/setup    386 |  php_funcmap_write_and_cleanup_map();
│ │ build-libs/setup        |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ │ build-libs/setup  /opt/funcmap/funcmap.c:196:13: note: declared here
│ │ build-libs/setup    196 | static void php_funcmap_write_and_cleanup_map(int in_shutdown) /* {{{ */
│ │ build-libs/setup        |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ │ build-libs/setup  make: *** [Makefile:209: funcmap.lo] Error 1
│ ├ Info
│ └ Building stage build-libs/setup (51.10 seconds) FAILED