Mailing List Archive

opensuse build
I use fixes/32 and all is well.
I decided to give master a try and I unleashed python38 hell.
Has anybody built master on opensuse. I’m using Leap 15.5. Tumbleweed uses 38 but I’m relutant to use (bitten too many times)

Perhaps Jim can answer Tell me about arch. I believe they have a semi-stable release option. What’s system admin like?

Thanks
James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: opensuse build [ In reply to ]
On Thu, Nov 16, 2023 at 7:02?PM James Linder <jam@tigger.ws> wrote:

> I use fixes/32 and all is well.
> I decided to give master a try and I unleashed python38 hell.
> Has anybody built master on opensuse. I’m using Leap 15.5. Tumbleweed uses
> 38 but I’m relutant to use (bitten too many times)
>
> Perhaps Jim can answer Tell me about arch. I believe they have a
> semi-stable release option. What’s system admin like?
>
> Thanks
> James
>
>
Not sure this helps, but I have built Mythtv v34 Master on Endeavour OS
(Arch) using the AUR. I use yay -S mythtv-git --editmenu and change to
master. This is the same as documented for doing it on the Raspberry Pi
over on the forum.mythtv.org
https://forum.mythtv.org/viewtopic.php?p=26400#p26400

Of course, if you are on x86, just forget the changes to architecture and
video options.

Jim A
Re: opensuse build [ In reply to ]
On Fri, 2023-11-17 at 08:01 +0800, James Linder wrote:
> I use fixes/32 and all is well.
> I decided to give master a try and I unleashed python38 hell.
> Has anybody built master on opensuse. I’m using Leap 15.5. Tumbleweed
> uses 38 but I’m relutant to use (bitten too many times)

I am not a regular suse user, but I have internal builders that compile
the master branch on both suse15 (now at 15.5) and tumbleweed. I've
never had any problem that I can remember with the builds. (I did have
to reinstall the OS once after flubbing an upgrade.) Is there a
specific question I can answer? My suse-15 python version is 3.6.15;
tumbleweed is 3.11.5.

David


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: opensuse build [ In reply to ]
> On 17 Nov 2023, at 11:55 am, David Hampton via mythtv-users <mythtv-users@mythtv.org> wrote:
>
> On Fri, 2023-11-17 at 08:01 +0800, James Linder wrote:
>> I use fixes/32 and all is well.
>> I decided to give master a try and I unleashed python38 hell.
>> Has anybody built master on opensuse. I’m using Leap 15.5. Tumbleweed
>> uses 38 but I’m relutant to use (bitten too many times)
>
> I am not a regular suse user, but I have internal builders that compile
> the master branch on both suse15 (now at 15.5) and tumbleweed. I've
> never had any problem that I can remember with the builds. (I did have
> to reinstall the OS once after flubbing an upgrade.) Is there a
> specific question I can answer? My suse-15 python version is 3.6.15;
> tumbleweed is 3.11.5.

./configure --cc=gcc-10 --cxx=g++-10 --enable-set-cc-default
WARNING: disabling Python bindings; missing Python 3.8 or greater

# Bindings
bindings_perl yes
bindings_python no
bindings_php yes


The default as installed gcc is 7

./configure
MythTV requires GCC 8 or better.

They are not show stoppers, just a pain as fixes/32 buils and works perfectly
My explore was to see if master gives a reasonable alternative to mythweb, which I cant get to work due to python gotchas.

James
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: opensuse build [ In reply to ]
On Fri, 2023-11-17 at 12:26 +0800, jam wrote:
>
>
> > On 17 Nov 2023, at 11:55 am, David Hampton via mythtv-users
> > <mythtv-users@mythtv.org> wrote:
> >
> > On Fri, 2023-11-17 at 08:01 +0800, James Linder wrote:
> > > I use fixes/32 and all is well.
> > > I decided to give master a try and I unleashed python38 hell.
> > > Has anybody built master on opensuse. I’m using Leap 15.5.
> > > Tumbleweed
> > > uses 38 but I’m relutant to use (bitten too many times)
> >
> > I am not a regular suse user, but I have internal builders that
> > compile
> > the master branch on both suse15 (now at 15.5) and tumbleweed. 
> > I've
> > never had any problem that I can remember with the builds. (I did
> > have
> > to reinstall the OS once after flubbing an upgrade.)  Is there a
> > specific question I can answer?  My suse-15 python version is
> > 3.6.15;
> > tumbleweed is 3.11.5.
>
> ./configure --cc=gcc-10 --cxx=g++-10 --enable-set-cc-default
> WARNING: disabling Python bindings; missing Python 3.8 or greater
> …
> # Bindings
> bindings_perl             yes
> bindings_python           no
> bindings_php              yes
>
>
> The default as installed gcc is 7
>
> ./configure
> MythTV requires GCC 8 or better.

First, does "zypper repos | grep repo-sle-update" say "yes" in the
fourth column? If not, issue the command "zypper modifyrepo -e <n>"
where <n> is the number from the first column,

Then try "sudo zypper install gcc13". I believe that will also set the
symlinks so that "gcc" is a link to "gcc13".

David



_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: opensuse build [ In reply to ]
> On Nov 17, 2023, at 13:31, David Hampton via mythtv-users <mythtv-users@mythtv.org> wrote:
>
> On Fri, 2023-11-17 at 12:26 +0800, jam wrote:
>>
>>
>>> On 17 Nov 2023, at 11:55 am, David Hampton via mythtv-users
>>> <mythtv-users@mythtv.org> wrote:
>>>
>>> On Fri, 2023-11-17 at 08:01 +0800, James Linder wrote:
>>>> I use fixes/32 and all is well.
>>>> I decided to give master a try and I unleashed python38 hell.
>>>> Has anybody built master on opensuse. I’m using Leap 15.5.
>>>> Tumbleweed
>>>> uses 38 but I’m relutant to use (bitten too many times)
>>>
>>> I am not a regular suse user, but I have internal builders that
>>> compile
>>> the master branch on both suse15 (now at 15.5) and tumbleweed.
>>> I've
>>> never had any problem that I can remember with the builds. (I did
>>> have
>>> to reinstall the OS once after flubbing an upgrade.) Is there a
>>> specific question I can answer? My suse-15 python version is
>>> 3.6.15;
>>> tumbleweed is 3.11.5.
>>
>> ./configure --cc=gcc-10 --cxx=g++-10 --enable-set-cc-default
>> WARNING: disabling Python bindings; missing Python 3.8 or greater
>> …
>> # Bindings
>> bindings_perl yes
>> bindings_python no
>> bindings_php yes
>>
>>
>> The default as installed gcc is 7
>>
>> ./configure
>> MythTV requires GCC 8 or better.
>
> First, does "zypper repos | grep repo-sle-update" say "yes" in the
> fourth column? If not, issue the command "zypper modifyrepo -e <n>"
> where <n> is the number from the first column,
>
> Then try "sudo zypper install gcc13". I believe that will also set the
> symlinks so that "gcc" is a link to "gcc13".

Nope it does not!
[seagull] /home/jam [362]% ll /usr/bin/gcc*
lrwxrwxrwx 1 root root 5 Aug 23 2021 /usr/bin/gcc -> gcc-7
-rwxr-xr-x 1 root root 1153968 Jul 18 2022 /usr/bin/gcc-10
-rwxr-xr-x 2 root root 1666184 Nov 8 16:54 /usr/bin/gcc-13
-rwxr-xr-x 1 root root 1022416 Nov 2 2021 /usr/bin/gcc-7
lrwxrwxrwx 1 root root 8 Aug 23 2021 /usr/bin/gcc-ar -> gcc-ar-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-ar-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-ar-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-ar-7
lrwxrwxrwx 1 root root 8 Aug 23 2021 /usr/bin/gcc-nm -> gcc-nm-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-nm-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-nm-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-nm-7
lrwxrwxrwx 1 root root 12 Aug 23 2021 /usr/bin/gcc-ranlib -> gcc-ranlib-7
-rwxr-xr-x 1 root root 31208 Jul 18 2022 /usr/bin/gcc-ranlib-10
-rwxr-xr-x 1 root root 31184 Nov 8 16:54 /usr/bin/gcc-ranlib-13
-rwxr-xr-x 1 root root 31184 Nov 2 2021 /usr/bin/gcc-ranlib-7
>


Hmmm

[seagull] /home/jam [366]%
[seagull] /home/jam [366]% sudo update-alternatives --config gcc
[sudo] password for root:
update-alternatives: error: no alternatives for gcc


I’ll go ahead and doit anyway. Thanks for ideas

James


_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org