Updating Master/Slave Ports
Cory Dohm
cadatoiva at gmail.com
Wed Oct 15 01:15:44 UTC 2014
ldconfig -r | grep torrent returns this result:
217:-ltorrent-rasterbar.8 => /usr/local/lib/libtorrent-rasterbar.so.8
The installation log can be accessed here:
https://drive.google.com/file/d/0Bzrt0gs7oArqU3JFSnc3Z1JyaEk/view
The diff of all changes I've made to get this far can be accessed here:
https://drive.google.com/file/d/0Bzrt0gs7oArqbUhQYjMyWGhsVjQ/view
It's strange, because I didn't have this error before, it was giving an
error of the master port being installed. Not sure what changed on me.
-----Original Message-----
From: Scot Hetzel [mailto:swhetzel at gmail.com]
Sent: Tuesday, October 14, 2014 1:19 AM
To: Cory Dohm
Cc: FreeBSD Ports
Subject: Re: Updating Master/Slave Ports
On Sun, Oct 12, 2014 at 10:15 AM, Cory Dohm <cadatoiva at gmail.com> 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.
More information about the freebsd-ports
mailing list