Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Centos 7.0 support #189

Closed
jjasghar opened this issue Dec 18, 2014 · 10 comments
Closed

Centos 7.0 support #189

jjasghar opened this issue Dec 18, 2014 · 10 comments

Comments

@jjasghar
Copy link
Contributor

Welp, it seems we need to work on Centos 7.0 support:



           ================================================================================
           Error executing action `install` on resource 'yum_package[erlang]'
           ================================================================================

           Chef::Exceptions::Exec
           ----------------------
            returned 1, expected 0

           Resource Declaration:
           ---------------------
           # In /tmp/kitchen/cache/cookbooks/erlang/recipes/package.rb

            46:   package 'erlang'
            47: end

           Compiled Resource:
           ------------------
           # Declared in /tmp/kitchen/cache/cookbooks/erlang/recipes/package.rb:46:in `from_file'

           yum_package("erlang") do
             action :install
             retries 0
             retry_delay 2
             default_guard_interpreter :default
             package_name "erlang"
             version "17.4-1.el6"
             timeout 900
             flush_cache {:before=>false, :after=>false}
             declared_type :package
             cookbook_name "erlang"
             recipe_name "package"
           end

       [2014-12-18T14:04:40-05:00] INFO: Running queued delayed notifications before re-raising exception

       Running handlers:
       [2014-12-18T14:04:40-05:00] ERROR: Running exception handlers
       Running handlers complete
       [2014-12-18T14:04:40-05:00] ERROR: Exception handlers complete
       [2014-12-18T14:04:40-05:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       Chef Client failed. 4 resources updated in 71.715606627 seconds
       [2014-12-18T14:04:41-05:00] ERROR: yum_package[erlang] (erlang::package line 46) had an error: Chef::Exceptions::Exec:  returned 1, expected 0
       [2014-12-18T14:04:42-05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
@joerocklin
Copy link

Trying to install erlang on the box manually results in a bunch of yum dependency resolution issues like:

Error: Package: erlang-wx-17.4-1.el6.x86_64 (erlang_solutions)
           Requires: libwx_gtk2u_core-2.8.so.0(WXU_2.8)(64bit)

no idea on a fix, just hit this issue today. Maybe someone more familiar with the erlang RPMs knows an obvious answer? Full yum output here: https://gist.github.com/joerocklin/89ede769bc5330a3f759

@stevecstian
Copy link

@jjasghar @joerocklin
After installing EPEL repo via sudo yum install epel-release, I can install erlang 17.4 on chef/centos-7.0 vagrant box v1.0.0 now. Does that help?

@joerocklin
Copy link

@stevecstian That does indeed fix the problem. Perhaps the erlang-solutions cookbook needs updating to include EPEL?

@stevecstian
Copy link

@joerocklin @jjasghar
In centos 6, wxBase/wxGTK/wxGTK-gl packages could be found in centos 6 extras repo

 wxBase                  x86_64  2.8.12-1.el6.centos    extras            572 k
 wxGTK                   x86_64  2.8.12-1.el6.centos    extras            2.9 M
 wxGTK-gl                x86_64  2.8.12-1.el6.centos    extras             31 k

In centos 7, however, wxBase/wxGTK/wxGTK-gl packages are not in centos 7 extras repo anymore. Include yum-epel recipe should be able to fix the problem, but not sure if this is the best solution. This issue should be reported to erlang cookbook...

 wxBase                  x86_64 2.8.12-8.el7             epel             576 k
 wxGTK                   x86_64 2.8.12-8.el7             epel             2.9 M
 wxGTK-gl                x86_64 2.8.12-8.el7             epel              33 k

@jjasghar
Copy link
Contributor Author

OK, so it seems we need to spend some time with this. I can't commit to working on this yet; though i'd love to see if the community can pick up some of the slack.

I'm going to be going into this pretty soon, but not for at least a couple of weeks 😭

@stevecstian
Copy link

Thanks @joerocklin for reporting this to sous-chefs/erlang#24. 🤘

@jjasghar
Copy link
Contributor Author

jjasghar commented Feb 4, 2015

#214 resolves this.

@cmluciano
Copy link

This can probably be closed since #214 is merged

@ghost
Copy link

ghost commented Sep 14, 2018

Has this problem been resolved? I encountered the same problem while installing erlang

@isuftin
Copy link

isuftin commented Sep 14, 2018

We are running this on CentOS 7 currently. Seems to be working?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants