ports/108662: systools/portupgrade fails with 'misc-depends' target not found
Mark Evenson
mark.evenson at gmx.at
Thu Feb 1 15:08:41 UTC 2007
>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 at 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:
More information about the freebsd-ports-bugs
mailing list