Bug 1590965

Summary: FTBFS: erlang-riak_api
Product: [Fedora] Fedora Reporter: Randy Barlow <rbarlow>
Component: erlang-riak_apiAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 29CC: lemenkov
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: erlang-riak_api-2.1.7-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-21 05:29:15 UTC Type: Bug
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: 1589611    

Description Randy Barlow 2018-06-13 19:47:15 UTC
src/riak_api_pb_server.erl:71: gen_fsm:start_link/3 is deprecated and will be removed in a future release; use gen_statem:start_link/3                                                                                                       
src/riak_api_pb_server.erl:76: gen_fsm:sync_send_event/3 is deprecated and will be removed in a future release; use gen_statem:call/3                                                                                                        
src/riak_api_pb_server.erl:81: gen_fsm:send_all_state_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2                                                                                                   
Compiling src/riak_api_pb_server.erl failed:
DEBUG: Worker compilation failed: {{error,
                                    {error,[],
                                     [["src/riak_api_pb_server.erl:71: gen_fsm:start_link/3 is deprecated and will be removed in a future release; use gen_statem:start_link/3\n",                                                           
                                       "src/riak_api_pb_server.erl:76: gen_fsm:sync_send_event/3 is deprecated and will be removed in a future release; use gen_statem:call/3\n",                                                            
                                       "src/riak_api_pb_server.erl:81: gen_fsm:send_all_state_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2\n"]]}},                                                   
                                   {source,"src/riak_api_pb_server.erl"}}

Comment 1 Randy Barlow 2018-06-13 20:21:52 UTC
I found http://erlang.org/doc/man/gen_fsm.html#Migration%20to%20gen_statem but it sounds a bit beyond my Erlang knowledge.

Comment 2 Randy Barlow 2018-06-13 20:25:50 UTC
https://github.com/basho/riak_api/issues/122

Comment 3 Jan Kurik 2018-08-14 10:29:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle.
Changing version to '29'.

Comment 4 Fedora Update System 2018-09-06 13:41:49 UTC
erlang-riak_api-2.1.7-4.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d4d3559234

Comment 5 Fedora Update System 2018-09-07 06:01:00 UTC
erlang-riak_api-2.1.7-4.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d4d3559234

Comment 6 Fedora Update System 2018-09-21 05:29:15 UTC
erlang-riak_api-2.1.7-4.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.