Bug 2434693 - kafs-client: FTBFS in Fedora rawhide/f44
Summary: kafs-client: FTBFS in Fedora rawhide/f44
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kafs-client
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: David Howells
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-01-28 21:08 UTC by Fedora Release Engineering
Modified: 2026-03-06 15:16 UTC (History)
1 user (show)

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


Attachments (Terms of Use)
build.log (25.17 KB, text/plain)
2026-01-28 21:08 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-01-28 21:08 UTC, Fedora Release Engineering
no flags Details
state.log (1.64 KB, text/plain)
2026-01-28 21:08 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2026-01-28 21:08:00 UTC
kafs-client failed to build from source in Fedora rawhide/f44

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
Please fix kafs-client 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,
kafs-client will be orphaned. Before branching of Fedora 45,
kafs-client 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 2026-01-28 21:08:06 UTC
Created attachment 2125981 [details]
build.log

Comment 2 Fedora Release Engineering 2026-01-28 21:08:12 UTC
Created attachment 2125982 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-01-28 21:08:15 UTC
Created attachment 2125983 [details]
state.log

Comment 4 David Howells 2026-02-03 08:46:53 UTC
gcc reports:

lib_cellserv.c: In function ‘cellserv_parse_address’:
lib_cellserv.c:72:19: error: assignment discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
   72 |                 p = strchr(v, ']');
      |                   ^

The problem is here:

	if (v[0] == '[') {
		char *p;

		v++;
		p = strchr(v, ']');
		if (!p || p[1])
			goto invalid;
		p[0] = 0;
	}

v is a const char *, so modifying the string is wrong - but strchr() discards the const.

Comment 5 David Howells 2026-03-06 15:16:48 UTC
Proposed update, including this fix, posted here:
https://lists.infradead.org/pipermail/linux-afs/2026-March/010687.html


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