GNU logs - #77474, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#77474: wrap-script: breaks shebang
Resent-From: Daniel Ziltener <dziltener@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 03 Apr 2025 01:06:01 +0000
Resent-Message-ID: <handler.77474.B.174364235521352 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 77474
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 77474 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.174364235521352
          (code B ref -1); Thu, 03 Apr 2025 01:06:01 +0000
Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 01:05:55 +0000
Received: from localhost ([127.0.0.1]:60071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u091m-0005YK-T7
	for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 21:05:55 -0400
Received: from lists.gnu.org ([2001:470:142::17]:43186)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dziltener@HIDDEN>)
 id 1u091j-0005Y0-GL
 for submit <at> debbugs.gnu.org; Wed, 02 Apr 2025 21:05:52 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dziltener@HIDDEN>)
 id 1u091W-0000a9-H5
 for bug-guix@HIDDEN; Wed, 02 Apr 2025 21:05:40 -0400
Received: from 195-15-241-199.dc3-a.pub1.etik-cloud.com ([195.15.241.199]
 helo=lyrion.ch)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dziltener@HIDDEN>)
 id 1u091S-0007Or-F5
 for bug-guix@HIDDEN; Wed, 02 Apr 2025 21:05:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lyrion.ch; s=20230702; 
 t=1743641917;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding;
 bh=7p0ZnBsNr7HeIQXdzCJo/D6okJw4z1/sSJ5YBZyttDg=;
 b=ccn1jpNzaBHVqMb1rB/R98wPaP8fDSPnydBOQ5WHeh/R8rOirqoWSgxNJ0SysPWIQ59BxV
 qhsQ+ruGrHDQiJTNl9FoezP1Aafty50z+HAQcAvABrmFpViWFjXKHbi2i9zIvGAZ7KgGy/
 /hSJn5IxmM/UjQ0jGyFKC18VBoFYIuRaTb6MG3j35KM5O7DgIxBdOXU4gYz240wXqU4X+y
 V67USyCx3iMQb8t2Fvlwcbvb78kJKb69OWi71gg4yrXRHZPo2WT9H8kOinMyFS4w5hepV7
 WOjjlamQDtg838pAbOYUctmQ4JZbyyWyYK4f9KRt4dVve9iNKca1x/OLcfpEWg==
Received: from [192.168.178.54] (cf59784b.dynamic.tele-ag.de [207.89.120.75])
 by lyrion.ch (OpenSMTPD) with ESMTPSA id a31c5fa6
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <bug-guix@HIDDEN>;
 Thu, 3 Apr 2025 00:58:37 +0000 (UTC)
Message-ID: <d3f952ab-9257-4314-8c88-3d6f14d4fba2@HIDDEN>
Date: Thu, 3 Apr 2025 02:58:36 +0200
MIME-Version: 1.0
User-Agent: Betterbird (Linux)
Content-Language: en-US
From: Daniel Ziltener <dziltener@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=195.15.241.199; envelope-from=dziltener@HIDDEN;
 helo=lyrion.ch
X-Spam_score_int: -10
X-Spam_score: -1.1
X-Spam_bar: -
X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001,
 TVD_RCVD_IP=0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

"wrap-script" seems to be fully broken. It replaces the shebang with 
`#!#f --no-auto-compile`. The input is a bash script with a Guix bash 
shebang. I found out by writing a package:


```
(define-public hdrop
   (package
    (name "hdrop")
    (version "0.7.7")
    (source
     (origin
      (method git-fetch)
      (uri
       (git-reference
        (url "https://github.com/Schweber/hdrop.git")
        (commit (string-append "v" version))))
      (sha256
       (base32
        "1iwvh0lgmpjpwq6h5fvgdn7rc0pvpywiar8inzwwjk0zfq5p5s2g"))))
    (build-system copy-build-system)
    (inputs
     (list hyprland
           jq
           libnotify))
    (arguments
     (list
      #:install-plan
      #~(list '("hdrop" "bin/hdrop"))
      #:phases
      #~(modify-phases %standard-phases
                       (add-after 'install 'wrap-hdrop
                                  (lambda _
                                    (wrap-script
                                     (string-append #$output "/bin/hdrop")
                                     '("PATH" suffix (#$(file-append jq 
"/bin")
#$(file-append hyprland "/bin")))))))
      ))
    (home-page "https://github.com/Schweber/hdrop")
    (synopsis "Emulate 'tdrop' in Hyprland (run, show and hide programs 
via keybind - similar to a dropdown terminal)")
    (description "Emulate 'tdrop' in Hyprland (run, show and hide 
programs via keybind - similar to a dropdown terminal)")
    (license license:agpl3)))
```

"wrap-program", on the other hand, which I now ended up using, works 
properly.





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Daniel Ziltener <dziltener@HIDDEN>
Subject: bug#77474: Acknowledgement (wrap-script: breaks shebang)
Message-ID: <handler.77474.B.174364235521352.ack <at> debbugs.gnu.org>
References: <d3f952ab-9257-4314-8c88-3d6f14d4fba2@HIDDEN>
X-Gnu-PR-Message: ack 77474
X-Gnu-PR-Package: guix
Reply-To: 77474 <at> debbugs.gnu.org
Date: Thu, 03 Apr 2025 01:06:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 77474 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
77474: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D77474
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 3 Apr 2025 07:42:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 03:42:54 2025
Received: from localhost ([127.0.0.1]:60781 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0FDy-0007Nh-D4
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 03:42:54 -0400
Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:49492)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1u0FDv-0007NS-6a
 for control <at> debbugs.gnu.org; Thu, 03 Apr 2025 03:42:51 -0400
Received: by mail-pf1-x430.google.com with SMTP id
 d2e1a72fcca58-736a72220edso592538b3a.3
 for <control <at> debbugs.gnu.org>; Thu, 03 Apr 2025 00:42:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1743666164; x=1744270964; darn=debbugs.gnu.org;
 h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id
 :reply-to; bh=WEBzqfjETQOycLgDzTIJuUNJdmvTYt+3Fjwyx2NmrpM=;
 b=O/aPLEVqCMkZwG+/AhzPRKJjIuYnj8eU8TOuMpbSFkUSIoJviVRMH37Co4t1kpQGEB
 flAfQ944gROkJbQ8vVIv0n3N7/m+3R24jKMnXpDcF9qRNRtqAHum+dBZvJsFIuKX8Hjl
 BZ72MNEwumggqNL8ztHTBJQw5HmLkKL+6s5Vx9NrRJo/zc14sniNKJo2xMhKrXjWlRHU
 k6ofbrcKYISMDtOZE3HyzNOfrHuKCwRKxyQToaodSLKhuXP6xl5YQjVnUjR1QmwPGhqK
 bPITa866hqblpt6BjfylvMBr3a8Ao9F5yZCid16v1ctACqFcWWYxx+qvoN3jVlSIkrD8
 SyHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1743666164; x=1744270964;
 h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=WEBzqfjETQOycLgDzTIJuUNJdmvTYt+3Fjwyx2NmrpM=;
 b=GnjGkgoLvMZjHevnqWQ6rBKx2hfBrqEocCHxwvn+UTPO++Kp34cI9rUHN1LWJ3EnHb
 6Tp8K06UrsRq7V74mvcbDdXQXbiPaOmnjiAZbbHmpWGAsm9KHL3tiMGpwxNN5yYM3VaM
 EabXSJl600H0gcj4S1rOVxFbcXMhqqbZlivoxX89alnBYxVSJk1oqMeaoXGnOtL4NF3g
 wTbq4VXmngNetZFD8UfKuxe8Qd2x8XnblGNqF7wRtXYAWkE2k5k/kqqJ1XY1f9lz2+Qw
 WvOrndETTWpo8GnBnul00Trv57gnXo9jfhnqiwfiGHF03pC2qHjXNLTmdbgak+BPKGga
 /HaQ==
X-Gm-Message-State: AOJu0YwPsXz1+fwF1UlbYaRwPrbpWRFh81NmvLLrYufmsvtAqZzHjm6+
 h2aSCkf5v9DG40FrOGWkREYa7ViCUWFp/Bxh8mYdU1xjJwWsF7H8KhS0mA==
X-Gm-Gg: ASbGncs+e5ow//dsQMqtISS1DXeU0DGqivLP854HVmrlSnjENYoeFcLauejR9DrQpGO
 on7B5UAGL/jxRAzfaaSS6hfG8EpUd/5FQ9XOhFpe++BoWjDjA9RJ4SE0UVpAJnO58jT993qoylm
 +zkP6OdScJSieCYi5bWdPe+GEZy6uNC3gOCWkbvB0XjB/Ai+3Hun99c6bBk8CpHjIHfe4tAmZNQ
 vYm6L3LM0OPsBkhKcUrl+g4WJU/9UL16tiUG+EqPA2hKS2D8DKFHsupDqU0yVVe7Oqnxa6q074R
 j/SkYDdtKgWW4cB3pF6G/kvrq+SGCrUNchVFWkczjis=
X-Google-Smtp-Source: AGHT+IG5bgcCfGmXCCLLtLTUrx1ZCGSgGhqEY6QOL+b5Uw+Mx3KrDSw0Rxg7mS03/dD7yFl/jbO4QQ==
X-Received: by 2002:a05:6a00:1145:b0:736:4b08:cc0e with SMTP id
 d2e1a72fcca58-739c7942138mr6421569b3a.17.1743666163703; 
 Thu, 03 Apr 2025 00:42:43 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-739d9ea0a7csm826377b3a.91.2025.04.03.00.42.42
 for <control <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 03 Apr 2025 00:42:43 -0700 (PDT)
Date: Thu, 03 Apr 2025 16:42:26 +0900
Message-Id: <87zfgxzo65.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: control message for bug #77474
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

merge 77474 65670
quit






Last modified: Thu, 3 Apr 2025 07:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.