pkgsrc-Bugs archive

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

pkg/50285: net/libtorrent fails to build on OS X Yosemite



>Number:         50285
>Category:       pkg
>Synopsis:       net/libtorrent fails to build on OS X Yosemite
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 27 15:35:00 +0000 2015
>Originator:     Sergey Litivnov
>Release:        OS X Yosemite
>Organization:
ETH
>Environment:
OS X Yosemite
>Description:
net/libtorrent fils to build on OS X Yosemite

In file included from download_data.cc:41:
./download_data.h:40:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
         ^
In file included from block.cc:44:
In file included from ./../../protocol/peer_connection_base.h:42:
./../../torrent/poll.h:40:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
         ^
In file included from chunk_utils.cc:43:
In file included from ./../../manager.h:42:
../../../rak/priority_queue_default.h:40:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
         ^
1 error generated.
gnumake[4]: *** [download_data.lo] Error 1
gnumake[4]: *** Waiting for unfinished jobs....
libtool: compile:  clang++ -DHAVE_CONFIG_H -I. -I../../.. -I./.. -I./../.. -I/Users/lisergey/src/pkgsrc/net/libtorrent/work/.buildlink/include -O2 -std=c++11 -DNDEBUG -fvisibility=hidden -D_THREAD_SAFE -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc -o block_list.o >/dev/null 2>&1
1 error generated.
gnumake[4]: *** [block.lo] Error 1
1 error generated.
gnumake[4]: *** [chunk_utils.lo] Error 1

My compiler version is
clang++ --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.3.0
Thread model: posix
>How-To-Repeat:
bmake build
in
net/libtorrent
>Fix:


Home | Main Index | Thread Index | Old Index