Hi Dave,

On Wed, 01 Aug 2007, 16:29:54 +0200, Dave wrote:
> Hello,
> 
> I've been able to build heartbeat rpm files on RHEL4 after installing a fresh 
> OS
> with ALL packages (because many devel packages are needed).  I used the src 
> rpm from
> the Fedora 5 area here:
> http://download.opensuse.org/repositories/server:/ha-clustering/Fedora_5/src/
> 
> Only problem with the install now is the heartbeat package itself is failing 
> during
> the %post section.  pils and stonith installed w/o incident.  Here are the 
> details:
> 
> [EMAIL PROTECTED]:/usr/src/redhat/RPMS/x86_64 > rpm -ivh 
> heartbeat-2.1.0-45.1.x86_64.rpm
> 
> Preparing...                ########################################### [100%]
>    1:heartbeat              ########################################### [100%]
> /var/tmp/rpm-tmp.50506: line 1: fg: no job control
> error: %post(heartbeat-2.1.0-45.1.x86_64) scriptlet failed, exit status 1
> 
> I inspected the heartbeat spec file and it looks like the failure may be due 
> to
> differences between Fedora and RHEL :-/  I suppose that macros which the post
> install is relying on for Fedora just don't work as expected under RHEL?
> 
> To test, I ran the BasicSanityCheck by hand, which ended up failing with one 
> error,
> though it's unclear to me whether this is related to the %post install error 
> or not.
>  Is it???

Could you please post the output from running the following command on
the RPM you built yourself?

  rpm -qp heartbeat-2.1.0-45.1.x86_64.rpm --scripts

Perhaps it'll show some blatantly obvious stuff...

Cheers.

l8er
manfred
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to