Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 20:39:30 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Jordi Espasa Clofent <jespasac@minibofh.org>
Cc:        freebsd-ports@freebsd.org, tor-dev@lists.torproject.org
Subject:   Re: [tor-dev] Fwd: [tor-relays] tcmalloc in FreeBSD [SOLVED ?]
Message-ID:  <CADLo83_=fOnFKSfKhqjBQmpST0-Rx8PJLVNCk2oQGKA4SQ7H7w@mail.gmail.com>
In-Reply-To: <5026921D.7050003@minibofh.org>
References:  <501DAD7F.3020007@minibofh.org> <501FDDFD.7070809@minibofh.org> <CAKDKvuxfRw=avJ-%2Be3strjnToY3B8g4%2B4J6KNN4JwVrE=L65jg@mail.gmail.com> <5020079F.3040200@minibofh.org> <CAKDKvuxJ-0Wb05FRaD0cQBGudwHUj=SO69hfc2MmwbmUEVAr2Q@mail.gmail.com> <5022CB80.1010009@minibofh.org> <CAKDKvuwA3qdhH7iU9TV7X1rr8dsN-cUV4UMHmfJM%2BZ-y6yGFnw@mail.gmail.com> <5022F1B1.2050805@minibofh.org> <CAKDKvuyNR0Kby1dDLWuS9hOojCusfi6u1-Z5xvx0O4kqAq5TFA@mail.gmail.com> <50238B1B.5090305@minibofh.org> <CAKDKvuxh7PVMgckR8m0=nRFNWAhMydEtFprqZJnqvOaprwQ_7Q@mail.gmail.com> <5025175C.10808@minibofh.org> <CAKDKvuy_o%2BdYgnFxqAC6SbVQxUKWJxmHJBz4A0deSS96jQBY5A@mail.gmail.com> <50252131.6070205@minibofh.org> <5025233D.5020705@minibofh.org> <5025894D.5080107@minibofh.org> <CAKDKvuxGxn%2B7owo09hL4DrbpGx0URG5YSva9Y7VHCZ0BrbQYcg@mail.gmail.com> <5026921D.7050003@minibofh.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 August 2012 18:10, Jordi Espasa Clofent <jespasac@minibofh.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83_=fOnFKSfKhqjBQmpST0-Rx8PJLVNCk2oQGKA4SQ7H7w>