Skip to content

ubuntu:jammy postinst failure: PHP Fatal error - Symfony/Polyfill/Php80/autoload.php not found #2

@Vitexus

Description

@Vitexus

Problem

Installation test on ubuntu:jammy fails during post-installation script with a PHP Fatal error.

Error (from Jenkins build #27)

PHP Warning:  require_once(Symfony/Polyfill/Php80/autoload.php): Failed to open stream: No such file or directory in /usr/share/php/Symfony/Component/Process/autoload.php on line 4
PHP Fatal error:  Uncaught Error: Failed opening required 'Symfony/Polyfill/Php80/autoload.php' (include_path='.:/usr/share/php') in /usr/share/php/Symfony/Component/Process/autoload.php:4
Stack trace:
#0 /usr/share/php/MultiFlexi/autoload.php(10): require_once()
#1 /usr/share/php/multiflexi-cli/autoload.php(10): require_once('...')
#2 /usr/share/multiflexi-cli/multiflexi-cli.php(19): require_once('...')
#3 {main}
  thrown in /usr/share/php/Symfony/Component/Process/autoload.php on line 4
dpkg: error processing package multiflexi-mserver (--configure):
 installed multiflexi-mserver package post-installation script subprocess returned error exit status 255

Cause

Path incompatibility: Symfony/Polyfill/Php80/autoload.php is not found at the expected include path on jammy (PHP 8.1). The php-symfony-polyfill-php80 package is installed but its autoload file is not accessible at the path expected by Symfony/Component/Process.

Fix

Investigate the autoload path mapping for php-symfony-polyfill-php80 on Ubuntu 22.04 (jammy) and adjust packaging or dependencies accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions