Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926703 - sys-libs/libblockdev-3.0.4 fails tests: RuntimeError: Cannot get distro version from lsb_release output: ' /bin/sh: line 1: lsb_release: command not found'
Summary: sys-libs/libblockdev-3.0.4 fails tests: RuntimeError: Cannot get distro versi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 925455
  Show dependency tree
 
Reported: 2024-03-10 18:44 UTC by matoro
Modified: 2024-03-10 19:50 UTC (History)
1 user (show)

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


Attachments
build.log and emerge --info (file_926703.txt,189.57 KB, text/plain)
2024-03-10 18:45 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-03-10 18:44:42 UTC
Missing dep

Traceback (most recent call last):
  File "/var/tmp/portage/sys-libs/libblockdev-3.0.4/work/libblockdev-3.0.4/tests/run_tests.py", line 314, in <module>
    DISTRO, VERSION = get_version()
                      ^^^^^^^^^^^^^
  File "/var/tmp/portage/sys-libs/libblockdev-3.0.4/work/libblockdev-3.0.4/tests/utils.py", line 536, in get_version
    distro, version = get_version_from_pretty_name(pretty_name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/sys-libs/libblockdev-3.0.4/work/libblockdev-3.0.4/tests/utils.py", line 508, in get_version_from_pretty_name
    version = get_version_from_lsb()
              ^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/sys-libs/libblockdev-3.0.4/work/libblockdev-3.0.4/tests/utils.py", line 488, in get_version_from_lsb
    raise RuntimeError("Cannot get distro version from lsb_release output: '%s %s'" % (out, err))
RuntimeError: Cannot get distro version from lsb_release output: ' /bin/sh: line 1: lsb_release: command not found'

Reproducible: Always
Comment 1 matoro archtester 2024-03-10 18:45:11 UTC
Created attachment 887270 [details]
build.log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-03-10 19:50:46 UTC
The bug has been closed via the following commit(s):

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

commit f546cdd6f620e13b31f17195fdb70e0206ac9dc1
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2024-03-10 19:46:12 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2024-03-10 19:50:25 +0000

    sys-libs/libblockdev: Add missing test dependency
    
    Closes: https://bugs.gentoo.org/926703
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 sys-libs/libblockdev/libblockdev-3.0.4.ebuild | 1 +
 1 file changed, 1 insertion(+)