Skip to content

Commit

Permalink
Add libyaml-devel for psych 5+ broken in ManageIQ#528
Browse files Browse the repository at this point in the history
Note, build_rpms github action was still passing so why do we even need psych here?

Should something be failing the build or can we delete psych as a dependency?

This fixes the error below if we really need psych 5+:

```
Installing psych 5.2.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /root/.local/share/gem/ruby/gems/psych-5.2.3/ext/psych
/usr/bin/ruby -I/usr/share/rubygems extconf.rb
checking for pkg-config for yaml-0.1... not found
checking for yaml.h... no
yaml.h not found
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.
```
  • Loading branch information
jrafanie committed Feb 21, 2025
1 parent b637e14 commit 2481146
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN ARCH=$(uname -m) && \
libcurl-devel \
libpq-devel \
librdkafka \
libyaml-devel \
libssh2-devel \
libxml2-devel \
libxslt-devel \
Expand Down

0 comments on commit 2481146

Please sign in to comment.