From owner-freebsd-stable@FreeBSD.ORG Wed Sep 3 22:38:05 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1953E40 for ; Wed, 3 Sep 2014 22:38:04 +0000 (UTC) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) (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 7DE0B1061 for ; Wed, 3 Sep 2014 22:38:04 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id u57so9384192wes.33 for ; Wed, 03 Sep 2014 15:38:02 -0700 (PDT) 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=znTHNwB0HduS9tNPEo6CKIP7VE6+UfQXGxrWXy8kmxo=; b=kgMKzMC1hs+6enwuIO44q4tKRpXDADU0tffaoSVgtx6yqXu1gfLyJBWS3TWEg96Y18 Vmi2jqDcNGcb43m18/K7cw0956+9C0b5lavBM+xoTEvwFskZpGIch2NPtVuaavG8JVRg So+gfO6zjj25KacftZgZeX6MzfSnsY+2wI3FpcnqDKtt1BBv7Yu5Y9KE+IpNagoJ16Fm O+DagCoTLbLBl0f7r1CipOQRoMRZzHTsjVckvSsDDRtST96mQMZ423SDizqkR0fp2UOD YRpNA1sOPTQUKWvdqPBFsoydQItrS85aHc2gVp8J4JOtV+GxKTk5UEdmUalsFWFWP8tN m+Yg== MIME-Version: 1.0 X-Received: by 10.194.71.11 with SMTP id q11mr423574wju.33.1409783882821; Wed, 03 Sep 2014 15:38:02 -0700 (PDT) Received: by 10.217.2.18 with HTTP; Wed, 3 Sep 2014 15:38:02 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Sep 2014 18:38:02 -0400 Message-ID: Subject: Re: pkg question - Difference pkg vs port From: Brandon Allbery To: Michael Ross Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2014 22:38:05 -0000 On Wed, Sep 3, 2014 at 5:52 PM, Michael Ross wrote: > This is the exact same output I get when I install with ``pkg install > py27-MySQLdb'', > yet the pkg version does not accept mysql56, but insists on mysql55, > the fact that both use libmysqlclient.so.18 notwithstanding. > > How do I handle this?, i. e. how do I, can I, manually change the > dependency > mysql55-client-5.5.39 > to > mysql56-client-5.6.20 > ? > > I have to use mysql56, does this mean I have to install the python module > via the port? > A package can (currently?) only be built against a single version of a dependency; if it was built against mysql55-client, it can't be also built for mysql56-client. You'll need to use the port, which can be built against anything that provides the necessary build time dependency. (It might be possible to force the package to install, but this is asking for trouble in the future.) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net