Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2005 14:02:54 -0600
From:      Scot Hetzel <swhetzel@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: lang/gcc32 -- sometimes has a dependency loop
Message-ID:  <790a9fff05022112022257fcc3@mail.gmail.com>
In-Reply-To: <20050219112657.GA12312@gravitas.thebunker.net>
References:  <20050219112657.GA12312@gravitas.thebunker.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Feb 2005 11:26:57 +0000, Matthew Seaman
<m.seaman@infracaninophile.co.uk> wrote:
> Dear all,
> 
> Here's an interesting bug.  The lang/gcc32 port (as required to
> compile OpenOffice) has a dependency on itself -- but only when it is
> /already/ installed:
> 
>    % cd /usr/ports/lang/gcc32
>    % pkg_info -I gcc\*
>    gcc-3.2.3_3         GNU Compiler Collection 3.2.3
>    % make -V BUILD_DEPENDS
>    gmake:/usr/ports/devel/gmake gcc32:/usr/ports/lang/gcc32
>    % sudo pkg_delete gcc-3.2.3_3
>    % make -V BUILD_DEPENDS
>    gmake:/usr/ports/devel/gmake
> 
> As far as I can tell, this has no practical effect on installing or
> maintaining gcc32, but it has had unfortunate effects on some index
> building software of mine.  This problem has been apparent for about
> one week now, but I haven't been able to track down exactly the commit
> that triggered it.
> 
The problem is in Mk/bsd.gcc.mk.  There needs to be a test to check if
the installed gcc version matches the version we are trying to
install. Then if it does match, don't create dependancy.

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff05022112022257fcc3>