Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917539 - media-sound/supercollider-3.13.0 fails to build with gcc13 missing uint32_t
Summary: media-sound/supercollider-3.13.0 fails to build with gcc13 missing uint32_t
Status: RESOLVED DUPLICATE of bug 905127
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-18 03:28 UTC by Kfir Ozer
Modified: 2023-11-18 04:46 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,8.11 KB, text/plain)
2023-11-18 03:29 UTC, Kfir Ozer
Details
build log (build.log,279.44 KB, text/x-log)
2023-11-18 03:29 UTC, Kfir Ozer
Details
uint32_t bug fix (1-fix-uint32_t-gcc-13.patch,297 bytes, patch)
2023-11-18 04:26 UTC, Kfir Ozer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kfir Ozer 2023-11-18 03:28:51 UTC
Hi, i noticed that supercollider failed to build on gcc-13.2.1
actually it also failed to build on gcc-12 with a different linker related error but i did a fix to gcc-13 who had a different kind of error regarding missing uint_32_t.







Reproducible: Always

Steps to Reproduce:
emerge supercollider
Actual Results:  
/var/tmp/portage/media-sound/supercollider-3.13.0/work/SuperCollider-3.13.0-Source/common/SC_PaUtils.cpp:130:21: error: ‘uint32_t’ was not declared in this scope
  130 |                 if (uint32_t(inSR) != uint32_t(outSR)) {
      |                     ^~~~~~~~
/var/tmp/portage/media-sound/supercollider-3.13.0/work/SuperCollider-3.13.0-Source/common/SC_PaUtils.cpp:6:1: note: ‘uint32_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’? 
    5 | #include <cstdio>
  +++ |+#include <cstdint>
    6 | 


Expected Results:  
to compile

so literally just adding the include to cstdint in common/SC_PaUtils.cpp resolves the issue and the rest of the app compiles properly.
Comment 1 Kfir Ozer 2023-11-18 03:29:09 UTC
Created attachment 875035 [details]
emerge --info
Comment 2 Kfir Ozer 2023-11-18 03:29:49 UTC
Created attachment 875036 [details]
build log
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-18 03:33:16 UTC
dupe of bug 905127, I think.

*** This bug has been marked as a duplicate of bug 905127 ***
Comment 4 Kfir Ozer 2023-11-18 04:26:00 UTC
Created attachment 875037 [details, diff]
uint32_t bug fix

adds include to cstdint to fix missing uint32_t.
Comment 5 Kfir Ozer 2023-11-18 04:46:52 UTC
oh sorry yeah it's a duplicate, attached the fix to the other bug as well.