Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails from composer v2.7.3 #572

Open
eostis opened this issue Jan 8, 2025 · 0 comments
Open

Install fails from composer v2.7.3 #572

eostis opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@eostis
Copy link

eostis commented Jan 8, 2025

Description

Install fails from composer >= 2.7.3:

root# composer -V
Composer version 2.8.4 2024-12-11 11:57:47
PHP version 8.1.12 (/usr/local/bin/php)

root# composer require rdkafka/rdkafka
./composer.json has been created
Running composer update rdkafka/rdkafka
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires rdkafka/rdkafka *, found rdkafka/rdkafka[6.0.5] but these were not loaded, likely because it conflicts with another require.

But succeeds with composer 2.7.2:

root# composer self-update 2.7.2
Upgrading to version 2.7.2 (stable channel).

root# composer require rdkafka/rdkafka
./composer.json has been updated
Running composer update rdkafka/rdkafka
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals
  - Locking rdkafka/rdkafka (6.0.5)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
As there is no 'unzip' nor '7z' command installed zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Installing 'unzip' or '7z' (21.01+) may remediate them.
  - Installing rdkafka/rdkafka (6.0.5): Extracting archive

php-rdkafka Version

6.0.5

librdkafka Version

No response

PHP Version

PHP 8.1.0

Operating System

No response

Kafka Version

No response

@eostis eostis added the bug label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant