Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927585 - sci-libs/gsl-2.7.1-r2 fails tests: gsl_complex_math.h:39:13: error: type of gsl_complex_polar does not match original declaration [-Werror=lto-type-mismatch]
Summary: sci-libs/gsl-2.7.1-r2 fails tests: gsl_complex_math.h:39:13: error: type of g...
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: TESTFAILURE
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-23 09:41 UTC by Agostino Sarubbo
Modified: 2024-08-06 00:20 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,590.58 KB, text/plain)
2024-03-23 09:41 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-03-23 09:41:38 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/gsl-2.7.1-r2 fails tests.
Discovered on: amd64 (internal ref: lto_tinderbox)
System: LTO-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#LTO)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-23 09:41:40 UTC
Created attachment 888264 [details]
build.log

build log and emerge --info
Comment 2 Michael Orlitzky gentoo-dev 2024-07-01 01:00:53 UTC
Maybe fixed in gsl-2.8 which has a lot of compiler fixes
Comment 3 Eli Schwartz gentoo-dev 2024-07-11 23:17:50 UTC
I tried bumping the version and commenting out the first two patches (which no longer apply). Configure warned that --without-cblas-external isn't valid anymore.

It did compile and install without an error for lto-type-mismatch.
Comment 4 Michael Orlitzky gentoo-dev 2024-07-11 23:37:26 UTC
The big build system patch is part of our approach to BLAS/LAPACK:

  https://wiki.gentoo.org/wiki/Blas-lapack-switch#Providers

Not that I have a better idea, but it requires someone pretty brave as maintainer because the patches tend to conflict with everything.
Comment 5 Eli Schwartz gentoo-dev 2024-07-17 04:42:25 UTC
Someone submitted a patch to update to 2.8
Comment 6 Larry the Git Cow gentoo-dev 2024-08-06 00:20:03 UTC
The bug has been closed via the following commit(s):

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

commit af2e7ef90af5c37f4cd561ff3bb1053b3aeee2d4
Author:     Eli Schwartz <eschwartz@gentoo.org>
AuthorDate: 2024-08-05 18:46:02 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-08-06 00:18:31 +0000

    sci-libs/gsl: mark as LTO-unsafe
    
    It appears to be fixed in 2.8 but the package is high-maintenance due to
    required patching. Filter it for now and drop the filter when updating
    to the new version.
    
    Closes: https://bugs.gentoo.org/927585
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 sci-libs/gsl/gsl-2.7.1-r2.ebuild | 8 +++++++-
 sci-libs/gsl/gsl-2.7.1-r3.ebuild | 6 ++++++
 2 files changed, 13 insertions(+), 1 deletion(-)