Bug 1221304 - GCC 14: argyllcms package fails
Summary: GCC 14: argyllcms package fails
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Antonio Teixeira
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: modern_C
  Show dependency treegraph
 
Reported: 2024-03-12 15:22 UTC by Michal Jireš
Modified: 2024-05-07 13:10 UTC (History)
1 user (show)

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:22:34 UTC
Building argyllcms with GCC 14 fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/argyllcms/standard/x86_64

Due to (exhaustive list of errors):

execunix.c: In function ‘execcmd’:
execunix.c:238:34: error: passing argument 2 of ‘execvp’ from incompatible pointer type [-Wincompatible-pointer-types]
  238 |                 execvp( argv[0], argv );
      |                                  ^~~~
      |                                  |
      |                                  const char **
In file included from execunix.c:45:
/usr/include/unistd.h:599:52: note: expected ‘char * const*’ but argument is of type ‘const char **’
  599 | extern int execvp (const char *__file, char *const __argv[])
      |                                        ~~~~~~~~~~~~^~~~~~~~
mkjambase.c:27:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   27 | main( int argc, char **argv, char **envp )
      | ^~~~


See the meta bug#1220571 for more info.
Comment 1 Antonio Teixeira 2024-05-07 13:10:46 UTC
Fixed in Factory: https://build.opensuse.org/request/show/1157615