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

 

I have:

[EMAIL PROTECTED] SOURCES]# more /etc/issue

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

 

Here's how the buildall script bombs:

 

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.*

 

 

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.*

[EMAIL PROTECTED] SOURCES]#

 

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.*

 

That is the first error.

 

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" \

 

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

 

It fails with:
[EMAIL PROTECTED] 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

 

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

 

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

 

 

On Dec 3, 2007 2:50 PM, Jerry Normandin <[EMAIL PROTECTED]>
wrote:

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

 

Here's where I got the SRPM:

 

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

 

openafs-buildall.sh fails.

 

Derrick,

 

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

  

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. 

 

Reply via email to