[Slackbuilds-users] Updates - 20231118.1

Erich Ritz erich.public at protonmail.com
Mon Nov 20 17:06:58 UTC 2023


On Friday, November 17th, 2023 at 8:26 PM, Willy Sudiarto Raharjo <willysr at slackbuilds.org> wrote:


> 
> 
> Sat Nov 18 02:16:51 UTC 2023
> libraries/wxWidgets: Updated for version 3.2.4.


I think this broke the audacity build.

Here is my slackrepo hint file for audacity:

# cat /var/lib/slackrepo/etr/hintfiles/audacity.hint 
ADDREQUIRES="jack ladspa_sdk soundtouch twolame vamp-plugin-sdk vst3sdk lilv suil"
OPTIONS="MANUAL=yes"

And here is a sampling of the build log:

/usr/include/wx-3.2/wx/arrstr.h:353:20: error: cannot convert ‘const wxArrayString’ to ‘wxArrayString::const_reference’ {aka ‘const wxString&’}
  353 |           push_back(*first);
      |           ~~~~~~~~~^~~~~~~~
/usr/include/wx-3.2/wx/arrstr.h:383:34: note:   initializing argument 1 of ‘void wxArrayString::push_back(wxArrayString::const_reference)’
  383 |   void push_back(const_reference v) { Add(v); }
      |                  ~~~~~~~~~~~~~~~~^
make[2]: *** [src/CMakeFiles/Audacity.dir/build.make:3033: src/CMakeFiles/Audacity.dir/effects/lv2/LV2Ports.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

and later...

/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/GUIPrefs.cpp: In static member function ‘static void GUIPrefs::GetRangeChoices(TranslatableStrings*, wxArrayStringEx*, int*)’:
/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/GUIPrefs.cpp:80:17: error: ambiguous overload for ‘operator=’ (operand types are ‘wxArrayStringEx’ and ‘const std::initializer_list<const wchar_t*>’)
   80 |       *pCodes = sCodes;
      |                 ^~~~~~
In file included from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/libraries/lib-preferences/Prefs.h:44,
                 from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/libraries/lib-files/FileNames.h:17,
                 from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/../widgets/wxPanelWrapper.h:161,
                 from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/PrefsPanel.h:31,
                 from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/GUIPrefs.h:18,
                 from /tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/src/prefs/GUIPrefs.cpp:21:
/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/libraries/lib-strings/wxArrayStringEx.h:46:21: note: candidate: ‘wxArrayStringEx& wxArrayStringEx::operator=(wxArrayString&&)’
   46 |    wxArrayStringEx &operator= ( wxArrayString &&other )
      |                     ^~~~~~~~
/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/libraries/lib-strings/wxArrayStringEx.h:17:7: note: candidate: ‘wxArrayStringEx& wxArrayStringEx::operator=(const wxArrayStringEx&)’
   17 | class wxArrayStringEx : public wxArrayString
      |       ^~~~~~~~~~~~~~~
/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/libraries/lib-strings/wxArrayStringEx.h:17:7: note: candidate: ‘wxArrayStringEx& wxArrayStringEx::operator=(wxArrayStringEx&&)’
make[2]: *** [src/CMakeFiles/Audacity.dir/build.make:3845: src/CMakeFiles/Audacity.dir/prefs/GUIPrefs.cpp.o] Error 1

and finally:

make[2]: Leaving directory '/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/build'
make[1]: *** [CMakeFiles/Makefile2:1948: src/CMakeFiles/Audacity.dir/all] Error 2
make[1]: Leaving directory '/tmp/slackrepo/etr/slackrepo.4B686z/build_audacity/audacity-sources-3.2.5/build'
make: *** [Makefile:159: all] Error 2
Build time 79 sec, peak load 66.90, peak memory 30331M, peak tmp 858M
audio/audacity: audacity.SlackBuild failed (status 2)                   16:25:27
Unmounting chroot ... 
:-( audio/audacity FAILED )-:


Looks like upstream has already fixed the issue(s) on the 3.4.x branch (I assume?):
https://support.audacityteam.org/additional-resources/changelog/audacity-3.4.2
https://github.com/audacity/audacity/issues/5598
https://github.com/audacity/audacity/pull/5552

Erich


More information about the SlackBuilds-users mailing list