Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885523 - media-sound/audacity-2.4.2-r3 fails to compile (CLANG-STRICTER-SYSTEM): midifile.c:382:11: error: parameter type was not declared, defaults to int; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Summary: media-sound/audacity-2.4.2-r3 fails to compile (CLANG-STRICTER-SYSTEM): midif...
Status: CONFIRMED
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:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-12 09:46 UTC by Agostino Sarubbo
Modified: 2024-03-31 22:39 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,204.15 KB, text/plain)
2022-12-12 09:46 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 2022-12-12 09:46:00 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: media-sound/audacity-2.4.2-r3 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-12 09:46:02 UTC
Created attachment 841633 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-12 09:46:04 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


FAILED: cmake-proxies/libnyquist/CMakeFiles/libnyquist.dir/__/__/lib-src/libnyquist/nyquist/cmt/midifile.c.o 
/var/tmp/portage/media-sound/audacity-2.4.2-r3/work/audacity-Audacity-2.4.2/lib-src/libnyquist/nyquist/cmt/midifile.c:382:11: error: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int]
Comment 4 jy6x2b32pie9 2024-03-31 22:39:51 UTC
But there are further compile errors with that patch.

Jsut drop 2.4.2-r3