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 16:02:11 +0100 Message-ID: <20150311150211.GK16813@crashnator.suse.cz> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fmvA4kSBHQVZhkR6" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YViA8-0005ai-0H for bug-guix@gnu.org; Wed, 11 Mar 2015 11:03:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YViA2-0007Mv-SH for bug-guix@gnu.org; Wed, 11 Mar 2015 11:03:07 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:44346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YViA2-0007Mq-PG for bug-guix@gnu.org; Wed, 11 Mar 2015 11:03:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YViA2-0000xY-HM for bug-guix@gnu.org; Wed, 11 Mar 2015 11:03:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVi9L-0005YS-06 for bug-guix@gnu.org; Wed, 11 Mar 2015 11:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVi9F-000711-19 for bug-guix@gnu.org; Wed, 11 Mar 2015 11:02:18 -0400 Received: from cantor2.suse.de ([195.135.220.15]:56691 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVi9E-00070i-QO for bug-guix@gnu.org; Wed, 11 Mar 2015 11:02:12 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id B189AAAC8 for ; Wed, 11 Mar 2015 15:02:11 +0000 (UTC) Content-Disposition: inline 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: 20081@debbugs.gnu.org --fmvA4kSBHQVZhkR6 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline I'm trying to create package for taskwarrior. Source tarball contain symlinks to nonexisting file `task': $ tar tvf /gnu/store/*-task*.tar.gz | grep -E '/src/(tw|cal |calendar|task)' lrwxr-xr-x ultrafredde/staff 0 2015-02-16 23:45 task-2.4.1/src/cal -> task lrwxr-xr-x ultrafredde/staff 0 2015-02-16 23:45 task-2.4.1/src/calendar -> task lrwxr-xr-x ultrafredde/staff 0 2015-02-16 23:45 task-2.4.1/src/tw -> task When I run build, I got this backtrace: phase `unpack' succeeded after 0 seconds starting phase `patch-usr-bin-file' phase `patch-usr-bin-file' succeeded after 0 seconds starting phase `patch-source-shebangs' Backtrace: In ice-9/boot-9.scm: 157: 15 [catch #t # ...] In unknown file: ?: 14 [apply-smob/1 #] In ice-9/boot-9.scm: 63: 13 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 12 [eval # #] In ice-9/boot-9.scm: 2401: 11 [save-module-excursion #] 4050: 10 [#] 1724: 9 [%start-stack load-stack #] 1729: 8 [#] In unknown file: ?: 7 [primitive-load "/gnu/store/ix1s7q448frw02wy9xvzhd66vh08lxcw-taskwarrior-2.4.1-guile-builder"] In ice-9/eval.scm: 387: 6 [eval # ()] In srfi/srfi-1.scm: 830: 5 [every1 # ...] In /gnu/store/dyv4k9p9na96q4yzahdlvij3nadaz65h-module-import/guix/build/gnu-build-system.scm: 511: 4 [# #] 164: 3 [patch-source-shebangs # ...] In unknown file: ?: 2 [remove # #] In ice-9/boot-9.scm: 1461: 1 [# "./src/cal"] In unknown file: ?: 0 [stat "./src/cal" #] ERROR: In procedure stat: ERROR: In procedure stat: No such file or directory: "./src/cal" builder for `/gnu/store/vr408ijifflkqjk9lgpj3sv469fj2pik-taskwarrior-2.4.1.drv' failed with exit code 1 cannot build derivation `/gnu/store/367g51d6vh8v5m1q58hls6bn40ha1262-profile.drv': 1 dependencies couldn't be built guix package: error: build failed: build of `/gnu/store/367g51d6vh8v5m1q58hls6bn40ha1262-profile.drv' failed --fmvA4kSBHQVZhkR6 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlUAWPEACgkQ37XrCapiVCNJlACfYdl5qB/BCOfX0YsWUzttEsyl rd8AoLKf85+cP8ouNZwZuWy89aVopn/g =YQo8 -----END PGP SIGNATURE----- --fmvA4kSBHQVZhkR6--