Bug #16607

FTBFS with "repository '/amnesia.git/.git/modules/submodules/aufs4-standalone' does not exist"

Added by segfault 2019-03-23 13:18:56 . Updated 2020-01-14 20:39:27 .

Status:
Resolved
Priority:
Normal
Assignee:
segfault
Category:
Build system
Target version:
Start date:
2019-03-23
Due date:
% Done:

100%

Feature Branch:
feature/15342-cache-wiki
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Today when I tried to build devel it failed with

+ git clone --shared /amnesia.git/.git/modules/submodules/aufs4-standalone
fatal: repository '/amnesia.git/.git/modules/submodules/aufs4-standalone' does not exist

I was able to fix it by changing the permission of the submodules directories and the parent directories from 700 to 755:

chmod 755 .git/modules .git/modules/submodules .git/modules/submodules/*

This seems to be caused by df8a338ea6e078113ef6a03d7e3fbb3ffc7467d1. We should somehow make sure that the vagrant user actually has read access to the submodules directory. I don’t know why it had permission 700 on my system.


Subtasks


Related issues

Related to Tails - Bug #16476: Allow building a branch using unpublished Git submodule changes Resolved 2019-02-21
Related to Tails - Bug #17289: FTBFS: git submodules Resolved
Blocks Tails - Feature #16209: Core work: Foundations Team Confirmed

History

#1 Updated by segfault 2019-03-29 00:15:47

I’m having this issue repeatedly, the permissions are somehow changed between builds. I didn’t spend any time trying to debug this. My revised command to fix this is

chmod -R go+rX .git/modules/submodules

#2 Updated by intrigeri 2019-04-03 09:44:52

  • related to Bug #16476: Allow building a branch using unpublished Git submodule changes added

#3 Updated by intrigeri 2019-04-03 09:46:02

Indeed, looks like Bug #16476 caused this regression. Perhaps our Rakefile should set the permissions that the rest of our build system needs.

#4 Updated by intrigeri 2019-04-03 09:46:11

  • Category set to Build system

#5 Updated by intrigeri 2019-04-25 13:19:54

#6 Updated by intrigeri 2019-12-15 08:22:22

  • related to Bug #17289: FTBFS: git submodules added

#7 Updated by intrigeri 2020-01-01 11:27:20

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • Feature Branch set to feature/15342-cache-wiki

#8 Updated by intrigeri 2020-01-02 07:19:39

  • Status changed from In Progress to Needs Validation
  • Assignee deleted (intrigeri)
  • Target version set to Tails_4.2

#9 Updated by intrigeri 2020-01-06 07:58:29

  • Target version changed from Tails_4.2 to Tails_4.3

#10 Updated by segfault 2020-01-09 12:09:58

  • Assignee set to segfault

#11 Updated by intrigeri 2020-01-14 20:39:27

  • Status changed from Needs Validation to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:tails|f5c75d4e7175123c68b92ecd1d1f91e8b303d6c4.