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 8.4 packages #2176

Open
oerdnj opened this issue Jul 6, 2024 · 11 comments
Open

PHP 8.4 packages #2176

oerdnj opened this issue Jul 6, 2024 · 11 comments

Comments

@oerdnj
Copy link
Owner

oerdnj commented Jul 6, 2024

This is a tracking issue for PHP 8.4 status.

  • PHP 8.4
    • Create a new package for PHP 8.4.0alpha1
    • Update the package with PHP 8.4.0alpha2 (when available)
    • Upload to php-qa repositories
    • Upload to Debian experimental
    • Initiate transition for Debian trixie (RC version)
    • Upload PHP 8.4 version to Debian unstable (RC version)
    • Upload final PHP 8.4 version to PHP repositories
    • Upload final PHP 8.4 version to Debian unstable
  • php-defaults
    • Set PHP 8.4 as single supported version in debian/experimental branch
    • Upload to php-qa repositories
    • Remove IMAP and pspell extensions from the modulelist
    • Upload to Debian experimental
    • Add PHP 8.4 for packages.sury.org version (along with PHP 5.6 - PHP 8.3)
    • Upload multiversion php-defaults to PHP repositories
  • Unbundled IMAP extension
    • Create a new package for unbundled IMAP extension
    • Upload to php-qa repositories
    • Upload to Debian experimental (after PHP 8.4 passes NEW)
  • Unbundled pspell extension
    • Create a new package for unbundled pspell extension
    • Upload to php-qa repositories
    • Upload to Debian experimental (after PHP 8.4 passes NEW)
  • Current PECL extensions
    • Test all current PECL extensions against PHP 8.4
    • Build status of PECL extensions
      • libvirt-php
      • php-amqp
      • php-apcu
      • php-ast
      • php-decimal (missing libmpdec-dev on noble)
      • php-dio
      • php-ds
      • php-excimer
      • php-gearman
      • php-geoip
      • php-gmagick
      • php-gnupg
      • php-grpc
      • php-igbinary
      • php-imagick
      • php-imap
      • php-inotify
      • php-lz4 (will need manual debian/control.in update)
      • php-mailparse
      • php-maxminddb
      • php-mcrypt
      • php-memcache
      • php-memcached
      • php-mongodb
      • php-msgpack
      • php-oauth
      • php-openswoole
      • php-opentelemetry
      • php-pcov
      • php-pecl-http
      • php-pinba (will need manual debian/control.in update)
      • php-phalcon5
      • php-pq
      • php-protobuf
      • php-ps
      • php-pspell
      • php-psr
      • php-radius
      • php-raphf
      • php-rdkafka
      • php-redis (fatal error: standard/php_random.h: No such file or directory)
      • php-rrd
      • php-smbclient
      • php-solr (syntax error near unexpected token `-fprofile-arcs,' in configure)
      • php-ssh2
      • php-stomp
      • php-swoole
      • php-uopz
      • php-uploadprogress
      • php-uuid
      • php-vips
      • php-xhprof
      • php-xmlrpc
      • php-yac
      • php-yaml
      • php-zmq
      • php-zstd
      • xdebug (3.4.0~alpha1 works)
    • Not supported
      • php-apcu-bc
      • php-geoip
      • php-lua
      • php-mongo
      • php-mysqlnd-ms
      • php-propro
      • php-radius
      • php-sodium
      • xcache
    • Remove
      • php-facedetect (remove completely?)
      • tideways (obsoleted by upstream, remove completely)
    • Upload to Debian experimental (after PHP 8.4 passes NEW)
      • libvirt-php
      • php-amqp
      • php-apcu
      • php-ast
      • php-decimal (missing libmpdec-dev on noble)
      • php-ds
      • php-excimer (fatal error: ext/standard/php_mt_rand.h: No such file or directory)
      • php-gearman
      • php-gmagick
      • php-gnupg
      • php-grpc
      • php-igbinary
      • php-imagick
      • php-imap
      • php-inotify
      • php-mailparse
      • php-maxminddb
      • php-mcrypt (fatal error: ext/standard/php_rand.h: No such file or directory)
      • php-memcache
      • php-memcached
      • php-mongodb
      • php-msgpack
      • php-oauth (fatal error: ext/standard/php_rand.h: No such file or directory)
      • php-openswoole
      • php-pcov (error: too many arguments to function ‘php_pcre_match_impl’)
      • php-pecl-http (fatal error: ext/standard/php_lcg.h)
      • php-pinba (up to PHP 8.2 only)
      • php-pq
      • php-pspell
      • php-psr (tests failing)
      • php-raphf
      • php-rdkafka
      • php-redis (fatal error: standard/php_random.h: No such file or directory)
      • php-rrd
      • php-smbclient
      • php-solr (syntax error near unexpected token `-fprofile-arcs,' in configure)
      • php-stomp
      • php-swoole
      • php-uopz
      • php-uploadprogress
      • php-uuid
      • php-vips
      • php-xhprof
      • php-xmlrpc
      • php-yac
      • php-yaml
      • php-zmq
      • php-zstd
      • xdebug (usually need a new upstream version)

NOTE: As of now, I am not yet interested in bug reports until this tracking issue is finished.

@oerdnj oerdnj pinned this issue Jul 6, 2024
@oerdnj oerdnj changed the title PHP 8.4 status PHP 8.4 packages Jul 6, 2024
@rfay
Copy link

rfay commented Jul 7, 2024

Thanks so much for all the work on this!

You say

Upload to Debian experimental

I'm not familiar with that, is it publicly available? Thanks!

@rfay rfay mentioned this issue Jul 7, 2024
3 tasks
@oerdnj
Copy link
Owner Author

oerdnj commented Jul 7, 2024

Upload to Debian experimental

I'm not familiar with that, is it publicly available? Thanks!

https://wiki.debian.org/DebianExperimental

It's used to prepare the transition for Debian unstable (and other experiments).

@rfay
Copy link

rfay commented Jul 30, 2024

I see we have 8.4.0alpha2 now, thanks!

Right now we only seem to be missing these packages as labelled in the list above

apcu opcache redis uploadprogress xdebug xhprof

@AnnoyingTechnology
Copy link

Any idea when APCu would be made available ?
(And thanks for all the work!)

@rfay
Copy link

rfay commented Sep 29, 2024

Although they're listed above, I don't see php8.4-apcu php8.4-opcache php8.4-redis php8.4-uploadprogress php8.4-xdebug php8.4-xhprof (Debian 12, both arm64 and amd64)

Maybe I misunderstand the list. I thought "Current pecl extensions" that were checked were available now, but I must not understand it.

@Sn0wCrack
Copy link

Additionally for imagick, mailparse and phalcon for PHP 8.4 the following warnings is generated when installed:

PHP Warning:  PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /usr/lib/php/20240924/imagick.so (/usr/lib/php/20240924/imagick.so: undefined symbol: php_strtolower), /usr/lib/php/20240924/imagick.so.so (/usr/lib/php/20240924/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/lib/php/20240924/mailparse.so (/usr/lib/php/20240924/mailparse.so: undefined symbol: php_strtolower), /usr/lib/php/20240924/mailparse.so.so (/usr/lib/php/20240924/mailparse.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library 'phalcon.so' (tried: /usr/lib/php/20240924/phalcon.so (/usr/lib/php/20240924/phalcon.so: undefined symbol: php_strtoupper), /usr/lib/php/20240924/phalcon.so.so (/usr/lib/php/20240924/phalcon.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

@Krinkle
Copy link

Krinkle commented Oct 29, 2024

php8.4-apcu requires an upstream release of commits at https://github.com/krakjoe/apcu first since php-apcu 5.1.23 from PECL doesn't compile cleanly against PHP 8.4.

Release pending at krakjoe/apcu#523. EDIT: Published as php-apcu 5.1.24.

@DoobleD
Copy link

DoobleD commented Nov 1, 2024

Thank you fo the work here!

Would it be possible to have php8.4-pgsql come with a pdo_pgsql compiled with libpq 17? That would allow the postgresql PDO to work with connection poolers such as pgbouncer in transaction mode. See this issue.

I haven't seen php8.4-pgsql mentionned in this issue though so perhaps I'm not asking in the right place?

@oerdnj
Copy link
Owner Author

oerdnj commented Nov 1, 2024

Thank you fo the work here!

Would it be possible to have php8.4-pgsql come with a pdo_pgsql compiled with libpq 17? That would allow the postgresql PDO to work with connection poolers such as pgbouncer in transaction mode. See this issue.

It gets compiled with whatever libraries are provided by the base system. If you want libpq >= 17, you need to upgrade to Ubuntu/Debian that has libpq-dev >= 17

I haven't seen php8.4-pgsql mentionned in this issue though so perhaps I'm not asking in the right place?

The list is only for PECL extensions, but generally speaking, you are asking in wrong place, you question is not directly relevant to the topic.

@rfay
Copy link

rfay commented Nov 1, 2024

(I see new builds showing up for amd64 but not arm64. Are the arm64 builds failing? (https://packages.sury.org/php/pool/main/p/php8.4/) )

Edit: arm64 has php 8.4.0RC1, but amd64 has 8.4.0RC3

@DoobleD
Copy link

DoobleD commented Nov 1, 2024

Thank you @oerdnj!

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

6 participants