Bug 1221308 - GCC 14: audiofile package fails
Summary: GCC 14: audiofile package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Sound (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Takashi Iwai
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-12 15:57 UTC by Michal Jireš
Modified: 2024-03-12 16:36 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Jireš 2024-03-12 15:57:11 UTC
Building audiofile with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/audiofile/standard/x86_64

Due to (exhaustive list of errors):

sixteen-stereo-to-eight-mono.c: In function ‘main’:
sixteen-stereo-to-eight-mono.c:61:54: error: passing argument 2 of ‘createTemporaryFile’ from incompatible pointer type [-Wincompatible-pointer-types]
   61 |         if (!createTemporaryFile("sixteen-to-eight", &testFileName))
      |                                                      ^~~~~~~~~~~~~
      |                                                      |
      |                                                      char (*)[4096]
In file included from sixteen-stereo-to-eight-mono.c:41:
TestUtilities.h:56:52: note: expected ‘char *’ but argument is of type ‘char (*)[4096]’
   56 | bool createTemporaryFile(const char *prefix, char *path);
      |                                              ~~~~~~^~~~



See the meta bug#1220571 for more info.
Comment 1 Takashi Iwai 2024-03-12 16:33:30 UTC
It must be a typo in the argument.  It's the code in the downstream patch audiofile-CVE-2015-7747.patch.
I'll correct it.
Comment 2 Takashi Iwai 2024-03-12 16:36:34 UTC
The fix was submitted to TW.