done with Brad this afternoon.
1) The package for fis-gtm is now building and installing
correctly by using the following git HEAD
the Debian-med SVN revision 11396.
and
applying to it the following patch to the git sources:
diff --git a/sr_unix/configure.gtc b/sr_unix/configure.gtc
index 7b3a604..08a83d2 100644
--- a/sr_unix/configure.gtc
+++ b/sr_unix/configure.gtc
@@ -592,7 +592,7 @@ if [ -d "$plugin_gtmcrypt" ]; then
# Install gpgagent.tab
# This is an external call table so the path to the shared library has to be adjusted
- echo "$gtmdist/plugin/libgtmcrypt.so" > $gtmdist/$plugin/gpgagent.tab
+ echo "${gtmdist#${gtm_destdir:-}}/plugin/libgtmcrypt.so" > $gtmdist/$plugin/gpgagent.tab
cat $plugin/gpgagent.tab | sed 1d >> $gtmdist/$plugin/gpgagent.tab
This change above probably should be setup as a patch in Debian-med SVN
debian-med/trunk/packages/fis-gtm/fis-gtm/trunk/debian/patches
Yaroslav:
Is this something that should be combined with the existing
patch below ? :
fis-gtm/trunk/debian/patches/up_gtm_destdir_substitution
since this one also affects the file sr_unix/configure.gtc.
2) The debian package is now created correctly, and we manage
to install it in the destination directory /usr/lib/fis-gtm as
expected.
3) The only remaining problem is that several executables are lacking
execution permissions. More specifically, we found that in:
/usr/lib/fis-gtm/V5.5-000_i486
The following files do not have execution permissions:
-rw-r--r-- 1 root 12384036 Jun 19 15:04 gtcm_shmclean
-rw-r--r-- 1 root 12892461 Jun 19 15:04 gtcm_play
-rw-r--r-- 1 root 12908879 Jun 19 15:04 gtcm_server
-rw-r--r-- 1 root 12938615 Jun 19 15:04 lke
-rw-r--r-- 1 root 13261965 Jun 19 15:04 gtcm_gnp_server
-rw-r--r-- 1 root 13400802 Jun 19 15:04 dse
-rw-r--r-- 1 root 17167172 Jun 19 15:04 mupip
This seems to originate from a problem in
the way gtminstall is being run.
We have verified that these files have execution permissions
after they have been generated by the CMake driven build.
They however lose the execution permissions by the time
they are installed in:
./debian/fis-gtm-5.5.000/usr/lib/fis-gtm/V5.5-000_i486/
Amul: Could you help us navigate the internal rules of
gtminstall, to figure out where is it that the execution
permissions are being lost ?
Thanks
Luis