Re: mock %post(pam) failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Stuart Jansen wrote:
> 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.
> 

*ack*

Same thing here when trying to initialize the buildroot with `mock init 
-r centos-5-i386.cfg --debug`

/var/tmp/rpm-tmp.15029: line 6: cat: command not found
/var/tmp/rpm-tmp.15029: line 7: rm: command not found
/var/tmp/rpm-tmp.15029: line 22: install: command not found
/var/tmp/rpm-tmp.15029: line 25: install: command not found
error: %post(pam-0.99.6.2-4.el5.i386) scriptlet failed, exit status 127

But that doesn't happen with x86_64 though .. To be investigated


-- 
--
Fabian Arrotin
  idea=`grep -i clue /dev/brain`
  test -z "$idea" && echo "sorry, init 6 in progress" || sh ./answer.sh
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux