From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Tom=C3=A1=C5=A1_?= =?UTF-8?Q?=C4=8Cech?= Subject: bug#20081: patch-source-shebangs crashes on broken symlink Date: Wed, 11 Mar 2015 20:13:39 +0100 Message-ID: <20150311191235.GA29520@venom> References: <20150311150211.GK16813@crashnator.suse.cz> <20150311173230.GA12508@debian.math.u-bordeaux1.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVm51-0001iu-54 for bug-guix@gnu.org; Wed, 11 Mar 2015 15:14:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVm4w-00070t-Vx for bug-guix@gnu.org; Wed, 11 Mar 2015 15:14:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:44578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVm4w-00070l-ST for bug-guix@gnu.org; Wed, 11 Mar 2015 15:14:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YVm4w-0002Bb-7p for bug-guix@gnu.org; Wed, 11 Mar 2015 15:14:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20150311173230.GA12508@debian.math.u-bordeaux1.fr> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: 20081@debbugs.gnu.org On Wed, Mar 11, 2015 at 06:32:30PM +0100, Andreas Enge wrote: >On Wed, Mar 11, 2015 at 04:02:11PM +0100, Tom=C3=A1=C5=A1 =C4=8Cech wrote: >> I'm trying to create package for taskwarrior. >> Source tarball contain symlinks to nonexisting file `task': > >I would argue that this is not a bug in guix, but in the tarball. >You can remove the link with an additional phase before 'configure, see, f= or >instance, the dvdisaster package in cdrom.scm. I agree with you that the fishy part is in tarball, but we could make build more robust. Getting backtrace is not nice way to end a build. And we alone are getting into this problem it is not usual to preprocess source files before compilation. I already worked around the bug to confirm I correctly identified the cause. S_W