From owner-freebsd-ports@FreeBSD.ORG Sat Dec 20 09:26:21 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D62DA8D5 for ; Sat, 20 Dec 2014 09:26:21 +0000 (UTC) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 691F01720 for ; Sat, 20 Dec 2014 09:26:21 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id b13so3126825wgh.32 for ; Sat, 20 Dec 2014 01:26:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Wg75nxQnmJZ5A5Sk4SuZP7PtuRPcyfuC+zdX2UqpBL8=; b=B7/GhJxCFmMkvnM1RX/2VNjgEeKaz/NEvAVtuTlcxC7zfD05xNhk5Kn1xr0aNgGbQp O9zwcHb6g90K8TFsT0SHxsEKCJv+E1sfewTpvS/NbznWFG/D3oH0Mie/shI9eAlfgfvl 3zekWLnPV2rLvZXXA72yNlOlWCsV/NPVTBXGwLlWOCS7XVhhrPXzAUnn2I0S0K16ImqE OEn3Gl/liORqH4+ZSRBZdW+rmYiR8AOphfmFIZZFsVudj3ke6mMiH4IY75h8yq/8iVxv tAMR7qzSwEcrqSTKF6zHJ9B97PgyOHqqk6B0Xo2XVExtBN+u09n8/EusaKRxPakjGFwI N4Ng== MIME-Version: 1.0 X-Received: by 10.180.98.197 with SMTP id ek5mr13364863wib.35.1419067577303; Sat, 20 Dec 2014 01:26:17 -0800 (PST) Received: by 10.27.131.217 with HTTP; Sat, 20 Dec 2014 01:26:17 -0800 (PST) In-Reply-To: <3130636.rJOvgq7KYW@alex.super> References: <3130636.rJOvgq7KYW@alex.super> Date: Sat, 20 Dec 2014 03:26:17 -0600 Message-ID: Subject: Re: update libreoffice-4.3.4 to libreoffice-4.3.5 fail From: Scot Hetzel To: "Alex V. Petrov" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Dec 2014 09:26:22 -0000 On Fri, Dec 19, 2014 at 7:04 AM, Alex V. Petrov wrote: > ===>>> Launching child to update libreoffice-4.3.4 to libreoffice-4.3.5 > > ===>>> All >> libreoffice-4.3.4 (1/1) > > ===>>> Currently installed version: libreoffice-4.3.4 > ===>>> Port directory: /usr/ports/editors/libreoffice > > ===>>> This port is marked IGNORE > ===>>> cannot install: the port wants postgresql-client version 9.0 9.1 9.2 9.3 9.4 and > you have version 9.2 installed > > > ===>>> If you are sure you can build it, remove the > IGNORE line in the Makefile and try again. > > ===>>> Update for libreoffice-4.3.4 failed > ===>>> Aborting update The Error is coming from line 97 of Mk/Uses/pgsql: 63 # Setting/finding PostgreSQL version we want. 64 PG_CONFIG?= ${LOCALBASE}/bin/pg_config 65 . if exists(${PG_CONFIG}) 66 _PGSQL_VER!= ${PG_CONFIG} --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\.[0-9][0-9]*\)[^0-9].*/\1/p' 67 . endif 68 69 # Handle the + and - version stuff 70 . if !empty(pgsql_ARGS) 71 . if ${pgsql_ARGS:M*+} 72 . for version in ${VALID_PGSQL_VER} 73 . if ${pgsql_ARGS:S/+//} <= ${version} 74 _WANT_PGSQL_VER+=${version} 75 . endif 76 . endfor 77 . elif ${pgsql_ARGS:M*-} 78 . for version in ${VALID_PGSQL_VER} 79 . if ${pgsql_ARGS:S/-//} >= ${version} 80 _WANT_PGSQL_VER+=${version} 81 . endif 82 . endfor 83 . endif 84 _WANT_PGSQL_VER?= ${pgsql_ARGS} 85 . endif 86 87 # Try to match default version, otherwise just take the first version 88 # that matches 89 . if !empty(_WANT_PGSQL_VER) 90 . for version in ${_WANT_PGSQL_VER} 91 . if ${PGSQL_DEFAULT} == ${version} 92 PGSQL_VER= ${version} 93 . endif 94 PGSQL_VER?= ${version} 95 . endfor 96 . if defined(_PGSQL_VER) && ${_PGSQL_VER} != ${PGSQL_VER} 97 IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed 98 . endif 99 . endif The reason you are seeing this error is that the default pgsql version was changed from 9.2 to 9.3 in Mk/bsd.default-versions.mk on Dec 8th. Looks like you would need to add: DEFAULT_VERSIONS+=pgsql=9.2 To your /etc/make.conf. The error message on line 97 is mis-leading. The message should be changed to: 96 . if defined(_PGSQL_VER) . if ${_WANT_PGSQL_VER:M${_PGSQL_VER}} WARNING+= "Found postgresql-client version ${_PGSQL_VER} installed, but default version is ${PGSQL_DEFAULT}, consider setting DEFAULT_VERSIONS=pgsql=${_PGSQL_VER:C,^.,&.,}" . elif ${_PGSQL_VER} != ${PGSQL_VER} 97 IGNORE?= cannot install: the port wants postgresql-client version ${_WANT_PGSQL_VER} and you have version ${_PGSQL_VER} installed 98 . endif -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.