From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Issues while updating fossil to 2.1 Date: Tue, 11 Apr 2017 10:25:05 +0000 Message-ID: <20170411102505.r2lbvt4comdkwvi6@abyayala> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="37nij54pgujw6otr" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxszU-0005uK-EY for guix-devel@gnu.org; Tue, 11 Apr 2017 06:25:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxszR-00011N-1R for guix-devel@gnu.org; Tue, 11 Apr 2017 06:25:40 -0400 Received: from fragranza.investici.org ([178.175.144.26]:42234) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxszQ-00010t-Da for guix-devel@gnu.org; Tue, 11 Apr 2017 06:25:36 -0400 Received: from [178.175.144.26] (fragranza [178.175.144.26]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 1602B2C0135 for ; Tue, 11 Apr 2017 10:25:33 +0000 (UTC) Content-Disposition: inline List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --37nij54pgujw6otr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi, my editor wraps at 80 lines but I hope the errors are obvious for someone who did fix fossil before (Efraim?). Could it be that not all tests have been updated for the new format? There's no test log. The output below can be reproduced with the the attached patch. phase `build' succeeded after 21.6 seconds starting phase `test-setup' phase `test-setup' succeeded after 0.0 seconds starting phase `check' tclsh ./src/../test/tester.tcl fossil -quiet test amend-setup-failure FAILED! RESULT: New_Version: 74afca56eee6c4ee6fc8428b9f1dacc24b35f08cebf0e3f8440635a034dea628 ERROR: current directory is not within an open checkout test pre-commit-warnings-1 FAILED! RESULT: current directory is not within an open checkout Fossil was not compiled with JSON support. ERROR: SQLITE_ERROR: table config has no column named mtime /tmp/guix-build-fossil-2.1.drv-0/fossil-2.1/fossil: table config has no column named mtime: {REPLACE INTO config(name,value,mtime) VALUES('hash-policy',1,now())} ERROR: SQLITE_ERROR: table config has no column named mtime /tmp/guix-build-fossil-2.1.drv-0/fossil-2.1/fossil: table config has no column named mtime: {REPLACE INTO config(name,value,mtime) VALUES('hash-policy',1,now())} ERROR: use --repository or -R to specify the repository database ERROR: current directory is not within an open checkout current directory is not within an open checkout while executing "exec $::fossilexe ls -l" (procedure "checkout-test" line 3) invoked from within "checkout-test 10 { da5c8346496f3421cb58f84b6e59e9531d9d424d one.txt ed24d19d726d173f18dbf4a9a0f8514daa3e3ca4 three.txt 278a402316510f6ae4a7718..." (file "/tmp/guix-build-fossil-2.1.drv-0/fossil-2.1/test/merge5.test" line 50) invoked from within "source $testdir/$testfile.test" ("foreach" body line 3) invoked from within "foreach testfile $argv { protOut "***** $testfile ******" source $testdir/$testfile.test protOut "***** End of $testfile: [llength $bad_test] er..." (file "./src/../test/tester.tcl" line 944) make: *** [src/main.mk:497: test] Error 1 phase `check' failed after 144.0 seconds builder for `/gnu/store/iyh8xcg4x8w3zd89mn8yz9c5wgy5iqar-fossil-2.1.drv' failed with exit code 1 @ build-failed /gnu/store/iyh8xcg4x8w3zd89mn8yz9c5wgy5iqar-fossil-2.1.drv - 1 builder for `/gnu/store/iyh8xcg4x8w3zd89mn8yz9c5wgy5iqar-fossil-2.1.drv' failed with exit code 1 guix build: error: build failed: build of `/gnu/store/iyh8xcg4x8w3zd89mn8yz9c5wgy5iqar-fossil-2.1.drv' failed -- PGP and more: https://people.pragmatique.xyz/ng0/ --37nij54pgujw6otr Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-gnu-fossil-Update-to-2.1.patch" >From 361c92d948be8216efdb7cca86c583e355e7bd30 Mon Sep 17 00:00:00 2001 From: ng0 Date: Fri, 3 Mar 2017 13:25:53 +0000 Subject: [PATCH] gnu: fossil: Update to 2.1. * gnu/packages/version-control.scm (fossil): Update to 2.1. --- gnu/packages/version-control.scm | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 45b9e9240..5c220d7f7 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -1232,16 +1232,21 @@ repository\" with git-annex.") (define-public fossil (package (name "fossil") - (version "1.35") + (version "2.1") (source (origin (method url-fetch) - (uri (string-append - "https://www.fossil-scm.org/index.html/uv/download/" - "fossil-src-" version ".tar.gz")) + ;; Older downloads are moved to another URL. + (uri (list + (string-append + "https://www.fossil-scm.org/index.html/uv/download/" + "fossil-src-" version ".tar.gz") + (string-append + "https://www.fossil-scm.org/index.html/uv/" + "fossil-src-" version ".tar.gz"))) (sha256 (base32 - "07ds6rhq69bhydpm9a01mgdhxf88p9b6y5hdnhn8gjc7ba92zyf1")))) + "01ggrwijy2gvghr8j2hlka54klkkmbxccf9qypp43gpis08dzp45")))) (build-system gnu-build-system) (native-inputs `(("tcl" ,tcl) ;for configuration only @@ -1272,7 +1277,7 @@ repository\" with git-annex.") (setenv "TZ" "UTC") ;; Fixing the th1 test would require many backports, so ;; just disable for now. - (delete-file "test/th1.test") + ;; (delete-file "test/th1.test") #t))))) (home-page "https://fossil-scm.org") (synopsis "Software configuration management system") -- 2.12.2 --37nij54pgujw6otr--