Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 927588 - 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]
Summary: sci-libs/netcdf-fortran-4.6.1 fails to compile: netcdf4_func.F90:807:81: erro...
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:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-03-23 09:41 UTC by Agostino Sarubbo
Modified: 2024-04-01 05:30 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,134.54 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: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(-)