Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741080 - sci-astronomy/montage-5.0 fails to compile with Clang: initdistdata.c:36:6: error: void function 'closefitsfile' should not return a value [-Wreturn-type]
Summary: sci-astronomy/montage-5.0 fails to compile with Clang: initdistdata.c:36:6: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Astronomy project
URL:
Whiteboard: ~arch only
Keywords: PullRequest
Depends on:
Blocks: systemwide-clang c99-porting
  Show dependency tree
 
Reported: 2020-09-08 07:09 UTC by Agostino Sarubbo
Modified: 2025-03-10 01:37 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,16.58 KB, text/plain)
2020-09-08 07:09 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 2020-09-08 07:09:51 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-astronomy/montage-5.0 fails to compile.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
This machine uses also GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-08 07:09:54 UTC
Created attachment 659078 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2025-03-10 01:37:52 UTC
The bug has been closed via the following commit(s):

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

commit de2495100b0829f5e8e74e76c13791ead6630781
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-03-02 20:00:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-10 01:34:52 +0000

    sci-astronomy/montage: update EAPI 7 -> 8, fix build with GCC-15
    
    Uses hand-written, badly-recursive Makefile that swallows errors and
    replaces makefiles of vendored dependencies. Parallel builds exhibit
    random, unpredictable failures, so they are disabled.
    Most of Makefiles pass -std=c99, for case where they don't limit C version
    globally  to C17 with GNU extensions.
    Remove an unused function from vendored dependency, add missing include
    to main component.
    Fix deprecated dependency.
    
    Closes: https://bugs.gentoo.org/920316
    Bug: https://bugs.gentoo.org/942753
    Bug: https://bugs.gentoo.org/888553
    Closes: https://bugs.gentoo.org/741080
    Bug: https://bugs.gentoo.org/832708
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40854
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/montage/files/montage-5.0-c23.patch | 34 +++++++++++
 sci-astronomy/montage/montage-5.0-r1.ebuild       | 74 +++++++++++++++++++++++
 2 files changed, 108 insertions(+)