Mailing List Archive

Struggling to build v34 on Opensuse leap 15.4 and 15.5
Mythtv now requires gcc8 and Opensuse is still on gcc7. Opensuse has
gcc8 packages. I've tried adding BuildRequires lines for those packages
in my .spec file and adding --cc=gcc8 --cxx=g++8 to the configure
options. I get an error message "gcc8 is unable to create an executable
file". I've also tried adding BuildRequrires lines for libgcc_s1-gcc8
and libstdc++6-gcc8, but those conflict with the gcc7 versions. I'm
wondering if this is a lost cause, or whether someone knows a trick to
get this to work.

Paul.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
> On Feb 11, 2024, at 21:32, Paul Gardiner <lists@glidos.net> wrote:
>
> Mythtv now requires gcc8 and Opensuse is still on gcc7. Opensuse has gcc8 packages. I've tried adding BuildRequires lines for those packages in my .spec file and adding --cc=gcc8 --cxx=g++8 to the configure options. I get an error message "gcc8 is unable to create an executable file". I've also tried adding BuildRequrires lines for libgcc_s1-gcc8 and libstdc++6-gcc8, but those conflict with the gcc7 versions. I'm wondering if this is a lost cause, or whether someone knows a trick to get this to work.

Paul I built for leap 15.5 without much addo

First install gcc-13 and g++-13
Next install python 3.11
as per the wiki install ansible

$ ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11

install the python devel stuff
$ pip3 install mysqlclient

(can’t recall if I edited and commented the test mysql in configure)
Make normally and sudo make install

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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:

>
> First install gcc-13 and g++-13
>

If it would make sense, I can probably
create a PR(*) to add installing gcc13
and gcc13-c++ to the ansible tasks for
Leap. It would not help for the ./configure
invocation, but at least the compiler
would be there.



(*) Or, better yet, you could create the PR
for the MythTV/ansible repo.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:

> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>
> >
> > First install gcc-13 and g++-13
> >
>
> If it would make sense, I can probably
> create a PR(*) to add installing gcc13
> and gcc13-c++ to the ansible tasks for
> Leap. It would not help for the ./configure
> invocation, but at least the compiler
> would be there.
>
>
>
> (*) Or, better yet, you could create the PR
> for the MythTV/ansible repo.


Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
gcc/gcc-c++


diff --git a/roles/mythtv-suse/tasks/main.yml b/roles/mythtv-suse/tasks/main.yml
index b1c659b..ecad7e8 100644
--- a/roles/mythtv-suse/tasks/main.yml
+++ b/roles/mythtv-suse/tasks/main.yml
@@ -15,6 +15,14 @@
- nasm
- ccache

+- name: add new gcc versions
+ set_fact:
+ zypper_pkg_lst:
+ - '{{ zypper_pkg_lst }}'
+ - gcc13
+ - gcc13-c++
+ when: ansible_distribution == "openSUSE Leap" or ansible_distribution == "openSUSE Tumbleweed"
+
- name: add mythtv essential build libraries
set_fact:
zypper_pkg_lst:
The CI was failing and I removed python3-future to solve it. But today,
Tumbleweed is failing again. I haven't looked into why.

--
Bill
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>
>
>
>
> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>
>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>
>>>
>>> First install gcc-13 and g++-13
>>>
>>
>> If it would make sense, I can probably
>> create a PR(*) to add installing gcc13
>> and gcc13-c++ to the ansible tasks for
>> Leap. It would not help for the ./configure
>> invocation, but at least the compiler
>> would be there.
>>
>>
>>
>> (*) Or, better yet, you could create the PR
>> for the MythTV/ansible repo.
>
>
> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
> gcc/gcc-c++

I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
What I cannot see is how to ‘ansible’ the mysql pip bit.
Tumbleweed uses gcc13 and python 3.11

in case it is of any value, from history:
139 sudo zypper in mariadb-tools
140 sudo zypper in bc git ansible
141 sudo zypper in gcc13-c++ gcc13
142 sudo zypper in python311
143 sudo zypper in python311-lxml
144 sudo zypper in python311-requests python311-simplejson
145 sudo zypper in python311-future
146 sudo zypper in python311-requests-cache
147 sudo zypper in python3-requests-cache
148 sudo zypper in python3-devel
149 pip3 install mysqlclient
150 cd PROJECTS/ansible/
151 git pull
152 ./mythtv.yml --limit=localhost
153 sudo zypper in python311-devel
154 pip3 install mysqlclient
155 cd ../mythtv/
156 git pull

Here I was trying stuff

157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
158 cd mythtv
159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
160 make -j 9
161 git clean -xfd
162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
163 make -j 9
164 sudo make install

>
>
> diff --git a/roles/mythtv-suse/tasks/main.yml b/roles/mythtv-suse/tasks/main.yml
> index b1c659b..ecad7e8 100644
> --- a/roles/mythtv-suse/tasks/main.yml
> +++ b/roles/mythtv-suse/tasks/main.yml
> @@ -15,6 +15,14 @@
> - nasm
> - ccache
>
> +- name: add new gcc versions
> + set_fact:
> + zypper_pkg_lst:
> + - '{{ zypper_pkg_lst }}'
> + - gcc13
> + - gcc13-c++
> + when: ansible_distribution == "openSUSE Leap" or ansible_distribution == "openSUSE Tumbleweed"
> +
> - name: add mythtv essential build libraries
> set_fact:
> zypper_pkg_lst:
> The CI was failing and I removed python3-future to solve it. But today,
> Tumbleweed is failing again. I haven't looked into why.
>
> --
> Bill
> _______________________________________________
> 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


_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On 11/02/2024 23:57, James Linder wrote:
>
>
>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>>
>>
>>
>>
>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>
>>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>>
>>>>
>>>> First install gcc-13 and g++-13
>>>>
>>>
>>> If it would make sense, I can probably
>>> create a PR(*) to add installing gcc13
>>> and gcc13-c++ to the ansible tasks for
>>> Leap. It would not help for the ./configure
>>> invocation, but at least the compiler
>>> would be there.
>>>
>>>
>>>
>>> (*) Or, better yet, you could create the PR
>>> for the MythTV/ansible repo.
>>
>>
>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>> gcc/gcc-c++
>
> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
> What I cannot see is how to ‘ansible’ the mysql pip bit.

Thanks all. That's helped a lot. I'm also stuck on the pip bit now. I'm
not building directly. I'm generating packages with and need to find how
to specify that command from the .spec file. I'm guessing I need it to
run as part of the build and also make it run on the target machine at
install time.

I'm not using ansible. I just have a list of BuildRequires: lines in my
.spec file. Perhaps I should be using it.

Paul
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On Sunday 11 February 2024 05:57:50 PM (-06:00), James Linder wrote:

>
>
> > On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
> >
> >
> >
> >
> > On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
> >
> >> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
> >>
> >>>
> >>> First install gcc-13 and g++-13
> >>>
> >>
> >> If it would make sense, I can probably
> >> create a PR(*) to add installing gcc13
> >> and gcc13-c++ to the ansible tasks for
> >> Leap. It would not help for the ./configure
> >> invocation, but at least the compiler
> >> would be there.
> >>
> >>
> >>
> >> (*) Or, better yet, you could create the PR
> >> for the MythTV/ansible repo.
> >
> >
> > Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
> > gcc/gcc-c++
>
> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
> What I cannot see is how to ‘ansible’ the mysql pip bit.
> Tumbleweed uses gcc13 and python 3.11

Ansible has a pip module too, in the simplest case something like this:



diff --git a/roles/mythtv-suse/tasks/main.yml b/roles/mythtv-suse/tasks/main.yml
index 6623e5f..4267337 100644
--- a/roles/mythtv-suse/tasks/main.yml
+++ b/roles/mythtv-suse/tasks/main.yml
@@ -183,4 +183,9 @@
state:
present

+- name: Install mysql python package
+ ansible.builtin.pip:
+ name: mysqlclient
+ when: ansible_distribution == "openSUSE Leap"
+
# vim: set expandtab tabstop=2 shiftwidth=2 smartindent noautoindent colorcolumn=2:

> in case it is of any value, from history:
> 139 sudo zypper in mariadb-tools
> 140 sudo zypper in bc git ansible
> 141 sudo zypper in gcc13-c++ gcc13
> 142 sudo zypper in python311
> 143 sudo zypper in python311-lxml
> 144 sudo zypper in python311-requests python311-simplejson
> 145 sudo zypper in python311-future
> 146 sudo zypper in python311-requests-cache
> 147 sudo zypper in python3-requests-cache
> 148 sudo zypper in python3-devel
> 149 pip3 install mysqlclient
> 150 cd PROJECTS/ansible/
> 151 git pull
> 152 ./mythtv.yml --limit=localhost
> 153 sudo zypper in python311-devel
> 154 pip3 install mysqlclient
> 155 cd ../mythtv/
> 156 git pull
>
> Here I was trying stuff
>
> 157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 158 cd mythtv
> 159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 160 make -j 9
> 161 git clean -xfd
> 162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 163 make -j 9
> 164 sudo make install
>
> >
> >
> > diff --git a/roles/mythtv-suse/tasks/main.yml b/roles/mythtv-suse/tasks/main.yml
> > index b1c659b..ecad7e8 100644
> > --- a/roles/mythtv-suse/tasks/main.yml
> > +++ b/roles/mythtv-suse/tasks/main.yml
> > @@ -15,6 +15,14 @@
> > - nasm
> > - ccache
> >
> > +- name: add new gcc versions
> > + set_fact:
> > + zypper_pkg_lst:
> > + - '{{ zypper_pkg_lst }}'
> > + - gcc13
> > + - gcc13-c++
> > + when: ansible_distribution == "openSUSE Leap" or ansible_distribution == "openSUSE Tumbleweed"
> > +
> > - name: add mythtv essential build libraries
> > set_fact:
> > zypper_pkg_lst:
> > The CI was failing and I removed python3-future to solve it. But today,
> > Tumbleweed is failing again. I haven't looked into why.
> >
> > --
> > Bill
> > _______________________________________________
> > 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
>
>
> _______________________________________________
> 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
>

--
Bill
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On Mon, Feb 12, 2024 at 10:19?AM Paul Gardiner <lists@glidos.net> wrote:


> I'm not using ansible. I just have a list of BuildRequires: lines in my
> .spec file. Perhaps I should be using it.

Probably not. It is possible to have a spec
file generate additional BuildRequires
(which could use ansible, but it is not
currently used that way) and then
(in essence) restart a build, but my only
(indirect) use of that auto-creation of BRs
is using the modern python srpm build
macros that automate that.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On 12/02/2024 15:40, Gary Buhrmaster wrote:
> On Mon, Feb 12, 2024 at 10:19?AM Paul Gardiner <lists@glidos.net> wrote:
>
>
>> I'm not using ansible. I just have a list of BuildRequires: lines in my
>> .spec file. Perhaps I should be using it.
>
> Probably not. It is possible to have a spec
> file generate additional BuildRequires
> (which could use ansible, but it is not
> currently used that way) and then
> (in essence) restart a build, but my only
> (indirect) use of that auto-creation of BRs
> is using the modern python srpm build
> macros that automate that.

Useful to know, thanks.


I think my easiest way forward may be to create a package for
python-3.11 mysqlclient. I have no idea how, but I imagine it can't be
that difficult.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On 11/02/2024 23:57, James Linder wrote:
>
>
>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>>
>>
>>
>>
>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>
>>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>>
>>>>
>>>> First install gcc-13 and g++-13
>>>>
>>>
>>> If it would make sense, I can probably
>>> create a PR(*) to add installing gcc13
>>> and gcc13-c++ to the ansible tasks for
>>> Leap. It would not help for the ./configure
>>> invocation, but at least the compiler
>>> would be there.
>>>
>>>
>>>
>>> (*) Or, better yet, you could create the PR
>>> for the MythTV/ansible repo.
>>
>>
>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>> gcc/gcc-c++
>
> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
> What I cannot see is how to ‘ansible’ the mysql pip bit.
> Tumbleweed uses gcc13 and python 3.11
>
> in case it is of any value, from history:
> 139 sudo zypper in mariadb-tools
> 140 sudo zypper in bc git ansible
> 141 sudo zypper in gcc13-c++ gcc13
> 142 sudo zypper in python311
> 143 sudo zypper in python311-lxml
> 144 sudo zypper in python311-requests python311-simplejson
> 145 sudo zypper in python311-future
> 146 sudo zypper in python311-requests-cache
> 147 sudo zypper in python3-requests-cache
> 148 sudo zypper in python3-devel
> 149 pip3 install mysqlclient
> 150 cd PROJECTS/ansible/
> 151 git pull
> 152 ./mythtv.yml --limit=localhost
> 153 sudo zypper in python311-devel
> 154 pip3 install mysqlclient
> 155 cd ../mythtv/
> 156 git pull
>
> Here I was trying stuff
>
> 157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 158 cd mythtv
> 159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 160 make -j 9
> 161 git clean -xfd
> 162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
> 163 make -j 9
> 164 sudo make install

I found a python311-mysqlclient package in the repo
devel:languages:python:backports. Including that makes my package
generation succeed.

I haven't managed to find python311-requests-cache so far. Where are you
getting that from?

Paul.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
> On Feb 14, 2024, at 17:01, Paul Gardiner <lists@glidos.net> wrote:
>
>
>
> On 11/02/2024 23:57, James Linder wrote:
>>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>>>
>>>
>>>
>>>
>>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>>
>>>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>>>
>>>>>
>>>>> First install gcc-13 and g++-13
>>>>>
>>>>
>>>> If it would make sense, I can probably
>>>> create a PR(*) to add installing gcc13
>>>> and gcc13-c++ to the ansible tasks for
>>>> Leap. It would not help for the ./configure
>>>> invocation, but at least the compiler
>>>> would be there.
>>>>
>>>>
>>>>
>>>> (*) Or, better yet, you could create the PR
>>>> for the MythTV/ansible repo.
>>>
>>>
>>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>>> gcc/gcc-c++
>> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
>> What I cannot see is how to ‘ansible’ the mysql pip bit.
>> Tumbleweed uses gcc13 and python 3.11
>> in case it is of any value, from history:
>> 139 sudo zypper in mariadb-tools
>> 140 sudo zypper in bc git ansible
>> 141 sudo zypper in gcc13-c++ gcc13
>> 142 sudo zypper in python311
>> 143 sudo zypper in python311-lxml
>> 144 sudo zypper in python311-requests python311-simplejson
>> 145 sudo zypper in python311-future
>> 146 sudo zypper in python311-requests-cache
>> 147 sudo zypper in python3-requests-cache
>> 148 sudo zypper in python3-devel
>> 149 pip3 install mysqlclient
>> 150 cd PROJECTS/ansible/
>> 151 git pull
>> 152 ./mythtv.yml --limit=localhost
>> 153 sudo zypper in python311-devel
>> 154 pip3 install mysqlclient
>> 155 cd ../mythtv/
>> 156 git pull
>> Here I was trying stuff
>> 157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>> 158 cd mythtv
>> 159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>> 160 make -j 9
>> 161 git clean -xfd
>> 162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>> 163 make -j 9
>> 164 sudo make install
>
> I found a python311-mysqlclient package in the repo devel:languages:python:backports. Including that makes my package generation succeed.
>
> I haven't managed to find python311-requests-cache so far. Where are you getting that from?

Paul that is history, does not show errors, checked my system

i+ | python3-requests-cache

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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
> On Feb 14, 2024, at 20:57, James Linder <jam@tigger.ws> wrote:
>
>
>
>> On Feb 14, 2024, at 17:01, Paul Gardiner <lists@glidos.net> wrote:
>>
>>
>>
>> On 11/02/2024 23:57, James Linder wrote:
>>>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>>>>
>>>>
>>>>
>>>>
>>>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>>>
>>>>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>>>>
>>>>>>
>>>>>> First install gcc-13 and g++-13
>>>>>>
>>>>>
>>>>> If it would make sense, I can probably
>>>>> create a PR(*) to add installing gcc13
>>>>> and gcc13-c++ to the ansible tasks for
>>>>> Leap. It would not help for the ./configure
>>>>> invocation, but at least the compiler
>>>>> would be there.
>>>>>
>>>>>
>>>>>
>>>>> (*) Or, better yet, you could create the PR
>>>>> for the MythTV/ansible repo.
>>>>
>>>>
>>>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>>>> gcc/gcc-c++
>>> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
>>> What I cannot see is how to ‘ansible’ the mysql pip bit.
>>> Tumbleweed uses gcc13 and python 3.11
>>> in case it is of any value, from history:
>>> 139 sudo zypper in mariadb-tools
>>> 140 sudo zypper in bc git ansible
>>> 141 sudo zypper in gcc13-c++ gcc13
>>> 142 sudo zypper in python311
>>> 143 sudo zypper in python311-lxml
>>> 144 sudo zypper in python311-requests python311-simplejson
>>> 145 sudo zypper in python311-future
>>> 146 sudo zypper in python311-requests-cache
>>> 147 sudo zypper in python3-requests-cache
>>> 148 sudo zypper in python3-devel
>>> 149 pip3 install mysqlclient
>>> 150 cd PROJECTS/ansible/
>>> 151 git pull
>>> 152 ./mythtv.yml --limit=localhost
>>> 153 sudo zypper in python311-devel
>>> 154 pip3 install mysqlclient
>>> 155 cd ../mythtv/
>>> 156 git pull
>>> Here I was trying stuff
>>> 157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>> 158 cd mythtv
>>> 159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>> 160 make -j 9
>>> 161 git clean -xfd
>>> 162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>> 163 make -j 9
>>> 164 sudo make install
>>
>> I found a python311-mysqlclient package in the repo devel:languages:python:backports. Including that makes my package generation succeed.
>>
>> I haven't managed to find python311-requests-cache so far. Where are you getting that from?
>
> Paul that is history, does not show errors, checked my system
>
> i+ | python3-requests-cache

Adding more which may help

[seagull] /home/jam [1007]% zypper se python |grep ^i+
i+ | python3-devel | Include Files and Libraries Mandatory for Building Python Modules | package
i+ | python3-future | Single-source support for Python 3 and 2 | package
i+ | python3-oauth2 | A fully tested, abstract interface to creating OAuth clients and servers | package
i+ | python3-requests-cache | Persistent cache for requests library | package
i+ | python3-urlgrabber | A high-level cross-protocol url-grabber | package
i+ | python311 | Python 3 Interpreter | package
i+ | python311-devel | Include Files and Libraries Mandatory for Building Python Modules | package
i+ | python311-future | Single-source support for Python 3 and 2 | package
i+ | python311-lxml | Pythonic XML processing library | package
i+ | python311-requests | Python HTTP Library | package
i+ | python311-simplejson | Extensible JSON encoder/decoder for Python | package

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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On 14/02/2024 13:02, James Linder wrote:
>
>
>> On Feb 14, 2024, at 20:57, James Linder <jam@tigger.ws> wrote:
>>
>>
>>
>>> On Feb 14, 2024, at 17:01, Paul Gardiner <lists@glidos.net> wrote:
>>>
>>>
>>>
>>> On 11/02/2024 23:57, James Linder wrote:
>>>>> On Feb 12, 2024, at 05:15, Bill Meek <keemllib@gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Sunday 11 February 2024 02:44:53 PM (-06:00), Gary Buhrmaster wrote:
>>>>>
>>>>>> On Sun, Feb 11, 2024 at 1:52?PM James Linder <jam@tigger.ws> wrote:
>>>>>>
>>>>>>>
>>>>>>> First install gcc-13 and g++-13
>>>>>>>
>>>>>>
>>>>>> If it would make sense, I can probably
>>>>>> create a PR(*) to add installing gcc13
>>>>>> and gcc13-c++ to the ansible tasks for
>>>>>> Leap. It would not help for the ./configure
>>>>>> invocation, but at least the compiler
>>>>>> would be there.
>>>>>>
>>>>>>
>>>>>>
>>>>>> (*) Or, better yet, you could create the PR
>>>>>> for the MythTV/ansible repo.
>>>>>
>>>>>
>>>>> Or, you can try this. If it works, I'll push it. Not sure if I need to remove the 'old'
>>>>> gcc/gcc-c++
>>>> I had no luck when trying, but having extra gcc was harmless. (and I did not waste time spelunking)
>>>> What I cannot see is how to ‘ansible’ the mysql pip bit.
>>>> Tumbleweed uses gcc13 and python 3.11
>>>> in case it is of any value, from history:
>>>> 139 sudo zypper in mariadb-tools
>>>> 140 sudo zypper in bc git ansible
>>>> 141 sudo zypper in gcc13-c++ gcc13
>>>> 142 sudo zypper in python311
>>>> 143 sudo zypper in python311-lxml
>>>> 144 sudo zypper in python311-requests python311-simplejson
>>>> 145 sudo zypper in python311-future
>>>> 146 sudo zypper in python311-requests-cache
>>>> 147 sudo zypper in python3-requests-cache
>>>> 148 sudo zypper in python3-devel
>>>> 149 pip3 install mysqlclient
>>>> 150 cd PROJECTS/ansible/
>>>> 151 git pull
>>>> 152 ./mythtv.yml --limit=localhost
>>>> 153 sudo zypper in python311-devel
>>>> 154 pip3 install mysqlclient
>>>> 155 cd ../mythtv/
>>>> 156 git pull
>>>> Here I was trying stuff
>>>> 157 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>>> 158 cd mythtv
>>>> 159 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>>> 160 make -j 9
>>>> 161 git clean -xfd
>>>> 162 ./configure --cc=gcc-13 --cxx=g++-13 --enable-set-cc-default --python=python3.11
>>>> 163 make -j 9
>>>> 164 sudo make install
>>>
>>> I found a python311-mysqlclient package in the repo devel:languages:python:backports. Including that makes my package generation succeed.
>>>
>>> I haven't managed to find python311-requests-cache so far. Where are you getting that from?
>>
>> Paul that is history, does not show errors, checked my system
>>
>> i+ | python3-requests-cache
>
> Adding more which may help
>
> [seagull] /home/jam [1007]% zypper se python |grep ^i+
> i+ | python3-devel | Include Files and Libraries Mandatory for Building Python Modules | package
> i+ | python3-future | Single-source support for Python 3 and 2 | package
> i+ | python3-oauth2 | A fully tested, abstract interface to creating OAuth clients and servers | package
> i+ | python3-requests-cache | Persistent cache for requests library | package
> i+ | python3-urlgrabber | A high-level cross-protocol url-grabber | package
> i+ | python311 | Python 3 Interpreter | package
> i+ | python311-devel | Include Files and Libraries Mandatory for Building Python Modules | package
> i+ | python311-future | Single-source support for Python 3 and 2 | package
> i+ | python311-lxml | Pythonic XML processing library | package
> i+ | python311-requests | Python HTTP Library | package
> i+ | python311-simplejson | Extensible JSON encoder/decoder for Python | package

Thanks James. If I had to guess, I'd say that your mythtv built with
python 3.11 must be running without using python3-requests-cache, but
given I know little about python, I'll include it as a dependency
anyway. Can't hurt, I think.

Paul.
_______________________________________________
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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
> On Feb 14, 2024, at 21:26, Paul Gardiner <lists@glidos.net> wrote:
>
> Thanks James. If I had to guess, I'd say that your mythtv built with python 3.11 must be running without using python3-requests-cache, but given I know little about python, I'll include it as a dependency anyway. Can't hurt, I think.

This mess is why I shun python as much as possible

I think the request-cache is used for metadata lookup which *does* work correctly on my system

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: Struggling to build v34 on Opensuse leap 15.4 and 15.5 [ In reply to ]
On 14/02/2024 21:51, James Linder wrote:
>
>
>> On Feb 14, 2024, at 21:26, Paul Gardiner <lists@glidos.net> wrote:
>>
>> Thanks James. If I had to guess, I'd say that your mythtv built with python 3.11 must be running without using python3-requests-cache, but given I know little about python, I'll include it as a dependency anyway. Can't hurt, I think.
>
> This mess is why I shun python as much as possible
>
> I think the request-cache is used for metadata lookup which *does* work correctly on my system

I ran into some more problems, but I'm now through them and am now
updated to v34. Thanks again everyone for all the help.

I build my frontend disc image using a system called kiwi-ng and, with
that, it is difficult to use update repos. Because of the lack of
updates, I couldn't easily use gcc13, but gcc8 worked. I also had
problems finding a source for python311-future, but
https://download.opensuse.org/repositories/devel:/languages:/python:/backports/15.5/
has it. I failed to find a source for python311-requests-cache, but so
far all seems well without it (metadata download still works at least).

Here are my spec file diffs on the tiny off chance they might help
someone else:
https://gitlab.com/glidos-central/package-mythtv/-/commit/07994801c6d9d5346e383431eeb7f87adc67382d

Paul.
_______________________________________________
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