From owner-freebsd-ports@FreeBSD.ORG Sat Aug 11 19:40:08 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5B17D106564A for ; Sat, 11 Aug 2012 19:40:08 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C729B8FC0C for ; Sat, 11 Aug 2012 19:40:07 +0000 (UTC) Received: by bkcje9 with SMTP id je9so1006630bkc.13 for ; Sat, 11 Aug 2012 12:40:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=EHo/1OxdbsFVaxPeCLhhCOp7kqdEeqqISwynJZfxCb4=; b=rpBjmtx2+OoDfnaHxhYvCADtpTbePJ5gXzmZETyY7uM4j4BIwabxETNEvBO3NwP56Z EzXy9/l2+UufedtXOSGCjl4Gfn/oGevDFjnu65u8y+/PMPWeqhPFxJWkfP6fEfK8ML9+ ABpq8ZgNkySOKXuyD+zgyc/4hX4+aYR5k3+37wWClNV1ve0KXMjSmMGb3HQ3a6+MEiTy zwRj6RievFVyo3tdLR7Sy624lOKeiierh3+kR9sdC+RveA7zYaQnxduyC4lfjznMN2I8 83m3pKqIUGLzM1wrk1Y1Qbt91jaERgBmr7GIilb1cgjLG9CHbMzdR3grru9GT+likWNp GcNQ== Received: by 10.204.148.72 with SMTP id o8mr2457895bkv.103.1344714000946; Sat, 11 Aug 2012 12:40:00 -0700 (PDT) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.204.231.7 with HTTP; Sat, 11 Aug 2012 12:39:30 -0700 (PDT) In-Reply-To: <5026921D.7050003@minibofh.org> References: <501DAD7F.3020007@minibofh.org> <501FDDFD.7070809@minibofh.org> <5020079F.3040200@minibofh.org> <5022CB80.1010009@minibofh.org> <5022F1B1.2050805@minibofh.org> <50238B1B.5090305@minibofh.org> <5025175C.10808@minibofh.org> <50252131.6070205@minibofh.org> <5025233D.5020705@minibofh.org> <5025894D.5080107@minibofh.org> <5026921D.7050003@minibofh.org> From: Chris Rees Date: Sat, 11 Aug 2012 20:39:30 +0100 X-Google-Sender-Auth: FQZ-cSKdd4proykSB9QhY2JsKl4 Message-ID: To: Jordi Espasa Clofent Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports@freebsd.org, tor-dev@lists.torproject.org Subject: Re: [tor-dev] Fwd: [tor-relays] tcmalloc in FreeBSD [SOLVED ?] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2012 19:40:08 -0000 On 11 August 2012 18:10, Jordi Espasa Clofent wrote= : > That's really strange. With a non-modified configure.in (which means that= is > containing this misplaced stanza), I did: > > # cd /usr/ports/security/tor/ > # make deinstall > # make clean > # make install > > and... voil=E1: > > mb# ldd /usr/local/bin/tor > /usr/local/bin/tor: > libtcmalloc.so.2 =3D> /usr/local/lib/libtcmalloc.so.2 (0x2844e000= ) > libz.so.5 =3D> /lib/libz.so.5 (0x281aa000) > libm.so.5 =3D> /lib/libm.so.5 (0x281bc000) > libevent-2.0.so.6 =3D> /usr/local/lib/event2/libevent-2.0.so.6 > (0x284b6000) > libssl.so.7 =3D> /usr/local/lib/libssl.so.7 (0x284f1000) > libcrypto.so.7 =3D> /usr/local/lib/libcrypto.so.7 (0x2853f000) > libthr.so.3 =3D> /lib/libthr.so.3 (0x281df000) > libc.so.7 =3D> /lib/libc.so.7 (0x28090000) > libstdc++.so.6 =3D> /usr/lib/libstdc++.so.6 (0x286a1000) > libgcc_s.so.1 =3D> /lib/libgcc_s.so.1 (0x281f4000) > > So it seems the 'make clean' did some magic. According to man ports(7): > > clean Remove the expanded source code. This recurses to > dependencies unless NOCLEANDEPENDS is defined. > > Should I understand it was some 'expanded source code' which was breaking= my > local ports tree? make clean removes ${WRKDIR}, which is where the sources are extracted (usually PORTSDIR/category/port/work). No magic here ;) Not sure what was going on here, but it may indicate that the misplaced stanza doesn't have a catastrophic effect. It's still wrong though! Chris