From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0@crash.cx Subject: bug#30401: gitolite some important hooks not working Date: Sun, 11 Feb 2018 23:12:53 +0000 Message-ID: <876073glxm.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> References: <87h8qquxzj.fsf@abyayala.i-did-not-set--mail-host-address--so-tickle-me> <87r2pri5sg.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45803) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el0ov-0008PS-PF for bug-guix@gnu.org; Sun, 11 Feb 2018 18:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el0os-000752-Ik for bug-guix@gnu.org; Sun, 11 Feb 2018 18:14:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el0os-00073x-Fv for bug-guix@gnu.org; Sun, 11 Feb 2018 18:14:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1el0os-0003n2-4y for bug-guix@gnu.org; Sun, 11 Feb 2018 18:14:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87r2pri5sg.fsf@elephly.net> (Ricardo Wurmus's message of "Sun, 11 Feb 2018 22:18:39 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 30401@debbugs.gnu.org On Sun, 11 Feb 2018, Ricardo Wurmus 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/