The pear and pear2 scripts will fail if 'prce.so' and/or 'xml.so' are already loaded.
The Problem is in the patch for pearcmd (patch-scripts::pearcmd.php). No checking is done if the libaries are already loaded.
It should look something like this:
Maybe with some additional Errorhandling if the Libaries do not exist :)
To which port(s) does this PR apply?
Committed with PR ports/75063 from the maintainer.
Thanks for your notification!
Mark: this was devel/pear-PEAR and affected every pear-* ports.