Bug 654807

Summary: Please bump version to 0.15.4
Product: [Fedora] Fedora Reporter: leigh scott <leigh123linux>
Component: rb_libtorrentAssignee: Peter Gordon <peter>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: gilboad, jvcelak, leigh123linux, mtasaka, peter, pmachata
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-15 18:12:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
My pathetic effort none

Description leigh scott 2010-11-18 19:47:21 UTC
0.15.4 has matured enough to use.

Please respond ASAP as I don't wish to report you MIA.

Comment 1 leigh scott 2010-12-16 12:14:48 UTC
email sent.

Comment 2 leigh scott 2010-12-30 10:52:10 UTC
email sent.

Comment 3 leigh scott 2011-02-05 12:16:52 UTC
rb_libtorrent is not usable in F15

http://koji.fedoraproject.org/koji/taskinfo?taskID=2763669

Comment 4 Mamoru TASAKA 2011-02-06 15:57:31 UTC
(In reply to comment #3)
> rb_libtorrent is not usable in F15
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2763669

However rb_libtorrent 0.15.5 won't compile with current rawhide
boost either
http://koji.fedoraproject.org/koji/taskinfo?taskID=2765024

Comment 5 leigh scott 2011-02-07 15:26:36 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > rb_libtorrent is not usable in F15
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=2763669
> 
> However rb_libtorrent 0.15.5 won't compile with current rawhide
> boost either
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2765024

There seems to be a version struggle between boost filesystem v2 & v3

I tried this and got a little further.


--- libtorrent-rasterbar-0.15.5.orig/include/libtorrent/debug.hpp	2009-08-26 07:19:55.000000000 +0100
+++ libtorrent-rasterbar-0.15.5/include/libtorrent/debug.hpp	2011-02-07 14:26:46.786639260 +0000
@@ -57,7 +57,7 @@ namespace libtorrent
 {
 	// DEBUG API
 	
-	namespace fs = boost::filesystem;
+	namespace fs = boost::filesystem3;
 
 	struct logger
 	{
--- libtorrent-rasterbar-0.15.5.orig/include/libtorrent/file_storage.hpp	2010-04-10 22:48:34.000000000 +0100
+++ libtorrent-rasterbar-0.15.5/include/libtorrent/file_storage.hpp	2011-02-07 14:35:03.936508549 +0000
@@ -53,7 +53,7 @@ POSSIBILITY OF SUCH DAMAGE.
 
 namespace libtorrent
 {
-	namespace fs = boost::filesystem;
+	namespace fs = boost::filesystem3;
 
 	struct TORRENT_EXPORT file_entry
 	{


http://koji.fedoraproject.org/koji/taskinfo?taskID=2767224

http://koji.fedoraproject.org/koji/getfile?taskID=2767225&name=build.log


It looks like there is also a gcc 4.6.0 issue as well

Comment 6 leigh scott 2011-02-07 15:29:40 UTC
Created attachment 477435 [details]
My pathetic effort

Comment 7 Mamoru TASAKA 2011-02-07 21:06:46 UTC
Well, it seems that adding -DBOOST_FILESYSTEM_VERSION=2 is
enough:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2768213
Leigh, would you check this? (I just built this and have not
tried using this yet).

Note that with the same workaround I also rebuilt 
rb_libtorrent-0.14.11-2.fc15
http://koji.fedoraproject.org/koji/taskinfo?taskID=2768191
so for now you can use this on rawhide buildtree.

Comment 8 leigh scott 2011-02-08 09:35:47 UTC
(In reply to comment #7)
> Well, it seems that adding -DBOOST_FILESYSTEM_VERSION=2 is
> enough:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2768213
> Leigh, would you check this? (I just built this and have not
> tried using this yet).
> 
> Note that with the same workaround I also rebuilt 
> rb_libtorrent-0.14.11-2.fc15
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2768191
> so for now you can use this on rawhide buildtree.

I'm having to patch qbittorrent and torium to use v2, is it possible to patch libtorrent-rasterbar.pc to include the -DBOOST_FILESYSTEM_VERSION=2 cflag to fix this issue

Comment 9 Mamoru TASAKA 2011-02-08 17:00:11 UTC
(In reply to comment #8)
> I'm having to patch qbittorrent and torium to use v2, is it possible to patch
> libtorrent-rasterbar.pc to include the -DBOOST_FILESYSTEM_VERSION=2 cflag to
> fix this issue

Good catch, thank you. Would you try
0.14.10:
http://koji.fedoraproject.org/koji/buildinfo?buildID=220557
and 0.15.5:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2786413
?

Comment 10 leigh scott 2011-02-08 17:49:02 UTC
(In reply to comment #9)

> 
> Would you try
> 0.14.10:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=220557
> and 0.15.5:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2786413
> ?

Yes, it may be a while till the rawhide buildroot updates (it's been 5 hours+ without updating).
I will try 0.15.5 when the fuss dies down.

Comment 11 leigh scott 2011-02-10 11:27:27 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I'm having to patch qbittorrent and torium to use v2, is it possible to patch
> > libtorrent-rasterbar.pc to include the -DBOOST_FILESYSTEM_VERSION=2 cflag to
> > fix this issue
> 
> Good catch, thank you. Would you try
> 0.14.10:
> http://koji.fedoraproject.org/koji/buildinfo?buildID=220557
> and 0.15.5:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=2786413
> ?

I have tested both versions in F15 with qbittorrent and the package functions as expected.
I have also tested 0.15.5 python bindings with Miro and it work great.
Can you push 0.15.5 to F15?

Thanks

Leigh

Comment 12 Mamoru TASAKA 2011-02-10 11:55:18 UTC
(In reply to comment #11)
> I have tested both versions in F15 with qbittorrent and the package functions
> as expected.
> I have also tested 0.15.5 python bindings with Miro and it work great.

Thank you for testing.

> Can you push 0.15.5 to F15?

Well, I am not the maintainer of rb_libtorrent, however
as we definitely should push 0.15.5 into F-15 and branching
is to happen, I will push this.

Comment 13 Mamoru TASAKA 2011-02-10 12:10:36 UTC
Well, on my environ $ fedpkg new-sources aborts....

Comment 14 leigh scott 2011-02-10 12:23:37 UTC
(In reply to comment #13)
> Well, on my environ $ fedpkg new-sources aborts....

Try updating to the latest version (fedpkg-0.5.3.0)

Comment 15 Mamoru TASAKA 2011-02-10 12:39:55 UTC
(In reply to comment #14)
> (In reply to comment #13)
> > Well, on my environ $ fedpkg new-sources aborts....
> Try updating to the latest version (fedpkg-0.5.3.0)

Well, actually it was due to my failure, %changelog date entry
was not in order...

rb_libtorrent 0.15.5-1 is now built.
http://koji.fedoraproject.org/koji/buildinfo?buildID=227901
Now waiting for kojira's new-repo task for dist-f15-build.

Comment 16 Mamoru TASAKA 2011-02-10 14:28:58 UTC
Okay, now
* rb_libtorrent-0.15.5-2.fc15 was built, soname changing
* qbittorrent-2.7.0-0.2.beta1.fc15
  torium-0.4.2-14.fc15
  were rebuilt against new rb_libtorrent
  - Now new patch is needed for torium to include needed header files
    in boost, old rb_libtorrent was pulling in the header files needed
    for torium
+ deluge 1.3.1 is working well with rb_libtorrent 0.15.5

! fatrat, springlobby also need rebuilding against new rb_libtorrent,
  however for now I have not requested rebuild yet because
  they fail to build with old rb_libtorrent, due to the change in
  boost.

Comment 17 leigh scott 2011-02-10 16:01:18 UTC
(In reply to comment #16)
> Okay, now
> * rb_libtorrent-0.15.5-2.fc15 was built, soname changing
> * qbittorrent-2.7.0-0.2.beta1.fc15
>   torium-0.4.2-14.fc15
>   were rebuilt against new rb_libtorrent
>   - Now new patch is needed for torium to include needed header files
>     in boost, old rb_libtorrent was pulling in the header files needed
>     for torium
> + deluge 1.3.1 is working well with rb_libtorrent 0.15.5
> 
> ! fatrat, springlobby also need rebuilding against new rb_libtorrent,
>   however for now I have not requested rebuild yet because
>   they fail to build with old rb_libtorrent, due to the change in
>   boost.

Thank you for patching torium for 0.15.x , I will forward the patch upstream.

Comment 18 leigh scott 2011-02-11 20:33:22 UTC
(In reply to comment #16)
> Okay, now

> 
> ! fatrat, springlobby also need rebuilding against new rb_libtorrent,
>   however for now I have not requested rebuild yet because
>   they fail to build with old rb_libtorrent, due to the change in
>   boost.


Here's my thank you 

I have patched the libnotify issue and specified boost_filesystem version and it builds OK here



SRPM: http://leigh123linux.fedorapeople.org/pub/srpm/springlobby-0.120-3.fc15.src.rpm

Comment 19 leigh scott 2011-02-12 04:56:41 UTC
I have added gilboad to this ticket as I'm getting spammed with his build failure for springlobby.
The srpm in post #18 should fix the build issue.

Comment 20 Gilboa Davara 2011-02-13 07:44:52 UTC
Thanks for the head's up.
I'll add this to the next springlobby build.

- Gilboa

Comment 21 Petr Machata 2011-02-14 17:28:09 UTC
FWIW, -DBOOST_FILESYSTEM=2 should be considered a temporary workaround.  Support for boost::filesystem v2 will go away eventually.

Comment 22 Mamoru TASAKA 2011-02-14 17:40:06 UTC
(In reply to comment #21)
> FWIW, -DBOOST_FILESYSTEM=2 should be considered a temporary workaround. 
> Support for boost::filesystem v2 will go away eventually.

But not on F-15, will it? F-15 branch is already split from rawhide and
removing v2 boost::filesystem on F-15 will be considered unacceptable
on F-15 at this time.

Comment 23 Mamoru TASAKA 2011-02-14 17:46:34 UTC
And if boost::filesystem v2 supports go away on F-16, you should
announce it on devel list.

Comment 24 Petr Machata 2011-02-14 18:00:07 UTC
(In reply to comment #22)
> (In reply to comment #21)
> > FWIW, -DBOOST_FILESYSTEM=2 should be considered a temporary workaround. 
> > Support for boost::filesystem v2 will go away eventually.
> 
> But not on F-15, will it? F-15 branch is already split from rawhide and
> removing v2 boost::filesystem on F-15 will be considered unacceptable
> on F-15 at this time.

No, certainly not.  Exactly when it will happen is a question.  It says here:
  http://beta.boost.org/doc/libs/1_46_0_beta1/libs/filesystem/v3/doc/index.htm
that it will be gone in .48.  That will likely be the version in F16, given our schedules.

Comment 25 Mamoru TASAKA 2011-02-14 18:06:25 UTC
(In reply to comment #24)
> (In reply to comment #22)
> > (In reply to comment #21)
> > > FWIW, -DBOOST_FILESYSTEM=2 should be considered a temporary workaround. 
> > > Support for boost::filesystem v2 will go away eventually.
> > 
> > But not on F-15, will it? F-15 branch is already split from rawhide and
> > removing v2 boost::filesystem on F-15 will be considered unacceptable
> > on F-15 at this time.
> 
> No, certainly not.  Exactly when it will happen is a question.  It says here:
>   http://beta.boost.org/doc/libs/1_46_0_beta1/libs/filesystem/v3/doc/index.htm
> that it will be gone in .48.  That will likely be the version in F16, given our
> schedules.

Okay, thank you for information.

Comment 26 Mamoru TASAKA 2011-03-15 18:12:22 UTC
Once closing.