From owner-freebsd-current@FreeBSD.ORG Wed Dec 12 16:52:54 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A6D17398 for ; Wed, 12 Dec 2012 16:52:54 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6D58FC0A for ; Wed, 12 Dec 2012 16:52:53 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c13so641234eek.13 for ; Wed, 12 Dec 2012 08:52:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=y+368HcfzwzZbWeOwcggVLyPD/CkbIil3BmTtKVMKHY=; b=EZwuN18gbuo5VPv/dMkm/ztKhNg3QqUpzT6vMTjaPPJ1yZD7SSmihIMJABusLJo0P2 0Qnvve84OOqHzB3I9KyeypRfekm50x2cBN0q97HycD1UX2sA+ki2UeOESWIUkQ15Z9VP TOS0VR6iw+zg4GVw47hNxhy2bwSZkDUpDw9p7Y+/pY173Alxf9phxzgjBRSI6sF44Ik2 dlC7dqJD141Y/MOGLRg45DEEoKrzgs8ccVYOrYEu7CJwQXUlX9SBJ0u6lpYO9ylKqsTe KBPKcrrjJydXi82X5pVMxwMkR4Q4ohGFw/LjFdOD9y/xVOaLyJzO4oSFlI8jQfq7ZvVq wq/g== MIME-Version: 1.0 Received: by 10.14.2.196 with SMTP id 44mr4277671eef.25.1355331173133; Wed, 12 Dec 2012 08:52:53 -0800 (PST) Received: by 10.14.198.71 with HTTP; Wed, 12 Dec 2012 08:52:53 -0800 (PST) In-Reply-To: <201212121007.qBCA7Hu9028406@mech-cluster241.men.bris.ac.uk> References: <201212121007.qBCA7Hu9028406@mech-cluster241.men.bris.ac.uk> Date: Wed, 12 Dec 2012 10:52:53 -0600 Message-ID: Subject: Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat From: Scot Hetzel To: mexas@bristol.ac.uk Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2012 16:52:54 -0000 On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht wrote: > I updated to r244114 on ia64 following the > standard procedure. I then get: > > # make check-old-libs >>>> Checking for old libraries > /lib/libz.so.5 > # > > while sysutils/libchk shows: > > Binaries that are linked with: /lib/libz.so.5 > /usr/sbin/dtrace > /usr/sbin/lockstat > > and indeed these two executables depend > on this library: > > # ldd /usr/sbin/dtrace > /usr/sbin/dtrace: > libdtrace.so.2 => /lib/libdtrace.so.2 (0x2000000020094000) > libproc.so.2 => /usr/lib/libproc.so.2 (0x2000000020194000) > libctf.so.2 => /lib/libctf.so.2 (0x20000000201a8000) > libelf.so.1 => /usr/lib/libelf.so.1 (0x20000000201d0000) > libz.so.5 => /lib/libz.so.5 (0x2000000020210000) > libthr.so.3 => /lib/libthr.so.3 (0x2000000020246000) > libc.so.7 => /lib/libc.so.7 (0x2000000020294000) > # ldd /usr/sbin/lockstat > /usr/sbin/lockstat: > libdtrace.so.2 => /lib/libdtrace.so.2 (0x2000000020094000) > libproc.so.2 => /usr/lib/libproc.so.2 (0x2000000020194000) > libctf.so.2 => /lib/libctf.so.2 (0x20000000201a8000) > libelf.so.1 => /usr/lib/libelf.so.1 (0x20000000201d0000) > libz.so.5 => /lib/libz.so.5 (0x2000000020210000) > librt.so.1 => /usr/lib/librt.so.1 (0x2000000020246000) > libthr.so.3 => /lib/libthr.so.3 (0x200000002025e000) > libc.so.7 => /lib/libc.so.7 (0x20000000202ac000) > # > > I see that these two executables are old: > > # ls -al /usr/sbin/dtrace /usr/sbin/lockstat > -r-xr-xr-x 1 root wheel 58976 Jul 18 2010 /usr/sbin/dtrace > -r-xr-xr-x 1 root wheel 72832 Jul 18 2010 /usr/sbin/lockstat > # > > Does this mean that both dtrace and lockstat > are obsolete and can be removed? > These 2 programs are part of the CDDL liscensed code. Do you have WITHOUT_CDDL defined in your src.conf or make.conf? If it is defined, then you can remove them. Otherwise you'll need to determine why they are not being built/installed. -- DISCLAIMER: No electrons were maimed while sending this message. Only slightly bruised.