[OpenAFS] srpm for 1.6.1 not building in mock

Darren Patterson darren.patterson@stanford.edu
Fri, 6 Apr 2012 08:27:10 -0700


--Apple-Mail-26--1063455204
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On Apr 6, 2012, at 8:20 AM, Darren Patterson wrote:

>=20
> On Apr 4, 2012, at 8:34 PM, Derrick Brashear wrote:
>=20
>> On Wed, Apr 4, 2012 at 10:16 PM, Simon Wilkinson
>> <simonxwilkinson@gmail.com> wrote:
>>> There was a change made to the spec file at the last minute in the =
1.6.1
>>> release process after problems were encountered with the mock =
builders.
>>> Unfortunately this change includes an unnecessary kernel-devel =
dependency.
>>> Sadly, whilst the problem was pointed out during the review, an =
unmodified
>>> patch was pushed.
>>>=20
>>> I can't verify at the moment that this is definitely your problem, =
but I
>>> suspect that reverting the kernel-devel portion of the last change =
to
>>> src/packaging/openafs.spec.in will fix the issue.
>>>=20
>>=20
>> I'm not sure it's that simple, and said so at the time. In any case,
>> why not just install kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm, =
which
>> certainly exists.
>>=20
>=20
>=20
> Sadly it isn't that easy (I tried before email the list initially), =
and kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm isn't so easy to install =
when you're building a kmod for RHEL5 in chroot.
>=20
> -darren
>=20


One more data point - the kernel-devel version required in chroot =
matches the version running the host OS.  I moved from kernel =
2.6.32-220.4.1 to 220.7.1 and watched the errors mirror that change of =
booted kernel instead of the installed kernel in the chroot.

Thanks,
-darren



--Apple-Mail-26--1063455204
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Apr 6, 2012, at 8:20 AM, Darren Patterson =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: =
space; -webkit-line-break: after-white-space; "><br><div><div>On Apr 4, =
2012, at 8:34 PM, Derrick Brashear wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Wed, Apr 4, 2012 at 10:16 PM, Simon Wilkinson<br>&lt;<a =
href=3D"mailto:simonxwilkinson@gmail.com">simonxwilkinson@gmail.com</a>&gt=
; wrote:<br><blockquote type=3D"cite">There was a change made to the =
spec file at the last minute in the 1.6.1<br></blockquote><blockquote =
type=3D"cite">release process after problems were encountered with the =
mock builders.<br></blockquote><blockquote type=3D"cite">Unfortunately =
this change includes an unnecessary kernel-devel =
dependency.<br></blockquote><blockquote type=3D"cite">Sadly, whilst the =
problem was pointed out during the review, an =
unmodified<br></blockquote><blockquote type=3D"cite">patch was =
pushed.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">I can't verify =
at the moment that this is definitely your problem, but =
I<br></blockquote><blockquote type=3D"cite">suspect that reverting the =
kernel-devel portion of the last change to<br></blockquote><blockquote =
type=3D"cite">src/packaging/openafs.spec.in will fix the =
issue.<br></blockquote><blockquote type=3D"cite"><br></blockquote><br>I'm =
not sure it's that simple, and said so at the time. In any case,<br>why =
not just install kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm, =
which<br>certainly exists.<br><br></div></blockquote></div><div><br =
class=3D"webkit-block-placeholder"></div><div><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
font-family: Helvetica; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: =
none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; "><span class=3D"Apple-style-span" =
style=3D"border-collapse: separate; font-family: Helvetica; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; orphans: 2; text-align: -webkit-auto; =
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; =
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; =
-webkit-border-vertical-spacing: 0px; =
-webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; ">Sadly it isn't that easy (I =
tried before email the list initially), =
and&nbsp;kernel-devel-2.6.32-220.7.1.el6.x86_64.rpm isn't so easy to =
install when you're building a kmod for RHEL5 in chroot.<br =
class=3D"Apple-interchange-newline"><br></span></span></div><div>-darren</=
div>
<br></div></blockquote></div><div><br></div>One more data point - the =
kernel-devel version required in chroot matches the version running the =
host OS. &nbsp;I moved from kernel 2.6.32-220.4.1 to 220.7.1 and watched =
the errors mirror that change of booted kernel instead of the installed =
kernel in the =
chroot.<div><br></div><div>Thanks,</div><div>-darren<div><span =
class=3D"Apple-style-span" style=3D"border-collapse: separate; color: =
rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; line-height: =
normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; =
text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; =
-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: =
0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: =
auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br =
class=3D"Apple-interchange-newline"></span>
</div>
<br></div></body></html>=

--Apple-Mail-26--1063455204--