Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905127 - media-sound/supercollider-3.13.0 - /.../SC_PaUtils.cpp: error: uint32_t was not declared in this scope
Summary: media-sound/supercollider-3.13.0 - /.../SC_PaUtils.cpp: error: uint32_t was n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Andie Verbus
URL:
Whiteboard:
Keywords: PATCH, PullRequest
: 917539 (view as bug list)
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-04-26 17:23 UTC by Toralf Förster
Modified: 2024-01-31 11:16 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2023-04-26 17:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,93.23 KB, text/plain)
2023-04-26 17:23 UTC, Toralf Förster
Details
environment (environment,98.90 KB, text/plain)
2023-04-26 17:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.03 KB, application/x-bzip)
2023-04-26 17:23 UTC, Toralf Förster
Details
media-sound:supercollider-3.13.0:20230425-233713.log (media-sound:supercollider-3.13.0:20230425-233713.log,184.77 KB, text/plain)
2023-04-26 17:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,31.60 KB, application/x-bzip)
2023-04-26 17:23 UTC, Toralf Förster
Details
emerge --info (emerge-info.txt,8.11 KB, text/plain)
2023-11-17 17:32 UTC, Kfir Ozer
Details
fixed uint32_t for gcc13 (1-fix-uint32_t-gcc-13.patch,297 bytes, patch)
2023-11-18 04:46 UTC, Kfir Ozer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-04-26 17:23:30 UTC
too long lines were shrinked:

[101/468] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBUILDING_SCSYNTH -DHAVE_AVAHI=1 -DNOVA_SIMD -DSC_AUDIO_API=SC_AUDIO_API_PORTAUDIO -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW -DSC_MEMORY_ALIGNMENT=32 -DSC_PLUGIN_DIR=\"/usr/
[102/468] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBUILDING_SCSYNTH -DHAVE_AVAHI=1 -DNOVA_SIMD -DSC_AUDIO_API=SC_AUDIO_API_PORTAUDIO -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW -DSC_MEMORY_ALIGNMENT=32 -DSC_PLUGIN_DIR=\"/usr/
[103/468] /usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBUILDING_SCSYNTH -DHAVE_AVAHI=1 -DNOVA_SIMD -DSC_AUDIO_API=SC_AUDIO_API_PORTAUDIO -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW -DSC_MEMORY_ALIGNMENT=32 -DSC_PLUGIN_DIR=\"/usr/
FAILED: server/scsynth/CMakeFiles/libscsynth.dir/__/__/common/SC_PaUtils.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CONFIG_SUPPRESS_OUTDATED_MESSAGE -DBUILDING_SCSYNTH -DHAVE_AVAHI=1 -DNOVA_SIMD -DSC_AUDIO_API=SC_AUDIO_API_PORTAUDIO -DSC_DATA_DIR=\"/usr/share/SuperCollider\" -DSC_FFT_FFTW -DSC_MEMORY_ALIGNMENT=32 -DSC_PLUGIN_DIR=\"/usr/lib64/Supe
/var/tmp/portage/media-sound/supercollider-3.13.0/work/SuperCollider-3.13.0-Source/common/SC_PaUtils.cpp: In function PaError TryGetDefaultPaDevices(PaDeviceIndex*, PaDeviceIndex*, int, int, double):
/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)) {
      |                     ^~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-j4-20230424-183004

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/16
16.0.2
Python 3.10.11
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.69.0 *
The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
go version go1.20.3 linux/amd64

  HEAD of ::gentoo
commit 375c8056f9dff9db05acc03a28d5889d9a1535cd
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Apr 25 22:46:57 2023 +0000

    2023-04-25 22:46:56 UTC

emerge -qpvO media-sound/supercollider
[ebuild  N    ] media-sound/supercollider-3.13.0  USE="X fftw gpl3 qt5 sndfile zeroconf -debug -emacs -gedit -jack -server -static-libs -vim -webengine" CPU_FLAGS_X86="sse sse2"
Comment 1 Toralf Förster gentoo-dev 2023-04-26 17:23:31 UTC
Created attachment 860803 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-26 17:23:32 UTC
Created attachment 860804 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-04-26 17:23:34 UTC
Created attachment 860805 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-26 17:23:35 UTC
Created attachment 860806 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-26 17:23:36 UTC
Created attachment 860807 [details]
media-sound:supercollider-3.13.0:20230425-233713.log
Comment 6 Toralf Förster gentoo-dev 2023-04-26 17:23:37 UTC
Created attachment 860808 [details]
temp.tar.bz2
Comment 7 Andie Verbus 2023-04-26 17:58:40 UTC
I will file a bug report upstream tonight if it's not already on their radar. Looks like an easy upstream fix and I'll try to track down other instances of that happening.
Comment 8 Andie Verbus 2023-04-26 22:49:08 UTC
Upstream bug report: https://github.com/supercollider/supercollider/issues/6021
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-26 23:26:16 UTC
(In reply to Andie Verbus from comment #7)
> I will file a bug report upstream tonight if it's not already on their
> radar. Looks like an easy upstream fix and I'll try to track down other
> instances of that happening.

Thank you! You may want to try include-what-you-use (IWYU) on it, just be aware that some of its results are dodgy (look at its results if you're interested but manually check).
Comment 10 Andie Verbus 2023-04-30 12:39:25 UTC
Alright, I'm at a loss simply because it compiles fine for me using GCC-13 so I'm unable to see if the includes I'm trying to add actually fix it... I'm still working on getting an isolated testing environment set up for myself and hopefully I can just recreate the error there.
Comment 11 Kfir Ozer 2023-11-17 17:31:48 UTC
I have the same issue, compiles properly on gcc-12 not on 13.
Comment 12 Kfir Ozer 2023-11-17 17:32:32 UTC
Created attachment 874978 [details]
emerge --info
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-18 03:33:16 UTC
*** Bug 917539 has been marked as a duplicate of this bug. ***
Comment 14 Kfir Ozer 2023-11-18 04:46:00 UTC
Created attachment 875038 [details, diff]
fixed uint32_t for gcc13
Comment 15 Larry the Git Cow gentoo-dev 2024-01-31 11:16:32 UTC
The bug has been closed via the following commit(s):

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

commit ba0d52454a0c0b24a6a282a13067724cee40a97b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-30 23:03:59 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-31 11:15:28 +0000

    media-sound/supercollider: Fix build with GCC-13
    
    See also: https://github.com/supercollider/supercollider/issues/6021
    
    Thanks-to: Kfir Ozer
    Closes: https://bugs.gentoo.org/905127
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../supercollider/files/supercollider-3.13.0-gcc-13.patch | 15 +++++++++++++++
 media-sound/supercollider/supercollider-3.13.0.ebuild     |  5 ++++-
 2 files changed, 19 insertions(+), 1 deletion(-)