Install my previously private version of the control files for VOS. Now
authorpaulg <paulg@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Wed, 29 Nov 2006 22:31:35 +0000 (22:31 +0000)
committerpaulg <paulg@1e5ffdc8-eadd-0310-9daa-9cb4117fe24b>
Wed, 29 Nov 2006 22:31:35 +0000 (22:31 +0000)
anyone will be able to diddle them. Note that both machines have identical
control files. I would like to keep them in sync if at all possible. -- paulg

git-svn-id: file:///home/svn/build-farm/trunk@483 1e5ffdc8-eadd-0310-9daa-9cb4117fe24b

m104.fns
m12.fns

index 7783a1ba1a48c7ae380c15dff1c0767b49efbb63..f426fa7562c5ba3c5c95e964142f46a01d8054ff 100644 (file)
--- a/m104.fns
+++ b/m104.fns
-# Build control file for Stratus VOS Intel IA32
-# Contact: Paul.Green at stratus.com (paulg at samba.org)
-per_run_hook
-
-export CC="gcc"
-export CFLAGS=""
-export CPPFLAGS="-D_POSIX_C_SOURCE=200112L -D_SYSV"
-export MAXLIMIT=10800
-export TIMELIMIT_FLAGS="-D_POSIX_C_SOURCE=200112L -D_SYSV"
-
-#Skip Samba4 until we shorten file names
-#test_tree samba4 source gcc
-test_tree samba_3_0 source gcc
-
-. common.fns
+# Build control file for Stratus VOS\r
+# Contact: Paul.Green at stratus.com (paulg at samba.org)\r
+\r
+export CC="gcc"\r
+export CFLAGS=""\r
+export CPPFLAGS="-D_POSIX_C_SOURCE=200112L -D_SYSV"\r
+export MAXTIME=14400\r
+export TIMELIMIT_FLAGS="-D_POSIX_C_SOURCE=200112L"\r
+export noclean="yes"\r
+\r
+# avoid vos bug bin-340\r
+export LDFLAGS="-specs=/s/pg/bf/posix/command_library/pg.specs"\r
+\r
+# avoid vos bug ac-79\r
+export ac_cv_prog_cc_ccache_gcc_c_o=yes\r
+\r
+############################\r
+# configure the tree\r
+# VOS: modified to print message and invoke bash explicitly\r
+action_configure() {\r
+       echo " "\r
+       echo "NOTE: VOS has some restrictions that cause build or test"\r
+       echo "      failures. I am working to resolve these."\r
+       echo "      1. VOS does not implement Unix-domain sockets."\r
+       echo "      2. VOS is missing some POSIX or Unix functions. I am"\r
+       echo "         supplying private versions to avoid build errors."\r
+       echo "      3. VOS implements the POSIX-style shared memory API,"\r
+       echo "         not the System V-style shared memory API."\r
+       echo "      4. VOS seems to have some bugs in POSIX file locking."\r
+       echo " "\r
+       echo "The following differences from standard POSIX systems are"\r
+       echo "essentially unfixable:"\r
+       echo "      5. VOS has symbolic links not hard links. link() is a dummy."\r
+       echo "      6. VOS has a 32-character limit on file names, and a 256-char"\r
+       echo "         limit on pathnames."\r
+       echo "      7. VOS does not implement shared libraries (no gcc -shared)."\r
+       echo " "\r
+       echo "Please contact Paul dot Green at stratus.com for further information."\r
+       echo " "\r
+        if [ ! -x configure ]; then\r
+           ls -l configure\r
+           ./autogen.sh\r
+       fi\r
+       echo "CPPFLAGS=$CPPFLAGS"\r
+       echo "CFLAGS=$CFLAGS"\r
+       echo configure options: $config_and_prefix\r
+       echo CC="$CCACHE $compiler" $srcdir/configure $config_and_prefix\r
+       CC="$CCACHE $compiler"\r
+       export CC\r
+# VOS: explicitly invoke bash here.\r
+       ./timelimit $MAXTIME bash $srcdir/configure $config_and_prefix\r
+       cstatus=$?\r
+       echo "CONFIGURE STATUS: $cstatus"\r
+       if [ -f config.h ]; then\r
+           echo "contents of config.h:"\r
+           cat config.h\r
+       fi\r
+       if [ -f include/config.h ]; then\r
+           echo "contents of include/config.h:"\r
+           cat include/config.h\r
+       fi\r
+       return $cstatus;\r
+}\r
+\r
+############################\r
+# VOS: apply any pending patches.\r
+apply_patches() {\r
+       tree=$1\r
+       if [ -f $tree.patch.txt ]; then\r
+               cd $tree\r
+            echo "Patching $tree with local changes."\r
+               ../patch -u -b -p 2 -i ../$tree.patch.txt\r
+               cd ..\r
+       fi\r
+}\r
+\r
+############################\r
+# VOS: fake up df command, since VOS doesn't have it.\r
+function df {\r
+       display_disk_info;\r
+}\r
+\r
+############################\r
+# fetch the latest copy of the tree\r
+# VOS: apply local patches to the tree, skip files w/long names.\r
+fetch_tree() {\r
+       if [ "$norsync" = "yes" ]; then\r
+               echo "skipping tree transfer"\r
+       else\r
+               fetchtree=$1\r
+               if rsync --exclude=autom4te.cache/ --exclude=.svn/ --delete-excluded -q --partial --timeout=200 -crlpz --delete --ignore-errors --exclude=granig* --exclude=lisa--* --exclude=distccmon-gnome* \\r
+                       samba.org::ftp/unpacked/$fetchtree/ $test_root/$fetchtree; then\r
+                       echo "transferred $fetchtree OK"\r
+               else\r
+                       echo "transfer of $fetchtree failed code $?"\r
+                       return 1\r
+               fi\r
+       fi\r
+       apply_patches "$fetchtree"\r
+       return 0\r
+}\r
+\r
+############################\r
+# VOS: fake up mount command, since VOS doesn't have it.\r
+mount() {\r
+     return 0;\r
+}\r
+\r
+############################\r
+# VOS: fake up ulimit command, since VOS doesn't have it.\r
+ulimit() {\r
+     return 0;\r
+}\r
+\r
+############################\r
+# VOS: fake up vmstat command, since VOS doesn't have it.\r
+vmstat() {\r
+     return 0;\r
+}\r
+\r
+per_run_hook\r
+\r
+. common.fns\r
+\r
+test_tree samba_3_0 source gcc\r
+#Skip Samba4 until we shorten file names\r
+#test_tree samba4 source gcc\r
diff --git a/m12.fns b/m12.fns
index e03690d1d552218a97d7428b644050354570b6eb..f426fa7562c5ba3c5c95e964142f46a01d8054ff 100644 (file)
--- a/m12.fns
+++ b/m12.fns
-# Build control file for Stratus VOS HP PA-RISC
-# Contact: Paul.Green at stratus.com (paulg at samba.org)
-per_run_hook
-
-export CC="gcc"
-export CFLAGS=""
-export CPPFLAGS="-D_POSIX_C_SOURCE=200112L -D_SYSV"
-export MAXLIMIT=10800
-export TIMELIMIT_FLAGS="-D_POSIX_C_SOURCE=200112L"
-
-. common.fns
-#Skip Samba4 until we shorten file names
-#test_tree samba4 source gcc
-test_tree samba_3_0 source gcc
+# Build control file for Stratus VOS\r
+# Contact: Paul.Green at stratus.com (paulg at samba.org)\r
+\r
+export CC="gcc"\r
+export CFLAGS=""\r
+export CPPFLAGS="-D_POSIX_C_SOURCE=200112L -D_SYSV"\r
+export MAXTIME=14400\r
+export TIMELIMIT_FLAGS="-D_POSIX_C_SOURCE=200112L"\r
+export noclean="yes"\r
+\r
+# avoid vos bug bin-340\r
+export LDFLAGS="-specs=/s/pg/bf/posix/command_library/pg.specs"\r
+\r
+# avoid vos bug ac-79\r
+export ac_cv_prog_cc_ccache_gcc_c_o=yes\r
+\r
+############################\r
+# configure the tree\r
+# VOS: modified to print message and invoke bash explicitly\r
+action_configure() {\r
+       echo " "\r
+       echo "NOTE: VOS has some restrictions that cause build or test"\r
+       echo "      failures. I am working to resolve these."\r
+       echo "      1. VOS does not implement Unix-domain sockets."\r
+       echo "      2. VOS is missing some POSIX or Unix functions. I am"\r
+       echo "         supplying private versions to avoid build errors."\r
+       echo "      3. VOS implements the POSIX-style shared memory API,"\r
+       echo "         not the System V-style shared memory API."\r
+       echo "      4. VOS seems to have some bugs in POSIX file locking."\r
+       echo " "\r
+       echo "The following differences from standard POSIX systems are"\r
+       echo "essentially unfixable:"\r
+       echo "      5. VOS has symbolic links not hard links. link() is a dummy."\r
+       echo "      6. VOS has a 32-character limit on file names, and a 256-char"\r
+       echo "         limit on pathnames."\r
+       echo "      7. VOS does not implement shared libraries (no gcc -shared)."\r
+       echo " "\r
+       echo "Please contact Paul dot Green at stratus.com for further information."\r
+       echo " "\r
+        if [ ! -x configure ]; then\r
+           ls -l configure\r
+           ./autogen.sh\r
+       fi\r
+       echo "CPPFLAGS=$CPPFLAGS"\r
+       echo "CFLAGS=$CFLAGS"\r
+       echo configure options: $config_and_prefix\r
+       echo CC="$CCACHE $compiler" $srcdir/configure $config_and_prefix\r
+       CC="$CCACHE $compiler"\r
+       export CC\r
+# VOS: explicitly invoke bash here.\r
+       ./timelimit $MAXTIME bash $srcdir/configure $config_and_prefix\r
+       cstatus=$?\r
+       echo "CONFIGURE STATUS: $cstatus"\r
+       if [ -f config.h ]; then\r
+           echo "contents of config.h:"\r
+           cat config.h\r
+       fi\r
+       if [ -f include/config.h ]; then\r
+           echo "contents of include/config.h:"\r
+           cat include/config.h\r
+       fi\r
+       return $cstatus;\r
+}\r
+\r
+############################\r
+# VOS: apply any pending patches.\r
+apply_patches() {\r
+       tree=$1\r
+       if [ -f $tree.patch.txt ]; then\r
+               cd $tree\r
+            echo "Patching $tree with local changes."\r
+               ../patch -u -b -p 2 -i ../$tree.patch.txt\r
+               cd ..\r
+       fi\r
+}\r
+\r
+############################\r
+# VOS: fake up df command, since VOS doesn't have it.\r
+function df {\r
+       display_disk_info;\r
+}\r
+\r
+############################\r
+# fetch the latest copy of the tree\r
+# VOS: apply local patches to the tree, skip files w/long names.\r
+fetch_tree() {\r
+       if [ "$norsync" = "yes" ]; then\r
+               echo "skipping tree transfer"\r
+       else\r
+               fetchtree=$1\r
+               if rsync --exclude=autom4te.cache/ --exclude=.svn/ --delete-excluded -q --partial --timeout=200 -crlpz --delete --ignore-errors --exclude=granig* --exclude=lisa--* --exclude=distccmon-gnome* \\r
+                       samba.org::ftp/unpacked/$fetchtree/ $test_root/$fetchtree; then\r
+                       echo "transferred $fetchtree OK"\r
+               else\r
+                       echo "transfer of $fetchtree failed code $?"\r
+                       return 1\r
+               fi\r
+       fi\r
+       apply_patches "$fetchtree"\r
+       return 0\r
+}\r
+\r
+############################\r
+# VOS: fake up mount command, since VOS doesn't have it.\r
+mount() {\r
+     return 0;\r
+}\r
+\r
+############################\r
+# VOS: fake up ulimit command, since VOS doesn't have it.\r
+ulimit() {\r
+     return 0;\r
+}\r
+\r
+############################\r
+# VOS: fake up vmstat command, since VOS doesn't have it.\r
+vmstat() {\r
+     return 0;\r
+}\r
+\r
+per_run_hook\r
+\r
+. common.fns\r
+\r
+test_tree samba_3_0 source gcc\r
+#Skip Samba4 until we shorten file names\r
+#test_tree samba4 source gcc\r