Package: puppet-agent Version: 6.12.0-1buster Severity: normal Dear Maintainer,
puppet-agent's bundled rbconfig.rb contains the following line: CONFIG["MAKEDIRS"] = "/usr/bin/mkdir -p" however there is no /usr/bin/mkdir on a clean Debian 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 found make: *** [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 -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-8-amd64 (SMP w/28 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages puppet-agent depends on: ii findutils 4.6.0+git+20190209-2 ii tar 1.30+dfsg-6 puppet-agent recommends no packages. puppet-agent suggests no packages. -- Configuration Files: /etc/puppetlabs/puppet/puppet.conf changed [not included] -- no debconf information