Re: Need help from someone with boost fu + RELENG_6

2010-01-28 Thread Doug Barton

On 01/27/10 05:36, Alexander Churanov wrote:

Doug,

I was testing boost-1.41 against net-p2p/rblibtorrent before updating. The
pointyhat status for rblibtorrent on FreeBSD 7 and 8 is green. This may
indicate that the issue is a bug in GCC and should be fixed by adding
USE_GCC=4.2+ to all ports that use Boost.

At present I am testing boost-1.42.0-beta1. I'll try to include FreeBSD 6 in
the test cycle.


Just wanted to say that I saw your note, that I appreciate you following 
up, and that I eagerly await your results. :)



Doug

--

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

___
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: Need help from someone with boost fu + RELENG_6

2010-01-27 Thread Alexander Churanov
Doug,

I was testing boost-1.41 against net-p2p/rblibtorrent before updating. The
pointyhat status for rblibtorrent on FreeBSD 7 and 8 is green. This may
indicate that the issue is a bug in GCC and should be fixed by adding
USE_GCC=4.2+ to all ports that use Boost.

At present I am testing boost-1.42.0-beta1. I'll try to include FreeBSD 6 in
the test cycle.

Alexander Churanov,
maintainer of devel/boost-*
___
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: Need help from someone with boost fu + RELENG_6

2010-01-23 Thread Doug Barton
On 01/18/10 17:11, Chuck Swiger wrote:
 Hi, Doug--
 
 On Jan 18, 2010, at 1:17 PM, Doug Barton wrote:
 However I apparently inherited some build problems on 6-stable that I
 don't understand, and since I don't have a 6-stable system available I
 cannot test fixes for. The problems appear to be boost-related, both
 more or less look like this:

 In file included from /usr/local/include/boost/thread/future.hpp:12,
 from /usr/local/include/boost/thread.hpp:24,
 from ../include/libtorrent/storage.hpp:45,
 from ../include/libtorrent/peer_connection.hpp:63,
 from peer_connection.cpp:41:
 /usr/local/include/boost/exception_ptr.hpp:43: error: looser throw
 specifier for `virtual boost::exception_ptr::~exception_ptr()'
 /usr/local/include/boost/exception/detail/exception_ptr_base.hpp:27:
 error:   overriding `virtual
 boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()'
 [ ... ]
 
 Whether this constitutes a legitimate problem or something that the compiler 
 should figure out seems to be arguable-- evidently this sort of error is 
 highly dependent upon the compiler version.  The following changes seems to 
 allow net-p2p/rblibtorrent to build successfully under 6-STABLE:
 
 --- /usr/local/include/boost/exception/detail/exception_ptr_base.hpp~ 
 2010-01-18 18:20:52.0 -0500
 +++ /usr/local/include/boost/exception/detail/exception_ptr_base.hpp  
 2010-01-18 19:03:46.0 -0500
 @@ -23,7 +23,7 @@
  protected:
  
  virtual
 -~exception_ptr_base() throw()
 +~exception_ptr_base()
  {
  }
  };
 
 --- libtorrent-0.13/src/storage.cpp~  2010-01-18 17:11:00.0 -0500
 +++ libtorrent-0.13/src/storage.cpp   2010-01-18 19:19:05.0 -0500
 @@ -378,7 +378,7 @@
  
   size_type read_impl(char* buf, int slot, int offset, int size, 
 bool fill_zero);
  
 - ~storage()
 + ~storage() throw ()
   { m_files.release(this); }
  
   boost::intrusive_ptrtorrent_info const m_info;
 
 Eww.  It's entirely possible that adding a USE_GCC=4.2+ line to Boost or 
 these ports might provide a cleaner solution.  Or consult someone who knows 
 C++ better than I...
 
 Regards,

I appreciate the response. Is it possible for me to make just the change
you suggested to the libtorrent sources and have it work, or does this
require that boost libs be changed too?


Doug

-- 

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

___
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


Need help from someone with boost fu + RELENG_6

2010-01-18 Thread Doug Barton
Howdy,

I recently took over the net-p2p/rblibtorrent* ports with an eye towards
modernizing them, and my ultimate goal of getting a modern version of
qbittorrent working, which I've done.

However I apparently inherited some build problems on 6-stable that I
don't understand, and since I don't have a 6-stable system available I
cannot test fixes for. The problems appear to be boost-related, both
more or less look like this:

In file included from /usr/local/include/boost/thread/future.hpp:12,
 from /usr/local/include/boost/thread.hpp:24,
 from ../include/libtorrent/storage.hpp:45,
 from ../include/libtorrent/peer_connection.hpp:63,
 from peer_connection.cpp:41:
/usr/local/include/boost/exception_ptr.hpp:43: error: looser throw
specifier for `virtual boost::exception_ptr::~exception_ptr()'
/usr/local/include/boost/exception/detail/exception_ptr_base.hpp:27:
error:   overriding `virtual
boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()'
peer_connection.cpp: In member function `void
libtorrent::peer_connection::second_tick(float)':
peer_connection.cpp:2989: warning: converting to `int' from `float'
peer_connection.cpp:2993: warning: converting to `int' from `float'
*** Error code 1

The actual logs are here:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.20100117082456/rblibtorrent-0.13.log
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.6.20100117082456/rblibtorrent-devel-0.14.8.log

If anyone can help me out on this I would really appreciate it (and more
importantly so would our users). I'm hoping that since the errors are
basically the same that hopefully the fix will be obvious and simple. :)


Doug

-- 

Improve the effectiveness of your Internet presence with
a domain name makeover!http://SupersetSolutions.com/

Computers are useless. They can only give you answers.
-- Pablo Picasso

___
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: Need help from someone with boost fu + RELENG_6

2010-01-18 Thread Chuck Swiger
Hi, Doug--

On Jan 18, 2010, at 1:17 PM, Doug Barton wrote:
 However I apparently inherited some build problems on 6-stable that I
 don't understand, and since I don't have a 6-stable system available I
 cannot test fixes for. The problems appear to be boost-related, both
 more or less look like this:
 
 In file included from /usr/local/include/boost/thread/future.hpp:12,
 from /usr/local/include/boost/thread.hpp:24,
 from ../include/libtorrent/storage.hpp:45,
 from ../include/libtorrent/peer_connection.hpp:63,
 from peer_connection.cpp:41:
 /usr/local/include/boost/exception_ptr.hpp:43: error: looser throw
 specifier for `virtual boost::exception_ptr::~exception_ptr()'
 /usr/local/include/boost/exception/detail/exception_ptr_base.hpp:27:
 error:   overriding `virtual
 boost::exception_detail::exception_ptr_base::~exception_ptr_base() throw ()'
[ ... ]

Whether this constitutes a legitimate problem or something that the compiler 
should figure out seems to be arguable-- evidently this sort of error is highly 
dependent upon the compiler version.  The following changes seems to allow 
net-p2p/rblibtorrent to build successfully under 6-STABLE:

--- /usr/local/include/boost/exception/detail/exception_ptr_base.hpp~   
2010-01-18 18:20:52.0 -0500
+++ /usr/local/include/boost/exception/detail/exception_ptr_base.hpp
2010-01-18 19:03:46.0 -0500
@@ -23,7 +23,7 @@
 protected:
 
 virtual
-~exception_ptr_base() throw()
+~exception_ptr_base()
 {
 }
 };

--- libtorrent-0.13/src/storage.cpp~2010-01-18 17:11:00.0 -0500
+++ libtorrent-0.13/src/storage.cpp 2010-01-18 19:19:05.0 -0500
@@ -378,7 +378,7 @@
 
size_type read_impl(char* buf, int slot, int offset, int size, 
bool fill_zero);
 
-   ~storage()
+   ~storage() throw ()
{ m_files.release(this); }
 
boost::intrusive_ptrtorrent_info const m_info;

Eww.  It's entirely possible that adding a USE_GCC=4.2+ line to Boost or these 
ports might provide a cleaner solution.  Or consult someone who knows C++ 
better than I...

Regards,
-- 
-Chuck

___
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