From owner-freebsd-ports@FreeBSD.ORG Wed Jul 9 07:13:59 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9988311E; Wed, 9 Jul 2014 07:13:59 +0000 (UTC) Received: from mail-pa0-x22b.google.com (mail-pa0-x22b.google.com [IPv6:2607:f8b0:400e:c03::22b]) (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 6770A2AB5; Wed, 9 Jul 2014 07:13:59 +0000 (UTC) Received: by mail-pa0-f43.google.com with SMTP id lf10so8753911pab.16 for ; Wed, 09 Jul 2014 00:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=9NMj27bM1p5iY9FJHOrK+y6NjEBS8Isfn8o0NPg1vEk=; b=Uq3NTd7hfnoJRn/inl4Q5GVfgPL3dGTiCXKfR40jCmKOdhhM+38m/vPAjELMM2Tad1 b8Sl9O2SUQBHEJSACc0Qgk7O6CII5lHVx7CAXhsuhrc4XfgKM1htcNf8/CHkLK+VD6c2 tOrzrWsKh2GJxEGiTgTuLHl+ruFeLItU0kVLpReylO/H9dmcfRverjBvZIl2C/ME8G8P 9KnrgjtpKp+SrkTRnGMp3m7NXi1BZUq3Gk+Y63TwxyRa9OhoDZM8V2cVv7ovoijiLhAw urUkdk5MDFgnHyAWklhqmXVT/2UfOZv9iGREB6ZKJ9iBo7vHqkKsjRnna8OhX0EE2B9F IXGw== X-Received: by 10.69.17.66 with SMTP id gc2mr39701105pbd.90.1404890039035; Wed, 09 Jul 2014 00:13:59 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id xk1sm212375540pac.21.2014.07.09.00.13.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Jul 2014 00:13:58 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <53BCEBA9.7090509@FreeBSD.org> Date: Wed, 09 Jul 2014 17:13:45 +1000 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Kevin Oberman , Waitman Gobble Subject: Re: postgres9.2/9.3 clash with pkg References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "mva >> Marcus von Appen" , FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2014 07:13:59 -0000 On 9/07/2014 4:56 PM, Kevin Oberman wrote: > On Tue, Jul 8, 2014 at 1:09 PM, Waitman Gobble > wrote: > >> Hi, >> >> I notice that many pkgs are dependent upon postgresql client 9.2. I have >> 9.3 on this machine, when I try to install or upgrade packages which are >> linked to 9.2, the process fails. All the errors are about documentation >> files installed in same path. >> >> Simple example. >> >> # pkg install mapnik >> The following 2 packages will be installed: >> Installing postgresql92-client: 9.2.8_1 >> Installing mapnik: 2.2.0_7 >> pkg: WARNING: locally installed postgresql93-client-9.3.4 conflicts on >> /usr/local/share/postgresql/psqlrc.sample with: >> - postgresql92-client-9.2.8_1 >> >> Does anyone know the solution? >> >> Thank you, >> >> -- >> Waitman Gobble >> San Jose California USA >> +1.510-830-7975 >> > > Packages are built with all dependencies at the time of the release for > which they are built. If you update a dependency locally to a newer > version, you will see this error. I thought I remembered that there was a > way to tell pkg to ignore a dependency, but I can't seem to find it now. > > Updates repositories are made available quarterly. You might find > installing the package from the latest quarterly for your version of > FreeBSD might deal with this problem, but likely does not. And, of course > using a different dependency version might bite you with ABI > incompatibilities. > > The other option is to build ports using postgresql locally. But if a port > requires a specific version of postgresql, this won't work. (I have not > looked at the ports to see exactly what the dependencies are defined.) I > suspect that this will work, though. Jut can't promise anything. > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > Might USES=uniquefiles be helpful here? See mva@'s recent work here: /usr/ports/Mk/Uses/uniquefiles.mk