[med-svn] [fis-gtm] 04/04: Disable auto-relink and add debug information for #775302

Amul Shah tuskentower-guest at moszumanska.debian.org
Fri Jan 23 00:10:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

tuskentower-guest pushed a commit to branch master
in repository fis-gtm.

commit f1576b1ed0ea229ebcc4a08d1f3facead1229dde
Author: Amul Shah <Amul.Shah at fisglobal.com>
Date:   Thu Jan 22 19:06:26 2015 -0500

    Disable auto-relink and add debug information for #775302
---
 debian/patches/fix_utf8                    | 36 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  2 ++
 debian/patches/upstream_disable_autorelink | 21 +++++++++++++++++
 3 files changed, 59 insertions(+)

diff --git a/debian/patches/fix_utf8 b/debian/patches/fix_utf8
new file mode 100644
index 0000000..a0cb522
--- /dev/null
+++ b/debian/patches/fix_utf8
@@ -0,0 +1,36 @@
+From: Amul Shah <Amul.Shah at fisglobal.com>
+Forwarded: not-needed
+Summary: Debugging information to diagnose #775302
+Description: Needed to change to final build stages to understand why there are
+  no UTF-8 mode object files.
+Last-Update: 2015-01-16
+
+--- a/sr_unix/configure.gtc
++++ b/sr_unix/configure.gtc
+@@ -656,6 +656,7 @@
+ 	fi
+ 	cd ..
+ fi
++ls -l $gtmdist/utf8
+ 
+ $echo ""
+ $echo "All of the GT.M MUMPS routines are distributed with uppercase names."
+@@ -698,6 +699,7 @@
+ if [ "$doutf8" -ne 0 ]; then
+ 	# Enclose UTF-8 operations inside a subshell. This avoids changing the current M mode execution
+ 	(
++		set -xv
+ 		# Ensure we ARE in UTF-8 mode
+ 		utflocale=`locale -a | grep -i en_us | grep -i utf | grep '8$' | head -n 1`
+ 		if [ $arch = "zos" ]; then
+--- a/sr_unix/gtminstall.sh
++++ b/sr_unix/gtminstall.sh
+@@ -457,7 +457,7 @@
+ # Stop here if this is a dry run
+ if [ "Y" = "$gtm_dryrun" ] ; then echo Installation prepared in $gtm_tmp ; exit ; fi
+ 
+-./configure.sh <$gtm_configure_in 1> $gtm_tmp/configure_${timestamp}.out 2>$gtm_tmp/configure_${timestamp}.err
++./configure.sh <$gtm_configure_in
+ if [ "Y" = "$gtm_verbose" ] ; then echo Installation complete ; ls -l $gtm_installdir ; fi
+ 
+ # Create copies of environment scripts and gtm executable
diff --git a/debian/patches/series b/debian/patches/series
index 242d6e1..2782653 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,5 @@
 
+upstream_disable_autorelink
 upstream_fix_speeling_errors
 upstream_donot_deploy_all_encryption_libs
+fix_utf8
diff --git a/debian/patches/upstream_disable_autorelink b/debian/patches/upstream_disable_autorelink
new file mode 100644
index 0000000..a32d6d0
--- /dev/null
+++ b/debian/patches/upstream_disable_autorelink
@@ -0,0 +1,21 @@
+From: Amul Shah <Amul.Shah at fisglobal.com>
+Forwarded: not-needed
+Summary: Disable autorelink for default usage
+Description: Upstream intended for autorelink to be enabled by default. However
+  the default shared memory segment for autorelink is 93MiB, much greater than
+  the system default of 32MiB. Users who wish to enable autorelink must
+  increase the value of shmmax.
+Applied-Upstream: V6.2-001
+Last-Update: 2015-01-14
+
+--- a/sr_unix/gtmprofile.gtc
++++ b/sr_unix/gtmprofile.gtc
+@@ -169,7 +169,7 @@
+ 	    if [ -d $gtm_dist/plugin/o ] ; then
+ 		gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtm_dist")_"/plugin/o/*."_$ztrnlnm("tmp_gtm_shlib") for  set y=$zsearch(x) quit:""=y  write y," "'`"$gtm_dist/plugin/o($gtm_dist/plugin/r) $gtmroutines"
+ 	    fi
+-            gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtmdir")_"/"_$ztrnlnm("gtmver")_"/o/*."_$ztrnlnm("tmp_gtm_shlib") for  set y=$zsearch(x)  quit:""=y  write y," "'`"$gtmdir/$gtmver/o*($gtmdir/$gtmver/r $gtmdir/r) $gtmroutines"
++            gtmroutines=`$gtm_dist/mumps -run %XCMD 'set x=$ztrnlnm("gtmdir")_"/"_$ztrnlnm("gtmver")_"/o/*."_$ztrnlnm("tmp_gtm_shlib") for  set y=$zsearch(x)  quit:""=y  write y," "'`"$gtmdir/$gtmver/o($gtmdir/$gtmver/r $gtmdir/r) $gtmroutines"
+ 	fi
+     fi
+     export gtmroutines

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/fis-gtm.git



More information about the debian-med-commit mailing list