Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too few arguments to function 'php_funcmap_write_and_cleanup_map' #3

Closed
rez1dent3 opened this issue Aug 15, 2022 · 0 comments
Closed

Comments

@rez1dent3
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants