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

2012-12-12 Thread Anton Shterenlikht
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 (0x200020094000)
libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
libz.so.5 = /lib/libz.so.5 (0x20002021)
libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
libc.so.7 = /lib/libc.so.7 (0x200020294000)
# ldd /usr/sbin/lockstat 
/usr/sbin/lockstat:
libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
libz.so.5 = /lib/libz.so.5 (0x20002021)
librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
#

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?

Thanks

Anton

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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

2012-12-12 Thread Scot Hetzel
On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht me...@bristol.ac.uk 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 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
 libc.so.7 = /lib/libc.so.7 (0x200020294000)
 # ldd /usr/sbin/lockstat
 /usr/sbin/lockstat:
 libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
 libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
 libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
 #

 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.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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

2012-12-12 Thread Scot Hetzel
On Wed, Dec 12, 2012 at 10:52 AM, Scot Hetzel swhet...@gmail.com wrote:
 On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht me...@bristol.ac.uk 
 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 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
 libc.so.7 = /lib/libc.so.7 (0x200020294000)
 # ldd /usr/sbin/lockstat
 /usr/sbin/lockstat:
 libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
 libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
 libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
 #

 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.

I had another look at cddl/usr.sbin/Makefile, and it only builds
lockstat and dtrace for i386, amd64, and powerpc.  It doesn't build
them for ia64.  So it is safe to remove them.

-- 
DISCLAIMER:

No electrons were mamedi while sending this message. Only slightly bruised.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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

2012-12-12 Thread Anton Shterenlikht
From swhet...@gmail.com Wed Dec 12 17:55:00 2012

On Wed, Dec 12, 2012 at 10:52 AM, Scot Hetzel swhet...@gmail.com 
wrote:
 On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht 
me...@bristol.ac.uk 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 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
 libc.so.7 = /lib/libc.so.7 (0x200020294000)
 # ldd /usr/sbin/lockstat
 /usr/sbin/lockstat:
 libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
 libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
 libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
 #

 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.

I had another look at cddl/usr.sbin/Makefile, and it only builds
lockstat and dtrace for i386, amd64, and powerpc.  It doesn't build
them for ia64.  So it is safe to remove them.

ok, this makes sense, thanks

Anton
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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

2012-12-12 Thread Anton Shterenlikht
From swhet...@gmail.com Wed Dec 12 17:54:59 2012

On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht 
me...@bristol.ac.uk 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 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
 libc.so.7 = /lib/libc.so.7 (0x200020294000)
 # ldd /usr/sbin/lockstat
 /usr/sbin/lockstat:
 libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
 libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
 libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
 #

 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.

UZI cat /etc/make.conf
SENDMAIL_CFLAGS+=   -I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS+=  -L/usr/local/lib
SENDMAIL_LDADD+=-lsasl2
WITH_PKGNG=yes
PERL_VERSION=5.16.2
UZI 
UZI ls /etc/src*
ls: No match.
UZI 

I did the usual make buildworld, make buildkernel, make
install kernel, reboot, make installworld.
I didn't do anything unusual.
Are you saying you've got these two files
up to date?

Thanks

Anton

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


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

2012-12-12 Thread Sergey Kandaurov
On 12 December 2012 14:07, Anton Shterenlikht me...@bristol.ac.uk 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 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 libthr.so.3 = /lib/libthr.so.3 (0x200020246000)
 libc.so.7 = /lib/libc.so.7 (0x200020294000)
 # ldd /usr/sbin/lockstat
 /usr/sbin/lockstat:
 libdtrace.so.2 = /lib/libdtrace.so.2 (0x200020094000)
 libproc.so.2 = /usr/lib/libproc.so.2 (0x200020194000)
 libctf.so.2 = /lib/libctf.so.2 (0x2000201a8000)
 libelf.so.1 = /usr/lib/libelf.so.1 (0x2000201d)
 libz.so.5 = /lib/libz.so.5 (0x20002021)
 librt.so.1 = /usr/lib/librt.so.1 (0x200020246000)
 libthr.so.3 = /lib/libthr.so.3 (0x20002025e000)
 libc.so.7 = /lib/libc.so.7 (0x2000202ac000)
 #

 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?


Both binaries stopped building for ia64 since r210693 (Jul 31 2010).

-- 
wbr,
pluknet
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org