5.2.23
09/22/2023

[#291] src/connectiontcpserver.cpp: build failure on musl
Summary src/connectiontcpserver.cpp: build failure on musl
Queue gloox
Queue Version 1.0.23
Type Bug
State Resolved
Priority 3. High
Owners js (at) camaya (dot) net
Requester fontaine.fabrice (at) gmail (dot) com
Created 06/05/2020 (1204 days ago)
Due
Updated 03/17/2023 (189 days ago)
Assigned
Resolved 03/17/2023 (189 days ago)

History
03/17/2023 11:39:18 AM Jakob Schröter Comment #2
Assigned to Jakob Schröter
State ⇒ Resolved
Reply to this comment
Thanks, this is now fixed in svn, will be in 1.0.26.
06/05/2020 09:35:28 PM fontaine (dot) fabrice (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
New Attachment: 0001-src-connectiontcpserver-cpp-fix-musl.patch Download
Queue ⇒ gloox
Summary ⇒ src/connectiontcpserver.cpp: build failure on musl
Type ⇒ Bug
Priority ⇒ 3. High
Reply to this comment
Build on musl fails on:

connectiontcpserver.cpp:131:13: error: 'strerror' was not declared in 
this scope
            + strerror( err ) + " (errno: " + util::int2string( err ) + ")";
              ^~~~~~~~

Full log can be found here:
  - 
http://autobuild.buildroot.org/results/a61a91bb6e1156eff5fb756f9dccfc2bb6c0f277

Please, find attached a patch that fix this build failure