Bug 2503871 - erlang-amf: FTBFS in Fedora rawhide/f45
Summary: erlang-amf: FTBFS in Fedora rawhide/f45
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-amf
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F45FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-07-21 18:27 UTC by Fedora Release Engineering
Modified: 2026-07-29 12:53 UTC (History)
1 user (show)

Fixed In Version: erlang-amf-0-0.43.20170825git8fea004.fc45
Clone Of:
Environment:
Last Closed: 2026-07-29 12:52:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2026-07-21 18:27 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-07-21 18:27 UTC, Fedora Release Engineering
no flags Details
state.log (1.75 KB, text/plain)
2026-07-21 18:27 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2026-07-21 18:27:06 UTC
erlang-amf failed to build from source in Fedora rawhide/f45

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
Please fix erlang-amf 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,
erlang-amf will be orphaned. Before branching of Fedora 46,
erlang-amf 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-07-21 18:27:12 UTC
Created attachment 2149756 [details]
build.log

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

Comment 2 Fedora Release Engineering 2026-07-21 18:27:17 UTC
Created attachment 2149757 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-07-21 18:27:20 UTC
Created attachment 2149758 [details]
state.log

Comment 4 Peter Lemenkov 2026-07-29 12:52:37 UTC
Fixed in erlang-amf-0-0.43.20170825git8fea004.fc45.

The FTBFS was caused by a behaviour change in OTP 27: gb_trees:next/1 now returns 'none' when the iterator is exhausted instead of '[]'. The encode_as_reference/2 function in amf0.erl only handled the empty list case via a function clause, causing a {case_clause, none} crash at runtime when encoding objects, arrays or typed objects. Added a 'none' clause to fix the issue.


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