[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1109634: marked as done (ITP: php-symfony-console -- Symfony Console component)



Dear William,

I need to address a critical version compatibility issue that was overlooked in the closure of this ITP.

VERSION INCOMPATIBILITY:
FOSSology requires php-symfony-console version 3.4.6, while current Debian provides version 5.4.x+. These major versions have breaking API changes that prevent FOSSology from functioning.

CONCRETE EVIDENCE FROM SYSTEM TESTING:
We encountered this exact dependency conflict during FOSSology integration:
"php-symfony-console (5.4.4+dfsg-1ubuntu8) breaks php-symfony-dependency-injection (<< 4.4~~)"

This error proves that Symfony Console 5.x is fundamentally incompatible with applications requiring 3.4.x APIs.

MAJOR BREAKING CHANGES BETWEEN VERSIONS:
Symfony Console 3.4 → 5.4 introduced:
- Command class constructor signature changes
- Input/Output interface modifications
- Helper class API restructuring
- Event system overhaul
- Application class method changes

TECHNICAL REQUIREMENT:
FOSSology's CLI components were built against Symfony 3.4.6 APIs. Migrating to 5.x would require extensive code refactoring throughout FOSSology's command-line interfaces, which is beyond the scope of packaging work.

PROPOSED SOLUTION:
Package as php-symfony-console-3.4 with version-specific naming to:
- Provide legacy API compatibility for FOSSology
- Avoid conflicts with existing Debian packages
- Follow established Debian patterns for version-specific packages

DEBIAN PRECEDENT:
This follows the same approach used for:
- php7.4-* and php8.1-* packages (major PHP version incompatibilities)
- postgresql-13, postgresql-14, postgresql-15 (breaking database changes)
- python3.9, python3.10, python3.11 (language version requirements)

JUSTIFICATION:
FOSSology is a mature open-source license compliance system used by major organizations. Its integration into Debian requires resolving these version dependencies without forcing massive upstream code changes.

REQUEST:
Could we reopen this ITP to discuss version-specific packaging? I'm willing to adjust the package name to php-symfony-console-3.4 to clearly indicate the legacy version.

Best regards,
Ahmed Gamal
FOSSology Debian Packaging Team

Documentation: https://symfony.com/doc/3.4/console.html vs https://symfony.com/doc/5.4/console.html

On Sun, Aug 10, 2025 at 2:03 PM Debian Bug Tracking System <owner@bugs.debian.org> wrote:
Your message dated Sun, 10 Aug 2025 15:45:06 +0200
with message-id <198943a261a.128607e99394474.6146403675296746199@wdes.fr>
and subject line The package already exists in Debian
has caused the Debian Bug report #1109634,
regarding ITP: php-symfony-console -- Symfony Console component
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--
1109634: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1109634
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems



---------- Forwarded message ----------
From: Ahmed Gamal <ahmed.gamal9541@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Cc: 
Bcc: 
Date: Mon, 21 Jul 2025 07:19:34 +0000
Subject: ITP: php-symfony-console -- Symfony Console component
Package: wnpp
Severity: wishlist
Owner: Ahmed Gamal <ahmed.gamal9541@gmail.com>

* Package name    : php-symfony-console
  Version         : 3.4.6
  Upstream Author : Fabien Potencier <fabien@symfony.com>
* URL             : https://github.com/symfony/console
* License         : MIT
  Programming Lang: PHP
  Section         : php

Description:
 Symfony Console component

 This package provides the Symfony Console component, a library that eases the
 creation of beautiful and testable command-line interfaces in PHP. It allows
 developers to build powerful CLI tools with input parsing, output formatting,
 progress bars, and more, following best practices for usability and
 maintainability.

 The component is widely used in the Symfony framework and by many other PHP
 projects to provide robust and user-friendly command-line tools.

Rationale:
 This package is required as a dependency for FOSSology, an open source license
 compliance system. FOSSology uses PHP-based tools for source code analysis and
 license detection, and the Symfony Console component is used to implement
 command-line utilities and scripts within the project.

 The php-symfony-console package is essential for:
 - Building and managing CLI tools in FOSSology's PHP components
 - Supporting interactive and automated command-line operations
 - Providing a consistent and user-friendly CLI experience
 - Enabling advanced input/output handling and progress reporting
 - Ensuring compatibility with other Symfony-based libraries

Technical Details:
 - Requires PHP >= 5.5.9
 - Implements a feature-rich command-line interface library
 - Supports input parsing, output formatting, and progress bars
 - MIT licensed for maximum compatibility
 - Widely used in the PHP ecosystem

Dependencies:
 - php (>= 5.5.9)
 - Build dependencies: phpunit, php-codesniffer

The package will be maintained by Ahmed Gamal <ahmed.gamal9541@gmail.com> as part
of the FOSSology packaging effort.

--
Ahmed Gamal
FOSSology Debian Packaging Team



---------- Forwarded message ----------
From: William Desportes <williamdes@wdes.fr>
To: 1109364-done <1109364-done@bugs.debian.org>, 1109365-done <1109365-done@bugs.debian.org>, 1109613-done <1109613-done@bugs.debian.org>, 1109615-done <1109615-done@bugs.debian.org>, 1109621-done <1109621-done@bugs.debian.org>, 1109624-done <1109624-done@bugs.debian.org>, 1109625-done <1109625-done@bugs.debian.org>, 1109632-done <1109632-done@bugs.debian.org>, 1109633-done <1109633-done@bugs.debian.org>, 1109634-done <1109634-done@bugs.debian.org>, 1109640-done <1109640-done@bugs.debian.org>
Cc: 
Bcc: 
Date: Sun, 10 Aug 2025 15:45:06 +0200
Subject: The package already exists in Debian

Please do some research before opening ITP/RFP bugs.
This package already exists in Debian.

--
William Desportes

Reply to: