gcc update breakage

Gerald Pfeifer gerald at pfeifer.com
Tue Mar 11 02:36:37 UTC 2014

Hi, let me add ports at FreeBSD.org.

On Mon, 10 Mar 2014, Kenta S. wrote:
> Hi. The GCC update touched the makefiles of net-p2p/libtorrent and net-p2p/rtorrent.
> When I try to update them with portmaster, I get:
> ====> Compressing man pages (compress-man)
> ===>  Installing for libtorrent-0.13.2_2
> ===>  Checking if net-p2p/libtorrent already installed
> ===>   libtorrent-0.13.2_2 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 net-p2p/libtorrent
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** [check-already-installed] Error code 1
> Stop in /usr/ports/net-p2p/libtorrent.
> *** [install] Error code 1
> I've tried manually deinstalling, reinstalling, cleaning, etc. Any clues?

This looks really weird in net-p2p/rtorrent/Makefile:

   BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
   RUN_DEPENDS=	libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent

I have never seen such a crazy dependency before.  Try making this
_2 instead of _1, but, really, this is crazy.

Andrej, any idea?

Why is this not checking for libtorrent.so?  And a LIB_DEPENDS instead?
Something like

   LIB_DEPENDS= libtorrent.so:${PORTSDIR}/net-p2p/libtorrent



More information about the freebsd-ports mailing list