KitwareMedical / KitwareMedical/SlicerCustomAppTemplate

CMake Configure Fails with Git Security Warning

Open
#40 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
71
Forks
32
PR merge metrics
No merged PRs in 30d

Description

When running the first configure (and during the subsequent build) checkouts from git repositories fail with `unsafe respository ( ) is owned by someone else`

This did not occur on my first build (on the main HD) but happened when moving to a separate disk the remediation is to declare certain repositories as safe see https://stackoverflow.com/questions/71901632/fatal-error-unsafe-repository-home-repon-is-owned-by-someone-else

This might affect superbuilds in general as people upgrade git

Contributor guide

No contributing guide indexed for this repository

Research direction

The failure occurs during the first CMake configure and subsequent build, when Git checkouts in superbuilds are rejected as unsafe after moving repositories to a separate disk. Start by reproducing the configure and build in that environment, then inspect how repository checkouts are handled. Done means the configure and build complete without Git security warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, git
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.