Bug 1221304

Summary: GCC 14: argyllcms package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michal Jireš <michal.jires>
Component: OtherAssignee: Antonio Teixeira <antonio.teixeira>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: antonio.teixeira
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1220571    

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