Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 885523

Summary: 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]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Professional Audio Applications Maintainers <proaudio>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9, richard
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

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