<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>182816</bug_id>
          
          <creation_ts>2007-06-21 20:00 0000</creation_ts>
          <short_desc>&gt;=net-p2p/rtorrent-0.7.6 xmlrpc support</short_desc>
          <delta_ts>2008-08-06 18:22:29 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2007.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <votes>1</votes>
          <everconfirmed>1</everconfirmed>
          <reporter>lmi@ift.uni.wroc.pl</reporter>
          <assigned_to>loki_val@gentoo.org</assigned_to>
          <cc>ace@staticwave.ca</cc>
    
    <cc>avuton@gmail.com</cc>
    
    <cc>bugzilla.gentoo.simon@arlott.org</cc>
    
    <cc>cgibreak@gmail.com</cc>
    
    <cc>dcecchin@gmail.com</cc>
    
    <cc>drizzt@gentoo.org</cc>
    
    <cc>emilbeinroth@gmx.net</cc>
    
    <cc>jwbraun@gmail.com</cc>
    
    <cc>luckyluke@softhome.net</cc>
    
    <cc>mortenjo@ifi.uio.no</cc>
    
    <cc>net-p2p@gentoo.org</cc>
    
    <cc>ssuominen@gentoo.org</cc>
    
    <cc>tom78999@gmail.com</cc>
    
    <cc>vladimir@greenmice.info</cc>

      

      
          <long_desc isprivate="0">
            <who>lmi@ift.uni.wroc.pl</who>
            <bug_when>2007-06-21 20:00:31 0000</bug_when>
            <thetext>New {lib,r}torrent released. As to libtorrent there&apos;s no change (that I know of) in the build process, rtorrent now has the optional xmlrcp support, and the bug 151221 is not a case in this version, so the flag -O2 -&gt; -O3 replacement becomes obsolete.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmi@ift.uni.wroc.pl</who>
            <bug_when>2007-06-21 20:01:40 0000</bug_when>
            <thetext>Created an attachment (id=122724)
Proposed ebuild.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ace@staticwave.ca</who>
            <bug_when>2007-06-28 01:28:50 0000</bug_when>
            <thetext>Reference for release
http://rakshasa.no/pipermail/libtorrent-devel/2007-June/001180.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>newsgroup.spam@nv-systems.net</who>
            <bug_when>2007-07-09 17:13:35 0000</bug_when>
            <thetext>Compiles fine and (seems to) work fine for me on amd64 - both the new rtorrent script and the renamed libtorrent.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vladimir@greenmice.info</who>
            <bug_when>2007-07-25 07:31:33 0000</bug_when>
            <thetext>From http://libtorrent.rakshasa.no/wiki/RTorrentXMLRPCGuide:
&quot;What you need:

    * http://python.ca/scgi/ for Apache, Lighttpd should have this built-in.
    * http://xmlrpc-c.sourceforge.net/ 1.00 or later, 1.07 or later for 64bit integer support.
    * rtorrent 0.7.5 or later. &quot;

So, I think we should make something like
xmlrpc? (
        !amd64? (&gt;=dev-libs/xmlrpc-c-1.00)
        amd64? (&gt;=dev-libs/xmlrpc-c-1.007)
)

with RDEPEND.

Also, I suggest add some note about scgi.

Sorry, if I&apos;m not right.

PS: both rtorrent 0.7.5 &amp; libtorrent 0.11.5 forks fine for me (x86).
xmlprc support not yet tested</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2007-08-03 10:35:49 0000</bug_when>
            <thetext>rtorrent 0.7.6 &amp; libtorrent 0.11.6 out now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bugzilla.gentoo.simon@arlott.org</who>
            <bug_when>2007-08-04 12:37:12 0000</bug_when>
            <thetext>The ebuilds are missing econf $(use_enable ipv6).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bailey@tgpsolutions.com</who>
            <bug_when>2007-08-21 17:19:27 0000</bug_when>
            <thetext>rtorrent 0.7.7 and libtorrent 0.11.7 are out now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dcecchin@gmail.com</who>
            <bug_when>2007-08-21 22:11:27 0000</bug_when>
            <thetext>not as stable upstream versions.

Stable Release

    * libtorrent-0.11.6.tar.gz
    * rtorrent-0.7.6.tar.gz 

Unstable Release

Renamed all commands from e.g &quot;get_d_*&quot; to &quot;d.get_*&quot;. Removed support for appending multiple arguments to a &apos;schedule&apos; command, it must now be quoted, e.g &apos;schedule=foo,5,5,&quot;print=foo,bar&quot;&apos;. Remember to update your rc file.

    * libtorrent-0.11.7.tar.gz
    * rtorrent-0.7.7.tar.gz</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>newsgroup.spam@nv-systems.net</who>
            <bug_when>2007-08-25 01:16:14 0000</bug_when>
            <thetext>rtorrent 0.7.6 (attached ebuild) + libtorrent 0.11.6 (renamed ebuild)
work fine here on amd64. Would be nice to see this update in portage.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmi@ift.uni.wroc.pl</who>
            <bug_when>2007-09-06 08:48:49 0000</bug_when>
            <thetext>&gt; The ebuilds are missing econf $(use_enable ipv6).
Well, viewing the code proves that INET6 support introduces almost no overhead, so as there&apos;s no problems (?) with it enabled by default, IMO it should be left as is. 

&gt; amd64? (&gt;=dev-libs/xmlrpc-c-1.07)
Sure, when I was modifing the ebuild I wasn&apos;t aware of it.

&gt; I suggest add some note about scgi.
Most certanly yes. Current one provides info like `rtorrent now supports a configuration file&apos;, so it is indeed outdated.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2007-09-09 11:03:48 0000</bug_when>
            <thetext>rtorrent in tree is at 0.7.8..</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmi@ift.uni.wroc.pl</who>
            <bug_when>2007-09-19 09:24:14 0000</bug_when>
            <thetext>From rtorrent-0.7.8.ebuild: `--disable-xmlrpc-c: I want to keep it disabled while &gt;=dev-libs/xmlrpc-c-1.07 is masked&apos;.  Supposedly that version is needed for amd64, so `amd64? (&gt;=dev-libs/xmlrpc-c-1.07)&apos;, or no amd64 KEYWORD at all might suffice. Anyways good something has moved.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tom78999@gmail.com</who>
            <bug_when>2007-11-09 21:09:09 0000</bug_when>
            <thetext>For what it&apos;s worth, I have been using the ebuild attached to this bug (renamed for rtorrent-0.7.9) in conjunction with dev-libs/xmlrpc-c-1.06.09 on a amd64 machine for over a week now and everything has worked fine.

So, I am skeptical about a requirement of &gt;=dev-libs/xmlrpc-c-1.07 for the amd64 architecture as I have been making use of the xmlrpc interface constantly (via wTorrent[1]) and it hasn&apos;t failed me yet.

[1] http://canbruixa.homelinux.net/wt/</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>lmi@ift.uni.wroc.pl</who>
            <bug_when>2007-11-11 18:29:57 0000</bug_when>
            <thetext>Further digging shows that 64 integer support has nothing to do with arch.  1.07 is needed for 64 bit results.  Therefor output for torrents with size bigger than 2^31-1 bytes (approx. 2.1GB) is wrong/false with &lt;1.07.  I am not sure if that&apos;s the developer&apos;s reasoning to disable the feature completly.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mortenjo@ifi.uio.no</who>
            <bug_when>2007-11-13 08:35:02 0000</bug_when>
            <thetext>Regardless of which xmlrpc-c version is needed for 64bit, could those of us not running 64bit get the xmlrpc support?

I would suggest using a USE flag for xmlrpc, and then require the correct version of xmlrpc-c for the architecture you&apos;re running on.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-01-10 11:12:12 0000</bug_when>
            <thetext>I can at least confirm that xmlrpc-c &lt; 1.07 doesn&apos;t do 64bit integers onn 64bit archs. I&apos;m in that case and I get (signed) numbers wrapped at 2G to -2G when using rtgui to manage my rtorrent through xmlrpc-c-1.06.09.
It should really be independent from the arch.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ssuominen@gentoo.org</who>
            <bug_when>2008-05-31 12:23:57 0000</bug_when>
            <thetext>Err.. is there something we still need to change for rtorrent-0.8.2.ebuild ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-05-31 16:03:18 0000</bug_when>
            <thetext>The xmlrpc-c issue is independent from rtorrent, and the misaligned accesses on HPPA (and possibly other 64bit archs) aren&apos;t, as far as I know, anything that could be solved in the ebuild but needs upstream attention.
So nothing to be done in the ebuild as far as I know.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-06-16 07:54:22 0000</bug_when>
            <thetext>After upgrading to:
 * dev-libs/xmlrpc-c-1.14.07
 * net-libs/libtorrent-0.12.2-r2
 * net-p2p/rtorrent-0.8.2-r2

everything is working fine on HPPA. It even shows correct file sizes in rtGui (a web interface working through xmlrpc - see bug #182816)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>luckyluke@softhome.net</who>
            <bug_when>2008-06-16 07:55:57 0000</bug_when>
            <thetext>(In reply to comment #19)
&gt; (see bug #182816)
Please ignore the circular reference :)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-08-06 18:22:29 0000</bug_when>
            <thetext>rtorrent-0.8.2-r3 has xmlrpc support. Unaligned accesses adressed also. If you use xmlrpc-c-1.14.07 (Which I will promptly make multlib-strict), you will get 64-bit integer support. Closing. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>122724</attachid>
            <date>2007-06-21 20:01 0000</date>
            <desc>Proposed ebuild.</desc>
            <filename>rtorrent-0.7.5.ebuild</filename>
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