Bug 818419

Summary: missing header eimd5.h
Product: [Fedora] Fedora Reporter: Dmitriy Kargapolov <bugzilla>
Component: erlangAssignee: Peter Lemenkov <lemenkov>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: lemenkov, rhbugs, saleyn
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-05 23:38:00 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 Dmitriy Kargapolov 2012-05-03 03:45:31 UTC
Somehow file eimd5.h is missing.
Expected to be found in:
/usr/lib64/erlang/lib/erl_interface-3.7.5/src/misc/eimd5.h
as part of erlang-erl_interface-R14B-04.1.fc16.x86_64 package.

Comment 1 Hans Ulrich Niedermann 2012-05-20 13:43:21 UTC
Is src/misc/eimd5.h really part of the EI API?

The location of eimd5.h suggests that it is not, and thus is rightly not shipped.

Comment 2 Dmitriy Kargapolov 2012-05-20 16:11:39 UTC
Looks like this could be workarounded by using openssl/md5.h in user's code. Still I think it would be good to include Erlang's src/misc/eimd5.h in the distribution, as is done in Erlang Solution's rpms. Just for consistency.

Comment 3 Serge 2012-05-20 16:39:24 UTC
Unfortunately the Erlang distribution didn't do a complete job at properly exporting all functions needed to connect to an Erlang node in non-blocking manner.  Hence some low-level function calls are needed from erl_interface-3.7.5/src/*/*.h headers which are actually included in ei.a.

See for example eixx project using ei (https://github.com/saleyn/eixx)

As a result this request definitely has a merit!

Comment 4 Dmitriy Kargapolov 2012-05-20 17:35:06 UTC
Since Erlang distribution is already divided into enormously big amount of small packages, I think it would be easy to add one more - erlang-erl_interface-dev or erlang-erl_interface-src package including the whole /usr/lib/erlang/lib/erl_interface-$vsn/src to cover this need.

Comment 5 Fedora Update System 2012-06-26 12:55:39 UTC
erlang-R15B-01.4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/erlang-R15B-01.4.fc16

Comment 6 Fedora Update System 2012-06-26 12:55:49 UTC
erlang-R15B-01.4.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/erlang-R15B-01.4.fc17

Comment 7 Peter Lemenkov 2012-06-26 12:59:41 UTC
Folks. sorry for the delay. Please try these packages.

Beware - these ones are with R15B and here is a list of added/removed functions between R14 and R15:

* http://peter.fedorapeople.org/R14-R15.diff.log

Comment 8 Fedora Update System 2012-06-26 21:25:23 UTC
Package erlang-R15B-01.4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing erlang-R15B-01.4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-9926/erlang-R15B-01.4.fc16
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-07-05 23:38:00 UTC
erlang-R15B-01.4.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-09-07 11:25:46 UTC
erlang-R15B-01.4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.