From nobody@FreeBSD.org  Tue Sep 20 08:10:02 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0AC32106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Sep 2011 08:10:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D01318FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Sep 2011 08:10:01 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p8K8A1iA050678
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Sep 2011 08:10:01 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p8K8A123050677;
	Tue, 20 Sep 2011 08:10:01 GMT
	(envelope-from nobody)
Message-Id: <201109200810.p8K8A123050677@red.freebsd.org>
Date: Tue, 20 Sep 2011 08:10:01 GMT
From: Andrei Lavreniyuk <andy.lavr@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [ERROR] cannot install ports/devel/google-perftools
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: yuri@tsoft.com

>Number:         160842
>Category:       ports
>Synopsis:       [ERROR] cannot install ports/devel/google-perftools
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 20 08:20:08 UTC 2011
>Closed-Date:    Sat Oct 01 13:24:28 UTC 2011
>Last-Modified:  Sun Jan  8 00:40:03 UTC 2012
>Originator:     Andrei Lavreniyuk
>Release:        FreeBSD 8.2-STABLE
>Organization:
Technica-03, Inc.
>Environment:
FreeBSD datacenter.technica-03.local 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Sep 19 10:38:39 EEST 2011     root@datacenter.technica-03.local:/usr/obj/usr/src/sys/SMP64  amd64
>Description:
/bin/sh ./libtool --tag=CXX --mode=link c++ -Wall -Wwrite-strings -Woverloaded-virtual  -Wno-sign-compare  -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -fno-builtin-calloc -fno-builtin-cfree  -fno-builtin-memalign -fno-builtin-posix_memalign  -fno-builtin-valloc -fno-builtin-pvalloc      -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -fconserve-space -no-undefined   -o atomicops_unittest  atomicops_unittest.o   libspinlock.la libsysinfo.la liblogging.la 
libtool: link: c++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -fconserve-space -o atomicops_unittest atomicops_unittest.o  ./.libs/libspinlock.a ./.libs/libsysinfo.a ./.libs/liblogging.a
if c++ -DHAVE_CONFIG_H -I. -I. -I./src  -I./src   -Wall -Wwrite-strings -Woverloaded-virtual  -Wno-sign-compare  -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -fno-builtin-calloc -fno-builtin-cfree  -fno-builtin-memalign -fno-builtin-posix_memalign  -fno-builtin-valloc -fno-builtin-pvalloc     -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -fconserve-space -MT stacktrace_unittest.o -MD -MP -MF ".deps/stacktrace_unittest.Tpo" -c -o stacktrace_unittest.o `test -f 'src/tests/stacktrace_unittest.cc' || echo './'`src/tests/stacktrace_unittest.cc;  then mv -f ".deps/stacktrace_unittest.Tpo" ".deps/stacktrace_unittest.Po"; else rm -f ".deps/stacktrace_unittest.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CXX --mode=link c++ -Wall -Wwrite-strings -Woverloaded-virtual  -Wno-sign-compare  -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc  -fno-builtin-calloc -fno-builtin-cfree  -fno-builtin-memalign -fno-builtin-posix_memalign  -fno-builtin-valloc -fno-builtin-pvalloc      -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -fconserve-space -no-undefined   -o stacktrace_unittest  stacktrace_unittest.o       libstacktrace.la liblogging.la 
libtool: link: c++ -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -fno-builtin-malloc -fno-builtin-free -fno-builtin-realloc -fno-builtin-calloc -fno-builtin-cfree -fno-builtin-memalign -fno-builtin-posix_memalign -fno-builtin-valloc -fno-builtin-pvalloc -O2 -pipe -O2 -D_FORTIFY_SOURCE=2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -fstack-protector -fno-strict-aliasing -Wformat -Wformat-security -fno-omit-frame-pointer -s -fconserve-space -o stacktrace_unittest stacktrace_unittest.o  ./.libs/libstacktrace.a ./.libs/liblogging.a
stacktrace_unittest.o(.text+0x9d): In function `(anonymous namespace)::CheckStackTraceLeaf()':
: undefined reference to `backtrace_symbols'
*** Error code 1

Stop in /usr/ports/devel/google-perftools/work/google-perftools-1.8.3.
*** Error code 1

Stop in /usr/ports/devel/google-perftools.

>How-To-Repeat:

# cd /usr/ports/devel/google-perftools

# make


>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Sep 20 08:20:19 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160842 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: yuri@tsoft.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/160842: [ERROR] cannot install ports/devel/google-perftools
Date: Tue, 20 Sep 2011 08:20:16 UT

 Maintainer of devel/google-perftools,
 
 Please note that PR ports/160842 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160842
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: crees 
State-Changed-When: Sat Oct 1 13:24:28 UTC 2011 
State-Changed-Why:  
I have explained several times now that there is no point in reporting 
ports that fail to build with clang. It is not expected that every port 
support clang yet, so breakage will occur.  The list of 
broken-with-clang ports is at 
http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp.20110723205754/ 
(some have been fixed). Please stop reporting breakage with clang unless 
you have a fix. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160842 

From: Michael Donaghy <md401@srcf.ucam.org>
To: bug-followup@freebsd.org, andy.lavr@gmail.com
Cc:  
Subject: Re: ports/160842: [ERROR] cannot install ports/devel/google-perftools
Date: Sun, 8 Jan 2012 00:00:10 +0000

 I'm getting the same error with gcc, without even having clang
 installed, so I don't think it's a clang problem.
>Unformatted:
