From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 0/1] Help wanted fixing a ruby-minitar bug Date: Tue, 24 Jan 2017 22:40:20 +0100 Message-ID: <87vat43znf.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW8pI-00016T-0y for guix-devel@gnu.org; Tue, 24 Jan 2017 16:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW8pD-00079n-5Z for guix-devel@gnu.org; Tue, 24 Jan 2017 16:40:28 -0500 In-Reply-To: (Leo Famulari's message of "Tue, 24 Jan 2017 14:57:05 -0500") 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: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > 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//70g01wln7aflljz65yf425ppp= cgpjd-minitar-0.5.4.tar.xz.drv.bz2 > data.tar.gz > metadata.gz > source is under 'data.tar.gz' [...] > ?: 0 [chdir "data.tar.gz"] This is apparently a =E2=80=9Ctarbomb=E2=80=9D: it unpacks more than one fi= le in $PWD. The =E2=80=98first-subdirectory=E2=80=99 procedure in gnu-build-system.scm = is a bit stupid and takes the first file in $PWD as the directory to cd to. To work around that, use =E2=80=98url-fetch/tarbomb=E2=80=99. HTH! Ludo=E2=80=99.