Bug 2434693 - kafs-client: FTBFS in Fedora rawhide/f44
Summary: kafs-client: FTBFS in Fedora rawhide/f44
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kafs-client
Version: 45
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-09-11 18:51 UTC (History)
1 user (show)

Fixed In Version: kafs-client-0.9-1.fc43 kafs-client-0.9-1.fc44 kafs-client-0.9-1.fc45
Clone Of:
Environment:
Last Closed: 2026-09-02 01:15:55 UTC
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

Comment 6 Aoife Moloney 2026-08-17 14:09:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 7 Fedora Update System 2026-08-27 21:33:22 UTC
FEDORA-2026-426324af3f (kafs-client-0.9-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-426324af3f

Comment 8 Fedora Update System 2026-08-27 21:33:22 UTC
FEDORA-2026-a8956dae48 (kafs-client-0.9-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a8956dae48

Comment 9 Fedora Update System 2026-08-28 01:37:31 UTC
FEDORA-2026-a8956dae48 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a8956dae48`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a8956dae48

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2026-08-28 02:00:58 UTC
FEDORA-2026-f041d3c488 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f041d3c488`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f041d3c488

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-08-28 02:21:05 UTC
FEDORA-2026-426324af3f has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-426324af3f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-426324af3f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-09-02 01:15:55 UTC
FEDORA-2026-a8956dae48 (kafs-client-0.9-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2026-09-02 01:33:46 UTC
FEDORA-2026-f041d3c488 (kafs-client-0.9-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2026-09-11 18:51:08 UTC
FEDORA-2026-426324af3f (kafs-client-0.9-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.


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