Bug 1225793

Summary: Package lapack does not build with gcc14 because of new errors
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Jambor <mjambor>
Component: OtherAssignee: E-mail List <screening-team-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: badshah400
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
See Also: https://bugzilla.opensuse.org/show_bug.cgi?id=1223783
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1220571    

Description Martin Jambor 2024-06-02 09:35:40 UTC
GCC 14 newly by default treats as errors a number of situations which
before were only warnings.  For more information see
https://gcc.gnu.org/gcc-14/porting_to.html and meta bug #1220571.

Because of this, package lapack fails to compile.  This can be seen online
at:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/lapack/standard/x86_64

It can be reproduced locally with command: osc build --clean
--alternative-project home:rguenther:nextgcc


The error (that halts the build) is:

[  185s] In file included from ../include/lapack.h:11,
[  185s]                  from ../include/lapacke.h:37,
[  185s]                  from ../include/lapacke_utils.h:37,
[  185s]                  from lapacke_cggsvp_work.c:34:
[  185s] lapacke_cggsvp_work.c: In function ‘LAPACKE_cggsvp_work’:
[  185s] ../include/lapack.h:3761:37: error: implicit declaration of function ‘cggsvp_’; did you mean ‘cggsvp3_’? [-Wimplicit-function-declaration]
[  185s]  3761 | #define LAPACK_cggsvp LAPACK_GLOBAL(cggsvp,CGGSVP)
[  185s]       |                                     ^~~~~~
[  185s] ../include/lapacke_mangling.h:6:39: note: in definition of macro ‘LAPACK_GLOBAL’
[  185s]     6 | #define LAPACK_GLOBAL(lcname,UCNAME)  lcname##_
[  185s]       |                                       ^~~~~~
[  185s] lapacke_cggsvp_work.c:52:9: note: in expansion of macro ‘LAPACK_cggsvp’
[  185s]    52 |         LAPACK_cggsvp( &amp;jobu, &amp;jobv, &amp;jobq, &amp;m, &amp;p, &amp;n, a, &amp;lda, b, &amp;ldb, &amp;tola,
[  185s]       |         ^~~~~~~~~~~~~
Comment 1 Atri Bhattacharya 2024-06-14 17:50:44 UTC
Fixed as part of bug 1223783 <https://build.opensuse.org/request/show/1180788>