[mythtv-users] Struggling to build v34 on Opensuse leap 15.4 and 15.5
James Linder
jam at tigger.ws
Sun Feb 11 23:57:50 UTC 2024
> On Feb 12, 2024, at 05:15, Bill Meek <keemllib at 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 at 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 at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
More information about the mythtv-users
mailing list