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

Stuart Auchterlonie stuarta at squashedfrog.net
Fri Mar 10 16:27:02 UTC 2017


On 09/03/17 23:17, Hika van den Hoven wrote:
> 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.

We've never merged the php7 changes back to fixes/0.27 for mythweb.
That'll be why it doesn't work.

Regards
Stuart




More information about the mythtv-users mailing list