help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE3: Resolving 'guix shell' Permission Errors and Build Failures: Return


From: outlook user
Subject: RE3: Resolving 'guix shell' Permission Errors and Build Failures: Returning to Cached Package State After Incremental Updates
Date: Wed, 8 May 2024 12:43:46 +0000

```autoconf
AC_ARG_WITH(libbsd,
      [AS_HELP_STRING([--with-libbsd], [use libbsd support @<:@default=yes if 
found@:>@])],
      [with_libbsd=$withval], [with_libbsd=yes])
if test "$with_libbsd" != "no"; then
      AC_SEARCH_LIBS([readpassphrase], [bsd], [], [
            AC_MSG_ERROR([readpassphrase() is missing, either from libc or 
libbsd])
      ])
```
________________________________
De : outlook user <RACP@outlook.fr>
Envoyé : mercredi 8 mai 2024 14:35
À : help-guix@gnu.org <help-guix@gnu.org>
Objet : RE2: Resolving 'guix shell' Permission Errors and Build Failures: 
Returning to Cached Package State After Incremental Updates

More precisely

> configure: WARNING: utmp file not found
> configure: error: readpassphrase() is missing, either from libc or libbsd
> error: in phase 'configure': uncaught exception:
> %exception #<&invoke-error program: 
> "/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash" 
> arguments: ("./configure" 
> "CONFIG_SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash"
>  
> "SHELL=/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/bash"
>  "--prefix=/gnu/store/s061pp8hnzss8b64irvi5wsbr3msdd0f-shadow-4.15.1" 
> "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--with-libpam" 
> "shadow_cv_logdir=/var/log" "ac_cv_func_setpgrp_void=yes") exit-status: 1 
> term-signal: #f stop-signal: #f>

________________________________
De : outlook user <RACP@outlook.fr>
Envoyé : mercredi 8 mai 2024 12:53
À : help-guix@gnu.org <help-guix@gnu.org>
Objet : RE: Resolving 'guix shell' Permission Errors and Build Failures: 
Returning to Cached Package State After Incremental Updates

About shadow, build logs reveals that

> ​configure: error: readpassphrase() is missing, either from libc or libbsd
> ​error: in phase 'configure': uncaught exception:

About iterations, I still don't know how to restore so it will use cached 
packages instead of retrieving new versions online. It used to work cached on 
iteration 1, but now my local version seems newer than cached packages

________________________________
De : outlook user <RACP@outlook.fr>
Envoyé : lundi 6 mai 2024 13:10
À : help-guix@gnu.org <help-guix@gnu.org>
Objet : Resolving 'guix shell' Permission Errors and Build Failures: Returning 
to Cached Package State After Incremental Updates

`guix shell` complains about

> guix shell: erreur : open-file : Permission non accordée: 
> "/gnu/store/64j9m88x4hicgrqb3447fv7ra0chdk3a-guix-module-union/share/guile/site/3.0/gnu/packages[...]"

For admin and acl until I `# chmod o+r 
/gnu/store/64j9m88x4hicgrqb3447fv7ra0chdk3a-guix-module-union/share/guile/site/3.0/gnu/packages[...]`

Then it complains about

> \ phase « configure »builder for 
> `/gnu/store/llm04gk92jf72j4kvcr608s6rwm5pf5z-shadow-4.15.1.drv' failed with 
> exit code 1
> la compilation de 
> /gnu/store/llm04gk92jf72j4kvcr608s6rwm5pf5z-shadow-4.15.1.drv a échoué

I don't really understand. I pulled a lot of things and then I re-did a pull, 
now I need to re-download a new version of everything. It's like:

Iteration 1: Stable working
Iteration 2: Re-downloaded everything
Iteration 3: Hasn't downloaded much and don't have bandwidth for, now

I want to return to iteration 2 because it's a big update from iteration 1, and 
I don't want iteration 3 because I don't have bandwidth anymore to re download 
everything a new time

But those iterations aren't `guix system reconfigure` because I didn't 
performed any since iteration 1. It's only about some `guix refresh --update` 
`guix package --upgrade` `guix update` `guix upgrade` `guix pull`. It's the 
result of those commands from which I want to return to "iteration 2", because 
I have cached a lot of packages that I need, but I performed those commands 
times more after having mass cached what I need. I want to return to that 
iteration that has a lot of local cached packages. And eventually resolve that 
problem about open-file and building shadow

reply via email to

[Prev in Thread] Current Thread [Next in Thread]