Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 755746

Summary: [science overlay] sci-biology/dcm2niix-1.0.20200331 : -- Could NOT find Git (missing: GIT_EXECUTABLE)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeOutput.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-biology:dcm2niix-1.0.20200331:20201120-045331.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-11-20 15:53:16 UTC
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Error at SuperBuild/SuperBuild.cmake:4 (message):
  Cannot find Git.  Git is required for Superbuild
Call Stack (most recent call first):

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_science-20201116-220441

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Nov 20 04:05:36 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/dcm2niix
[ebuild  N    ] sci-biology/dcm2niix-1.0.20200331
Comment 1 Toralf Förster gentoo-dev 2020-11-20 15:53:17 UTC
Created attachment 673495 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-20 15:53:19 UTC
Created attachment 673498 [details]
CMakeOutput.log
Comment 3 Toralf Förster gentoo-dev 2020-11-20 15:53:20 UTC
Created attachment 673501 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-11-20 15:53:22 UTC
Created attachment 673504 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-11-20 15:53:23 UTC
Created attachment 673507 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-20 15:53:24 UTC
Created attachment 673510 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-11-20 15:53:27 UTC
Created attachment 673513 [details]
sci-biology:dcm2niix-1.0.20200331:20201120-045331.log
Comment 8 Toralf Förster gentoo-dev 2020-11-20 15:53:28 UTC
Created attachment 673516 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2021-06-11 10:13:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/sci.git/commit/?id=877cafa591695d148ce3a915043b005d320ce1bf

commit 877cafa591695d148ce3a915043b005d320ce1bf
Author:     Lucas Mitrak <lucas@lucasmitrak.com>
AuthorDate: 2021-06-10 21:11:21 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-06-11 10:13:18 +0000

    sci-biology/dcm2niix: add patch
    
    * Disable finding git in cmake
    * Add patch to ebuild
    
    Currently, sci-biology/dcm2niix will not compile if git is not found.
    The patch dcm2niix-disable_find_git.patch comments out the lines which
    attempt to find git and require it to be found. With this patch, the
    package will compile correctly. Without this patch, cmake will throw
    an error if git is not found.
    This commit was tested in a docker image with dev-util/ebuildtester.
    This commit was written, tested, and submitted by Lucas Mitrak.
    
    Closes: https://bugs.gentoo.org/755746
    Signed-off-by: Lucas Mitrak <lucas@lucasmitrak.com>
    Closes: https://github.com/gentoo/sci/pull/1091
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-biology/dcm2niix/dcm2niix-1.0.20201102.ebuild     |  4 ++++
 .../dcm2niix/files/dcm2niix-disable_find_git.patch    | 19 +++++++++++++++++++
 2 files changed, 23 insertions(+)