From owner-freebsd-ports@freebsd.org Tue Nov 3 05:36:24 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EB133A254D3 for ; Tue, 3 Nov 2015 05:36:23 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8E891EDF for ; Tue, 3 Nov 2015 05:36:23 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by pasz6 with SMTP id z6so8279386pas.2 for ; Mon, 02 Nov 2015 21:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=pyIJUBQaaZ8WsM9DWms3RbMAT4xdhlW5/ISkHpuZ+E8=; b=Cmtf5Q3fMZWe5YmuW+MPWOe9Zn2UAfGV0WLk7GrrMev72LHVbwCoKH6iArDbf/aL7H 0oVaiin3JP8KF2ZdVPZ1S0D9B1G9NY26FhZwQaAQMQIHklON2S7WI91XFk8Qanr7k8qH 05q2fs8j4bOGx8S5PA929/hVeoSWSbxZE6Vwv60KtB6oFZkPaOdEy0A3aN+Wb64Derv2 gNEK53i/vpWNtvNTLcDxAISLga2OBHIuWYf/lzD9tlUc9DSgL50O44cs8aOFkE8NgUg2 3qGifypwD99dFTtZAPXZnC2YZQm1Fp2xw2d5xJiiUinZvOzQwPHU7cG/api1mKremcdv FdEA== X-Received: by 10.68.65.67 with SMTP id v3mr31957823pbs.69.1446528983395; Mon, 02 Nov 2015 21:36:23 -0800 (PST) Received: from [192.168.1.100] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by smtp.gmail.com with ESMTPSA id z12sm27198097pbt.30.2015.11.02.21.36.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Nov 2015 21:36:22 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: fail2ban fails to build (fwd) References: <563821FD.1070209@FreeBSD.org> <563827B2.6030601@FreeBSD.org> To: Dave Horsfall , FreeBSD Ports From: Kubilay Kocak X-Enigmail-Draft-Status: N1110 Message-ID: <563847D0.9000203@FreeBSD.org> Date: Tue, 3 Nov 2015 16:36:16 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:42.0) Gecko/20100101 Thunderbird/42.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Nov 2015 05:36:24 -0000 On 3/11/2015 3:53 PM, Dave Horsfall wrote: > On Tue, 3 Nov 2015, Kubilay Kocak wrote: > >> Have you tried deleting pkg, making sure you're grabbing the latest >> packages, and reinstalling pkg? >> >> a) pkg should not be segfaulting >> b) if you're not on the latest pkg version, the bug could have already >> been fixed > > OK, I did a bit more digging, and found that during one of my more > desperate i.e. less lucid moments I had renamed /var/db/pkg to .../pkg.old > in an attempt to load all of ports again, which I now remember was failing > because of a FreeBSD version mismatch[*]. Looks like pkg got upset and > crashed... > > Anyway, here's what you wanted (after I renamed it back): > > pkg-1.5.3 > succeeds port (port has 1.2.7) > > So yeah, I'm outta date, so I have some work to do... Definitely. What's not better is what you have installed is later than what pkg thinks there is (db mismatch or out of sync) > [*] > Because this is a binary-only system (as supplied to me), the script to > bump the patch level is not present, but it gets incremented on a kernel > update, thus we have: > > aneurin# uname -r > 9.3-RELEASE-p21 What script, freebsd-update? > but I know it's at p29 because I faithfully track all updates. How are you tracking them? > No matter what mirror or technique (FTP/HTTP) was used to load "ports" I > get something like "not found on this server" or something, so I gave up; > it was looking for -p21 but only say -p25 was available. > > Does that make sense? Kinda/Mostly :) When you say "load ports", what do you mean and what method exactly are you using to do it? You said earlier you're using binary packages only, but here you say ports. Are we using these terms interchangeably here? If so, cool, if not, confusing :) I'm not sure whether or to what extent your potential system (mis?)configuration is contributing to these "not found on this server" errors. What exactly is showing you this error? ./koobs