2024-05-28 09:35:59 |
José Luis Jiménez Fernández |
bug |
|
|
added bug |
2024-07-02 23:39:20 |
Jeff Standen |
bug |
|
|
added subscriber Jeff Standen |
2024-08-21 20:33:39 |
Moses Lecce |
bug |
|
|
added subscriber Moses Lecce |
2024-08-22 19:28:10 |
Athos Ribeiro |
description |
$ php -m
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
....
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: php8.3-mailparse 3.1.4+2.1.7~dev20160128-1ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 28 11:27:00 2024
InstallationDate: Installed on 2024-05-26 (2 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: php-mailparse
UpgradeStatus: No upgrade log present (probably fresh install) |
[ Impact ]
The package is unusable in noble because the shared object cannot be loaded.
[ Test Plan ]
install the package
$ sudo apt install php-mailparse
and list the compile in modules with
$ php -m
You will get the following warning:
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)...
and "mailparse" will not be in the compiled in modules list.
Then, install php-mailparse with the proposed fix and run the command again:
$ php -m
Now, you will not get the warning and "mailparse" will be in the list.
Alternatively, just install php-mailparse and run
$ php -m | grep '^mailparse$'
This command should fail for affected versions of the package.
[ Where problems could occur ]
The fix consists of substituting the mbfl deprecated API calls for the new ones. If any bugs are found in those new implementations, we will need to fix them in php8.3 in noble. Note that, currently, the extension cannot be loaded at all.
[ Other Info ]
I am also including a simple smoketest as a DEP8 test here, which is testing what we described in the test plan above. This is also being included in oracular for completeness. Finally, I will propose to Debian that all php native extensions should perform this smoketest in autopkgtest
[ Original message ]
$ php -m
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
....
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: php8.3-mailparse 3.1.4+2.1.7~dev20160128-1ubuntu1
ProcVersionSignature: Ubuntu 6.8.0-31.31-generic 6.8.1
Uname: Linux 6.8.0-31-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 28 11:27:00 2024
InstallationDate: Installed on 2024-05-26 (2 days ago)
InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424)
ProcEnviron:
LANG=en_US.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-256color
XDG_RUNTIME_DIR=<set>
SourcePackage: php-mailparse
UpgradeStatus: No upgrade log present (probably fresh install) |
|
2024-08-22 19:48:16 |
Athos Ribeiro |
merge proposal linked |
|
https://code.launchpad.net/~athos-ribeiro/ubuntu/+source/php-mailparse/+git/php-mailparse/+merge/471857 |
|
2024-08-22 19:49:03 |
Athos Ribeiro |
php-mailparse (Ubuntu): assignee |
|
Athos Ribeiro (athos-ribeiro) |
|
2024-08-23 11:14:53 |
Athos Ribeiro |
php-mailparse (Ubuntu): status |
New |
In Progress |
|
2024-08-23 11:15:04 |
Athos Ribeiro |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-09-04 12:38:39 |
Robie Basak |
php-mailparse (Ubuntu): status |
In Progress |
Fix Released |
|
2024-09-04 12:39:24 |
Robie Basak |
php-mailparse (Ubuntu Noble): status |
New |
Fix Committed |
|
2024-09-04 12:39:26 |
Robie Basak |
bug |
|
|
added subscriber SRU Verification |
2024-09-04 12:39:28 |
Robie Basak |
tags |
amd64 apport-bug noble |
amd64 apport-bug noble verification-needed verification-needed-noble |
|
2024-09-06 00:47:27 |
Athos Ribeiro |
tags |
amd64 apport-bug noble verification-needed verification-needed-noble |
amd64 apport-bug noble verification-done verification-done-noble |
|