Bug 2341375

Summary: splint: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: splintAssignee: Raphael Groner <projects.rg>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 42CC: projects.rg
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2261709, 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 22:00:28 UTC
splint failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128149695


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix splint at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
splint will be orphaned. Before branching of Fedora 43,
splint will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 22:00:31 UTC
Created attachment 2072645 [details]
build.log

Comment 2 Fedora Release Engineering 2025-01-22 22:00:32 UTC
Created attachment 2072646 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 22:00:34 UTC
Created attachment 2072647 [details]
state.log

Comment 4 Raphael Groner 2025-02-11 20:59:16 UTC

Compiling mtgrammar.c...
mtgrammar.c: In function ‘mtparse’:
mtgrammar.c:63:15: error: too many arguments to function ‘mtlex’; expected 0, have 1
   63 | #define yylex mtlex
      |               ^~~~~
mtgrammar.c:659:33: note: in expansion of macro ‘yylex’
  659 | #   define YYLEX                yylex (&yylval)
      |                                 ^~~~~
mtgrammar.c:1017:16: note: in expansion of macro ‘YYLEX’
 1017 |       yychar = YYLEX;
      |                ^~~~~
mtgrammar.c:135:12: note: declared here
  135 | extern int mtlex () ;
      |            ^~~~~
mtgrammar.c:139:37: error: too many arguments to function ‘yyprint’; expected 0, have 3
  139 | # define YYPRINT(file, type, value) yyprint (file, type, value)
      |                                     ^~~~~~~
mtgrammar.c:1043:11: note: in expansion of macro ‘YYPRINT’
 1043 |           YYPRINT (stderr, yychar, yylval);
      |           ^~~~~~~
mtgrammar.c:136:13: note: declared here
  136 | static void yyprint (/*FILE *p_file, int p_type, YYSTYPE p_value */);
      |             ^~~~~~~
mtgrammar.c: At top level:
mtgrammar.c:1669:13: error: conflicting types for ‘yyprint’; have ‘void(FILE *, int,  yystype)’
 1669 | static void yyprint (FILE *file, int type, YYSTYPE value)
      |             ^~~~~~~
mtgrammar.c:136:13: note: previous declaration of ‘yyprint’ with type ‘void(void)’
  136 | static void yyprint (/*FILE *p_file, int p_type, YYSTYPE p_value */);
      |             ^~~~~~~
mtgrammar.c:136:13: warning: ‘yyprint’ used but never defined
mtgrammar.c:1669:13: warning: ‘yyprint’ defined but not used [-Wunused-function]
 1669 | static void yyprint (FILE *file, int type, YYSTYPE value)
      |             ^~~~~~~
make[3]: *** [Makefile:1162: mtgrammar.o] Error 1

Comment 5 Aoife Moloney 2025-02-26 13:45:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.