Spoje-NET / Spoje-NET/multiflexi-mserver

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

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing Jenkins build #27 on Ubuntu 22.04 (jammy) and inspect the multiflexi-mserver post-installation script and the PHP autoload paths shown in the error. Trace how php-symfony-polyfill-php80 is packaged and included; done means the package configures successfully without the missing Symfony/Polyfill/Php80/autoload.php failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, ubuntu
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.