From owner-freebsd-ports@freebsd.org Tue Nov 3 04:53:46 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 DD009A24D89 for ; Tue, 3 Nov 2015 04:53:46 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from teparybean2.exetel.com.au (teparybean2.exetel.com.au [220.233.0.94]) by mx1.freebsd.org (Postfix) with ESMTP id 9FAB91E6B for ; Tue, 3 Nov 2015 04:53:46 +0000 (UTC) (envelope-from dave@horsfall.org) Received: from phasia.kd.net.au ([220.233.10.47]) by teparybean2.exetel.com.au with esmtp (Exim 4.84) (envelope-from ) id 1ZtTbM-00058c-6B for freebsd-ports@freebsd.org; Tue, 03 Nov 2015 15:53:44 +1100 Received: from aneurin.horsfall.org (unknown [120.146.8.15]) by dermis.kd (Postfix) with ESMTP id CC003CDBE for ; Tue, 3 Nov 2015 15:53:43 +1100 (EST) Received: from aneurin.horsfall.org (localhost [127.0.0.1]) by aneurin.horsfall.org (8.14.9/8.14.9) with ESMTP id tA34rgoM079381 for ; Tue, 3 Nov 2015 15:53:43 +1100 (EST) (envelope-from dave@horsfall.org) Received: from localhost (dave@localhost) by aneurin.horsfall.org (8.14.9/8.14.9/Submit) with ESMTP id tA34rg3k079378 for ; Tue, 3 Nov 2015 15:53:42 +1100 (EST) (envelope-from dave@horsfall.org) X-Authentication-Warning: aneurin.horsfall.org: dave owned process doing -bs Date: Tue, 3 Nov 2015 15:53:42 +1100 (EST) From: Dave Horsfall To: FreeBSD Ports Subject: Re: fail2ban fails to build (fwd) In-Reply-To: <563827B2.6030601@FreeBSD.org> Message-ID: References: <563821FD.1070209@FreeBSD.org> <563827B2.6030601@FreeBSD.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) X-Home-Page: http://www.horsfall.org/ X-Witty-Saying: "chmod 666 the_mode_of_the_beast" MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 04:53:47 -0000 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... [*] 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 but I know it's at p29 because I faithfully track all updates. 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? -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."