Reproducing the bug as per the test plan:

$ lxc launch ubuntu-daily:noble php-mailparse-nn
$ lxc exec php-mailparse-nn -- apt update
$ lxc exec php-mailparse-nn -- apt install php-mailparse
$ lxc exec php-mailparse-nn -- apt install -y php-mailparse
$ lxc exec php-mailparse-nn -- php -m | grep '^mailparse$'
PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' 
(tried: /usr/lib/php/20230831/mailparse.so (/usr/lib/php/20230831/mailparse.so: 
undefined symbol: mbfl_name2no_encoding), /usr/lib/php/20230831/mailparse.so.so 
(/usr/lib/php/20230831/mailparse.so.so: cannot open shared object file: No such 
file or directory)) in Unknown on line 0
$ echo $?
1

Verifying the fix with version 3.1.4+2.1.7~dev20160128-1ubuntu1.1 as per
the test plan (note that we need to install php8.3-mailparse because
just upgrading the unversioned package will not update the versioned
one):

$ lxc exec php-mailparse-nn -- sed -i 's/\(noble-backports\)$/\1 
noble-proposed/' /etc/apt/sources.list.d/ubuntu.sources
$ lxc exec php-mailparse-nn -- apt update
$ lxc exec php-mailparse-nn -- apt install -y php-mailparse/noble-proposed 
php8.3-mailparse/noble-proposed
$ lxc exec php-mailparse-nn -- php -m | grep '^mailparse$'
mailparse
$ echo $?
0

As expected.

** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2067365

Title:
  php mailparse module does not work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-mailparse/+bug/2067365/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to