[mythtv-users] MythTV 0.27 and php 7: input from gentoo users requested

Hika van den Hoven hikavdh at gmail.com
Thu Mar 9 23:17:36 UTC 2017


Hoi James,

Thursday, March 9, 2017, 9:47:21 PM, you wrote:

> On Thu, 9 Mar 2017, Karl Newman wrote:

>>> Look at the top of the output for `emerge --depclean --ask`:
>>>
>>> `emerge --noreplace <atom>` or `emerge --noreplace dev-lang\php-5.6.30`
>>>
>>>
>> I think the version needs to be prefixed with an equals sign (and probably
>> also use a forward slash, because I think the back slash will try to escape
>> the following p), as such:
>> `emerge --noreplace =dev-lang/php-5.6.30`

> Thanks for the additional input, Hika and Karl. I had seen that and did
> look a bit into the --noreplace switch as a possible resolution but had
> decided using that would probably not be advisable. The reason being that,
> as I had understood, using that switch would cause a particular version of
> php to be added to the world set. This being a dedicated MythTV box, it is
> necessary to have php in the world set. But theoretically, the machine
> could last long enough for php 5.6.30 to become deprecated; given that
> possibility, would it not be inadvisable to have a particular version of
> php stipulated in the world set? It might sound a bit unreasonable, but I
> would hope this machine might even still be in service til php 7 is 
> deprecated in favor of whatever new version might succeed it. So, again,
> as I'm understanding it, having php in the world set, without stipulation
> of a particular version, would seem to me what is called for. But I am
> obviously no sort of gentoo aficionado and am likely misunderstanding some
> fundamentals of administering a machine running this distro which, after
> all, is fairly new to me and is really still barely within my competence.

> Apologies to the list for these somewhat off-topic posts.
> _______________________________________________

You can always remove it again once you have php 7 stabilized. Or only
manually remove php 5.6.30 with the -C switch. I wouldn't be surprised
if that also automagically would removes it from the World set. As
long as you do not add thousands of specific atoms I don't see how it
can hurt... Every time you emerge something without the -1 switch it
is added to World.
Maybe it slows down an update check by 1 picosecond.
I for instance use it to prevent a still active kernel source from
being removed. But newer kernels are still emerged.
Also a different slot is near to a different package.
Besides very probably php is not in your World set, but is pulled in
as a dependency by for instance apache, which in its turn is pulled in
by mythweb.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list