[CentOS] mock %post(pam) failure

Stuart Jansen sjansen at gurulabs.com
Fri Apr 10 05:46:35 UTC 2009


On Thu, 2009-04-09 at 16:54 -0700, Bill Campbell wrote:
> On Thu, Apr 09, 2009, Stuart Jansen wrote:
> >I recently upgraded an internal build server from C5.2 to C5.3 and now
> >I'm experiencing problems initializing the mock buildroot. Specifically,
> >I'm getting the following error:
> >
> >------
> >/var/tmp/rpm-tmp.77062: line 6: cat: command not found
> >/var/tmp/rpm-tmp.77062: line 7: rm: command not found
> >/var/tmp/rpm-tmp.77062: line 22: install: command not found
> >/var/tmp/rpm-tmp.77062: line 25: install: command not found
> >error: %post(pam-0.99.6.2-4.el5.i386) scriptlet failed, exit status 127
> 
> This looks like the PATH environment variable is not set properly
> in the RPM build script (or your /bin/ directory is missing which
> would cause severe heartburn :-).

Except that isn't _my_ RPM. I'm trying to build a python package. This
is happening during the initial phase when mock creates a build chroot
by yum installing required build RPMs.



More information about the CentOS mailing list