ports/102417: portupgrade fails with
Ryan Wehler
mindflux98 at gmail.com
Wed Aug 23 04:00:26 UTC 2006
>Number: 102417
>Category: ports
>Synopsis: portupgrade fails with
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 23 04:00:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Ryan Wehler
>Release: 6.1-RELEASE
>Organization:
>Environment:
FreeBSD switch.ma.dl.cox.net 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
package_site_builder([latest]) in PKG_SITES = [ ... ] gives errors upon trying to use portupgrade.
example error:
portupgrade -PP irssi
** Error occured reading /usr/local/etc/pkgtools.conf:
undefined local variable or method `latest' for PkgConfig:Module
>From pkgtools.conf header..
--- SNIP ---
# pkg_site_builder([latest])
# Returns a URI of the packages directory on the package builder site;
# Equivalent to:
# on i386:
# sprintf('http://pointyhat.FreeBSD.org/errorlogs/%s-%s-%s/',
# OS_PLATFORM, OS_MAJOR, latest ? 'latest' : 'full')
#
--- SNIP ---
I'm trying to use portinstall/upgrade to fetch pointyhat packages (hence, the builder([latest]) variable.
>How-To-Repeat:
Change your PKG_SITES to this:
PKG_SITES = [
pkg_site_builder(true),
pkg_site_builder([latest]),
pkg_site_mirror(),
]
to see problem.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list