** Description changed: + [ 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> + 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)
-- 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
