From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 0/1] Help wanted fixing a ruby-minitar bug Date: Tue, 24 Jan 2017 14:57:05 -0500 Message-ID: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW7DW-0007IG-24 for guix-devel@gnu.org; Tue, 24 Jan 2017 14:57:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW7DR-0000u9-7y for guix-devel@gnu.org; Tue, 24 Jan 2017 14:57:22 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56419) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cW7DR-0000tX-3M for guix-devel@gnu.org; Tue, 24 Jan 2017 14:57:17 -0500 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id E96267E2E6 for ; Tue, 24 Jan 2017 14:57:14 -0500 (EST) 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 I tried using this patch to fix a bug in ruby-minitar, but the build fails as shown below. Any ideas? $ ./pre-inst-env guix build ruby-minitar The following derivations will be built: /gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv @ build-started /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv - x86_64-linux /var/log/guix/drvs/vz//70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv.bz2 data.tar.gz metadata.gz source is under 'data.tar.gz' Backtrace: In ice-9/boot-9.scm: 160: 10 [catch #t # ...] In unknown file: ?: 9 [apply-smob/1 #] In ice-9/boot-9.scm: 66: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 7 [eval # #] In ice-9/boot-9.scm: 2404: 6 [save-module-excursion #] 4056: 5 [#] 1727: 4 [%start-stack load-stack #] 1732: 3 [#] In unknown file: ?: 2 [primitive-load "/gnu/store/l936dy9y0hz8wxkp4n6y9birnl3fblbb-minitar-0.5.4.tar.xz-builder"] In ice-9/eval.scm: 432: 1 [eval # #] In unknown file: ?: 0 [chdir "data.tar.gz"] ERROR: In procedure chdir: ERROR: In procedure chdir: Not a directory builder for `/gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv' failed with exit code 1 @ build-failed /gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv - 1 builder for `/gnu/store/vz70g01wln7aflljz65yf425pppcgpjd-minitar-0.5.4.tar.xz.drv' failed with exit code 1 cannot build derivation `/gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv': 1 dependencies couldn't be built guix build: error: build failed: build of `/gnu/store/naprvm320mvzlhv4ciax0436qqm3r8zj-ruby-minitar-0.5.4.drv' failed Leo Famulari (1): gnu: ruby-minitar: Fix an arbitrary file overwrite bug. gnu/local.mk | 1 + .../minitar-fix-arbitrary-file-overwrite.patch | 253 +++++++++++++++++++++ gnu/packages/ruby.scm | 1 + 3 files changed, 255 insertions(+) create mode 100644 gnu/packages/patches/minitar-fix-arbitrary-file-overwrite.patch -- 2.11.0