From owner-freebsd-ports@FreeBSD.ORG Wed Apr 2 06:10:51 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E961C106566B for ; Wed, 2 Apr 2008 06:10:51 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 6D13F8FC19 for ; Wed, 2 Apr 2008 06:10:51 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so2536286fgg.35 for ; Tue, 01 Apr 2008 23:10:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=n3PJbRspYbm2G4kEZSGZu/3GZOjvtyGxJmkexVBHxvM=; b=LyVRF9W3eJTA/O9RDaSnzvwuuNyH72V1x2z2GUuVZ9rFku8klq+C3aWEkqBITdNIUhClTruZDBamFbGFziC+yWMG2cqq5hK4eqGKH8OidJnV8pZ9C6HQZXh0QGedTniL9YdPZ9tttv8NFdaNKd83F4iQyzcbgM5tQ8v81IPx3TU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=HHcB0W36rPNPJtoCq/dc3VHDeoC6TyeReizsVCTIQWnOl9613F/Q8RRnSgpcu7NhlRC9ch2dbXkNwXJMaPU2FPCAeBG+fSxATKETV6Xi41LxhgFoPgIQIDld2s1QnIGN5fGf3kOXjIbomDz4/+H+PLOR3cQg4GUaPyLhptaE6EI= Received: by 10.86.99.9 with SMTP id w9mr6035892fgb.58.1207116650156; Tue, 01 Apr 2008 23:10:50 -0700 (PDT) Received: by 10.86.26.8 with HTTP; Tue, 1 Apr 2008 23:10:50 -0700 (PDT) Message-ID: <7d6fde3d0804012310h6c615a86v20e9d3d77c65809a@mail.gmail.com> Date: Tue, 1 Apr 2008 23:10:50 -0700 From: "Garrett Cooper" To: freebsd-ports@freebsd.org In-Reply-To: <7d6fde3d0804012309p129f94c1u6c33f75cd29b7b25@mail.gmail.com> MIME-Version: 1.0 References: <47F2AF3E.4010604@FreeBSD.org> <47F30AAD.6040504@p6m7g8.com> <7d6fde3d0804012309p129f94c1u6c33f75cd29b7b25@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: sudo pkg_add -r gives "Syntax error..." X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Apr 2008 06:10:52 -0000 On Tue, Apr 1, 2008 at 9:25 PM, Philip M. Gollucci wrote: > Pietro Cerutti wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA512 > > > > Hi list, > > > > since a few days I cannot add packages with "sudo pkg_add -r " anymore.. > > > > Example: > > > > | sudo pkg_add -r screen > > Error: FTP Unable to get > > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/screen.tbz > : > AFAIK: you can't package screen, see the Makefile, but I think this is > fixed and the restriction should be removed. > > probably unrelated to whatever you are seeing, FWIW, I always use 'sudo' > for this. I think that a variable being returned during or as part of the fetch is NULL and a sprintf is being done with that NULL variable, because I just ran into an issue like this compiling a piece of code on my own. I tried reproducing that, but given the fact that I don't have 7.0 release right in front of me, I can't really reproduce the issue. HTH, -Garrett