PHP is not namespaced?! MariaDB uninstalls when installing perl packages related to it?!

Hi everyone.

A few months ago I posted "potential FreeBSD convert / FreeBSD release cadence" I am now finally installing FreeBSD on a new machine and have run into two "blockers" -- both are fairly "serious" in my opinion.

I have asked for a login at FreeBSD Ports Bug Tracker but have still heard nothing back after well more than 16 hours. Strange.

So I am going to post here to see whether I am doing something wrong.

Bash:
pkg install php84
results in files being placed in /usr/local/etc and NOT "namespaced" into something like /usr/local/etc/php84

when I then go on to
Bash:
pkg install php81
the installer of course complains and offers to remove php84.

What the heck?! to say nothing of the need to sometimes run two (or more) versions in production side by side (common!), how does one go about testing new versions?!

Does one seriously need to resort to a jail or some other mechanism? This seems overwrought, if so!


Secondly, I also discovered that installing p5-DBD-mysql or p5-DBD-MariaDB automatically removes MariaDB by replacing it with mysql80-client.

I'm thinking both issues are packaging problems and might be avoided by installing from ports (have never done that yet), but this seems a bit crazy.


Other than these two issues, my "hands on, elbows deep" introduction to FreeBSD has been nice, but these two issues make me consider scurrying back to Fedora.

Your (quick) feedback would be appreciated. I need to move two new machines to (light) production fairly quickly. Thanks!
 
the installer of course complains and offers to remove php84.
All versions conflict with each other:
Code:
CONFLICTS_INSTALL?=	php[0-9][0-9]${PKGNAMESUFFIX}
Secondly, I also discovered that installing p5-DBD-mysql or p5-DBD-MariaDB automatically removes MariaDB by replacing it with mysql80-client.

I'm thinking both issues are packaging problems and might be avoided by installing from ports (have never done that yet), but this seems a bit crazy.
Not so much a packaging problem, besides default options there are default versions set, and the official packages are built from those defaults. Once built those package dependencies are set in stone.
 
All versions conflict with each other:
CONFLICTS_INSTALL?= php[0-9][0-9]${PKGNAMESUFFIX}

So do I understand correctly that this a design decision by the FreeBSD PHP port maintainers?

Is the intent is to reduce complexity and support issues? This would seem a bit shortsighted not only for developers but especially at the expense of flexibility for those hosting a variety of websites.

Perhaps I have misunderstood?
 
Back
Top