Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 731074 - media-sound/supercollider-3.11.2 fails to compile with clang: SC_BoundsMacros.h:23:10: fatal error: 'cstdlib' file not found
Summary: media-sound/supercollider-3.11.2 fails to compile with clang: SC_BoundsMacros...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: systemwide-clang missing-depend
  Show dependency tree
 
Reported: 2020-07-06 12:18 UTC by Agostino Sarubbo
Modified: 2023-04-25 21:30 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,20.62 KB, text/plain)
2020-07-06 12:18 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,4.27 KB, application/x-bzip-compressed-tar)
2020-07-06 12:18 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-07-06 12:18:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/supercollider fails to compile.
Discovered on: amd64

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 isstrictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-07-06 12:18:53 UTC
Created attachment 647958 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-07-06 12:18:58 UTC
Created attachment 647960 [details]
other.tar.bz2

other logs
Comment 3 Hector Martin 2020-07-19 11:01:59 UTC
I don't understand failing to find cstdlib on this clang tinderbox (isn't that a stdc++ header that should be available?), but trying to repro with clang locally yields *different* failures... so either way this seems to be broken with clang.
Comment 4 Agostino Sarubbo gentoo-dev 2022-01-14 13:04:57 UTC
tinderbox has reproduced this issue with version 3.11.2 - Updating summary.
Comment 5 Andie Verbus 2023-04-07 17:20:11 UTC
i think i fixed this by passing a configuration arg to use sctdlib with clang

unfortunately clang won't compile supercollider with the server USE flag, but this is a step in the right direction...
Comment 6 Larry the Git Cow gentoo-dev 2023-04-25 21:30:22 UTC
The bug has been closed via the following commit(s):

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

commit a0e64eaa999496c9c4baa5b86543aaaea2dd9aa2
Author:     Andie Verbus <andieverbus@gmail.com>
AuthorDate: 2023-04-05 13:13:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-25 21:27:50 +0000

    media-sound/supercollider: add 3.13.0
    
    Added ebuild for 3.13.0. Dropped 4 unneeded patches. Bumped EAPI version.
    
    Turning off Avahi support is not recommended by upstream devs, so zeroconf USE flag now on by default.
    
    Removed a blocker for a package that doesn't exist. Removed unused readme.gentoo-r1.eclass
    
    Fixed clang compilation problem with not finding libstdc++
    
    Fixed name of sc-el directory for emacs readme
    
    Closes: https://bugs.gentoo.org/836355
    Closes: https://bugs.gentoo.org/830825
    Closes: https://bugs.gentoo.org/731074
    
    Signed-off-by: Andie Verbus <andieverbus@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/supercollider/Manifest                 |   1 +
 .../supercollider/supercollider-3.13.0.ebuild      | 131 +++++++++++++++++++++
 2 files changed, 132 insertions(+)