Audacity no longer runs

In Konsole, I see this:

audacity
Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).


Please post:

zypper se -s audacity
zypper lr -d
zypper se -s audacity
Repository 'packman' is out-of-date. You can run 'zypper refresh' as root to update it.
Loading repository data...
Reading installed packages...

S  | Name                 | Type        | Version     | Arch   | Repository            
---+----------------------+-------------+-------------+--------+-----------------------
i+ | Audacity             | application |             | noarch | openSUSE-Leap-42.2-Oss
i+ | audacity             | package     | 2.2.0-14.10 | x86_64 | packman               
v  | audacity             | package     | 2.1.2-1.2   | x86_64 | openSUSE-Leap-42.2-Oss
   | audacity             | srcpackage  | 2.2.0-14.10 | noarch | packman               
   | audacity-debuginfo   | package     | 2.2.0-14.10 | x86_64 | packman               
   | audacity-debugsource | package     | 2.2.0-14.10 | x86_64 | packman               
   | audacity-lang        | package     | 2.2.0-14.10 | noarch | packman               
   | audacity-lang        | package     | 2.1.2-1.2   | noarch | openSUSE-Leap-42.2-Oss


I ran zypper refresh as suggested above then repeated first command (as root this time)

# zypper se -s audacity
Loading repository data...
Reading installed packages...

S  | Name                 | Type        | Version     | Arch   | Repository            
---+----------------------+-------------+-------------+--------+-----------------------
i+ | Audacity             | application |             | noarch | openSUSE-Leap-42.2-Oss
i+ | audacity             | package     | 2.2.0-14.10 | x86_64 | packman               
v  | audacity             | package     | 2.1.2-1.2   | x86_64 | openSUSE-Leap-42.2-Oss
   | audacity             | srcpackage  | 2.2.0-14.10 | noarch | packman               
   | audacity-debuginfo   | package     | 2.2.0-14.10 | x86_64 | packman               
   | audacity-debugsource | package     | 2.2.0-14.10 | x86_64 | packman               
   | audacity-lang        | package     | 2.2.0-14.10 | noarch | packman               
   | audacity-lang        | package     | 2.1.2-1.2   | noarch | openSUSE-Leap-42.2-Oss


# zypper lr -d
Repository priorities are without effect. All enabled repositories share the same priority.

#  | Alias                     | Name                                    | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                        | Service
---+---------------------------+-----------------------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------------------------+--------
 1 | libdvdcss                 | libdvdcss                               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Leap_42.2/                         |        
 2 | openSUSE-42.2-0           | openSUSE-42.2-0                         | No      | ----      | ----    |   99     | yast2  | cd:///?devices=/dev/disk/by-id/ata-TSSTcorp_CDDVDW_SH-224DB_R93E6YBF100W7X |        
 3 | packman                   | packman                                 | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_Leap_42.2/                           |        
 4 | repo-debug                | openSUSE-Leap-42.2-Debug                | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/oss/        |        
 5 | repo-debug-non-oss        | openSUSE-Leap-42.2-Debug-Non-Oss        | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/distribution/leap/42.2/repo/non-oss/    |        
 6 | repo-debug-update         | openSUSE-Leap-42.2-Update-Debug         | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/oss/                   |        
 7 | repo-debug-update-non-oss | openSUSE-Leap-42.2-Update-Debug-Non-Oss | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/debug/update/leap/42.2/non-oss/               |        
 8 | repo-non-oss              | openSUSE-Leap-42.2-Non-Oss              | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/non-oss/          |        
 9 | repo-oss                  | openSUSE-Leap-42.2-Oss                  | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/leap/42.2/repo/oss/              |        
10 | repo-source               | openSUSE-Leap-42.2-Source               | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/oss/       |        
11 | repo-source-non-oss       | openSUSE-Leap-42.2-Source-Non-Oss       | No      | ----      | ----    |   99     | NONE   | http://download.opensuse.org/source/distribution/leap/42.2/repo/non-oss/   |        
12 | repo-update               | openSUSE-Leap-42.2-Update               | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/oss/                         |        
13 | repo-update-non-oss       | openSUSE-Leap-42.2-Update-Non-Oss       | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/leap/42.2/non-oss/                     |        

If it helps any, I recall a recent update to audacity, it was working earlier.

Try audacity from the OSS-Repo.

Will it still be able to export to mp3? I could export to wav then convert to mp3 some other way, but it’s sort of a pain in the —.

Audacity from OSS for TW and 42.3 now has mp3 support. From the TW change log:

Sun Nov 5 12:21:03 UTC 2017 - davejplater@.

  • Enabled mad, twolame and lame for 42.3

I don’t know if that applies to the version from the 42.2 repositories.

42.2 is almost at end of life ( Jan 26 2018 - Lifetime - openSUSE Wiki ), time to consider an upgrade perhaps?

I switched to the OSS version, it imports and exports mp3. Thanks for everyone’s help!

Oh dear yet again this rears it’s head with WxWidgets, this happens every once in a while and you’d think by now people will learn but no. This affects Audacity 2.2.0 in Packman and Multimedia Apps. Perhaps one day Audacity will go QT, we can only hope.

Bug report submitted, see here:

https://bugzilla.opensuse.org/show_bug.cgi?id=1074040

The 42.3 version(s) work fine.
I cannot say whether there is indeed a problem on 42.2 or not, but you also might just have outdated wxWidgets packages installed, like the person here: 1051717 – Audacity: Fatal Error: Mismatch between the program and library build versions detected.

What wxWidgets packages have you installed exactly?

zypper se -si wx

Hi Wolfi, I’ve tried both nostl1 from OSS repos and X11:wxWidgets, neither work. If you install Audacity 2.2.0 from media apps it automatically pulls in libwx 3.0.2-7.18 anyway

S | Name                         | Type    | Version    | Arch   | Repository            
--+------------------------------+---------+------------+--------+-----------------------
i | libwx_baseu-suse-nostl1      | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu-suse1            | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_aui-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse1       | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_gl-suse1         | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse1       | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse-nostl1   | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse1         | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_xrc-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss

Thanks

Well, the ones from X11:wxWidgets are probably not going to work, as wxWidgets is quite sensitive to the installed versions and what the application is built against.

What you have installed looks fine, Packman doesn’t provide their own wxWidgets anymore, the packages are built against the ones in the distribution (which is possible in the latest versions, there were problems with that in the past, that’s why Packman only provided their own wxWidgets in the first place).

I have a suspicion though.

Audacity is (needs to be) built with GCC5, because the build of the latest version fails with the old 4.8 that is default in Leap.
But the distribution’s wxWidgets is of course built with 4.8.

A comment in the spec file even states this:

#Audacity only builds with gcc >= 4.9
# WARNING: Anything built against wxWidgets with gcc >= 5 needs widgets built with relax-abi.diff

IIRC, the same problem was in 42.3, and has been fixed by a wxWidgets update (that relaxed that compiler check in wxWidgets with the mentioned relax-abi.diff).
But obviously that update hasn’t been released for 42.2…

Well, that would be something for the maintainer to “solve” then, but he is normally quite responsive.

Although, as already has been mentioned here in some previous post, 42.2 will be EOL a month anyway.

Hi wolfi, I’ve installed from the OSS repo:


S | Name                         | Type    | Version    | Arch   | Repository            
--+------------------------------+---------+------------+--------+-----------------------
i | libwx_baseu-suse-nostl1      | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu-suse1            | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_net-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_baseu_xml-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse-nostl1  | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_adv-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_aui-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_core-suse1       | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_gl-suse1         | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse-nostl1 | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_html-suse1       | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse-nostl1   | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_qa-suse1         | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss
i | libwx_gtk2u_xrc-suse1        | package | 3.0.2-7.18 | x86_64 | openSUSE-Leap-42.2-Oss

And I’ve also tried https://download.opensuse.org/repositories/home:/Sauerland/openSUSE_Leap_42.2_Update/

S  | Name                         | Type    | Version    | Arch   | Repository           
---+------------------------------+---------+------------+--------+----------------------
i+ | libwx_baseu-suse-nostl1      | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_baseu-suse1            | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_baseu_net-suse-nostl1  | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_baseu_net-suse1        | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_baseu_xml-suse-nostl1  | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_baseu_xml-suse1        | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_adv-suse-nostl1  | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_adv-suse1        | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_aui-suse1        | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_core-suse-nostl1 | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_core-suse1       | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_gl-suse1         | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_html-suse-nostl1 | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_html-suse1       | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_qa-suse-nostl1   | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_qa-suse1         | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update
i+ | libwx_gtk2u_xrc-suse1        | package | 3.0.2-77.3 | x86_64 | Sauerland 42.2 update

Neither of which work.

Thanks

PLease see my previous post.
I replied to the one you deleted…

AFAICS, Sauerland does build with the mentioned/necessary patch.

But you should also install audacity from his repo then.

As I wrote, wxWidgets is very sensitive to use the exact same packages on runtime as for building.

Hmmm, I was hoping 15 would be ready by then as I tend to update from only every other version :frowning: I’m lazy and like less work :yawn:

Tried that and didn’t work either, no idea why. Looks like it will be an excuse to avoid the relatives over Christmas and install 42.3 then :wink:

Definitely not.

It was suggested to target April for the release, but it likely will be later.

With all the heavy changes going on, the previously targeted release
date early in the year unfortunately turned out to be too ambitious.
A release in May looks more realistic at the moment. We have to see
how things progress next year though.

The last few releases were 1 year (12 months) apart, only 42.3 was a bit “early” here as it was decided to release it some weeks earlier than SLE 12 SP3 because of the summer holidays.
And people are expected to “upgrade” within 6 months after the next version is released, i.e. a Leap release is only supported for 6 months after a new one has been released.
See Lifetime - openSUSE Wiki

Although, 42.3 may be supported longer, to give people more time to switch to the next major release (15.x).

Well, let’s see what the maintainer says…

I’m actually just guessing (more or less), and I don’t have a 42.2 system to try.

The problem lies in the fact that 42.3’s audacity-2.1.3 was the first to need gcc 4.9 minimum to build as a result I changed to using gcc5 for the build. Then we had the wxWidgets incompatibility problem, fortunately audacity had it’s own wxWidgets-3_0-nostl already so I could safely have it build with gcc5. Leap:42.2’s audacity build with gcc48 so it will most probably fail if wxWidgets are built with gcc5, that’s the reason why this fix wasn’t propagated to 42.2.
If you really want audacity-2.2.0 you can install it and wxWidgets built with the same gcc from:
https://download.opensuse.org/repositories/home:/plater:/audacity/Leap_42.2_Update
I’ve enabled lame, twolame and mad for full mp3 support as well

I can confirm this new build works :slight_smile:

Thanks