Is the libstdbuf.so from coreutils really used in some applets? The first 
install_copy in coreutils.targetinstall is to install this library to 
/usr/lib/coreutils/libstdbuf.so
It seems to me, that no coreutils applet link itself to libstdbuf.so. I ran the 
following command from the packages/coreutils-8.2 directory where all applets 
should be installed.
> # find . -type f -perm -1 | xargs readelf -a | grep NEEDED | sort | uniq
> 0x00000001 (NEEDED)                     Shared library: [libc.so.6]
> 0x00000001 (NEEDED)                     Shared library: [libgcc_s.so.1]
> 0x00000001 (NEEDED)                     Shared library: [libm.so.6]
> 0x00000001 (NEEDED)                     Shared library: [librt.so.1]

In my opinion, this should be removed at all.

Signed-off-by: Alexander Stein <[email protected]>
---
 rules/coreutils.make |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/rules/coreutils.make b/rules/coreutils.make
index f85598a..7ee1da6 100644
--- a/rules/coreutils.make
+++ b/rules/coreutils.make
@@ -90,8 +90,6 @@ $(STATEDIR)/coreutils.targetinstall:
        @$(call install_fixup, coreutils,DEPENDS,)
        @$(call install_fixup, coreutils,DESCRIPTION,missing)
 
-       @$(call install_copy, coreutils, 0, 0, 0644, -, 
/usr/lib/coreutils/libstdbuf.so)
-
 ifdef PTXCONF_COREUTILS_ECHO
        @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/echo)
 endif
-- 
1.7.1


-- 
ptxdist mailing list
[email protected]

Reply via email to