From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46917) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dvSDG-000428-3O for guix-patches@gnu.org; Fri, 22 Sep 2017 13:58:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dvSDC-0005oD-Qj for guix-patches@gnu.org; Fri, 22 Sep 2017 13:58:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:44506) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dvSDC-0005o2-MV for guix-patches@gnu.org; Fri, 22 Sep 2017 13:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dvSDC-00027g-FW for guix-patches@gnu.org; Fri, 22 Sep 2017 13:58:02 -0400 Subject: [bug#28283] Status: [PATCH 1/1] gnu: services: version-control: Add cgit. Resent-Message-ID: From: Oleg Pykhalov References: <87h8wq2hxw.fsf@gmail.com> <87a82i2hur.fsf@gmail.com> <873787rh4a.fsf@gnu.org> <87d16mv0o3.fsf@gnu.org> <87efr19fms.fsf@gmail.com> <87ingasvfx.fsf@gnu.org> Date: Fri, 22 Sep 2017 20:57:33 +0300 In-Reply-To: <87ingasvfx.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 22 Sep 2017 15:40:34 +0200") Message-ID: <87h8vuehv6.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 28283@debbugs.gnu.org Hello Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Hi Oleg, > > Oleg Pykhalov skribis: > >> ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> >>> Hello Oleg, >>> >>> This patch fell through the cracks. :-) >>> >>> Could you look into the comments I made below and send updated patches? >>> We=E2=80=99re almost there! >> >> Yes, I looked them already few days ago. Your last comment was about >> nginx changes. I'm working on it. But I have issue with stucture when >> I try to test. >> >> natsu@magnolia ~/src/guix$ guix environment guix -- make check-system TE= STS=3Dnginx >> ;;; note: source file /home/natsu/src/guix-wigust/wigust/packages/emacs.= scm >> ;;; newer than compiled /home/natsu/.cache/guile/ccache/2.2-LE-8-3= .A/home/natsu/src/guix-wigust/wigust/packages/emacs.scm.go >> substitute: updating list of substitutes from 'https://berlin.guixsd.org= '... 100.0% >> Compiling Scheme modules... >> warning: failed to load '(gnu tests web)': >> ERROR: In procedure allocate-struct: Wrong type argument in position 2: 9 >> Running 0 system tests... >> TOTAL: 0 > > This (admittedly obscure) error is the symptom of an ABI breakage: > specifically, commit b714395a39fffc60f75408504a23dfe27ad13fc2 introduced > a couple of new fields to the record type, hence this > error. Yes, I thought I did this. But I made this again today. Same error. > The solution in this case is to =E2=80=9Crm -f gnu/*.go gnu/s*/*g.o && ma= ke=E2=80=9D. > > HTH! > > Ludo=E2=80=99. After I made another Git working tree with Magit. --8<---------------cut here---------------start------------->8--- natsu@magnolia ~/src/guix-devel-nginx-test$ ./bootstrap=20 =E2=80=A6 natsu@magnolia ~/src/guix-devel-nginx-test$ ./configure --localstatedir=3D/= var --prefix=3D'' =E2=80=A6 natsu@magnolia ~/src/guix-devel-nginx-test$ guix environment guix --ad-hoc = help2man -- make =E2=80=A6 --8<---------------cut here---------------end--------------->8--- Then I added new field to record: --8<---------------cut here---------------start------------->8--- (define-record-type* =E2=80=A6 (try-files nginx-server-configuration-try-files (default '()))) --8<---------------cut here---------------end--------------->8--- Testing: --8<---------------cut here---------------start------------->8--- natsu@magnolia ~/src/guix-devel-nginx-test$ guix environment guix -- make c= heck-system TESTS=3Dnginx ;;; note: source file /home/natsu/src/guix-wigust/wigust/packages/emacs.scm ;;; newer than compiled /home/natsu/.cache/guile/ccache/2.2-LE-8-3.A/= home/natsu/src/guix-wigust/wigust/packages/emacs.scm.go Compiling Scheme modules... LOAD (gnu services web) ;;; note: source file ./gnu/services/web.scm ;;; newer than compiled /home/natsu/src/guix-devel-nginx-test/gnu/ser= vices/web.go GUILEC gnu/services/web.go warning: failed to load '(gnu tests web)': ERROR: In procedure allocate-struct: Wrong type argument in position 2: 9 Running 0 system tests... TOTAL: 0 --8<---------------cut here---------------end--------------->8---