NetBSD Problem Report #50285

From www@NetBSD.org  Sun Sep 27 15:32:05 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 73D3CA6552
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 Sep 2015 15:32:05 +0000 (UTC)
Message-Id: <20150927153203.DB570A6553@mollari.NetBSD.org>
Date: Sun, 27 Sep 2015 15:32:03 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: net/libtorrent fails to build on OS X Yosemite
X-Send-Pr-Version: www-1.0

>Number:         50285
>Category:       pkg
>Synopsis:       net/libtorrent fails to build on OS X Yosemite
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 27 15:35:00 +0000 2015
>Closed-Date:    Tue Oct 13 04:27:57 +0000 2020
>Last-Modified:  Tue Oct 13 04:27:57 +0000 2020
>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:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Mon, 28 Dec 2015 13:04:20 +0000
State-Changed-Why:
Could you try with the new version, please?


From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
	bsiegert@NetBSD.org, slitvinov@gmail.com
Subject: Re: pkg/50285 (net/libtorrent fails to build on OS X Yosemite)
Date: Tue, 29 Dec 2015 01:50:31 +0100

 On Mon, Dec 28, 2015 at 01:04:20PM +0000, bsiegert@NetBSD.org wrote:
 > Synopsis: net/libtorrent fails to build on OS X Yosemite
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: bsiegert@NetBSD.org
 > State-Changed-When: Mon, 28 Dec 2015 13:04:20 +0000
 > State-Changed-Why:
 > Could you try with the new version, please?

 It's still broken.

 Joerg

State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 29 Dec 2015 05:11:38 +0000
State-Changed-Why:
No such luck.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 04:27:57 +0000
State-Changed-Why:
The macro conditionalization in current libtorrent versions strongly suggests this problem is fixed. Not interested in bothering someone who filed a bug 5 years ago to re-test just to be completely sure. Let me know if you are still having problems.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.