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

php: add libxml 2.11.6 for PHP <= 8.0 #390

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

drupol
Copy link
Collaborator

@drupol drupol commented Jan 13, 2025

No description provided.

github-actions bot and others added 2 commits January 12, 2025 03:18
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/4989a246d7a390a859852baddb1013f825435cee?narHash=sha256-kMBQ5PRiFLagltK0sH%2B08aiNt3zGERC2297iB6vrvlU%3D' (2024-12-17)
  → 'github:NixOS/nixpkgs/32af3611f6f05655ca166a0b1f47b57c762b5192?narHash=sha256-dMGNa5UwdtowEqQac%2BDr0d2tFO/60ckVgdhZU9q2E2o%3D' (2025-01-09)
@drupol drupol force-pushed the push-ususvxxwzrsu branch from a1ff542 to 81634ca Compare January 13, 2025 20:18
@drupol
Copy link
Collaborator Author

drupol commented Jan 13, 2025

At this point, I don't know how to fix this:

/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/strlcat.c -o main/strlcat.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/explicit_bzero.c -o main/explicit_bzero.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/mergesort.c -o main/mergesort.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/reentrancy.c -o main/reentrancy.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/php_variables.c -o main/php_variables.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/php_ticks.c -o main/php_ticks.lo
       > /nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash /build/php-7.3.33/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Imain/ -I/build/php-7.3.33/main/ -DPHP_ATOM_INC -I/build/php-7.3.33/include -I/build/php-7.3.33/main -I/build/php-7.3.33 -I/nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -I/build/php-7.3.33/ext/date/lib -I/nix/store/jlriqh6qv2dj9qj0bdvz1x2arwkmm660-libxml2-2.11.6-dev/include/libxml2 -I/nix/store/1y69h8qxwxckg12v8dprp1b9ihpjbfhf-pcre2-10.44-dev/include -I/nix/store/n2d7k2n6l43ignmqvriw5kc2hmg3r30v-libargon2-20190702/include -I/build/php-7.3.33/TSRM -I/build/php-7.3.33/Zend    -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /build/php-7.3.33/main/network.c -o main/network.lo
       > /build/php-7.3.33/main/reentrancy.c: In function 'php_readdir_r':
       > /build/php-7.3.33/main/reentrancy.c:125:9: warning: 'readdir_r' is deprecated []
       >   125 |         readdir_r(dirp, entry);
       >       |         ^~~~~~~~~
       > In file included from /build/php-7.3.33/Zend/zend_virtual_cwd.h:76,
       >                  from /build/php-7.3.33/main/php.h:466,
       >                  from /build/php-7.3.33/main/php_reentrancy.h:22,
       >                  from /build/php-7.3.33/main/reentrancy.c:26:
       > /nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/dirent.h:185:12: note: declared here
       >   185 | extern int readdir_r (DIR *__restrict __dirp,
       >       |            ^~~~~~~~~
       > /build/php-7.3.33/main/reentrancy.c:125:9: error: too few arguments to function 'readdir_r'
       >   125 |         readdir_r(dirp, entry);
       >       |         ^~~~~~~~~
       > /nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/dirent.h:185:12: note: declared here
       >   185 | extern int readdir_r (DIR *__restrict __dirp,
       >       |            ^~~~~~~~~
       > make: *** [Makefile:926: main/reentrancy.lo] Error 1
       > make: *** Waiting for unfinished jobs....
       For full logs, run 'nix log /nix/store/zi25q0cwnr3i5nps2q96sxa2wz0c82hg-php-7.3.33.drv'.
error: 1 dependencies of derivation '/nix/store/w8nd6h127d7705gnbs7wli7wr9xca21h-php-with-extensions-7.3.33.drv' failed to build
~/C/f/nix-phps > (~push-ususvxxwzrsu (no description set) pqqn 55) ✘                                                              

@jtojnar
Copy link
Member

jtojnar commented Jan 13, 2025

Why is this needed? Should not 2.12 be sufficient?

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

Successfully merging this pull request may close these issues.

2 participants