Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 736392 - dev-haskell/githash-0.1.3.3 fails tests
Summary: dev-haskell/githash-0.1.3.3 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-08 09:50 UTC by Agostino Sarubbo
Modified: 2020-08-19 22:01 UTC (History)
0 users

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


Attachments
build.log (build.log,14.66 KB, text/plain)
2020-08-08 09:50 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-08-08 09:50:17 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-haskell/githash-0.1.3.3 fails tests.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses a clang/LLVM toolchain.
If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue is strictly related to the LLD linker, please block bug 731004.
Comment 1 Agostino Sarubbo gentoo-dev 2020-08-08 09:50:23 UTC
Created attachment 653758 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-08-08 10:15:05 UTC
"""
Running 1 test suites...
Test suite githash-spec: RUNNING...
warning: templates not found in /usr/share/git-core/templates
warning: templates not found in /usr/share/git-core/templates
warning: templates not found in /usr/share/git-core/templates
warning: templates not found in /usr/share/git-core/templates
git: 'submodule' is not a git command. See 'git --help'.
warning: templates not found in /usr/share/git-core/templates
warning: templates not found in /usr/share/git-core/templates
git: 'submodule' is not a git command. See 'git --help'.
warning: templates not found in /usr/share/git-core/templates
warning: templates not found in /usr/share/git-core/templates

GitHash
  tGitInfoCwd
    makes vaguely sane git info for this repository
NormalRepo
Test suite githash-spec: FAIL
  getGitInfo
Test suite logged to: dist/test/githash-0.1.3.3-githash-spec.log
    it makes sensible git info for a regular git repository
  getGitRoot
    it gets the expected git root for a regular git repository
0 of 1 test suites (0 of 1 test cases) passed.
RepoWithASubmodule
  getGitInfo
    it makes sensible git info for a both the parent and the child module FAILED [1]
  getGitRoot
    it gets the expected git root for a both the parent and the child module FAILED [2]
WorktreeRepo
 * ERROR: dev-haskell/githash-0.1.3.3::gentoo failed (test phase):
 *   cabal test failed
"""

Probably missing 'git' dependency.
Comment 3 Larry the Git Cow gentoo-dev 2020-08-19 22:01:16 UTC
The bug has been closed via the following commit(s):

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

commit ab6c3d72aec19f8ded9b1572fb3b63486146cf6f
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-08-19 22:01:06 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-08-19 22:01:11 +0000

    dev-haskell/githash: add missing 'git' depend
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/736392
    Package-Manager: Portage-3.0.3, Repoman-3.0.0
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/githash/githash-0.1.3.3.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)