[Pkg-gridengine-devel] Bug#502000: gridengine-common: unable to resolve $SGE_ROOT/{util, }bin/$ARC path names

Tilman Koschnick til at subnetz.org
Sun Oct 12 15:58:57 UTC 2008


Package: gridengine-common
Version: 6.2-2
Severity: important
Tags: patch

Hi,

many programs that are aware of gridengine expect to be able to resolve
the path names $SGE_ROOT/bin/$ARC and $SGE_ROOT/utilbin/$ARC, among them
some of gridengine's own binaries.

The attached patch populates /var/lib/gridengine/bin and
/var/lib/gridengine/utilbin with links to /usr/bin and
/usr/lib/gridengine, respectively. I just create one link each for every
currently supported Linux architecture, which allows to ship the links
in gridengine-common.

I have added an invocation of dh_links -i to debian/rules as well;
currently, gridengine-common.links wasn't processed at all.

Cheers, Til



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gridengine-common depends on:
ii  adduser            3.110                 add and remove users and groups
ii  bsd-mailx          8.1.2-0.20071201cvs-3 A simple mail user agent
ii  debconf [debconf-2 1.5.22                Debian configuration management sy
ii  ucf                3.0010                Update Configuration File: preserv

gridengine-common recommends no packages.

gridengine-common suggests no packages.

-- debconf information excluded
-------------- next part --------------
=== debian/rules
==================================================================
--- debian/rules	(revision 6)
+++ debian/rules	(local)
@@ -108,6 +108,7 @@
 	install -m 775 $(CURDIR)/debian/gridengine-client.wrapper $(CURDIR)/debian/gridengine-common/usr/share/gridengine/gridengine-wrapper
 	dh_installman -i
 	dh_installdebconf -i
+	dh_link -i
 	dh_compress -i -Xexamples
 	dh_fixperms -i
 	dh_installdeb -i
=== debian/gridengine-common.links
==================================================================
--- debian/gridengine-common.links	(revision 6)
+++ debian/gridengine-common.links	(local)
@@ -2,3 +2,29 @@
 usr/share/man/man1/sge_hostnameutils.1 usr/share/man/man1/sge_gethostbyname.1
 usr/share/man/man1/sge_hostnameutils.1 usr/share/man/man1/sge_gethostname.1
 usr/share/man/man1/sge_hostnameutils.1 usr/share/man/man1/sge_getservbyname.1
+usr/bin	var/lib/gridengine/bin/lx24-alpha
+usr/bin	var/lib/gridengine/bin/lx26-alpha
+usr/bin	var/lib/gridengine/bin/lx24-amd64
+usr/bin	var/lib/gridengine/bin/lx26-amd64
+usr/bin	var/lib/gridengine/bin/lx24-ia64
+usr/bin	var/lib/gridengine/bin/lx26-ia64
+usr/bin	var/lib/gridengine/bin/lx26-ppc
+usr/bin	var/lib/gridengine/bin/lx24-sparc
+usr/bin	var/lib/gridengine/bin/lx26-sparc
+usr/bin	var/lib/gridengine/bin/lx24-sparc64
+usr/bin	var/lib/gridengine/bin/lx26-sparc64
+usr/bin	var/lib/gridengine/bin/lx24-x86
+usr/bin	var/lib/gridengine/bin/lx26-x86
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-alpha
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-alpha
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-amd64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-amd64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-ia64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-ia64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-ppc
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-sparc
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-sparc
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-sparc64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-sparc64
+usr/lib/gridengine var/lib/gridengine/utilbin/lx24-x86
+usr/lib/gridengine var/lib/gridengine/utilbin/lx26-x86


More information about the Pkg-gridengine-devel mailing list