tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Circular dependence between "bison" and "gettext-tools" under Solaris
Hello,
I'm trying to use "pkgsrc" on a Solaris 10 amd64 system. At some point
it tries to build "bison" which fails because of a circular dependence:
buildpkg# bmake
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Checking for vulnerabilities in bison-2.4.1nb1
=> Checksum SHA1 OK for bison-2.4.1.tar.bz2
=> Checksum RMD160 OK for bison-2.4.1.tar.bz2
===> Installing dependencies for bison-2.4.1nb1
=> Build dependency {gettext-tools>=0.14.5,gettext>=0.10.36<0.14.5}: NOT found
=> Verifying reinstall for ../../devel/gettext-tools
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Checking for vulnerabilities in gettext-tools-0.14.6nb1
=> Checksum SHA1 OK for gettext-0.14.6.tar.gz
=> Checksum RMD160 OK for gettext-0.14.6.tar.gz
===> Installing dependencies for gettext-tools-0.14.6nb1
=> Build dependency libtool-base>=2.2.6bnb3: NOT found
=> Verifying reinstall for ../../devel/libtool-base
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Checking for vulnerabilities in libtool-base-2.2.6bnb3
=> Checksum SHA1 OK for libtool-2.2.6b.tar.gz
=> Checksum RMD160 OK for libtool-2.2.6b.tar.gz
===> Installing dependencies for libtool-base-2.2.6bnb3
=> Build dependency pax>=20040802: found pax-20080110
=> Build dependency f2c>=20090411nb2: NOT found
=> Verifying reinstall for ../../lang/f2c
=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Bootstrap dependency tnftp-[0-9]*: found tnftp-20070806
===> Checking for vulnerabilities in f2c-20090411nb3
=> Checksum SHA1 OK for f2c-20090411.tar.gz
=> Checksum RMD160 OK for f2c-20090411.tar.gz
===> Installing dependencies for f2c-20090411nb3
=> Build dependency pax>=20040802: found pax-20080110
=> Build dependency bison>=1.0: NOT found
=> Verifying reinstall for ../../devel/bison
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 255
Stop.
bmake: stopped in /content/pkgsrc/devel/bison
*** Error code 1
The chain is:
- "bison" wants "msgfmt" which comes from "gettext-tools".
- "gettext-tools" wants "libtool"
- "libtool" wants "f2c"
- "f2c" wants "yacc" which isn't defined under Solaris and "pkgsrc
"therefore" tries to use "yacc"
The following change seems to fix that:
Index: mk/tools/tools.SunOS.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/tools/tools.SunOS.mk,v
retrieving revision 1.30
diff -u -r1.30 tools.SunOS.mk
--- mk/tools/tools.SunOS.mk 11 Sep 2008 23:00:31 -0000 1.30
+++ mk/tools/tools.SunOS.mk 31 Dec 2009 17:30:45 -0000
@@ -113,3 +113,6 @@
TOOLS_PLATFORM.tsort?= /usr/ccs/bin/tsort
TOOLS_PLATFORM.wc?= /usr/bin/wc
TOOLS_PLATFORM.xargs?= /usr/bin/xargs
+.if exists(/usr/ccs/bin/yacc)
+TOOLS_PLATFORM.yacc?= /usr/ccs/bin/yacc
+.endif
Is that the correct solution? There is of course the risk that
"/usr/ccs/bin/yacc" isn't good enough to build some random
other package.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index