Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948886 - sci-libs/superlu-4.3-r3 fails to build: implicit declaration of function 'dlamch_'
Summary: sci-libs/superlu-4.3-r3 fails to build: implicit declaration of function 'dla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-01-27 07:40 UTC by NHO
Modified: 2025-02-10 08:56 UTC (History)
1 user (show)

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


Attachments
Build log (build.log,15.22 KB, text/x-log)
2025-01-27 07:41 UTC, NHO
Details
emerge --info (emerge.info,7.64 KB, text/plain)
2025-01-27 07:41 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2025-01-27 07:40:52 UTC
GCC-14, MAKEOPTS="-j10 --shuffle=2758834808"
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DAdd_ -O0 -c superlu_timer.c -o libnoopt_la-superlu_timer.o
ilu_ccopy_to_ucol.c: In function 'ilu_ccopy_to_ucol':
ilu_ccopy_to_ucol.c:66:47: error: implicit declaration of function 'dlamch_'; did you mean 'slamch_'? [-Wimplicit-function-declaration]
   66 |     register float d_max = 0.0, d_min = 1.0 / dlamch_("Safe minimum");
      |                                               ^~~~~~~
      |                                               slamch_

Reproduction depends on shuffle seed. Not actually a duplicate of #926310 but supplemental to it.

Reproducible: Sometimes
Comment 1 NHO 2025-01-27 07:41:13 UTC
Created attachment 917581 [details]
Build log
Comment 2 NHO 2025-01-27 07:41:28 UTC
Created attachment 917582 [details]
emerge --info
Comment 3 NHO 2025-01-27 08:17:15 UTC
Okay, this is -std=gnu89 situation
Comment 4 Larry the Git Cow gentoo-dev 2025-02-10 08:56:43 UTC
The bug has been closed via the following commit(s):

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

commit c6fd1d70702a9bb45a5a3e30ae0a437360f2d6b1
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-01-27 08:17:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-10 08:52:36 +0000

    sci-libs/superlu: update EAPI 7 -> 8, fix C version on gnu89
    
    We have a newer package where woes of modern C are solved.
    This one for dependencies.
    
    Closes: https://bugs.gentoo.org/926310
    Closes: https://bugs.gentoo.org/948886
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40328
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/superlu/{superlu-4.3-r3.ebuild => superlu-4.3-r4.ebuild} | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)