Fedora Account System
Red Hat Associate
Red Hat Customer
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/
Created attachment 2149756 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 2149757 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 2149758 [details] state.log
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.