| Puppet Version: 6.14.0-1buster Puppet Server Version: OS Name/Version: Debian Buster Apt entry: deb http://apt.puppetlabs.com buster puppet6 Dear Maintainer, Desired Behavior: The following works on clean Debian Buster /opt/puppetlabs/puppet/bin/gem install --no-document msgpack Actual Behavior: puppet-agent's bundled rbconfig.rb (/opt/puppetlabs/puppet/lib/ruby/2.5.0/x86_64-linux/rbconfig.rb) contains the following line: CONFIG["MAKEDIRS"] = "/usr/bin/mkdir -p" however there is no /usr/bin/mkdir on a clean Debian Buster system; mkdir resides in /bin only. This configuration results in failed build of native Ruby gems, which use mkmf: mkmf generates the following line into the native Ruby gem Makefile: MAKEDIRS = /usr/bin/mkdir -p Following use of such $MAKEDIRS value results in failed installation, e.g. for the msgpack gem: make "DESTDIR=" install make: /usr/bin/mkdir: Command not foundmake: *** [Makefile:200: .sitearchdir.-.msgpack.time] Error 12 make install failed, exit code 2 The behavior can be verified on your system by running /opt/puppetlabs/puppet/bin/gem install --no-document msgpack My ruby experience level is low, however based on the above I recommend to fix the value of CONFIG["MAKEDIRS"] in rbconfig.rb. This would avoid the failed builds of native gems/extensions. Thank you for handling this issue. Best regards Radek Zajic |