Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872263 - net-p2p/amule-2.3.3 - MuleDebug.cpp: In function 'void OnUnhandledException()': MuleDebug.cpp:70:14: error: 'set_terminate' is not a member of 'std' (on musl)
Summary: net-p2p/amule-2.3.3 - MuleDebug.cpp: In function 'void OnUnhandledException()...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Tsoy
URL: https://github.com/amule-project/amul...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2022-09-21 22:09 UTC by ernsteiswuerfel
Modified: 2022-10-01 03:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (amd64) (amule-2.3.3:20220921-215952.log,275.66 KB, text/plain)
2022-09-21 22:09 UTC, ernsteiswuerfel
Details
emerge --info (file_872263.txt,7.28 KB, text/plain)
2022-09-21 22:10 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2022-09-21 22:09:19 UTC
Created attachment 813430 [details]
build.log (amd64)

[...]
/usr/include/wx-3.0-gtk3/wx/string.h:4055:86: warning: implicitly-declared 'constexpr wxUniCharRef::wxUniCharRef(const wxUniCharRef&)' is deprecated [-Wdeprecated-copy]
 4055 | inline bool operator!=(const wxString& s, const wxUniCharRef& c) { return !s.IsSameAs(c); }
      |                                                                            ~~~~~~~~~~^~~
/usr/include/wx-3.0-gtk3/wx/unichar.h:224:19: note: because 'wxUniCharRef' has user-provided 'wxUniCharRef& wxUniCharRef::operator=(const wxUniCharRef&)'
  224 |     wxUniCharRef& operator=(const wxUniCharRef& c)
      |                   ^~~~~~~~
/usr/include/wx-3.0-gtk3/wx/string.h:2146:30: note:   initializing argument 1 of 'bool wxString::IsSameAs(wxUniCharRef, bool) const'
 2146 |   bool IsSameAs(wxUniCharRef c, bool compareWithCase = true) const
      |                 ~~~~~~~~~~~~~^
MuleDebug.cpp: In function 'void OnUnhandledException()':
MuleDebug.cpp:70:14: error: 'set_terminate' is not a member of 'std'
   70 |         std::set_terminate(std::abort);
      |              ^~~~~~~~~~~~~
MuleDebug.cpp: In function 'void InstallMuleExceptionHandler()':
MuleDebug.cpp:113:14: error: 'set_terminate' is not a member of 'std'
  113 |         std::set_terminate(OnUnhandledException);
      |              ^~~~~~~~~~~~~
MuleDebug.cpp: In function 'wxString get_backtrace(unsigned int)':
MuleDebug.cpp:313:33: warning: unused parameter 'n' [-Wunused-parameter]
  313 | wxString get_backtrace(unsigned n)
      |                        ~~~~~~~~~^
MuleDebug.cpp: At global scope:
MuleDebug.cpp:287:17: warning: 'wxString demangle(const wxString&)' defined but not used [-Wunused-function]
  287 | static wxString demangle(const wxString& function)
      |                 ^~~~~~~~
make[4]: *** [Makefile:536: MuleDebug.o] Error 1
Comment 1 ernsteiswuerfel archtester 2022-09-21 22:10:37 UTC
Created attachment 813433 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2022-10-01 03:16:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7dc14033cc6464195f718cad55c157e1dbf2f81

commit c7dc14033cc6464195f718cad55c157e1dbf2f81
Author:     Alexander Tsoy <alexander@tsoy.me>
AuthorDate: 2022-09-30 16:16:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-01 03:14:55 +0000

    net-p2p/amule: fix build with gcc-11 and musl
    
    Also update EAPI 7 -> 8 and apply pathes to the live version.
    
    Closes: https://bugs.gentoo.org/836739
    Closes: https://bugs.gentoo.org/872263
    Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
    Closes: https://github.com/gentoo/gentoo/pull/27543
    Signed-off-by: Sam James <sam@gentoo.org>

 net-p2p/amule/amule-2.3.3.ebuild                    |  3 ++-
 net-p2p/amule/amule-9999.ebuild                     |  6 ++++--
 net-p2p/amule/files/amule-2.3.3-fix-exception.patch | 12 ++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)