Date: Thu, 1 Feb 2007 14:51:37 GMT From: Mark Evenson<mark.evenson@gmx.at> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/108662: systools/portupgrade fails with 'misc-depends' target not found Message-ID: <200702011451.l11EpbEh055434@www.freebsd.org> Resent-Message-ID: <200702011500.l11F0VtL099723@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 108662 >Category: ports >Synopsis: systools/portupgrade fails with 'misc-depends' target not found >Confidential: no >Severity: critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 01 15:00:30 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Mark Evenson >Release: RELENG_6_2 >Organization: >Environment: FreeBSD elvis 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Mon Jan 15 12:22:07 CET 2007 evenson@elvis.intern.etel.at:/usr/obj/usr/src/sys/ELVIS i386 >Description: portupgrade is failing with make: don't know how to make misc-depends. Stop The 'misc-depends' target has been removed from the bsd.ports.mk file. After a cvsup current as of 20070101 1300 UTC. >How-To-Repeat: >Fix: The included patch simply removes the missing target from being invoked by portupgrade (patch attach complained of incorrect filetype). I have no deep understanding of portupgrade or why 'misc-depends' was removed, so there may be deeper ramifications that should be addressed (i.e. like some other target should be invoked instead). But this patch allows portupgrade to work for me. --- bin/portupgrade.orig Thu Feb 1 15:42:15 2007 +++ bin/portupgrade Thu Feb 1 15:42:22 2007 @@ -1594,7 +1594,7 @@ end if $sudo && Process.euid != 0 - dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' << 'misc-depends' + dep_cmdargs = cmdargs.dup << 'fetch-depends' << 'build-depends' << 'lib-depends' if not system(shelljoin(*dep_cmdargs) + ' DEPENDS_TARGET="-n nonexistent_target" >/dev/null 2>&1') script!(logfile, *dep_cmdargs) or >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702011451.l11EpbEh055434>