Bug 400267 - Building Calligra Words 3.1.0 on musl: ustring.cpp:69:18: error: '_isnan' was not declared in this scope
Summary: Building Calligra Words 3.1.0 on musl: ustring.cpp:69:18: error: '_isnan' was...
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: filters (show other bugs)
Version: 3.1.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-24 21:51 UTC by A. Wilcox (awilfox)
Modified: 2023-01-01 05:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2018-10-24 21:51:29 UTC
SUMMARY
Attemping to build Calligra Words 3.1.0 on Linux using musl libc on PowerPC.


STEPS TO REPRODUCE
1. Download calligra-3.1.0.tar.xz
2. Run CMake
3. Run make / ninja


OBSERVED RESULT
/usr/src/packages/user/calligra/src/calligra-3.1.0/filters/words/msword-odf/wv2/src/ustring.cpp: In function ‘bool wvWare::isNaN(double)’:
/usr/src/packages/user/calligra/src/calligra-3.1.0/filters/words/msword-odf/wv2/src/ustring.cpp:69:18: error: ‘_isnan’ was not declared in this scope
   return _isnan(d) != 0;
                  ^


EXPECTED RESULT
Successful compilation


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.12.6
KDE Frameworks Version: 5.51.0
Qt Version: 5.9.6


ADDITIONAL INFORMATION
musl does not implement isinf/isnan as linkable functions; they are preprocessor macros.
Comment 1 Justin Zobel 2022-12-02 01:22:40 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 Bug Janitor Service 2022-12-17 05:13:58 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2023-01-01 05:20:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!