all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30401: gitolite some important hooks not working
@ 2018-02-09 12:52 ng0
  2018-02-09 15:50 ` Clément Lassieur
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: ng0 @ 2018-02-09 12:52 UTC (permalink / raw)
  To: 30401

A paste that lost its formatting but speaks for itself:

Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (4/4), 1.03 KiB | 1.03 MiB/s, done.
Total 4 (delta 0), reused 0 (delta 0)
remote: Can't locate Data/Dumper.pm in @INC (you may need to
install the Data::Dumper module) (@INC contains:
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib
/home/git/.guix-profile/lib/perl5/site_perl /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1
/usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
/usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24
/usr/share/perl/5.24 /usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base .) at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Common.pm
line 65.
remote: BEGIN failed--compilation aborted at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Common.pm
line 65.
remote: Compilation failed in require at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Rc.pm
line 25.
remote: BEGIN failed--compilation aborted at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Rc.pm
line 25.
remote: Compilation failed in require at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Hooks/Update.pm
line 13.
remote: BEGIN failed--compilation aborted at
/gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib/Gitolite/Hooks/Update.pm
line 13.
remote: Compilation failed in require at hooks/update line 7.
remote: BEGIN failed--compilation aborted at hooks/update line 7.
remote: error: hook declined to update refs/heads/master
To snow.crash.cx:gitolite-admin
 ! [remote rejected] master -> master (hook declined)
 error: failed to push some refs to
 'git@snow.crash.cx:gitolite-admin'



Installing the module + perl into the profile didn't help either.
There's a service NixOS provides which we could replicate, but
for now I have a crash recovery to make and would like to get
gitolite up and running. Ideas, input, even small hacks welcome.



guix package -l:
Generation 1    Feb 09 2018 13:28:26
  perl-data-dumper-concise      2.023   out
  /gnu/store/fckd34g3njmjc8yl4vk3hkqj5cbv9mvj-perl-data-dumper-concise-2.023

Generation 2    Feb 09 2018 13:32:57    (current)
 + perl 5.26.0  out
 /gnu/store/9g4fpfz86vjkx83v5696vm5dzg2sc9qj-perl-5.26.0


 env:
 DICPATH=/home/git/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspell
 LANG=en_US.UTF-8
 GTK_DATA_PREFIX=/run/current-system/profile
 GST_PLUGIN_PATH=/home/git/.guix-profile/lib/gstreamer-1.0
 GIT_SSL_CAINFO=/run/current-system/profile/etc/ssl/certs/ca-certificates.crt
 LINUX_MODULE_DIRECTORY=/run/booted-system/kernel/lib/modules
 GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2
 USER=git
 TZDIR=/gnu/store/bzj472nmnnj5hcfd5yvfiqip1wzw84p9-tzdata-2017b/share/zoneinfo
 GUIX_LOCPATH=/run/current-system/locale
 PWD=/home/git
 HOME=/home/git
 XDG_DATA_DIRS=/home/git/.guix-profile/share:/run/current-system/profile/share
 SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
 GIT_EXEC_PATH=/run/current-system/profile/libexec/git-core
 SHELL=/gnu/store/ars9lm9jk9hgdifg0gqvf1jrvz5mdg1j-bash-4.4.12/bin/bash
 TERM=st-256color
 PERL5LIB=/home/git/.guix-profile/lib/perl5/site_perl
 SHLVL=1
 MANPATH=/run/current-system/profile/share/man:/home/git/.guix-profile/share/man:/run/current-system/profile/share/man
 SSL_CERT_DIR=/etc/ssl/certs
 BASH_LOADABLES_PATH=/run/current-system/profile/lib/bash
 LOGNAME=git
 GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2
 XDG_CONFIG_DIRS=/home/git/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
 DBUS_FATAL_WARNINGS=0
 PATH=/home/git/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
 INFOPATH=/run/current-system/profile/share/info:/home/git/.guix-profile/share/info:/run/current-system/profile/share/info
 XCURSOR_PATH=/home/git/.icons:/home/git/.guix-profile/share/icons:/run/current-system/profile/share/icons
 _=/run/current-system/profile/bin/env
-- 
ng0 :: https://crash.cx
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://crash.cx/keys/

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

* bug#30401: gitolite some important hooks not working
  2018-02-09 12:52 bug#30401: gitolite some important hooks not working ng0
@ 2018-02-09 15:50 ` Clément Lassieur
  2018-02-11 21:18 ` Ricardo Wurmus
  2021-11-24 23:47 ` zimoun
  2 siblings, 0 replies; 6+ messages in thread
From: Clément Lassieur @ 2018-02-09 15:50 UTC (permalink / raw)
  To: ng0; +Cc: 30401

ng0@crash.cx writes:

> A paste that lost its formatting but speaks for itself:

[...]

Did you
  - garbage collect
  - install a new version of gitolite
  - manually install a hook
for this to happen?

Or have you done anything special?

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

* bug#30401: gitolite some important hooks not working
  2018-02-09 12:52 bug#30401: gitolite some important hooks not working ng0
  2018-02-09 15:50 ` Clément Lassieur
@ 2018-02-11 21:18 ` Ricardo Wurmus
  2018-02-11 23:12   ` ng0
  2021-11-24 23:47 ` zimoun
  2 siblings, 1 reply; 6+ messages in thread
From: Ricardo Wurmus @ 2018-02-11 21:18 UTC (permalink / raw)
  To: ng0; +Cc: 30401


ng0@crash.cx writes:

> A paste that lost its formatting but speaks for itself:
>
> Counting objects: 4, done.
> Delta compression using up to 4 threads.
> Compressing objects: 100% (3/3), done.
> Writing objects: 100% (4/4), 1.03 KiB | 1.03 MiB/s, done.
> Total 4 (delta 0), reused 0 (delta 0)
> remote: Can't locate Data/Dumper.pm in @INC (you may need to
> install the Data::Dumper module) (@INC contains:
> /gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib
> /home/git/.guix-profile/lib/perl5/site_perl /etc/perl
> /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
> /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24
> /usr/share/perl/5.24 /usr/local/lib/site_perl
> /usr/lib/x86_64-linux-gnu/perl-base .) at

Have you tried propagating the perl-data-dumper package?  Or did you try
wrapping the executable in the PERL5LIB environment variable after
adding the package?

> Installing the module + perl into the profile didn't help either.

The gitolite executables need to be made aware of the location of the
Perl modules, so it’s expected that this wouldn’t help.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* bug#30401: gitolite some important hooks not working
  2018-02-11 21:18 ` Ricardo Wurmus
@ 2018-02-11 23:12   ` ng0
  2018-02-12 15:07     ` Ricardo Wurmus
  0 siblings, 1 reply; 6+ messages in thread
From: ng0 @ 2018-02-11 23:12 UTC (permalink / raw)
  To: 30401

On Sun, 11 Feb 2018, Ricardo Wurmus <rekado@elephly.net> wrote:
> ng0@crash.cx writes:
>
>> A paste that lost its formatting but speaks for itself:
>>
>> Counting objects: 4, done.
>> Delta compression using up to 4 threads.
>> Compressing objects: 100% (3/3), done.
>> Writing objects: 100% (4/4), 1.03 KiB | 1.03 MiB/s, done.
>> Total 4 (delta 0), reused 0 (delta 0)
>> remote: Can't locate Data/Dumper.pm in @INC (you may need to
>> install the Data::Dumper module) (@INC contains:
>> /gnu/store/v3k3dmkdaz3giap6ir06dj12sid42086-gitolite-3.6.6/share/gitolite/lib
>> /home/git/.guix-profile/lib/perl5/site_perl /etc/perl
>> /usr/local/lib/x86_64-linux-gnu/perl/5.24.1
>> /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24
>> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24
>> /usr/share/perl/5.24 /usr/local/lib/site_perl
>> /usr/lib/x86_64-linux-gnu/perl-base .) at
>
> Have you tried propagating the perl-data-dumper package?  Or did you try
> wrapping the executable in the PERL5LIB environment variable after
> adding the package?
>
>> Installing the module + perl into the profile didn't help either.
>
> The gitolite executables need to be made aware of the location of the
> Perl modules, so it’s expected that this wouldn’t help.

I had no time to reply so far or to try and other solutions.
Turns out so far that it works when you make /usr/bin/perl as a
special file type link available on the system, as the problem is
some unchanged hook lines pointing to this instead of the store.

As repo hooks are not attached to the changes in the store I
think it's okay. Eventually we should come up with a solution for
those hooks.
-- 
ng0 :: https://crash.cx
A88C8ADD129828D7EAC02E52E22F9BBFEE348588 :: https://crash.cx/keys/

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

* bug#30401: gitolite some important hooks not working
  2018-02-11 23:12   ` ng0
@ 2018-02-12 15:07     ` Ricardo Wurmus
  0 siblings, 0 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2018-02-12 15:07 UTC (permalink / raw)
  To: ng0; +Cc: 30401


ng0@crash.cx writes:

> Turns out so far that it works when you make /usr/bin/perl as a
> special file type link available on the system, as the problem is
> some unchanged hook lines pointing to this instead of the store.

The error messages you posted seem unrelated to whether /usr/bin/perl is
available or not.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

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

* bug#30401: gitolite some important hooks not working
  2018-02-09 12:52 bug#30401: gitolite some important hooks not working ng0
  2018-02-09 15:50 ` Clément Lassieur
  2018-02-11 21:18 ` Ricardo Wurmus
@ 2021-11-24 23:47 ` zimoun
  2 siblings, 0 replies; 6+ messages in thread
From: zimoun @ 2021-11-24 23:47 UTC (permalink / raw)
  To: ng0; +Cc: 30401-done

Hi,

On Fri, 09 Feb 2018 at 12:52, ng0@crash.cx wrote:
> A paste that lost its formatting but speaks for itself:

[...]

> Installing the module + perl into the profile didn't help either.
> There's a service NixOS provides which we could replicate, but
> for now I have a crash recovery to make and would like to get
> gitolite up and running. Ideas, input, even small hacks welcome.
>
> guix package -l:
> Generation 1    Feb 09 2018 13:28:26
>   perl-data-dumper-concise      2.023   out
>   /gnu/store/fckd34g3njmjc8yl4vk3hkqj5cbv9mvj-perl-data-dumper-concise-2.023
>
> Generation 2    Feb 09 2018 13:32:57    (current)
>  + perl 5.26.0  out
>  /gnu/store/9g4fpfz86vjkx83v5696vm5dzg2sc9qj-perl-5.26.0
>
>
>  env:
>  DICPATH=/home/git/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspell
>  LANG=en_US.UTF-8
>  GTK_DATA_PREFIX=/run/current-system/profile
>  GST_PLUGIN_PATH=/home/git/.guix-profile/lib/gstreamer-1.0
>  GIT_SSL_CAINFO=/run/current-system/profile/etc/ssl/certs/ca-certificates.crt
>  LINUX_MODULE_DIRECTORY=/run/booted-system/kernel/lib/modules
>  GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2
>  USER=git
>  TZDIR=/gnu/store/bzj472nmnnj5hcfd5yvfiqip1wzw84p9-tzdata-2017b/share/zoneinfo
>  GUIX_LOCPATH=/run/current-system/locale
>  PWD=/home/git
>  HOME=/home/git
>  XDG_DATA_DIRS=/home/git/.guix-profile/share:/run/current-system/profile/share
>  SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
>  GIT_EXEC_PATH=/run/current-system/profile/libexec/git-core
>  SHELL=/gnu/store/ars9lm9jk9hgdifg0gqvf1jrvz5mdg1j-bash-4.4.12/bin/bash
>  TERM=st-256color
>  PERL5LIB=/home/git/.guix-profile/lib/perl5/site_perl
>  SHLVL=1
>  MANPATH=/run/current-system/profile/share/man:/home/git/.guix-profile/share/man:/run/current-system/profile/share/man
>  SSL_CERT_DIR=/etc/ssl/certs
>  BASH_LOADABLES_PATH=/run/current-system/profile/lib/bash
>  LOGNAME=git
>  GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2
>  XDG_CONFIG_DIRS=/home/git/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
>  DBUS_FATAL_WARNINGS=0
>  PATH=/home/git/.guix-profile/bin:/run/setuid-programs:/run/current-system/profile/bin:/run/current-system/profile/sbin
>  INFOPATH=/run/current-system/profile/share/info:/home/git/.guix-profile/share/info:/run/current-system/profile/share/info
>  XCURSOR_PATH=/home/git/.icons:/home/git/.guix-profile/share/icons:/run/current-system/profile/share/icons
>  _=/run/current-system/profile/bin/env

Reading the all thread, it appears to me that it lacks info for
investigating.  Therefore, I am closing.

If I miss something, feel free to reopen.


Cheers,
simon




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

end of thread, other threads:[~2021-11-24 23:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-09 12:52 bug#30401: gitolite some important hooks not working ng0
2018-02-09 15:50 ` Clément Lassieur
2018-02-11 21:18 ` Ricardo Wurmus
2018-02-11 23:12   ` ng0
2018-02-12 15:07     ` Ricardo Wurmus
2021-11-24 23:47 ` zimoun

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.