Bug 34571

Summary: wrong lsattr path hardwired
Product: Sisyphus Reporter: Michael Shigorin <mike>
Component: gnu-configAssignee: Dmitry V. Levin <ldv>
Status: CLOSED NOTABUG QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: george, grenka, ldv, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Michael Shigorin 2018-02-20 23:06:43 MSK
$ grep lsattr /usr/share/gnu-config/config.guess
   if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
$ rpm -qf /usr/share/gnu-config/config.guess
gnu-config-1.0.733.4d3-alt1.noarch
$ rpm -qf /usr/bin/lsattr                    
e2fsprogs-1.42.13-alt2.x86_64
(it was there in e2fsprogs-1.41.9-alt2 back then, too)
Comment 1 Dmitry V. Levin 2018-02-20 23:56:03 MSK
(In reply to comment #0)
> $ grep lsattr /usr/share/gnu-config/config.guess
>    if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
> $ rpm -qf /usr/share/gnu-config/config.guess
> gnu-config-1.0.733.4d3-alt1.noarch

$ lsattr -El
lsattr: invalid option -- 'E'

$ rpmquery -R gnu-config-1.0.733.4d3-alt1.noarch
/bin/sh
rpmlib(PayloadIsLzma)

Does it affect anything at all?
Comment 2 Michael Shigorin 2018-02-21 00:42:53 MSK
Some packages can gain unsatisfiable file dependencies, e.g. I see this happening to libxerces-c28-devel 2.8.0-alt3.qa5 (with autoreconf added) and LibreOffice-sdk  5.4.0.3-alt2 on e2k.
Comment 3 Dmitry V. Levin 2018-02-21 00:51:45 MSK
(In reply to comment #2)
> Some packages can gain unsatisfiable file dependencies, e.g. I see this
> happening to libxerces-c28-devel 2.8.0-alt3.qa5 (with autoreconf added) and
> LibreOffice-sdk  5.4.0.3-alt2 on e2k.

Why do they repackage config.guess?
Comment 4 Michael Shigorin 2018-02-21 01:03:58 MSK
Dunno but it's what they do indeed; likely a bug.
Comment 5 Dmitry V. Levin 2019-06-19 02:36:57 MSK
This weird lsattr invocation is intended for some non-linux operating systems.