From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Graceful handling of missing patches Date: Tue, 20 Jan 2015 10:37:02 +0100 Message-ID: <20150120093702.GA4495@debian.math.u-bordeaux1.fr> References: <20150118132526.GA15628@debian> <87zj9gcgpe.fsf@gnu.org> <20150118161010.GA20517@debian> <87a91gcamz.fsf@gnu.org> <20150118164207.GA21387@debian> <87d269kdr4.fsf_-_@gnu.org> 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]:39052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDVFL-0003fo-Qe for guix-devel@gnu.org; Tue, 20 Jan 2015 04:37:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDVFK-0006od-K4 for guix-devel@gnu.org; Tue, 20 Jan 2015 04:37:15 -0500 Content-Disposition: inline In-Reply-To: <87d269kdr4.fsf_-_@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org On Tue, Jan 20, 2015 at 10:22:39AM +0100, Ludovic Courtès wrote: > With commits 6b1f972 and dbab515, patch-not-found errors are now > gracefully handled at run time: > > $ ./pre-inst-env guix build findutils > guix build: error: WHAT?.patch: patch not found > > This introduces an ABI change, so make sure to run: > > make clean-go && make Compilation now fails for me with /bin/mkdir -p `dirname "guix/scripts/refresh.go"` ; \ LC_ALL=C \ ./pre-inst-env \ /usr/bin/guild compile -L "." -L "." \ -Wformat -Wunbound-variable -Warity-mismatch \ --target="x86_64-unknown-linux-gnu" \ -o "guix/scripts/refresh.go" "guix/scripts/refresh.scm" ;;; note: source file ./guix/config.scm ;;; newer than compiled /usr/local/guix-git/share/guile/site/2.0/guix/config.go ;;; note: source file ./gnu/packages.scm ;;; newer than compiled /usr/local/guix-git/share/guile/site/2.0/gnu/packages.go ;;; note: source file ./gnu/packages/guile.scm ;;; newer than compiled /usr/local/guix-git/share/guile/site/2.0/gnu/packages/guile.go ;;; note: source file ./gnu/packages/gnome.scm ;;; newer than compiled /usr/local/guix-git/share/guile/site/2.0/gnu/packages/gnome.go Backtrace: In ice-9/boot-9.scm: 2111: 19 [save-module-excursion #] In language/scheme/compile-tree-il.scm: 31: 18 [#] In ice-9/psyntax.scm: 1101: 17 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...] 986: 16 [scan ((define-module (guix scripts refresh) #:use-module ...)) () ...] 270: 15 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 392: 14 [eval # ()] In ice-9/boot-9.scm: 2667: 13 [define-module* (guix scripts refresh) #:filename ...] 2642: 12 [resolve-imports (((guix ui)) ((guix hash)) ((guix store)) ...)] 2580: 11 [resolve-interface (gnu packages commencement) #:select ...] 2505: 10 [# # ...] 2772: 9 [try-module-autoload (gnu packages commencement) #f] 2111: 8 [save-module-excursion #] 2783: 7 [#] In unknown file: ?: 6 [primitive-load-path "gnu/packages/commencement" #f] In gnu/packages/commencement.scm: 613: 5 [#] In guix/utils.scm: 428: 4 [# #] In gnu/packages/bootstrap.scm: 147: 3 [# #] 77: 2 [bootstrap-origin #] In unknown file: ?: 1 [scm-error wrong-type-arg "map" ...] In ice-9/boot-9.scm: 106: 0 [# wrong-type-arg ...] ice-9/boot-9.scm:106:20: In procedure #: ice-9/boot-9.scm:106:20: In procedure map: Not a list: # Makefile:4030: die Regel für Ziel „guix/scripts/refresh.go“ scheiterte I am still using the guile-2.0.5 from debian. Andreas