Bug 2385207

Summary: ncmpcpp: FTBFS in Fedora rawhide/f43
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: ncmpcppAssignee: Dominic Hopf <dmaphy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmaphy, mtasaka, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-08-14 07:29:46 UTC 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: 2339432    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-07-30 15:36:01 UTC
ncmpcpp failed to build from source in Fedora rawhide/f43

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
Please fix ncmpcpp 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,
ncmpcpp will be orphaned. Before branching of Fedora 44,
ncmpcpp 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-07-30 15:36:08 UTC
Created attachment 2100887 [details]
build.log

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

Comment 2 Fedora Release Engineering 2025-07-30 15:36:13 UTC
Created attachment 2100888 [details]
root.log

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

Comment 3 Fedora Release Engineering 2025-07-30 15:36:16 UTC
Created attachment 2100889 [details]
state.log

Comment 4 Mamoru TASAKA 2025-08-14 07:01:28 UTC
PR submitted:
https://src.fedoraproject.org/rpms/ncmpcpp/pull-request/1

Comment 5 Mamoru TASAKA 2025-08-14 07:09:55 UTC
So the following lines:

https://github.com/ncmpcpp/ncmpcpp/blob/3e6d992b938de9ba3019302027bd64dbcab6f8c6/m4/boost.m4#L173-L175

is now failing with bash 5.3 when "$boost_dir" is null string as:

With bash-5.2.37-1.fc42.x86_64:
$ cd '' ; echo $?
0

With $ cd '' ; echo $?
-bash: cd: null directory
1

This is bash change:
https://cgit.git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=136cdf8108f2d6c6dd9710c544b1b7b6bd790617
as this is expected by POSIX.1-2024 change:
https://www.austingroupbugs.net/view.php?id=1047

Comment 6 Mamoru TASAKA 2025-08-14 07:12:17 UTC
The last bash behavior is with bash-5.3.0-2.fc43.x86_64

Comment 7 Dominic Hopf 2025-08-14 07:32:38 UTC
Thank you so much for diving that deep into the issue and pointing this out!

Comment 8 Dominic Hopf 2025-08-14 07:44:46 UTC
For the record, opened upstream bug at https://github.com/ncmpcpp/ncmpcpp/issues/634 to let upstream know and maybe apply the above patch.