[OpenAFS-devel] Rebuilding 1.4.1 on i386 fails.

Ulrich Seidl Ulrich.Seidl@muneda.com
Tue, 25 Apr 2006 09:12:16 +0200


This is a cryptographically signed message in MIME format.

--------------ms070409010001090004090402
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

The rpmbuild commandline was:
rpmbuild -ba openafs.spec --define "ksrcdir /usr/src/linux-2.4" --define 
"build_modules 1"

The /usr/src/linux-2.4 points to the sources from the 
kernel-source-2.4.21-40.EL package.

The output after rpmbuild was:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.25688
+ umask 022
+ cd /home/uis/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ : @@@
+ : @@@ kernel version: 2.4.21-40.EL
+ : @@@ base kernel version:2.4.21-40.EL
+ : @@@ kernel modules dir: /lib/modules/2.4.21-40.EL
+ : @@@ kernel source dir: /usr/src/linux-2.4
+ : @@@ kernel variations: up smp
+ : @@@ PAM modules dir: /lib/security
+ : @@@ build userspace: 0
+ : @@@ build modules: 1
+ : @@@ arch: i386
+ : @@@ target cpu: i386
+ : @@@
+ : @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
+ cd /home/uis/rpm/BUILD
+ rm -rf openafs-1.4.1
+ /usr/bin/bzip2 -dc /home/uis/rpm/SOURCES/openafs-1.4.1-src.tar.bz2
+ tar -xf -

> What was your rpmbuild commandline?
> What's the first 15ish lines of output from the rpmbuild command?
>
> -derek
>
> Ulrich Seidl <Ulrich.Seidl@muneda.com> writes:
>
>   
>> While trying to rebuild openafs 1.4.1 from the provided source rpm 
>> package (openafs-1.4.1-rhel3.3.src.rpm) on a i386 Red Hat Enterprise 
>> Linux ES release 3 (Taroon Update 7), I encoutered the following problem:
>>
>> In file included from 
>> /home/uis/rpm/BUILD/openafs-1.4.1/src/afs/sysincludes.h:96,
>>                 from 
>> /home/uis/rpm/BUILD/openafs-1.4.1/src/afs/afs_analyze.c:20:
>> ../linux/mm.h:203: syntax error before "pte_addr_t"
>> ../linux/mm.h:203: warning: no semicolon at end of struct or union
>> ../linux/mm.h:203: warning: no semicolon at end of struct or union
>> ../linux/mm.h:204: warning: data definition has no type or storage class
>> ../linux/mm.h:223: syntax error before '}' token
>> ../linux/mm.h:223: warning: data definition has no type or storage class
>> ../linux/mm.h: In function `page_zone':
>> ../linux/mm.h:416: dereferencing pointer to incomplete type
>> ../linux/mm.h: In function `set_page_zone':
>> ../linux/mm.h:421: dereferencing pointer to incomplete type
>> ../linux/mm.h:422: dereferencing pointer to incomplete type
>> ../linux/mm.h: In function `page_mapped':
>> ../linux/mm.h:602: dereferencing pointer to incomplete type
>> ../linux/mm.h: At top level:
>> ../linux/mm.h:612: syntax error before '*' token
>> ../linux/mm.h:612: warning: data definition has no type or storage class
>> ../linux/mm.h: In function `page_pin_hash':
>> ../linux/mm.h:908: sizeof applied to an incomplete type
>> ../linux/mm.h:908: warning: division by zero
>>
>> Any ideas?
>>     

--------------ms070409010001090004090402
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGwDCC
A1wwggLFoAMCAQICAQYwDQYJKoZIhvcNAQEEBQAwajELMAkGA1UEBhMCREUxDzANBgNVBAcT
Bk11bmljaDEUMBIGA1UEChMLTXVuRURBIEdtYkgxEzARBgNVBAMTCm11bmVkYS5jb20xHzAd
BgkqhkiG9w0BCQEWEGluZnJhQG11bmVkYS5jb20wHhcNMDYwNDEyMDkzNzQ4WhcNMDkwNDEx
MDkzNzQ4WjB0MQswCQYDVQQGEwJERTEQMA4GA1UECBMHQmF2YXJpYTEUM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