Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899764 - media-sound/audacity-3.2.5 fails to compile (GCC-13-SYSTEM): Stk.h:360:18: error: declaration does not declare anything [-fpermissive]
Summary: media-sound/audacity-3.2.5 fails to compile (GCC-13-SYSTEM): Stk.h:360:18: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Professional Audio Applications Maintainers
URL:
Whiteboard:
Keywords: PATCH
: 904343 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-06 09:27 UTC by Agostino Sarubbo
Modified: 2023-04-21 12:36 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,252.99 KB, text/plain)
2023-03-06 09:27 UTC, Agostino Sarubbo
Details
Bugfix (bugfix-899764.patch,540 bytes, patch)
2023-04-04 12:38 UTC, Adrien Dessemond
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-06 09:27:48 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/audacity-3.2.5 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-06 09:27:51 UTC
Created attachment 856244 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-06 09:27:52 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: lib-src/libnyquist/CMakeFiles/libnyquist.dir/nyquist/nyqstk/stkinit.cpp.o 
/var/tmp/portage/media-sound/audacity-3.2.5/work/audacity-Audacity-3.2.5/lib-src/libnyquist/nyquist/nyqstk/include/Stk.h:360:18: error: declaration does not declare anything [-fpermissive]
Comment 3 Adrien Dessemond 2023-04-04 12:38:02 UTC
Created attachment 859513 [details, diff]
Bugfix
Comment 4 Adrien Dessemond 2023-04-04 12:45:54 UTC
There is another issue related to an invalid type conversion. Other bug, other story. See bug #903771
Comment 5 Adrien Dessemond 2023-04-04 13:19:05 UTC
Reported upstream => https://github.com/audacity/audacity/issues/4489
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-14 23:07:13 UTC
*** Bug 904343 has been marked as a duplicate of this bug. ***
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-15 00:43:28 UTC
Adrien, thanks for doing all these tests and such too.

You're welcome (and encouraged) to make gentoo PRs for the fixes too, but you're not obligated to. I'll go ahead and pull in the trivial fix here but no idea about the other one yet. Thanks!
Comment 8 Larry the Git Cow gentoo-dev 2023-04-15 00:47:17 UTC
The bug has been closed via the following commit(s):

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

commit 0e748c0d213d1fde1baa4cdbe01252c409d3341f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-15 00:45:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-15 00:45:02 +0000

    media-sound/audacity: add partial GCC 13 fix
    
    Closes: https://bugs.gentoo.org/899764
    Signed-off-by: Sam James <sam@gentoo.org>

 media-sound/audacity/audacity-3.2.5.ebuild         |  3 +++
 .../audacity/files/audacity-3.2.5-gcc13.patch      | 25 ++++++++++++++++++++++
 2 files changed, 28 insertions(+)
Comment 9 Adrien Dessemond 2023-04-21 12:36:18 UTC
FYI, the upstream fixed that issue and bug #903771 in the following commit:

https://github.com/audacity/audacity/commit/a49d145ef5e3046273c879be0a21d48ecd4dcab7