[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bug in RPM build process?
- Subject: Re: possible bug in RPM build process?
- From: Hilton Day <..hidden..>
- Date: Wed, 22 Feb 2012 14:47:10 +1100
I see Einhverfr already updated the build.sh file for the rpm's -
which saves me generating a patch file.
Just to confirm - I remembered I still had a RHEL6 development box
kicking around which I was using a few months ago to build a bunch of
Xen4 packages, which has a newer version of rpm, so I used that to do:
> rpmbuild --rebuild ledgersmb-1.3.11-1.src.rpm --define "_source_filedigest_algorithm 0" \
--define "_binary_filedigest_algorithm 0"
The resulting binary rpm package installs with no complaints on both
Centos5 and Centos6.
I'll carry on working through and documenting a process for rpm-based
installation - my target platform is still Centos5 for now.
Thanks, and I'll pass on any further issues along the way.
On Wed, Feb 22, 2012 at 12:59 AM, Hilton Day <..hidden..> wrote:
> You may have seen my earlier post to ledger-smb-users about rpm based
> I've got all the perl module pre-reqs satisfied now under Centos 5 by
> using only rpm-based installation (using rpmforge repo only - so
> relatively simple). I'm currently documenting the steps and will test
> the full process again on a clean install of Centos 5 once I've
> In the short term however, I've hit a bug with the rpm file - when I
> do the final "yum localinstall ledgersmb-1.3.11-1.noarch.rpm
> --nogpgcheck" I get the following error:
>> Running rpm_check_debug
>> ERROR with rpm_check_debug vs depsolve:
>> rpmlib(FileDigests) is needed by ledgersmb-1.3.11-1.noarch
>> rpmlib(PayloadIsXz) is needed by ledgersmb-1.3.11-1.noarch
>> (1, [u'Please report this error in http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum'])
> Some quick digging and it turns up this bug report for Redhat
> Enterprise Linux 5 (of which Centos5 is built):
> The comment made vis a vis the bug is:
>> "seth vidal 2010-12-22 11:48:46 EST
>> the package was built with a newer version of rpm than the one in
>> rhel5. You should ask the provider of the pkg to [re]build it with these
>> rpmmacros enabled
>> %_source_filedigest_algorithm 0
>> %_binary_filedigest_algorithm 0
>> then it will work on rhel5."
> If I get the time this weekend I'll have a go at rebuilding the rpm
> with the flags - it should be done by rebuilding the source with
> something like:
> rpmbuild -bs \
> --define "_source_filedigest_algorithm 0" \
> --define "_binary_filedigest_algorithm 0" \
> - Sydney - Australia