From owner-freebsd-ports@FreeBSD.ORG Tue Oct 14 06:19:29 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 49CF67DE for ; Tue, 14 Oct 2014 06:19:29 +0000 (UTC) Received: from mail-ig0-x22a.google.com (mail-ig0-x22a.google.com [IPv6:2607:f8b0:4001:c05::22a]) (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 1AB20BEC for ; Tue, 14 Oct 2014 06:19:29 +0000 (UTC) Received: by mail-ig0-f170.google.com with SMTP id hn15so16227237igb.3 for ; Mon, 13 Oct 2014 23:19:28 -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=ZJCZRAqpNaBvXtGcCAOQnaJBh0ukXA3DAdfQcuyns5Q=; b=jbf3X7eUTme3lMRU37cbsMEDInuaa5JTN3I/FClaRwHsopW9rKzEPmFGusIfhjOvIt ls4KkQoPGzOQ5kw+GZjxYSUlNkZPda3wc4DQo36w0jZB/E/xxPewa3NTP23RB4vhkUWm a/s+Sw0qCYxfEyETgbSpU7y0xd/M23FqcaUWSctgVwT/ZhCIM5Fo9+gXf+POY9hXBaRj ciBkNMn4cWkQlz+omnLNYCtr+tPdmE8MaNDzvMaLhvWaEhGV15WL5XaZCo006wVn9ZeR y+gvuMfTrsP9IedTLpzrm9BzvZAwT45Mjb4lMAsEssWViA8Gr6SshsSRsBx/8uUYIofc MBvg== MIME-Version: 1.0 X-Received: by 10.107.160.208 with SMTP id j199mr1208924ioe.6.1413267568447; Mon, 13 Oct 2014 23:19:28 -0700 (PDT) Received: by 10.50.122.42 with HTTP; Mon, 13 Oct 2014 23:19:28 -0700 (PDT) In-Reply-To: <000901cfe62f$51d4b6a0$f57e23e0$@gmail.com> References: <000901cfe62f$51d4b6a0$f57e23e0$@gmail.com> Date: Tue, 14 Oct 2014 01:19:28 -0500 Message-ID: Subject: Re: Updating Master/Slave Ports From: Scot Hetzel To: Cory Dohm 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: Tue, 14 Oct 2014 06:19:29 -0000 On Sun, Oct 12, 2014 at 10:15 AM, Cory Dohm wrote: > I'm trying to update the port pair net/libtorrent-rasterbar and > net/libtorrent-rasterbar-python (slave port of net/libtorrent-rasterbar) > from 0.16.17 to 1.0.2 because that is the latest stable release. I've never > updated a port before, but found this tutorial > (http://www.unix-experience.fr/2013/contribute-to-freebsd-port-tree/) that > got me started. I can get net/libtorrent-rasterbar to make install and > update with portmaster, but when I try to make/update the python slave I get > this error: > > ===> libtorrent-rasterbar-1.0.2_1 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of libtorrent-rasterbar > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > > This error shows up even after using make deinstall on the master port, > because it seems that the python slave is installing the master port as a > dependency. However, it also did this with the 0.16 version and yet that one > installs correctly. Any insight you can offer to help me resolve this issue > is appreciated. > The net-p2p/libtorrent-rasterbar-python has a LIB_DEPENDS on libtorrent-rasterbar.so from the net-p2p/libtorrent-rasterbar port. Does this file exist in ${PREFIX}/lib? Mk/bsd.port.mk uses ldconfig -r to find the LIB_DEPENDS. Does ldconfig -r | grep torrent-rasterbar find this file? Could you post a log of building libtorrent-rasterbar-python that shows this failure when libtorrent-rasterbar is installed. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.