Bug 2385207 - ncmpcpp: FTBFS in Fedora rawhide/f43
Summary: ncmpcpp: FTBFS in Fedora rawhide/f43
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ncmpcpp
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F43FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-07-30 15:36 UTC by Fedora Release Engineering
Modified: 2025-08-14 07:44 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2025-08-14 07:29:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-07-30 15:36 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-07-30 15:36 UTC, Fedora Release Engineering
no flags Details
state.log (1.63 KB, text/plain)
2025-07-30 15:36 UTC, Fedora Release Engineering
no flags Details

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.


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