lang/gcc32 -- sometimes has a dependency loop

Scot Hetzel swhetzel at gmail.com
Mon Feb 21 12:02:55 PST 2005


On Sat, 19 Feb 2005 11:26:57 +0000, Matthew Seaman
<m.seaman at 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


More information about the freebsd-ports mailing list