Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 741582 - sci-misc/gt-itm-19961004-r2 fails to compile: sgb2alt.c:39:6: error: non-void function 'main' should return a value
Summary: sci-misc/gt-itm-19961004-r2 fails to compile: sgb2alt.c:39:6: error: non-void...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-09-11 06:52 UTC by Agostino Sarubbo
Modified: 2022-10-24 19:27 UTC (History)
0 users

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


Attachments
build.log (build.log,19.75 KB, text/plain)
2020-09-11 06:52 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-11 06:52:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-misc/gt-itm-19961004-r2 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-11 06:52:58 UTC
Created attachment 659460 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2022-10-24 19:26:50 UTC
The bug has been closed via the following commit(s):

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

commit c301cc94e6fd03d865da97e1a4cf73db338bd7f2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-24 18:01:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-24 19:21:06 +0000

    sci-misc/gt-itm: fix build w/ Clang 16, musl
    
    Closes: https://bugs.gentoo.org/832835
    Closes: https://bugs.gentoo.org/741582
    Signed-off-by: Sam James <sam@gentoo.org>

 .../gt-itm-19961004-Fix-build-with-Clang-16.patch  | 326 +++++++++++++++++++++
 .../files/gt-itm-19961004-Fix-musl-build.patch     |  69 +++++
 sci-misc/gt-itm/files/gt-itm-19961004-gentoo.patch | 201 +++++++++++++
 sci-misc/gt-itm/files/gt-itm-implicits.patch       |  28 +-
 ...9961004-r2.ebuild => gt-itm-19961004-r3.ebuild} |  45 ++-
 5 files changed, 628 insertions(+), 41 deletions(-)