Bug 1560309

Summary: FTBFS in Rawhide and F28: export_all flag enabled - all functions will be exported
Product: [Fedora] Fedora Reporter: Randy Barlow <rbarlow>
Component: erlang-joseAssignee: Randy Barlow <rbarlow>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 28CC: lemenkov, rbarlow
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: erlang-jose-1.8.4-3.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-24 16:22:02 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:

Description Randy Barlow 2018-03-25 20:59:58 UTC
I was attempting to convert erlang-jose into a noarch package today when I discovered that it fails to build from source:

test/property_test/jose_jwt_props.erl:9: export_all flag enabled - all functions will be exported
ERROR: eunit failed while processing /home/rbarlow/rpmbuild/BUILD/erlang-jose-1.8.4: rebar_abort
Compiling test/property_test/jose_jwt_props.erl failed:
DEBUG: Worker compilation failed: {{error,
                                    {error,[],
                                     [["test/property_test/jose_jwt_props.erl:9: export_all flag enabled - all functions will be exported\n"]]}},
                                   {source,
                                    "test/property_test/jose_jwt_props.erl"}}

This may be due to the recent upgrade of Erlang in Fedora 28/Rawhide. Perhaps what was previously a warning became an error?

Comment 1 Randy Barlow 2018-03-25 21:11:24 UTC
I'm going to work around this by patching out warnings_as_errors from rebar.config until upstream fixes it.

Comment 2 Fedora Update System 2018-03-25 21:45:54 UTC
erlang-jose-1.8.4-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ecfe3c8e30

Comment 3 Fedora Update System 2018-03-26 15:01:34 UTC
erlang-jose-1.8.4-3.fc28 has been pushed to the Fedora 28 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-ecfe3c8e30

Comment 4 Fedora Update System 2018-03-30 13:20:42 UTC
erlang-jose-1.8.4-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.