From nobody@FreeBSD.org Wed Aug 23 03:50:49 2006 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6EFB16A4DD for ; Wed, 23 Aug 2006 03:50:49 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 97BB343D45 for ; Wed, 23 Aug 2006 03:50:49 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k7N3onEv007822 for ; Wed, 23 Aug 2006 03:50:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k7N3onIt007821; Wed, 23 Aug 2006 03:50:49 GMT (envelope-from nobody) Message-Id: <200608230350.k7N3onIt007821@www.freebsd.org> Date: Wed, 23 Aug 2006 03:50:49 GMT From: Ryan Wehler To: freebsd-gnats-submit@FreeBSD.org Subject: portupgrade fails with X-Send-Pr-Version: www-2.3 >Number: 102417 >Category: ports >Synopsis: portupgrade fails with >Confidential: no >Severity: non-critical >Priority: low >Responsible: sem >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Aug 23 04:00:25 GMT 2006 >Closed-Date: Fri Aug 25 12:47:44 GMT 2006 >Last-Modified: Fri Aug 25 12:47:44 GMT 2006 >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@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: Responsible-Changed-From-To: freebsd-ports-bugs->sem Responsible-Changed-By: edwin Responsible-Changed-When: Wed Aug 23 04:17:57 UTC 2006 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=102417 From: Sergey Matveychuk To: bug-followup@FreeBSD.org, mindflux98@gmail.com Cc: Subject: Re: ports/102417: portupgrade fails with Date: Fri, 25 Aug 2006 16:12:27 +0400 The description wrong. A right syntax is pkg_site_builder(['latest']). Thanks for the report. I'll fix it ASAP. -- Dixi. Sem. From: Sergey Matveychuk To: bug-followup@FreeBSD.org, mindflux98@gmail.com Cc: Subject: Re: ports/102417: portupgrade fails with Date: Fri, 25 Aug 2006 16:23:04 +0400 Even pkg_site_builder(true|false) is the correctest syntax. -- Dixi. Sem. State-Changed-From-To: open->closed State-Changed-By: sem State-Changed-When: Fri Aug 25 12:47:43 UTC 2006 State-Changed-Why: Descriptions in pkgtools.conf fixed. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=102417 >Unformatted: