GNU bug report logs -
#30401
gitolite some important hooks not working
Previous Next
Reported by: ng0 <at> crash.cx
Date: Fri, 9 Feb 2018 12:53:01 UTC
Severity: normal
Done: zimoun <zimon.toutoune <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30401 in the body.
You can then email your comments to 30401 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#30401
; Package
guix
.
(Fri, 09 Feb 2018 12:53:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ng0 <at> crash.cx
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Fri, 09 Feb 2018 12:53:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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 <at> 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/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30401
; Package
guix
.
(Fri, 09 Feb 2018 15:51:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 30401 <at> debbugs.gnu.org (full text, mbox):
ng0 <at> 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?
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30401
; Package
guix
.
(Sun, 11 Feb 2018 23:05:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 30401 <at> debbugs.gnu.org (full text, mbox):
ng0 <at> 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
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30401
; Package
guix
.
(Sun, 11 Feb 2018 23:14:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 30401 <at> debbugs.gnu.org (full text, mbox):
On Sun, 11 Feb 2018, Ricardo Wurmus <rekado <at> elephly.net> wrote:
> ng0 <at> 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/
Information forwarded
to
bug-guix <at> gnu.org
:
bug#30401
; Package
guix
.
(Mon, 12 Feb 2018 15:23:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 30401 <at> debbugs.gnu.org (full text, mbox):
ng0 <at> 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
Reply sent
to
zimoun <zimon.toutoune <at> gmail.com>
:
You have taken responsibility.
(Wed, 24 Nov 2021 23:59:03 GMT)
Full text and
rfc822 format available.
Notification sent
to
ng0 <at> crash.cx
:
bug acknowledged by developer.
(Wed, 24 Nov 2021 23:59:03 GMT)
Full text and
rfc822 format available.
Message #22 received at 30401-done <at> debbugs.gnu.org (full text, mbox):
Hi,
On Fri, 09 Feb 2018 at 12:52, ng0 <at> 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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 23 Dec 2021 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 86 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.