building scyld from source. (alpha)

David Bremner bremner at unb.ca
Wed Jul 18 12:12:09 PDT 2001


I am attempting to build scyld beowulf 27BZ-7 from the srpms on top
of a stock install of RH6.2 on a compaq DS10 

I am attempting to use 

  rpm --rebuild  bproc-2.2-1.src.rpm 

to rebuild bproc.

But it complains compiling ghost.c

bproc.h: In function `get_ghost_list':
In file included from ghost.c:54:
bproc.h:543: structure has no member named `bproc'
bproc.h:544: structure has no member named `bproc'     

those lines look like

  if (BPROC_ISMASQ(current))
       return &(BPROC_MASQ_MASTER(current)->ghost_list);

I will append the full log file as an attachment. 

Can anyone provide me with a clue?  

Do the kernel, glibc and modules srpms have to be installed first?

thanks

db
-------------- next part --------------
Installing bproc-2.2-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.91205
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf bproc-2.2
+ /bin/gzip -dc /usr/src/redhat/SOURCES/bproc-2.2.tar.gz
+ tar -xvvf -
-rw-r--r-- root/root     18007 1999-03-29 16:01:26 bproc-2.2/COPYING
drwxr-xr-x                  Creating directory: bproc-2.2
-rw-r--r-- root/root      3909 2000-07-24 22:18:53 bproc-2.2/ChangeLog
-rw-r--r-- root/root      2714 1999-07-07 18:04:13 bproc-2.2/INSTALL
-rw-r--r-- root/root      1561 2000-07-10 20:38:32 bproc-2.2/Makefile
-rw-r--r-- root/root      4243 2000-10-06 01:33:21 bproc-2.2/bproc.spec
-rw-r--r-- root/root      1932 2000-12-01 12:41:50 bproc-2.2/clients/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/clients
-rw-r--r-- root/root     20058 2000-10-30 18:15:50 bproc-2.2/clients/bpcp.c
-rw-r--r-- root/root      6449 2000-12-01 12:41:50 bproc-2.2/clients/bpctl.c
-rw-r--r-- root/root      9034 2000-12-01 12:41:50 bproc-2.2/clients/bproc.c
-rw-r--r-- root/root     26217 2000-12-01 11:54:56 bproc-2.2/clients/bpsh.c
-rw-r--r-- root/root      7885 2000-12-01 12:41:50 bproc-2.2/clients/bpstat.c
-rw-r--r-- root/root      2289 2000-04-27 15:20:14 bproc-2.2/clients/brsh.c
-rw-r--r-- root/root      1959 2000-07-03 20:35:13 bproc-2.2/clients/bsh.c
-rw-r--r-- root/root      3918 2000-12-01 12:41:50 bproc-2.2/clients/sys/bproc.h
drwxr-xr-x                  Creating directory: bproc-2.2/clients/sys
-rw-r--r-- root/root       264 2000-06-27 00:55:26 bproc-2.2/configfile/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/configfile
-rw-r--r-- root/root      7667 2000-07-17 21:01:06 bproc-2.2/configfile/config_write.c
-rw-r--r-- root/root      1509 2000-06-23 17:34:52 bproc-2.2/configfile/config_write.h
-rw-r--r-- root/root     15876 2000-11-02 22:29:18 bproc-2.2/configfile/configfile.c
-rw-r--r-- root/root      2546 2000-07-08 21:27:39 bproc-2.2/configfile/configfile.h
-rw-r--r-- root/root      1501 2000-10-20 15:13:30 bproc-2.2/daemons/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/daemons
-rw-r--r-- root/root      8711 2000-12-01 12:41:50 bproc-2.2/daemons/db.c
-rw-r--r-- root/root      3225 1999-04-08 17:18:12 bproc-2.2/daemons/dlists.h
-rw-r--r-- root/root      9103 2000-04-27 15:21:51 bproc-2.2/daemons/iod.c
-rw-r--r-- root/root     44548 2000-12-04 22:09:56 bproc-2.2/daemons/master.c
-rw-r--r-- root/root      2288 2000-05-20 01:42:14 bproc-2.2/daemons/master.h
-rw-r--r-- root/root      1085 2000-06-12 22:13:09 bproc-2.2/daemons/node_config
-rw-r--r-- root/root     16633 2000-10-05 19:47:05 bproc-2.2/daemons/slave.c
-rw-r--r-- root/root       570 1999-08-12 18:33:50 bproc-2.2/doc/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/doc
-rw-r--r-- root/root     23712 2000-12-01 13:30:19 bproc-2.2/doc/bproc.texi
-rw-r--r-- root/root     27774 2000-10-09 00:48:44 bproc-2.2/doc/internals.sgml
-rw-r--r-- root/root     12811 2000-02-04 14:25:23 bproc-2.2/doc/notes
-rw-r--r-- root/root     16138 2000-02-04 14:25:23 bproc-2.2/doc/userguide.sgml
-rw-r--r-- root/root      1450 2000-10-06 01:24:15 bproc-2.2/kernel/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/kernel
-rw-r--r-- root/root     22866 2000-12-01 12:41:50 bproc-2.2/kernel/bproc.h
-rw-r--r-- root/root     31676 2000-11-03 22:31:00 bproc-2.2/kernel/ghost.c
-rw-r--r-- root/root     14351 2000-10-03 19:40:28 bproc-2.2/kernel/hooks.c
-rw-r--r-- root/root     14320 2000-12-01 12:41:50 bproc-2.2/kernel/interface.c
-rw-r--r-- root/root      5557 2000-05-31 20:37:58 bproc-2.2/kernel/iod.c
-rw-r--r-- root/root      3957 2000-05-17 01:45:07 bproc-2.2/kernel/kver.c
-rw-r--r-- root/root     18844 2000-10-03 13:47:46 bproc-2.2/kernel/masq.c
-rw-r--r-- root/root      7464 2000-07-18 21:15:57 bproc-2.2/kernel/master.c
-rw-r--r-- root/root     24397 2000-12-01 12:41:50 bproc-2.2/kernel/move.c
-rw-r--r-- root/root     11731 2000-07-18 21:15:57 bproc-2.2/kernel/msg.c
-rw-r--r-- root/root     15255 2000-10-02 20:11:59 bproc-2.2/kernel/slave.c
-rw-r--r-- root/root      1753 2000-07-06 17:20:39 bproc-2.2/ksyscall/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/ksyscall
-rw-r--r-- root/root     18080 2000-11-03 22:30:25 bproc-2.2/ksyscall/ksyscall.c
-rw-r--r-- root/root      3485 2000-11-03 22:30:25 bproc-2.2/ksyscall/ksyscall.h
-rw-r--r-- root/root      3957 2000-05-24 14:49:19 bproc-2.2/ksyscall/kver.c
-rwxr-xr-x root/root      1446 2000-10-03 13:09:50 bproc-2.2/mkkdiff
-rw-r--r-- root/root     33501 2000-11-03 21:42:29 bproc-2.2/patches/bproc-patch-2.2.x
drwxr-xr-x                  Creating directory: bproc-2.2/patches
-rw-r--r-- root/root      3612 2000-10-18 18:12:39 bproc-2.2/patches/glibc-2.1.3-bproc.patch
-rw-r--r-- root/root      1994 2000-12-01 12:40:01 bproc-2.2/tests/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/tests
-rw-r--r-- root/root      1066 2000-07-06 17:20:39 bproc-2.2/tests/cpumunch.c
-rw-r--r-- root/root       612 1999-04-02 16:22:19 bproc-2.2/tests/cputest.c
-rw-r--r-- root/root       847 1999-03-11 19:36:16 bproc-2.2/tests/ghost.c
-rw-r--r-- root/root      3071 1999-03-11 19:36:16 bproc-2.2/tests/ghost_test.c
-rw-r--r-- root/root       956 2000-04-30 22:47:50 bproc-2.2/tests/gidtest.c
-rw-r--r-- root/root      6239 2000-12-01 12:40:01 bproc-2.2/tests/libtest.c
-rw-r--r-- root/root       240 2000-12-01 12:40:01 bproc-2.2/tests/libtest.h
-rw-r--r-- root/root      5420 1999-03-11 19:36:16 bproc-2.2/tests/masq_test.c
-rw-r--r-- root/root      3724 2000-07-06 17:20:39 bproc-2.2/tests/movetest.c
-rwxr-xr-x root/root       411 2000-12-01 12:40:01 bproc-2.2/tests/rexectest.c
-rw-r--r-- root/root      1121 2000-11-03 22:28:51 bproc-2.2/tests/rforktest.c
-rw-r--r-- root/root      1002 2000-04-30 22:47:50 bproc-2.2/tests/sidtest.c
-rw-r--r-- root/root     11782 2000-12-01 12:40:01 bproc-2.2/tests/stress.c
-rwxr-xr-x root/root      2532 2000-12-01 12:40:01 bproc-2.2/tests/test-child-stop-continue.c
-rw-r--r-- root/root      2704 2000-12-01 12:40:01 bproc-2.2/tests/test-config.c
-rw-r--r-- root/root       872 2000-12-01 12:40:01 bproc-2.2/tests/test-fork-move.c
-rw-r--r-- root/root      1001 2000-12-01 12:40:01 bproc-2.2/tests/test-ping-pong-child.c
-rw-r--r-- root/root       592 2000-12-01 12:40:01 bproc-2.2/tests/test-ping-pong.c
-rw-r--r-- root/root      2770 2000-12-01 12:40:01 bproc-2.2/tests/test-remote-child-stop-continue.c
-rw-r--r-- root/root      1121 2000-12-01 12:40:01 bproc-2.2/tests/test-rfork-fork.c
-rw-r--r-- root/root       828 2000-12-01 12:40:01 bproc-2.2/tests/test-rfork.c
-rw-r--r-- root/root      2654 2000-09-21 15:55:32 bproc-2.2/vmadump/Makefile
drwxr-xr-x                  Creating directory: bproc-2.2/vmadump
-rw-r--r-- root/root      3957 2000-05-25 02:03:19 bproc-2.2/vmadump/kver.c
-rw-r--r-- root/root        28 2000-07-10 20:39:56 bproc-2.2/vmadump/packagerc
-rw-r--r-- root/root       547 2000-06-28 16:51:46 bproc-2.2/vmadump/vmad.magic
-rw-r--r-- root/root     13613 2000-07-10 20:25:32 bproc-2.2/vmadump/vmad.sgml
-rw-r--r-- root/root      6965 2000-06-28 16:51:46 bproc-2.2/vmadump/vmadcheck.c
-rw-r--r-- root/root      4040 2000-09-21 15:55:32 bproc-2.2/vmadump/vmadlib.c
-rw-r--r-- root/root      5088 2000-05-16 00:21:19 bproc-2.2/vmadump/vmadtest.c
-rw-r--r-- root/root     30906 2000-10-03 13:09:19 bproc-2.2/vmadump/vmadump.c
-rw-r--r-- root/root      4102 2000-06-28 16:51:46 bproc-2.2/vmadump/vmadump.h
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd bproc-2.2
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ [ 0 = 0 ]
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18303
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd bproc-2.2
+ rm -rf /var/tmp/bproc
+ mkdir -p /var/tmp/bproc/etc /var/tmp/bproc/dev
+ mkdir -p /var/tmp/bproc/usr/bin /var/tmp/bproc/usr/sbin /var/tmp/bproc/usr/lib /var/tmp/bproc/usr/include/sys
+ setvers up
+ mkdummy version up
+ mkdir -p kernel/linux vmadump/linux ksyscall/linux
+ cat
+ cp kernel/linux/version.h vmadump/linux/version.h
+ cp kernel/linux/version.h ksyscall/linux/version.h
+ mkdummy autoconf up
+ mkdir -p kernel/linux vmadump/linux ksyscall/linux
+ cat
+ cp kernel/linux/autoconf.h vmadump/linux/autoconf.h
+ cp kernel/linux/autoconf.h ksyscall/linux/autoconf.h
+ mkdummy modversions up
+ mkdir -p kernel/linux vmadump/linux ksyscall/linux
+ cat
+ cp kernel/linux/modversions.h vmadump/linux/modversions.h
+ cp kernel/linux/modversions.h ksyscall/linux/modversions.h
+ make
make -C ksyscall LINUX=/usr/src/linux
make[1]: Entering directory `/usr/src/redhat/BUILD/bproc-2.2/ksyscall'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -D__KERNEL__ -DMODULE -I. -I/usr/src/linux/include -c ksyscall.c
make[1]: Leaving directory `/usr/src/redhat/BUILD/bproc-2.2/ksyscall'
make -C vmadump  LINUX=/usr/src/linux KSYSCALL=../ksyscall
make[1]: Entering directory `/usr/src/redhat/BUILD/bproc-2.2/vmadump'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -D__KERNEL__ -DMODULE -DPACKAGE_VERSION='"2.2"' -I. -I../ksyscall -I/usr/src/linux/include -c vmadump.c
gcc -Wall -s -DPACKAGE_VERSION='"2.2"' -o vmadtest vmadtest.c
gcc -Wall -s -DPACKAGE_VERSION='"2.2"' -o vmadcheck vmadcheck.c
gcc -Wall -s -DPACKAGE_VERSION='"2.2"' -o vmadlib vmadlib.c
make[1]: Leaving directory `/usr/src/redhat/BUILD/bproc-2.2/vmadump'
make -e -C kernel   LINUX=/usr/src/linux
make[1]: Entering directory `/usr/src/redhat/BUILD/bproc-2.2/kernel'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -mcpu=ev5 -D__KERNEL__ -DMODULE -DPACKAGE_VERSION='"2.2"' -I. -I../ksyscall -I../vmadump -I/usr/src/linux/include -c ghost.c
bproc.h: In function `get_ghost_list':
In file included from ghost.c:54:
bproc.h:543: structure has no member named `bproc'
bproc.h:544: structure has no member named `bproc'
ghost.c: In function `ghost_deliver_msg':
ghost.c:82: structure has no member named `bproc'
ghost.c:82: structure has no member named `bproc'
ghost.c: In function `add_ghost':
ghost.c:125: structure has no member named `bproc'
ghost.c:143: structure has no member named `bproc'
ghost.c: In function `bproc_ghost_unghost':
ghost.c:202: structure has no member named `bproc'
ghost.c:202: structure has no member named `bproc'
ghost.c:208: structure has no member named `bproc'
ghost.c:189: warning: `list' might be used uninitialized in this function
ghost.c: In function `bproc_ghost_get_ghost':
ghost.c:236: structure has no member named `bproc'
ghost.c:236: structure has no member named `bproc'
ghost.c:237: structure has no member named `bproc'
ghost.c:233: warning: `g' might be used uninitialized in this function
ghost.c:238: warning: `v' might be used uninitialized in this function
ghost.c: In function `ghost_handle_request':
ghost.c:373: structure has no member named `bproc'
ghost.c:376: structure has no member named `bproc'
ghost.c:376: structure has no member named `bproc'
ghost.c:390: structure has no member named `bproc'
ghost.c:393: structure has no member named `bproc'
ghost.c:394: structure has no member named `bproc'
ghost.c:395: structure has no member named `bproc'
ghost.c:396: structure has no member named `bproc'
ghost.c:401: structure has no member named `bproc'
ghost.c:401: structure has no member named `bproc'
ghost.c:416: structure has no member named `bproc'
ghost.c:423: structure has no member named `bproc'
ghost.c:464: structure has no member named `bproc'
ghost.c:517: structure has no member named `bproc'
ghost.c:374: warning: `msgdest' might be used uninitialized in this function
ghost.c: In function `ghost_handle_signal':
ghost.c:537: structure has no member named `bproc'
ghost.c:537: structure has no member named `bproc'
ghost.c:557: structure has no member named `bproc'
ghost.c:557: structure has no member named `bproc'
ghost.c:535: warning: `msgdest' might be used uninitialized in this function
ghost.c: In function `ghost_check_will_to_live':
ghost.c:655: structure has no member named `bproc'
ghost.c:675: structure has no member named `bproc'
ghost.c:675: structure has no member named `bproc'
ghost.c:687: structure has no member named `bproc'
ghost.c:689: structure has no member named `bproc'
ghost.c:690: structure has no member named `bproc'
ghost.c:691: structure has no member named `bproc'
ghost.c:711: structure has no member named `bproc'
ghost.c:652: warning: `mypid' might be used uninitialized in this function
ghost.c: In function `ghost_thread':
ghost.c:727: structure has no member named `bproc'
ghost.c:727: structure has no member named `bproc'
ghost.c:758: structure has no member named `bproc'
ghost.c:767: structure has no member named `bproc'
ghost.c:794: structure has no member named `bproc'
ghost.c:725: warning: `msgdest' might be used uninitialized in this function
make[1]: *** [ghost.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/bproc-2.2/kernel'
make: *** [kernel_] Error 2
Bad exit status from /var/tmp/rpm-tmp.18303 (%build)


More information about the Beowulf mailing list