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

Bug#233836: marked as done (gcc-3.3: dangling 'altertnatives' symlink)



Your message dated Sun, 25 Apr 2004 11:20:53 +0200
with message-id <16523.33525.518181.158102@gargle.gargle.HOWL>
and subject line Bug#233836: gcc-3.3: dangling 'altertnatives' symlink
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; 20 Feb 2004 07:04:43 +0000
>From ahuxley@gmx.net Thu Feb 19 23:04:43 2004
Return-path: <ahuxley@gmx.net>
Received: from pop.gmx.de (mail.gmx.net) [213.165.64.20] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1Au4iI-0005uo-00; Thu, 19 Feb 2004 23:04:43 -0800
Received: (qmail 4756 invoked by uid 65534); 20 Feb 2004 07:04:11 -0000
Received: from p50805DD8.dip.t-dialin.net (EHLO p50805DD8.dip.t-dialin.net) (80.128.93.216)
  by mail.gmx.net (mp008) with SMTP; 20 Feb 2004 08:04:11 +0100
X-Authenticated: #13979910
Received: from alexis by dione.no-ip.org with local (masqmail 0.2.20)
 id 1Au4hm-4a2-00; Fri, 20 Feb 2004 08:04:10 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alexis Huxley <ahuxley@gmx.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gcc-3.3: dangling 'altertnatives' symlink
X-Mailer: reportbug 2.37
Date: Fri, 20 Feb 2004 08:04:10 +0100
Message-ID: <1Au4hm-4a2-00@dione.no-ip.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_18 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_18
X-Spam-Level: 

Package: gcc-3.3
Version: 1:3.3.2-4
Severity: normal


After upgrading from gcc 3.2.1 to 3.3, I get the following
email from cron:

	--report /etc/cron.daily

	/etc/cron.daily/man-db:
	mandb: warning: /usr/share/man/man1/cc.1.gz is a dangling symlink
	mandb: warning: /usr/share/man/man1/emacs.1.gz is a dangling symlink


Following the symlinks reveals:

	dione:/# cd /etc/alternatives
	dione:/etc/alternatives# ls -ld cc*
	lrwxrwxrwx    1 root     root           16 Feb 15 10:48 cc -> /usr/bin/gcc-3.2
	lrwxrwxrwx    1 root     root           32 Feb 15 10:48 cc.1.gz -> /usr/share/man/man1/gcc-3.2.1.gz

	dione:/etc/alternatives# ls -ldL cc*
	ls: cc: No such file or directory
	ls: cc.1.gz: No such file or directory

Actually I guess from the above, that the problem was already there
following upgrade from an even earlier version.

I have only one version of gcc installed (I have older cpp, which is
prereq for other packages, which in turn depends on gcc-*-base), but 
I have only one gcc:

        dione:/etc/alternatives# dpkg -l | grep gcc
	ii  gcc                         3.3.2-2                     The GNU C compiler
	ii  gcc-3.2-base                3.2.3-9                     The GNU Compiler Collection (base package)
	ii  gcc-3.3                     3.3.2-4                     The GNU C compiler
	ii  gcc-3.3-base                3.3.2-4                     The GNU Compiler Collection (base package)
	ii  libgcc1                     3.3.2-4                     GCC support library

Shouldn't some post-install script be saying something like:

	if (only one gcc installed)

		default version = that single version

	else

		ask the user which to make the default

	delete any existing 'alternative' symlinks for cc

	create new ones pointing to just-determined default

If you need more info, please let me know!

Alexis

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dione 2.4.16 #1 Sat Mar 9 19:04:14 CET 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages gcc-3.3 depends on:
ii  binutils                   2.14.90.0.7-3 The GNU assembler, linker and bina
ii  cpp-3.3                    1:3.3.2-4     The GNU C preprocessor
ii  gcc-3.3-base               1:3.3.2-4     The GNU Compiler Collection (base 
ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
ii  libgcc1                    1:3.3.2-4     GCC support library

-- no debconf information


---------------------------------------
Received: (at 233836-done) by bugs.debian.org; 25 Apr 2004 09:24:13 +0000
>From doko@cs.tu-berlin.de Sun Apr 25 02:24:13 2004
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [130.149.17.13] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BHfrx-0004Df-00; Sun, 25 Apr 2004 02:24:13 -0700
Received: from bolero.cs.tu-berlin.de (doko@bolero.cs.tu-berlin.de [130.149.19.1])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id LAA04773;
	Sun, 25 Apr 2004 11:20:53 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i3P9Krfg005283;
	Sun, 25 Apr 2004 11:20:53 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16523.33525.518181.158102@gargle.gargle.HOWL>
Date: Sun, 25 Apr 2004 11:20:53 +0200
To: Alexis Huxley <ahuxley@gmx.net>, 233836-done@bugs.debian.org
Subject: Re: Bug#233836: gcc-3.3: dangling 'altertnatives' symlink
In-Reply-To: <1Au4hm-4a2-00@dione.no-ip.org>
References: <1Au4hm-4a2-00@dione.no-ip.org>
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 233836-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=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

gcc-3.2 did never provide a symlink to cc (handled by
update-alternatives).

Alexis Huxley writes:
> Package: gcc-3.3
> Version: 1:3.3.2-4
> Severity: normal
> 
> 
> After upgrading from gcc 3.2.1 to 3.3, I get the following
> email from cron:
> 
> 	--report /etc/cron.daily
> 
> 	/etc/cron.daily/man-db:
> 	mandb: warning: /usr/share/man/man1/cc.1.gz is a dangling symlink
> 	mandb: warning: /usr/share/man/man1/emacs.1.gz is a dangling symlink
> 
> 
> Following the symlinks reveals:
> 
> 	dione:/# cd /etc/alternatives
> 	dione:/etc/alternatives# ls -ld cc*
> 	lrwxrwxrwx    1 root     root           16 Feb 15 10:48 cc -> /usr/bin/gcc-3.2
> 	lrwxrwxrwx    1 root     root           32 Feb 15 10:48 cc.1.gz -> /usr/share/man/man1/gcc-3.2.1.gz
> 
> 	dione:/etc/alternatives# ls -ldL cc*
> 	ls: cc: No such file or directory
> 	ls: cc.1.gz: No such file or directory
> 
> Actually I guess from the above, that the problem was already there
> following upgrade from an even earlier version.
> 
> I have only one version of gcc installed (I have older cpp, which is
> prereq for other packages, which in turn depends on gcc-*-base), but 
> I have only one gcc:
> 
>         dione:/etc/alternatives# dpkg -l | grep gcc
> 	ii  gcc                         3.3.2-2                     The GNU C compiler
> 	ii  gcc-3.2-base                3.2.3-9                     The GNU Compiler Collection (base package)
> 	ii  gcc-3.3                     3.3.2-4                     The GNU C compiler
> 	ii  gcc-3.3-base                3.3.2-4                     The GNU Compiler Collection (base package)
> 	ii  libgcc1                     3.3.2-4                     GCC support library
> 
> Shouldn't some post-install script be saying something like:
> 
> 	if (only one gcc installed)
> 
> 		default version = that single version
> 
> 	else
> 
> 		ask the user which to make the default
> 
> 	delete any existing 'alternative' symlinks for cc
> 
> 	create new ones pointing to just-determined default
> 
> If you need more info, please let me know!
> 
> Alexis
> 
> -- System Information:
> Debian Release: testing/unstable
> Architecture: i386
> Kernel: Linux dione 2.4.16 #1 Sat Mar 9 19:04:14 CET 2002 i686
> Locale: LANG=C, LC_CTYPE=C
> 
> Versions of packages gcc-3.3 depends on:
> ii  binutils                   2.14.90.0.7-3 The GNU assembler, linker and bina
> ii  cpp-3.3                    1:3.3.2-4     The GNU C preprocessor
> ii  gcc-3.3-base               1:3.3.2-4     The GNU Compiler Collection (base 
> ii  libc6                      2.3.2.ds1-10  GNU C Library: Shared libraries an
> ii  libgcc1                    1:3.3.2-4     GCC support library
> 
> -- no debconf information
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: