Wind River Support Network

HomeDefectsLIN6-8307
Fixed

LIN6-8307 : CLONE - mtools-3.9.9 adds non-functional symlink /usr/bin/lz

Created: Sep 3, 2014    Updated: Dec 3, 2018
Resolved Date: Sep 18, 2014
Found In Version: 6.0
Fix Version: 6.0.0.13
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Build & Config

Description

After adding mtools-3.9.9 you can see the the following link created in the rootfs
root@qemu3:~# ls -l /usr/bin/lz
lrwxrwxrwx    1 root     root             2 Jul 18 18:07 /usr/bin/lz -> uz

This link does not seem to be pointing to a valid unzip utility:

root@qemu3:~# /usr/bin/lz
-sh: /usr/bin/lz: No such file or directory
root@qemu3:~# uz
-sh: uz: command not found

Steps to Reproduce

1. 
configure --enable-board=qemuppc --enable-kernel=standard --enable-rootfs=glibc_small --with-template=feature/debug --enable-reconfig=yes

2. add a new variable to local.conf
PREFERRED_VERSION_mtools = "3.9.9"

3. make -C build mtools.addpkg

4. make fs

5. make start-target

6. On a running target execute the unzip utility referenced by the newly created link
/usr/bin/lz

*** Expected result:
# /usr/bin/lz
Reading directory of  standard input.
gzip: compressed data not read from terminal, use -f to force it
tar: short read
# uz
Extracting from  standard input.
gzip: compressed data not read from terminal, use -f to force it
tar: short read

*** Actual result: Invalid link/utility missing

# /usr/bin/lz
-sh: /usr/bin/lz: No such file or directory
# uz
-sh: uz: command not found

Other Downloads


Live chat
Online