[OpenAFS] srpm for 1.6.1 not building in mock
David Botsch
botsch@cnf.cornell.edu
Wed, 4 Apr 2012 18:35:37 -0400
--00504502dfc2da991004bce20a96
Content-Type: text/plain; charset=ISO-8859-1
I did not have any issues with pre 1.6.1 on red hat 6, or Fedora 15. Have
not yet tried a mock build with the final.
On Apr 4, 2012 6:32 PM, "Darren Patterson" <darren.patterson@stanford.edu>
wrote:
> All,
> Has anyone else encountered issues when trying to build kmods for RHEL5/6
> using the new openafs-1.6.1-1.src.rpm in mock? The 1.6.0 RPMs worked fine
> (with a work-around to install required packages prior to rebuilding the
> source rpm), but the 1.6.1 RPMs throw this error in mock:
>
> ERROR: Command failed:
> # ['/usr/bin/yum-builddep', '--installroot',
> '/var/lib/mock/rhel-5-x86_64-mock/
> root/',
> '/var/lib/mock/rhel-5-x86_64-mock/root///builddir/build/SRPMS/openafs-1.
> 6.1-1.src.rpm']
> Getting requirements for openafs-1.6.1-1.src
> --> Already installed : pam-devel-0.99.6.2-6.el5_5.2.x86_64
> --> Already installed : ncurses-devel-5.5-24.20060715.x86_64
> --> Already installed : flex-2.5.4a-41.fc6.x86_64
> --> Already installed : bison-2.3-2.1.x86_64
> --> Already installed : 4:perl-5.8.8-38.el5.x86_64
> --> Already installed : krb5-devel-1.6.1-70.el5.x86_64
> --> Already installed : kernel-xen-devel-2.6.18-308.1.1.el5.x86_64
> Error: No Package found for kernel-devel-x86_64 = 2.6.32-220.7.1.el6
>
> Looking through a diff of the spec and the Requires from the src.rpms for
> 1.6.0 and 1.6.1 it isn't quickly obvious why this is happening. The
> kernel-devel version it is trying to get (2.6.32-220.7.1.el6) is for the
> kernel I'm currently running, not the kernel that is installed in the
> chroot which it should be picking up from the spec.
>
> -darren
>
>
> mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires
> /usr/src/afs/openafs-1.6.0-1.src.rpm
> pam-devel
> ncurses-devel
> flex
> bison
> krb5-devel
> kernel-devel-x86_64 = 2.6.18-238.1.1.el5.inf.1
> rpmlib(CompressedFileNames) <= 3.0.4-1
>
> mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires
> /usr/src/afs/openafs-1.6.1-1.src.rpm
> pam-devel
> ncurses-devel
> flex
> bison
> perl(ExtUtils::Embed)
> krb5-devel
> kernel-devel
> kernel-devel-i686 = 2.6.18-128.1.10.el5
> rpmlib(CompressedFileNames) <= 3.0.4-1
>
>
>
>
>
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
--00504502dfc2da991004bce20a96
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<p>I did not have any issues with pre 1.6.1 on red hat 6, or Fedora 15. Hav=
e not yet tried a mock build with the final.</p>
<div class=3D"gmail_quote">On Apr 4, 2012 6:32 PM, "Darren Patterson&q=
uot; <<a href=3D"mailto:darren.patterson@stanford.edu">darren.patterson@=
stanford.edu</a>> wrote:<br type=3D"attribution"><blockquote class=3D"gm=
ail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-le=
ft:1ex">
All,<br>
Has anyone else encountered issues when trying to build kmods for RHEL5/6 u=
sing the new openafs-1.6.1-1.src.rpm in mock? =A0The 1.6.0 RPMs worked fine=
(with a work-around to install required packages prior to rebuilding the s=
ource rpm), but the 1.6.1 RPMs throw this error in mock:<br>
<br>
ERROR: Command failed:<br>
=A0# ['/usr/bin/yum-builddep', '--installroot', '/var/l=
ib/mock/rhel-5-x86_64-mock/<br>
root/', '/var/lib/mock/rhel-5-x86_64-mock/root///builddir/build/SRP=
MS/openafs-1.<br>
6.1-1.src.rpm']<br>
Getting requirements for openafs-1.6.1-1.src<br>
=A0--> Already installed : pam-devel-0.99.6.2-6.el5_5.2.x86_64<br>
=A0--> Already installed : ncurses-devel-5.5-24.20060715.x86_64<br>
=A0--> Already installed : flex-2.5.4a-41.fc6.x86_64<br>
=A0--> Already installed : bison-2.3-2.1.x86_64<br>
=A0--> Already installed : 4:perl-5.8.8-38.el5.x86_64<br>
=A0--> Already installed : krb5-devel-1.6.1-70.el5.x86_64<br>
=A0--> Already installed : kernel-xen-devel-2.6.18-308.1.1.el5.x86_64<br=
>
Error: No Package found for kernel-devel-x86_64 =3D 2.6.32-220.7.1.el6<br>
<br>
Looking through a diff of the spec and the Requires from the src.rpms for 1=
.6.0 and 1.6.1 it isn't quickly obvious why this is happening. =A0The k=
ernel-devel version it is trying to get (2.6.32-220.7.1.el6) is for the ker=
nel I'm currently running, not the kernel that is installed in the chro=
ot which it should be picking up from the spec.<br>
<br>
-darren<br>
<br>
<br>
mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires /usr/src/afs/op=
enafs-1.6.0-1.src.rpm<br>
pam-devel<br>
ncurses-devel<br>
flex<br>
bison<br>
krb5-devel<br>
kernel-devel-x86_64 =3D 2.6.18-238.1.1.el5.inf.1<br>
rpmlib(CompressedFileNames) <=3D 3.0.4-1<br>
<br>
mock@rhel-afs-test6x:~/rpmbuild/SOURCES$ rpm -qp --requires /usr/src/afs/op=
enafs-1.6.1-1.src.rpm<br>
pam-devel<br>
ncurses-devel<br>
flex<br>
bison<br>
perl(ExtUtils::Embed)<br>
krb5-devel<br>
kernel-devel<br>
kernel-devel-i686 =3D 2.6.18-128.1.10.el5<br>
rpmlib(CompressedFileNames) <=3D 3.0.4-1<br>
<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
OpenAFS-info mailing list<br>
<a href=3D"mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br=
>
<a href=3D"https://lists.openafs.org/mailman/listinfo/openafs-info" target=
=3D"_blank">https://lists.openafs.org/mailman/listinfo/openafs-info</a><br>
<br>
</blockquote></div>
--00504502dfc2da991004bce20a96--