Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 790821 - sys-apps/lshw-02.19.2b - QA Notice: git: command not found
Summary: sys-apps/lshw-02.19.2b - QA Notice: git: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-18 14:57 UTC by Kim B. Sindalsen
Modified: 2021-05-18 15:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kim B. Sindalsen 2021-05-18 14:57:34 UTC
Seems like the ebuild for lshw-02.19.2b *needs* dev-vcs/git to not throw this?

 * QA Notice: command not found:
 *
 *      /bin/sh: line 1: git: command not found
 *      /bin/sh: line 1: git: command not found
 *      /bin/sh: line 1: git: command not found
 *      /bin/sh: line 1: git: command not found
 *      /bin/sh: line 1: git: command not found


Noticed this when compiling:

make[2]: Leaving directory '/var/tmp/portage/sys-apps/lshw-02.19.2b/work/lshw-B.02.19.2/src/core'
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -fgraphite-identity -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=4 -fuse-linker-plugin -fno-fat-lto-objects -O2 -pipe -fomit-frame-pointer -march=btver2 -mmmx -msse -msse2 -msse3 -mssse3 -msse4a -mcx16 -msahf -mmovbe -maes -mpclmul -mpopcnt -mabm -mbmi -mavx -msse4.2 -msse4.1 -mlzcnt -mrdrnd -mf16c -mprfchw -mfxsr -mxsave -mxsaveopt --param=l1-cache-size=32 --param=l1-cache-line-size=64 --param=l2-cache-size=2048 -mtune=btver2 -ftree-vectorize -flifetime-dse=1 -L./core/ -Wl,--as-needed -o lshw lshw.o -llshw -lresolv
/bin/sh: line 1: git: command not found

As the last before

make[1]: Leaving directory '/var/tmp/portage/sys-apps/lshw-02.19.2b/work/lshw-B.02.19.2/src'
>>> Source compiled.
>>> Test phase [not enabled]: sys-apps/lshw-02.19.2b
Comment 1 Ben Kohler gentoo-dev 2021-05-18 15:10:51 UTC
Thanks, it seems that I've never tested these ebuilds on any systems w/o git installed =) The incoming fix will also fix lshw -version output.
Comment 2 Larry the Git Cow gentoo-dev 2021-05-18 15:18:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a12abdb4564e5b481ca1df21a3d7eeb7d1aaf453

commit a12abdb4564e5b481ca1df21a3d7eeb7d1aaf453
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2021-05-18 15:17:44 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-05-18 15:17:56 +0000

    sys-apps/lshw: properly set VERSION & stop calling git
    
    Closes: https://bugs.gentoo.org/790821
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 sys-apps/lshw/Manifest                       |  2 +-
 sys-apps/lshw/lshw-02.19.2b.ebuild           | 10 +++++-----
 sys-apps/lshw/lshw-02.19.2b_p20210121.ebuild |  8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)