[Bug 261797] devel/php-composer2: Fails to build with lang/php80 MYSQL80=ON

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 09 Feb 2022 18:02:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261797

--- Comment #5 from Sean McBride <sean@rogue-research.com> ---
When running this command:

poudriere bulk -C -j amd64-13-0 devel/php-composer2

The error I encounter is:

[00:00:04] [01] [00:00:00] Building security/php80-openssl |
php80-openssl-8.0.15
[00:00:18] [01] [00:00:14] Finished security/php80-openssl |
php80-openssl-8.0.15: Failed: stage
[00:00:18] [01] [00:00:14] Skipping devel/php-composer2 |
php80-composer2-2.2.5: Dependent port security/php80-openssl |
php80-openssl-8.0.15 failed

security/php80-openssl fails to build, which is "normal" because of how #252420
was fixed. i.e. when MYSQL80=ON openssl is built into php itself, and
php80-openssl can/must not be used.

devel/php-composer2 *unconditionally* depends on security/php80-openssl, and so
it consequently fails.

As I understand it from comments in the related tickets, devel/php-composer2
needs to somehow depend on php80-openssl *conditionally* instead of
unconditionally.

-- 
You are receiving this mail because:
You are the assignee for the bug.