[mythtv-users] Struggling to build v34 on Opensuse leap 15.4 and 15.5

Bill Meek keemllib at gmail.com
Sun Feb 11 21:15:35 UTC 2024




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++


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


More information about the mythtv-users mailing list