[OpenAFS] File systems on Linux, again.

Jerry Normandin Jerry.Normandin@dafca.com
Mon, 3 Dec 2007 12:21:35 -0800


This is a multi-part message in MIME format.

------_=_NextPart_001_01C835EA.0728FA70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I thought I did.  What release did you build the srpm on? =20

=20

I have:

[root@eng03 SOURCES]# more /etc/issue

Red Hat Enterprise Linux ES release 3 (Taroon Update 8)

=20

Here's how the buildall script bombs:

=20

Processing files: openafs-kernel-hugemem-1.4.5-2.4.21_47.EL_1

error: File not found by glob:
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/op
enafs/openafs.*

=20

=20

RPM build errors:

    File not found by glob:
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/op
enafs/openafs.*

[root@eng03 SOURCES]#

=20

the kernel directory is NOT in /var/tmp....  so it's
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/fs/openafs/o
penafs.*

=20

That is the first error.

=20

That's a no-brainer. I fixed the spec file and built the openafs kernel
rpms.

--define "build_modules 1" \   is  now --define "build_userspace 1" \

=20

All I did was to select to build the userspace tools instead of the
modules. =20

=20

It fails with:
[root@eng03 SOURCES]# ./openafs-buildall.sh

Building OpenAFS for rhel3

rpmbuild -ba --define osvers rhel3 /usr/src/redhat/SPECS/openafs.spec

Building for /usr/src/linux-2.4.21-47.EL, 2.4.21-47.EL, i686

Building target platforms: i686

Building for target i686

error: parse error in expression

error: /usr/src/redhat/SPECS/openafs.spec:349: parseExpressionBoolean
returns -1

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/openafs-1.4.5-root

Building for /usr/src/linux-2.4.21-47.EL, 2.4.21-47.EL, athlon

Building target platforms: athlon

Building for target athlon

error: parse error in expression

error: /usr/src/redhat/SPECS/openafs.spec:349: parseExpressionBoolean
returns -1

Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/openafs-1.4.5-root

=20

It appears that there's a problem with the openafs.spec file=20

=20

From: openafs-info-admin@openafs.org
[mailto:openafs-info-admin@openafs.org] On Behalf Of Derrick Brashear
Sent: Monday, December 03, 2007 2:55 PM
To: OpenAFS-Info
Subject: Re: [OpenAFS] File systems on Linux, again.

=20

=20

On Dec 3, 2007 2:50 PM, Jerry Normandin <Jerry.Normandin@dafca.com>
wrote:

ah.. sorry about that I intended to post to the group.  I thought I hit
reply-all.

=20

Here's where I got the SRPM:

=20

http://www.openafs.org/dl/openafs/1.4.5/rhel3/SRPMS/openafs-1.4.5-rhel3.
1.src.rpm=20

=20

openafs-buildall.sh fails.

=20

Derrick,

=20

Do you still have a copy of the srpm that you built openafs 1.4.5 on
redhat enterprise 3 with?

 =20

i uploaded it.  the srpm, like the rpms, came from me. you never
answered what was on the line in the spec file it complained about.=20

=20


------_=_NextPart_001_01C835EA.0728FA70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:"Cambria Math";
	panose-1:0 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I thought I did.&nbsp; What release did you build the =
srpm on?&nbsp;
<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I have:<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>[root@eng03 SOURCES]# more =
/etc/issue<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Red Hat Enterprise Linux ES release 3 (Taroon Update =
8)<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Here's how the buildall script =
bombs:<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Processing files: =
openafs-kernel-hugemem-1.4.5-2.4.21_47.EL_1<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>error: File not found by glob:
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/ope=
nafs/openafs.*<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>RPM build errors:<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp; File not found by glob:
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/kernel/fs/ope=
nafs/openafs.*<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>[root@eng03 SOURCES]#<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>the kernel directory is NOT in /var/tmp&#8230;.&nbsp; so =
it's =
/var/tmp/openafs-1.4.5-root/lib/modules/2.4.21-47.ELhugemem/fs/openafs/op=
enafs.*<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That is the first error.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>That's a no-brainer. I fixed the spec file and built the =
openafs
kernel rpms.<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>--define &quot;build_modules 1&quot; \&nbsp;&nbsp; is =
&nbsp;now --define
&quot;build_userspace 1&quot; \<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>All I did was to select to build the userspace tools =
instead of
the modules.&nbsp; <o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It fails with:<br>
[root@eng03 SOURCES]# ./openafs-buildall.sh<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building OpenAFS for rhel3<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>rpmbuild -ba --define osvers rhel3
/usr/src/redhat/SPECS/openafs.spec<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building for /usr/src/linux-2.4.21-47.EL, 2.4.21-47.EL, =
i686<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building target platforms: i686<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building for target i686<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>error: parse error in expression<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>error: /usr/src/redhat/SPECS/openafs.spec:349:
parseExpressionBoolean returns -1<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/openafs-1.4.5-root<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building for /usr/src/linux-2.4.21-47.EL, 2.4.21-47.EL, =
athlon<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building target platforms: athlon<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Building for target athlon<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>error: parse error in expression<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>error: /usr/src/redhat/SPECS/openafs.spec:349:
parseExpressionBoolean returns -1<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/openafs-1.4.5-root<o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It appears that there's a problem with the openafs.spec =
file <o:p></o:p></span></p>

<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0in 0in 0in'>

<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
openafs-info-admin@openafs.org [mailto:openafs-info-admin@openafs.org] =
<b>On
Behalf Of </b>Derrick Brashear<br>
<b>Sent:</b> Monday, December 03, 2007 2:55 PM<br>
<b>To:</b> OpenAFS-Info<br>
<b>Subject:</b> Re: [OpenAFS] File systems on Linux, =
again.<o:p></o:p></span></p>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

<p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

<div>

<p class=3DMsoNormal>On Dec 3, 2007 2:50 PM, Jerry Normandin &lt;<a
href=3D"mailto:Jerry.Normandin@dafca.com">Jerry.Normandin@dafca.com</a>&g=
t;
wrote:<o:p></o:p></p>

<div>

<div>

<p><span style=3D'font-size:11.0pt;color:#1F497D'>ah.. sorry about that =
I
intended to post to the group. &nbsp;I thought I hit =
reply-all.</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style=3D'font-size:11.0pt;color:#1F497D'>Here's where I got the =
SRPM:</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style=3D'font-size:11.0pt;color:#1F497D'><a
href=3D"http://www.openafs.org/dl/openafs/1.4.5/rhel3/SRPMS/openafs-1.4.5=
-rhel3.1.src.rpm"
target=3D"_blank">http://www.openafs.org/dl/openafs/1.4.5/rhel3/SRPMS/ope=
nafs-1.4.5-rhel3.1.src.rpm
</a></span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style=3D'font-size:11.0pt;color:#1F497D'>openafs-buildall.sh =
fails.</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>Derrick,</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p><span style=3D'font-size:11.0pt;color:#1F497D'>Do you still have a =
copy of the
srpm that you built openafs 1.4.5 on redhat enterprise 3 =
with?</span><o:p></o:p></p>

<p><span =
style=3D'font-size:11.0pt;color:#1F497D'>&nbsp;</span>&nbsp;<o:p></o:p></=
p>

</div>

</div>

<div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'>i uploaded it.&nbsp; =
the srpm,
like the rpms, came from me. you never answered what was on the line in =
the
spec file it complained about. <o:p></o:p></p>

</div>

</div>

<p class=3DMsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>

------_=_NextPart_001_01C835EA.0728FA70--