[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280880: marked as done (gcc-3.4: Please add missing symlinks in 'libgnat-3.4')



Your message dated Fri, 12 Nov 2004 17:14:35 +0100
with message-id <87y8h7hwno.fsf@insalien.org>
and subject line Bug#280880: gcc-3.4: Please add missing symlinks in 'libgnat-3.4'
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Nov 2004 10:30:45 +0000
>From aj@andaco.de Fri Nov 12 02:30:44 2004
Return-path: <aj@andaco.de>
Received: from d082029.adsl.hansenet.de (localhost.localdomain) [80.171.82.29] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CSYhY-0000Rg-00; Fri, 12 Nov 2004 02:30:44 -0800
Received: from aj by localhost.localdomain with local (Exim 4.34)
	id 1CSYk2-0005jN-VD; Fri, 12 Nov 2004 11:33:18 +0100
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: gcc-3.4: Please add missing symlinks in 'libgnat-3.4'
Message-Id: <[🔎] E1CSYk2-0005jN-VD@localhost.localdomain>
Date: Fri, 12 Nov 2004 11:33:18 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: gcc-3.4
Severity: wishlist
Tags: patch

The libgnat-3.4 packages installs '/usr/lib/libgnat-3.4.so.1' and
s '/usr/lib/libgnarl-3.4.so.1'. The symlinks  'libgnat-3.4.so' and 
'libgnat.so' are not installed in '/usr/lib'. This causes many 
Ada packages to FTBFS because they cannot find '-lgnat' or '-lgnat-3.4'.

Please add the missing symlinks in '/usr/lib' to the 'libgnat-3.4' package.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gcc-3.4-3.4.2/debian/rules.d/binary-ada.mk ./debian/rules.d/binary-ada.mk
--- ../tmp-orig/gcc-3.4-3.4.2/debian/rules.d/binary-ada.mk	2004-11-09 20:38:29.125093040 +0000
+++ ./debian/rules.d/binary-ada.mk	2004-11-09 20:38:14.323343248 +0000
@@ -58,6 +58,9 @@
 	  vlib=$$lib-$(GNAT_VERSION); \
 	  mv $(d)/$(gcc_lib_dir)/adalib/$$vlib.so.1 $(d)/$(PF)/$(libdir)/. ; \
 	  rm -f $(d)/$(gcc_lib_dir)/adalib/$$lib.so.1; \
+	  dh_link -p$(p_lgnat) \
+	    /$(PF)/$(libdir)/$$vlib.so.1 /$(PF)/$(libdir)/$$vlib.so \
+	    /$(PF)/$(libdir)/$$vlib.so.1 /$(PF)/$(libdir)/$$lib.so; \
 	done
 
 	DH_COMPAT=2 dh_movefiles -p$(p_lgnat) $(files_lgnat)

---------------------------------------
Received: (at 280880-done) by bugs.debian.org; 12 Nov 2004 16:16:17 +0000
>From ludovic.brenta@insalien.org Fri Nov 12 08:16:17 2004
Return-path: <ludovic.brenta@insalien.org>
Received: from spoolo3.tiscali.be [62.235.13.169] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CSe5w-0000QY-00; Fri, 12 Nov 2004 08:16:17 -0800
Received: from [83.134.237.136] (helo=deuteronomy)
	by spoolo3.tiscali.be with esmtp (Tiscali.be http://www.tiscali.be)
	id 1CSe5P-0003AB-C6; Fri, 12 Nov 2004 17:15:43 +0100
To: Andreas Jochens <aj@andaco.de>
Cc: 280880-done@bugs.debian.org
Subject: Re: Bug#280880: gcc-3.4: Please add missing symlinks in
 'libgnat-3.4'
References: <[🔎] E1CSYk2-0005jN-VD@localhost.localdomain>
From: Ludovic Brenta <ludovic.brenta@insalien.org>
Date: Fri, 12 Nov 2004 17:14:35 +0100
In-Reply-To: <[🔎] E1CSYk2-0005jN-VD@localhost.localdomain> (Andreas Jochens's
 message of "Fri, 12 Nov 2004 11:33:18 +0100")
Message-ID: <87y8h7hwno.fsf@insalien.org>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 280880-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

The symbolic link should not be part of package `libgnat-3.4', because
`libgnat-3.4' is a runtime-only package (used by end users) and the
symbolic link is only used at link time (by developers).  The proper
package for the symbolic links is `gnat-3.4', as mandated by the
Debian Policy and, as of 3.4.2-2, the package `gnat-3.4' does provide
the following symbolic links:

/usr/lib/gcc/i486-linux/3.4.2/adalib/libgnarl-3.4.so
    -> ../../../../libgnarl-3.4.so.1
/usr/lib/gcc/i486-linux/3.4.2/adalib/libgnarl.so
    -> ../../../../libgnarl-3.4.so.1
/usr/lib/gcc/i486-linux/3.4.2/adalib/libgnat-3.4.so
    -> ../../../../libgnat-3.4.so.1
/usr/lib/gcc/i486-linux/3.4.2/adalib/libgnat.so
    -> ../../../../libgnat-3.4.so.1

I am closing this bug because the problem is not in the packages; it
is elsewhere and maybe I can help you solve it.  Could you provide
some details about the "many Ada packages" that FTBFS?  I maintain
most Ada packages in Debian and I know for a fact that they build
(with gnat, not gnat-3.4, as per my Debian Policy for Ada).  Have you
got gnat-3.4 installed?

-- 
Ludovic Brenta.



Reply to: