pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50274: pkgsrc/devel/gmake: circular dependency bug
>Number: 50274
>Category: pkg
>Synopsis: cannnot build gmake due to circular dependency.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Sep 24 03:35:00 +0000 2015
>Originator: Ken'ichi Fukamachi
>Release: NetBSD/i386 5.2_STABLE
>Organization:
NSRG PREFER_PKGSRC=yes club
>Environment:
System: NetBSD elena.home.fml.org 5.2_STABLE NetBSD 5.2_STABLE (HOME_SERVER) #0: Sun Mar 2 12:04:31 JST 2014 fukachan%nsrg.fml.org@localhost:/src/sys/arch/i386/compile/HOME_SERVER i386
Architecture: i386
Machine: i386
>Description:
We cannot build pkgsrc/devel/gmake due to circular dependency bug if
PREFER_PKGSRC=yes defined since gmake with NLS support (enabled by
default) depends textproc/expat via gettext-tools. But textproc/expat
requies gmake. So gmake depends gmake. The build fails.
It looks this bug has been existed from 2014 fall to now.
>How-To-Repeat:
Set PREFER_PKGSRC=yes in /etc/mk.conf, build gmake:
# cd /usr/pkgsrc/devel/gmake
# make
===> Installing dependencies for digest-20121220
===> Install binary package of digest-20121220
=> Returning to build of gmake-4.1nb1
===> Installing dependencies for gmake-4.1nb1
=> Tool dependency gettext-tools>=0.15: NOT found
===> Installing dependencies for gettext-tools-0.19.4nb1
=> Tool dependency libtool-base>=2.2.6bnb3: NOT found
===> Installing dependencies for libtool-base-2.4.2nb10
===> Install binary package of libtool-base-2.4.2nb10
=> Returning to build of gettext-tools-0.19.4nb1
=> Full dependency xz>=4.999.9betanb1: NOT found
===> Installing dependencies for xz-5.2.1
=> Full dependency gettext-lib>=0.18: NOT found
===> Installing dependencies for gettext-lib-0.19.4
=> Full dependency libiconv>=1.9.1nb4: NOT found
===> Installing dependencies for libiconv-1.14nb2
===> Install binary package of libiconv-1.14nb2
=> Returning to build of gettext-lib-0.19.4
===> Install binary package of gettext-lib-0.19.4
=> Returning to build of xz-5.2.1
===> Install binary package of xz-5.2.1
=> Returning to build of gettext-tools-0.19.4nb1
=> Full dependency expat>=2.0.0nb1: NOT found
===> Installing dependencies for expat-2.1.0nb1
=> Tool dependency gmake>=3.81: NOT found
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
>Fix:
unknown.
Its workaround follows:
1. specify PKG_OPTIONS.gmake= -nls in /etc/mk.conf.
2. PKG_OPTIONS.gmake= -nls in pkgsrc/devel/gmake/options.mk by default.
3. modify gmake building to two stages: build gmake without NLS support once, and rebuild gmake with NLS again ?
Home |
Main Index |
Thread Index |
Old Index