From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id +KKcNmLg0WIcwQAAbAwnHQ (envelope-from ) for ; Fri, 15 Jul 2022 23:47:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2GJ2NWLg0WLVTQAAG6o9tA (envelope-from ) for ; Fri, 15 Jul 2022 23:47:14 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A10542957E for ; Fri, 15 Jul 2022 23:47:14 +0200 (CEST) Received: from localhost ([::1]:45584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCT9V-0005tP-6p for larch@yhetil.org; Fri, 15 Jul 2022 17:47:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCT9K-0005rs-Tr for bug-guix@gnu.org; Fri, 15 Jul 2022 17:47:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCT9K-0005wL-Ld for bug-guix@gnu.org; Fri, 15 Jul 2022 17:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCT9K-0001Q3-Hy for bug-guix@gnu.org; Fri, 15 Jul 2022 17:47:02 -0400 Subject: bug#56467: vala command compiles files instead of running them Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Fri, 15 Jul 2022 21:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56467 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: two@envs.net Cc: 56467-done@debbugs.gnu.org Mail-Followup-To: 56467@debbugs.gnu.org, maxim.cournoyer@gmail.com, two@envs.net Received: via spool by 56467-done@debbugs.gnu.org id=D56467.16579215695315 (code D ref 56467); Fri, 15 Jul 2022 21:47:02 +0000 Received: (at 56467-done) by debbugs.gnu.org; 15 Jul 2022 21:46:09 +0000 Received: from localhost ([127.0.0.1]:42340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCT8T-0001Nd-CC for submit@debbugs.gnu.org; Fri, 15 Jul 2022 17:46:09 -0400 Received: from mail-qv1-f44.google.com ([209.85.219.44]:36687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCT8R-0001N8-Pf for 56467-done@debbugs.gnu.org; Fri, 15 Jul 2022 17:46:08 -0400 Received: by mail-qv1-f44.google.com with SMTP id r12so4650065qvm.3 for <56467-done@debbugs.gnu.org>; Fri, 15 Jul 2022 14:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=kkeUUuLCrf2q8ByWKFo349buF9uuj2dZojBSZgL4m8E=; b=SMYkuJGFhGlS8q4to/bll4BiUH6OCbJZmfknEPEbeUetVuNBIZYJqqGmpxQ9p3Ssj8 3AzLybczFu1cwOZMPyix7X8Vy1nztX/vlV/xo1k4nbvVz1PJNzq8lTmee8rWH35F/sZr fCAk/B5USHDVwHZODnOyT9bo4vzTlWHJOY3W7No0AgCEHRjO6SOsxDgnlKH7Uhb9BL8q muaqMX08WUYDtAT7F5kdTp8MKcUfvBn2C6lnxWfHEW+fslRGUXarKMrUmN0NZMe1CRN0 GueZgcyHGC5USS2wZ9+xcMjC3N8cC8A2iWyp5b3Crgmn9UsXKYk+aVvYk9/dxbwoAhBC JM4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=kkeUUuLCrf2q8ByWKFo349buF9uuj2dZojBSZgL4m8E=; b=qX/JIIaTR/7is5k95eq+YW1vICH822UadKrUbIZrESjQLFkbLqIXwejDhKeQvLoYa+ PKRj2F2LM9UnNYvwZKv8AtxcxpGcjvRU18aINRA5wFApkWChVHbLD86/bYinpyioek7/ E9ThuCd5+2qSwHil7F4IY9P4Sr7yZakH31hDCHlAHVUBKivw/qacQ+CHL/WHXDQSF/9t gRSAKqsFdNU34zJ4OJKO3388veX4Yh0S13hWp5AYt7PEO2NrPkjeonm8sv4nJxGmMj4e PIEGdAc/XPsU5NwOU0JCkkGRGMq41X0Lh+5h8iPoIQUpn32i09Mxz3fxoQ5Ks/QLVddU FEbw== X-Gm-Message-State: AJIora+KCKRJRfCPghlwBQzq9xgi5UMvMkhRdNJtnZKjouExvnEhSGP/ h1J2znY1CcEH82Cc8iR/xY5r1o9e0CpjUg== X-Google-Smtp-Source: AGRyM1uKby11ftKPIqofoy6QGS/F5PuxJhbjmYZuuSqhDew4QA75QzqKZu9Fwcs9hv6S5OQ2/5VZdQ== X-Received: by 2002:a05:6214:410a:b0:473:38b7:e09c with SMTP id kc10-20020a056214410a00b0047338b7e09cmr13716397qvb.26.1657921562062; Fri, 15 Jul 2022 14:46:02 -0700 (PDT) Received: from hurd (dsl-205-233-125-176.b2b2c.ca. [205.233.125.176]) by smtp.gmail.com with ESMTPSA id w3-20020a05620a444300b006b58aa4e0e0sm3510200qkp.24.2022.07.15.14.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 14:46:01 -0700 (PDT) From: Maxim Cournoyer References: <20220709143848.1299.16298@mail.envs.net> <87ilnyuq9y.fsf@gmail.com> <87edymuq27.fsf@gmail.com> Date: Fri, 15 Jul 2022 17:46:00 -0400 In-Reply-To: <87edymuq27.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 15 Jul 2022 15:35:44 -0400") Message-ID: <871qumuk13.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657921634; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=kkeUUuLCrf2q8ByWKFo349buF9uuj2dZojBSZgL4m8E=; b=litdfwQKV+L1DJOVaZEdT2HtWvBjgdnR2NWE+pCLDOkEsceISNrRhRW5PBlMLkAg7IwuM3 oWp+a3eBue9f6HcrR39ejb2sf5cu/MSSyytzlJfvfE/XKVK0VopdhHrePzc4+//schG50D srcXa/uimoMcASOH43EnykjqTHSPgd8MXzICspWF+6hIWrsj44LFFL+FF/7XAlW94NusfS 3QumYqvskD2jqLzvLgQ7Do8LkhVy/gd3Gxhn+XwX3FaxeNUegLFfi+FdZO15ox1l9HzUXj N1fevxfCtyl1LYzsOcE/se4WSYTOYVQgL1+OArNj/z5V0CR0zqDWOKl2dd/fRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657921634; a=rsa-sha256; cv=none; b=oQXFveDjfEjjJehvJQ2BUpNxdW1sSzlHKwcRDNec/BLLoVCY0DFFBkcjbBh6pwJQqcBvC4 KUy4Y5nFuQlYBMmfbhHOMsCFNEkSpV088vpAcU2ppa1+uaQEsy1sO5jJ8+C705ZTYlTebl shMnVVUH1g43wu+WaPG3pCWna1NBDFUBKftBrFnk3SzwoLjlSqL1YeqCu1m7FUkl8sAeft /WJ8uIdFA46VY4f6ryqo/n5BawNhcyE7MnBIeFVKIG0Hsa+x62heaM4sRhQT5lvmUXXuB6 g9OMjq9E6XS23sRQ0cUC/C13X4DAuKLmvlO9WM/ncU2eatq+W1SnG60WXTjzVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SMYkuJGF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=SMYkuJGF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A10542957E X-Spam-Score: 5.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3Ex9sKKsBdbT Hi, Maxim Cournoyer writes: > Hi, > > Maxim Cournoyer writes: > > [...] > >> lrwxrwxrwx 1 nixbld nixbld 9 Jul 15 19:18 vala -> vala-0.54 >> lrwxrwxrwx 1 nixbld nixbld 10 Jul 15 19:18 vala-0.54 -> valac-0.54 >> lrwxrwxrwx 1 nixbld nixbld 10 Jul 15 19:18 valac -> valac-0.54 >> -rwxr-xr-x 1 nixbld nixbld 147248 Jul 15 19:18 valac-0.54 >> lrwxrwxrwx 1 nixbld nixbld 12 Jul 15 19:18 valadoc -> valadoc-0.54 >> -rwxr-xr-x 1 nixbld nixbld 451032 Jul 15 19:18 valadoc-0.54 >> lrwxrwxrwx 1 nixbld nixbld 24 Jul 15 19:18 vala-gen-introspect -> vala-gen-introspect-0.54 >> -rwxr-xr-x 1 nixbld nixbld 1067 Jul 15 19:18 vala-gen-introspect-0.54 >> lrwxrwxrwx 1 nixbld nixbld 12 Jul 15 19:18 vapigen -> vapigen-0.54 >> -rwxr-xr-x 1 nixbld nixbld 720128 Jul 15 19:18 vapigen-0.54 >> >> If you read attentively, you'll see there's no proper 'vala' binary, >> vala, vala-0.54 and valac are all symbolic links to valac-0.54, which is >> the compiler. >> >> Perhaps upstream changed the behavior? Or it could be that they use >> arg0 (the program name) to infer different behaviors, which gets mangled >> by our wrappers. > > I just confirmed the later in #vala on the gnome IRC server. Let's see > what we can do. Simple deleting the problematic wrap phase seems a good enough solution, done in commit 154d270012. I've also taken the opportunity to upgrade the package to version 0.56.2 and fixed a small usability issue (it would require the user to have 'cc' on their PATH). Enjoy, Maxim