Install this version:
emerge -a =dev-php/pecl-amqp-2.2.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/pecl-amqp-2.2.0
Or alternatively:
emerge --autounmask-write -a =dev-php/pecl-amqp-2.2.0
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_PHP="php8-2 php8-3 php8-4 php8-5"
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
inherit php-ext-pecl-r3
DESCRIPTION="PHP Bindings for AMQP 0-9-1 compatible brokers"
LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Tests require running rabbitmq-server on localhost which requires epmd
# which only accepts /var/run/epmd.pid as pidfile.
RESTRICT="test"
RDEPEND=">=net-libs/rabbitmq-c-0.13.0:=[ssl(-)]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
>=net-libs/rabbitmq-c-0.13.0:=[ssl(-)]
>=net-libs/rabbitmq-c-0.13.0:=[ssl(-)]
virtual/pkgconfig