Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 726024 - sys-fs/snapraid fails tests
Summary: sys-fs/snapraid fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-29 06:57 UTC by Agostino Sarubbo
Modified: 2024-12-29 12:32 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,65.74 KB, text/plain)
2020-05-29 06:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-05-29 06:57:36 UTC
This is an auto-filed bug because sys-fs/snapraid fails tests.
The issue was originally discovered on amd64, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-05-29 06:57:41 UTC
Created attachment 642452 [details]
build.log

build log and emerge --info
Comment 2 Li Ze-Lin 2024-12-26 02:00:08 UTC
The log shows a dependency on the `smartctl` command.The log shows a dependency on the `smartctl` command from the package sys-apps/amsrtmontools.
Further checks on amd64 showed that a newer version of snapraid (12.3) could be installed without a smartctl command available.
Has the problem been fixed?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-26 02:39:52 UTC
(In reply to lizl2023 from comment #2)
> The log shows a dependency on the `smartctl` command.The log shows a
> dependency on the `smartctl` command from the package sys-apps/amsrtmontools.
> Further checks on amd64 showed that a newer version of snapraid (12.3) could
> be installed without a smartctl command available.
> Has the problem been fixed?

Have you verified the testsuite (`ebuild ... clean test` or `FEATURES=test emerge -v1 ...`) no longer uses it?
Comment 4 Li Ze-Lin 2024-12-26 05:58:02 UTC
(In reply to Sam James from comment #3)
> Have you verified the testsuite (`ebuild ... clean test` or `FEATURES=test
> emerge -v1 ...`) no longer uses it?

Thanks, Sam! I am sorry for dismissing the test phase. Previously, I manually built the binary without the smartctl command and didn't fail. Just now with the existing ebuild `snapraid-12.3.ebuild`, it also complaint about smartctl the missing command although the merge is successful.

Therefore, I suggest it is a bug coming from missing testing-phase dependent sys-apps/amsrtmontools, but being long ignored because of the successful installation. The fix is submitted to PR #39836 on github containing `snapraid-12.3-r1.ebuild`.
Comment 5 Larry the Git Cow gentoo-dev 2024-12-29 12:32:24 UTC
The bug has been closed via the following commit(s):

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

commit a1d6bbf78a3ef4d2c88a5bc16fac16e81b222e30
Author:     Zelin2001 <lizl2023@ion.ac.cn>
AuthorDate: 2024-12-24 11:01:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-29 12:31:23 +0000

    sys-fs/snapraid: add 12.3-r1
    
    * Add post-install hints
    * Change DESCRIPTION
    * Add missing test dependency
    
    Closes: https://bugs.gentoo.org/726024
    Signed-off-by: Zelin2001 <lizl2023@ion.ac.cn>
    Closes: https://github.com/gentoo/gentoo/pull/39836
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-fs/snapraid/snapraid-12.3-r1.ebuild | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)