unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#69753: Git checkout fail after daemon checks permissions
@ 2024-03-12 13:07 Jean-Pierre De Jesus Diaz
  2024-03-20 17:53 ` Richard Sent
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Pierre De Jesus Diaz @ 2024-03-12 13:07 UTC (permalink / raw)
  To: 69753

Hello,

I've done a guix system reconfigure recently and after that I was
unable to build
packages that use Git to fetch the source, failing with this error:

```
Initialized empty Git repository in
/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout/.git/
From https://github.com/ROCm/rocBLAS
 * tag               rocm-5.6.0 -> FETCH_HEAD
Note: switching to 'FETCH_HEAD'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 4b0751e Merge pull request #1325 from
yoichiyoshida/fp16altrnz-5.6-hotfix2
suspicious ownership or permission on
`/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout';
rejecting this build output
build of /gnu/store/xbvrh3nav0gcgvdxbv7k9rsqgw4d14c3-rocblas-5.6.0-checkout.drv
failed
View build log at
'/var/log/guix/drvs/xb/vrh3nav0gcgvdxbv7k9rsqgw4d14c3-rocblas-5.6.0-checkout.drv.gz'.
cannot build derivation
`/gnu/store/jr9vjappfafyjvwrx85g4jm28cim1b4k-rocblas-5.6.0.drv': 1
dependencies couldn't be built
guix build: error: build of
`/gnu/store/jr9vjappfafyjvwrx85g4jm28cim1b4k-rocblas-5.6.0.drv' failed
```

The output of guix describe for the system:

```
$ sudo -i guix describe
Password:
Generation 7    Mar 12 2024 12:13:17    (current)
  guix a52701a
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: a52701a4d3c90327f6b88267173a5a98ef3db8e6
```

The permissions of the file in the store are:

```
$ ls -ld /gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout
drwxr-xr-x 11 root root 4096 Mar 12 14:03
/gnu/store/bm54hnvq0f8qbm2a4yvljrgl4nf2yain-rocblas-5.6.0-checkout/
```

I've noticed it also leaks the current date and time in the store.

Thanks,

Jean-Pierre De Jesus DIAZ




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#69753: Git checkout fail after daemon checks permissions
  2024-03-12 13:07 bug#69753: Git checkout fail after daemon checks permissions Jean-Pierre De Jesus Diaz
@ 2024-03-20 17:53 ` Richard Sent
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sent @ 2024-03-20 17:53 UTC (permalink / raw)
  To: Jean-Pierre De Jesus Diaz; +Cc: 69753

I've encountered this issue myself, so it's not an isolated incident. I
observed that it only occured when building packages from a custom
channel (or perhaps with -L, I don't recall for sure.)

The issue seemed to disappear after a while.

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-20 17:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12 13:07 bug#69753: Git checkout fail after daemon checks permissions Jean-Pierre De Jesus Diaz
2024-03-20 17:53 ` Richard Sent

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).