pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/39531: bootstrap fails on Interix (patches for net/tnftp)
>Number: 39531
>Category: pkg
>Synopsis: bootstrap fails on Interix (patch for net/tnftp)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 13 08:05:00 +0000 2008
>Originator: cheusov%tut.by@localhost
>Release: NetBSD 4.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 4.0_STABLE NetBSD 4.0_STABLE (GENERIC) #0:
Wed Jul 16 00:28:58 EEST 2008
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
bootstrap on Interix fails. It ends like this
=> Returning to build of ncurses-5.6nb2
=> Bootstrap dependency tnftp-[0-9]*: NOT found
=> Verifying reinstall for ../../net/tnftp
ERROR: This package has set PKG_FAIL_REASON:
ERROR: Circular dependency detected
*** Error code 1
This is because net/tnftp wants libncurses but libnbcurses wants tnftp
for download. I propose to completely remove interactive features
from net/tnftp. tnftp client with such features should be separated
into a new individual package.
Working patch is below.
This problem is also not specific to Interix and may happen
on other platforms too.
>Fix:
Index: net/tnftp/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/tnftp/Makefile,v
retrieving revision 1.25
diff -u -r1.25 Makefile
--- net/tnftp/Makefile 19 Jun 2008 18:36:51 -0000 1.25
+++ net/tnftp/Makefile 13 Sep 2008 07:22:02 -0000
@@ -20,7 +20,7 @@
GNU_CONFIGURE= yes
NO_CHECKSUM= yes
CHECK_PERMS= no
-
+CONFIGURE_ARGS+= --disable-editcomplete
OPSYSVARS+= MAKE_ENV
MAKE_ENV.SunOS+= CPPFLAGS=""
@@ -30,17 +30,4 @@
@${CP} -R ${FILESDIR} ${WRKSRC}
@${RM} -f ${WRKSRC}/INSTALL
-# Use readline/builtin.mk to check for an editline library on the
-# system. If we use the system editline library, then use the built-in
-# termcap library.
-#
-CHECK_BUILTIN.readline:= yes
-.include "../../devel/readline/builtin.mk"
-CHECK_BUILTIN.readline:= no
-
-.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
-USE_BUILTIN.termcap= yes
-.endif
-
-.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index