Re: gcc update breakage

2014-03-10 Thread Gerald Pfeifer
Hi, let me add po...@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

?

Gerald
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gcc update breakage

2014-03-10 Thread Kenta S.
On 03/10/2014 at 10:36 PM, Gerald Pfeifer ger...@pfeifer.com wrote:

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

I don't think this port is very well put together. The maintainer before az@
was very bad at updating or fixing it. I see az@ has recently abandoned it
too, so now we have no maintainer. :(

I tried this change to the Makefile and now it works properly, thanks.


--- /tmp/Makefile   2014-03-10 22:45:57.0 -0400
+++ Makefile2014-03-10 22:46:43.0 -0400
@@ -9,9 +9,8 @@
 MAINTAINER=po...@freebsd.org
 COMMENT=   BitTorrent Client written in C++

-BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-RUN_DEPENDS=   libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
-LIB_DEPENDS=   libcurl.so:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=   libtorrent.so:${PORTSDIR}/net-p2p/libtorrent \
+   libcurl.so:${PORTSDIR}/ftp/curl

 CONFLICTS= rtorrent-devel-[0-9]*

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: gcc update breakage

2014-03-10 Thread Andrej Zverev
Yes, sorry. I found that I don't have time for such software. I now
using transmission client instead rtorrent. Since even I tried many
patches from other distros.. they not worked for me and upstream
almost dead.

As about why dependency so strict.
rtorrent needs in library libtorrent
rtorrent needs in library libtorrent-devel

For example rtorrent binary can fail to work with
 - old library.
 - library from another port. (-devel).
Since library version never changes thats why it in build_depends.
That's what I know.




On Tue, Mar 11, 2014 at 6:48 AM, Kenta S. ken...@hush.com wrote:
 On 03/10/2014 at 10:36 PM, Gerald Pfeifer ger...@pfeifer.com wrote:

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

 I don't think this port is very well put together. The maintainer before az@
 was very bad at updating or fixing it. I see az@ has recently abandoned it
 too, so now we have no maintainer. :(

 I tried this change to the Makefile and now it works properly, thanks.


 --- /tmp/Makefile   2014-03-10 22:45:57.0 -0400
 +++ Makefile2014-03-10 22:46:43.0 -0400
 @@ -9,9 +9,8 @@
  MAINTAINER=po...@freebsd.org
  COMMENT=   BitTorrent Client written in C++

 -BUILD_DEPENDS= libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
 -RUN_DEPENDS=   libtorrent=0.13.2_1:${PORTSDIR}/net-p2p/libtorrent
 -LIB_DEPENDS=   libcurl.so:${PORTSDIR}/ftp/curl
 +LIB_DEPENDS=   libtorrent.so:${PORTSDIR}/net-p2p/libtorrent \
 +   libcurl.so:${PORTSDIR}/ftp/curl

  CONFLICTS= rtorrent-devel-[0-9]*

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org