Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651522 - app-office/dia-0.97.3-r1 on musl: configure: error: Can't find neither a definition of isinf nor ieeefp.h
Summary: app-office/dia-0.97.3-r1 on musl: configure: error: Can't find neither a defi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 830560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-25 23:41 UTC by Steve Arnold
Modified: 2024-06-08 12:01 UTC (History)
1 user (show)

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


Attachments
configure patch for musl ieee math (dia-0.97.3-fix-detection-of-isinf.patch,1.58 KB, patch)
2018-03-25 23:41 UTC, Steve Arnold
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Arnold archtester gentoo-dev 2018-03-25 23:41:00 UTC
Created attachment 525452 [details, diff]
configure patch for musl ieee math

And it's not a very good test, so I replaced it with functional checks for isnan and isinf (configure fails on the latter).  The patch is in my fork on github; I'll upload it here for your convenience.

https://github.com/gentoo/musl/blob/b4754e384cc2e5bd9e8bdcbae4764c11bdce7be0/app-office/dia/files/dia-0.97.3-fix-detection-of-isinf.patch
Comment 1 Steve Arnold archtester gentoo-dev 2018-03-25 23:46:45 UTC
Sorry, bad link from a diff view; this one should work:

https://github.com/sarnold/musl/blob/master/app-office/dia/files/dia-0.97.3-fix-detection-of-isinf.patch
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-05 11:34:07 UTC
This bug misses a log, but I think it is the same error I get
Comment 3 Agostino Sarubbo gentoo-dev 2024-03-05 11:34:16 UTC
tinderbox_musl has reproduced this issue with version 0.97.3-r1 - Updating summary.
Comment 4 David Seifert gentoo-dev 2024-06-08 09:53:18 UTC
*** Bug 830560 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2024-06-08 12:01:48 UTC
The bug has been closed via the following commit(s):

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

commit 6e4a96b9954d6a16f2cec19162a1881a00d0ea7a
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-06-08 12:01:27 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-06-08 12:01:27 +0000

    app-office/dia: fix build on musl
    
    Closes: https://bugs.gentoo.org/651522
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../dia/files/dia-0.97.3-configure-clang16.patch   | 38 ++++++++++++++++++++--
 1 file changed, 36 insertions(+), 2 deletions(-)