pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/41529 (net/libtorrent does not use --with-kqueue on platfroms providing it (*BSD))



The following reply was made to PR pkg/41529; it has been noted by GNATS.

From: Matthias Scheler <tron%NetBSD.org@localhost>
To: kordex%gmail.com@localhost
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/41529 (net/libtorrent does not use --with-kqueue on platfroms 
providing it (*BSD))
Date: Thu, 4 Jun 2009 08:34:23 +0100

        Hello,
 
 unfortunately it turns out that "libtorrent" doesn't build with
 "--with-kqueue":
 
 oll_kqueue.cc: In member function 'void 
torrent::PollKQueue::modify(torrent::Event*, short unsigned int, short int)':
 poll_kqueue.cc:86: warning: invalid conversion from 'torrent::Event*' to 
'__intptr_t'
 poll_kqueue.cc: In member function 'void torrent::PollKQueue::perform()':
 poll_kqueue.cc:149: warning: NULL used in arithmetic
 poll_kqueue.cc:152: warning: NULL used in arithmetic
 poll_kqueue.cc: In member function 'virtual void 
torrent::PollKQueue::close(torrent::Event*)':
 poll_kqueue.cc:176: error: ISO C++ forbids comparison between pointer and 
integer
 poll_kqueue.cc:177: warning: converting to non-pointer type 'long int' from 
NULL
 ../../rak/functional.h: In member function 'bool rak::equal_t<Type, 
Ftor>::operator()(Arg&) [with Arg = kevent, Type = torrent::Event*, Ftor = 
rak::mem_ref_t<kevent, long int>]':
 /usr/include/g++/bits/stl_algo.h:1216:   instantiated from '_OutputIterator 
std::remove_copy_if(_InputIterator, _InputIterator, _OutputIterator, 
_Predicate) [with _InputIterator = kevent*, _OutputIterator = kevent*, 
_Predicate = rak::equal_t<torrent::Event*, rak::mem_ref_t<kevent, long int> >]'
 /usr/include/g++/bits/stl_algo.h:1291:   instantiated from '_ForwardIterator 
std::remove_if(_ForwardIterator, _ForwardIterator, _Predicate) [with 
_ForwardIterator = kevent*, _Predicate = rak::equal_t<torrent::Event*, 
rak::mem_ref_t<kevent, long int> >]'
 poll_kqueue.cc:179:   instantiated from here
 ../../rak/functional.h:96: error: ISO C++ forbids comparison between pointer 
and integer
 gmake[4]: *** [poll_kqueue.lo] Error 1
 gmake[4]: Leaving directory 
`/src/NetBSD-current/pkgsrc/net/libtorrent/work.colwyn/libtorrent-0.12.2/src/torrent'
 gmake[3]: *** [all-recursive] Error 1
 gmake[3]: Leaving directory 
`/src/NetBSD-current/pkgsrc/net/libtorrent/work.colwyn/libtorrent-0.12.2/src/torrent'
 gmake[2]: *** [all-recursive] Error 1
 gmake[2]: Leaving directory 
`/src/NetBSD-current/pkgsrc/net/libtorrent/work.colwyn/libtorrent-0.12.2/src'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory 
`/src/NetBSD-current/pkgsrc/net/libtorrent/work.colwyn/libtorrent-0.12.2'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Please provide a patch.
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index