Bug 2261709 - splint: FTBFS in Fedora rawhide/f40
Summary: splint: FTBFS in Fedora rawhide/f40
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: splint
Version: 42
Hardware: aarch64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2341375
Blocks: F40FTBFS
TreeView+ depends on / blocked
 
Reported: 2024-01-29 22:25 UTC by Fedora Release Engineering
Modified: 2025-04-14 16:57 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (20.73 KB, text/plain)
2024-01-29 22:25 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2024-01-29 22:25 UTC, Fedora Release Engineering
no flags Details
state.log (1.63 KB, text/plain)
2024-01-29 22:25 UTC, Fedora Release Engineering
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources splint pull-request 1 0 None None None 2024-03-18 12:46:01 UTC
Github splintchecker splint issues 24 0 None open No ability to configure or make / make errors 2024-02-26 19:08:36 UTC

Description Fedora Release Engineering 2024-01-29 22:25:19 UTC
splint failed to build from source in Fedora rawhide/f40

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_40_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 41,
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 2024-01-29 22:25:25 UTC
Created attachment 2013581 [details]
build.log

Comment 2 Fedora Release Engineering 2024-01-29 22:25:30 UTC
Created attachment 2013582 [details]
root.log

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

Comment 3 Fedora Release Engineering 2024-01-29 22:25:36 UTC
Created attachment 2013583 [details]
state.log

Comment 4 Raphael Groner 2024-01-30 07:17:49 UTC
There seems to be a compiler bug within annobin.

Compiling cpplib.c...
cpplib.c: In function ‘do_defineAux’:
cpplib.c:2907:16: warning: variable ‘hn’ set but not used [-Wunused-but-set-variable]
 2907 |       hashNode hn;
      |                ^~
cpplib.c: In function ‘do_xifdef’:
cpplib.c:5543:25: warning: increment of a boolean expression [-Wbool-operation]
 5543 |   pfile->no_macro_expand++;
      |                         ^~
cpplib.c:5545:25: warning: decrement of a boolean expression [-Wbool-operation]
 5545 |   pfile->no_macro_expand--;
      |                         ^~
*** WARNING *** there are active plugins, do not report this as a bug unless you can reproduce it without enabling any plugins.
Event                            | Plugins
PLUGIN_FINISH_UNIT               | annobin: Generate final annotations
PLUGIN_START_UNIT                | annobin: Generate global annotations
PLUGIN_ALL_PASSES_START          | annobin: Generate per-function annotations
PLUGIN_ALL_PASSES_END            | annobin: Register per-function end symbols
during RTL pass: ldp_fusion
cpplib.c: In function ‘cpplib_createDefinition’:
cpplib.c:2643:1: internal compiler error: in aarch64_pair_mem_from_base, at config/aarch64/aarch64.cc:8235
 2643 | }
      | ^
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.

Comment 5 Raphael Groner 2024-01-30 07:19:31 UTC
As the other builds got cancelled it's not clear if annobin works otherwise.

Comment 6 Stephen John Smoogen 2024-02-14 18:12:41 UTC
Raphael, I am not sure the program is wanting to keep running in Fedora. I have not been able to get it working out of the box for various releases. Instead it will crash out saying it can't parse the glibc headers. I looked and the upstream is no longer fixing the project so it seems it might be good to retire.

Comment 7 David Cantrell 2024-02-15 14:52:40 UTC
I got it to build and run on F39 by doing an update of the autotools build files.  It doesn't crash for me, but the CLI for splint is somewhat unusual and the output is a little less modern than other tools we have.  Still, I think some people might find it useful in specific cases.

I'll send a PR to the package in dist-git with my fixes.

Comment 9 Raphael Groner 2024-02-26 19:08:36 UTC
Older issue of upstream talks about autoconf failure.

Comment 10 Raphael Groner 2025-02-11 21:17:06 UTC
Not reproducible in F42 but another issue in bug #2341375. 

cpplib.c: In function ‘cpplib_createDefinition’:
cpplib.c:2643:1: internal compiler error: in aarch64_pair_mem_from_base, at config/aarch64/aarch64.cc:8235
 2643 | }
      | ^
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[3]: *** [Makefile:1162: cpplib.o] Error 1

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


Note You need to log in before you can comment on or make changes to this bug.