Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927588

Summary: sci-libs/netcdf-fortran-4.6.1 fails to compile: netcdf4_func.F90:807:81: error: type of nf_inq_var_fill does not match original declaration [-Werror=lto-type-mismatch]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/Unidata/netcdf-fortran/issues/437
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-03-23 09:41:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/netcdf-fortran-4.6.1 fails to compile.
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#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-03-23 09:41:49 UTC
Created attachment 888267 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-03-23 09:41:50 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
FAILED: fortran/libnetcdff.so.7.1.0 
/var/tmp/portage/sci-libs/netcdf-fortran-4.6.1/work/netcdf-fortran-4.6.1/fortran/netcdf4_func.F90:807:81: error: type of ‘nf_inq_var_fill’ does not match original declaration [-Werror=lto-type-mismatch]
Comment 3 Larry the Git Cow gentoo-dev 2024-04-01 05:30:51 UTC
The bug has been closed via the following commit(s):

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

commit d7bd3f9525291e25cbae8c6f107227d6a14a4c4f
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: 2024-04-01 01:46:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-01 05:29:26 +0000

    sci-libs/netcdf-fortran: mark as LTO-unsafe
    
    Closes: https://bugs.gentoo.org/927588
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/netcdf-fortran/netcdf-fortran-4.5.4-r1.ebuild | 7 ++++++-
 sci-libs/netcdf-fortran/netcdf-fortran-4.5.4.ebuild    | 7 ++++++-
 sci-libs/netcdf-fortran/netcdf-fortran-4.6.1.ebuild    | 7 ++++++-
 3 files changed, 18 insertions(+), 3 deletions(-)