From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 09 12:52:14 2022 Received: (at submit) by debbugs.gnu.org; 9 Jul 2022 16:52:15 +0000 Received: from localhost ([127.0.0.1]:35829 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oADgk-000586-G5 for submit@debbugs.gnu.org; Sat, 09 Jul 2022 12:52:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:55150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oABih-0001kE-Kr for submit@debbugs.gnu.org; Sat, 09 Jul 2022 10:46:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59746) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oABih-0007U0-D9 for bug-guix@gnu.org; Sat, 09 Jul 2022 10:46:07 -0400 Received: from mail.envs.net ([5.199.136.28]:42892) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oABib-0005iT-PZ for bug-guix@gnu.org; Sat, 09 Jul 2022 10:46:06 -0400 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 7955138A0F53 for ; Sat, 9 Jul 2022 14:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1657377529; bh=F7Pe5LXhdFCViqC230KaeNYA0AlRlGSO54KH/7ufbdQ=; h=Subject:From:To:Date:From; b=Acfc+E/hOe0LC7NQC/PBF5Jl1l2J6lPMObFWCWOIQHcCFJWx8XVmSZV+fJHNZ5Xj8 HnNH2kfgC+ViQLpi/UEDaeHqtsNvO5ae/Y6ewjBCNzcehiDQHg8XyTYml5L+7dd00W VDNVvFRunk3IuEBXOCcULlZwFH8VjYwBnr84TQEdPTUYzrtEaDorvSUDEp3JC3opZ8 mpdnngKJuO90VFK0zUAtb/firn8yYCt+x8lduU5AG1qy2dOnspzzUX+PPzTaECgger Zcpl9FU6FE+3lY+ikXpuvYjkPv0V1U/ypkc1pqbqBYH+c2Cs31fUi/08Klwv/Il+/F 9dxlpdlqJfazC8zMwKD2v7Hs4pUQ1dbo/rezGXI2Z1b+f1E3F44ZF82t0aNS3OEcan +6R62u3Gfm9Na3rfRYuLPh3Psj3aJa+RsC27bt/pOAzaEgDg/v6JlVWX6D0sA+nwhm 9yUVkXr29nIX7slsFwR2BVXKo9ZVr8LolHwIX+/+9soQKQf+PaJN77vvFTORnHNZGY lfv+RIF66R/sduCZFNBACgtBMsm1lfJkSZP9MnyffsZp3/2mQWQBLgKfmwZc8NZYj7 RzTm30qNQTs3uvUH69MomVwBXdiP6xk5QyXf93TmbCtT+4Q3G+h/kkaovkNOtCQZv+ ehXVprclGABipLx7Js9Wy0Cw= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id GGfyHuz5unxF for ; Sat, 9 Jul 2022 14:38:48 +0000 (UTC) Received: from mail.envs.net (mail.envs.net [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: two@envs.net) by mail.envs.net (Postfix) with ESMTPSA for ; Sat, 9 Jul 2022 14:38:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: vala command compiles files instead of running them From: two@envs.net To: bug-guix@gnu.org Date: Sat, 09 Jul 2022 14:38:48 -0000 Message-ID: <20220709143848.1299.16298@mail.envs.net> User-Agent: Modoboa 1.14.0 Received-SPF: pass client-ip=5.199.136.28; envelope-from=two@envs.net; helo=mail.envs.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 09 Jul 2022 12:52:13 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) the bin/vala-0.54 shell script executes bin/valac-0.54 which executes bin/.valac-0.54-real. it should execute bin/.vala-0.54-real instead. expected (was the case before guix's update): $ vala hello.vala Hello, World! $ ls hello.vala actual: $ vala hello.vala $ ls hello hello.vala $ ./hello Hello, World! From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:31:18 2022 Received: (at 56467) by debbugs.gnu.org; 15 Jul 2022 19:31:19 +0000 Received: from localhost ([127.0.0.1]:42198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCR1y-0004vu-5z for submit@debbugs.gnu.org; Fri, 15 Jul 2022 15:31:18 -0400 Received: from mail-qv1-f45.google.com ([209.85.219.45]:34365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCR1s-0004vc-Sy for 56467@debbugs.gnu.org; Fri, 15 Jul 2022 15:31:16 -0400 Received: by mail-qv1-f45.google.com with SMTP id mi10so4412718qvb.1 for <56467@debbugs.gnu.org>; Fri, 15 Jul 2022 12:31:12 -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=bYVDcXedV0rzuCviha6Y71wfC131WCeWUmfDHlwm4RY=; b=o9P6gmNzvDdIYFlDN2DDUHdIPRWSf7hwOZhDfjveRXVfNA/DGoQVfi3zuP4UWUutQ8 vrIL1I5hV86aPLzpYsaLXrKWY29DYUxCzx2YaPV+pBJ+ZQDg0WTWzo6uxhkP9sP5V+5I FbTsetbfH3TfRUznYHglTi77U/aEGfCJvSVuXj0bi5O2mzkFszLvvNpzUBJpG6+nqr1V Noabs+KWc1VuaqYKHkIl9oIINfK9KbKfuFPXQBx08Tg0kCWoCj+3LUfVuqB6P96wWp44 6lb+Gr8qh6GaeXyl5lVUcHlF51S7DFH8vWXgz/0V8Vr7EImVm5ohru3Mwk5wHjQLMcBm CLPw== 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=bYVDcXedV0rzuCviha6Y71wfC131WCeWUmfDHlwm4RY=; b=2oUQeouu+3CA5G5WSwWx/BwW7WkvoTR2xRJRwXMjUIU4EWg22YsVHX7tzf7N/nrFgB CZnxy9LpGLPpxIxa0Dv3BXBAHyzEFwzVHehTsuX+LWxj2JIg71xJKYwB7br5nSL3LzX2 2PKcGbgFBkb1dsUUFgnmRiWkvlmR43MXf28Sf2G+cOKYsDU+854p1d49V4L5oCsYFtF5 a4xi9cidzmtk8b0G/oCnu+/XqG43gXsz7yTrMGYklN+yR472ZiP1aZQG/vnqQ0T0jjJb m9jke1JIiqrMHUOMoHEIgakpkOYnhZT1tYEC1Q41AYgVsNBMdrTrXohYXQtFmf+9f8eS 1+GQ== X-Gm-Message-State: AJIora+5Z3CP18ZUuB4xCPdEypTIuuYHoVaFNN6xQQdR0ssej+D8Y1RL Au8ISlW3VUgXqVw5SrYKalWivmz6+T52dg== X-Google-Smtp-Source: AGRyM1tifdeCPvyKHWbGIjrCMpdoI3B6ZyiuGCsdVKfLRczzYKaHSpEAiXiFVXLWdpjpGKL6OxBaBg== X-Received: by 2002:a05:6214:2389:b0:473:17a8:102 with SMTP id fw9-20020a056214238900b0047317a80102mr13376056qvb.40.1657913466921; Fri, 15 Jul 2022 12:31:06 -0700 (PDT) Received: from hurd (dsl-205-233-125-176.b2b2c.ca. [205.233.125.176]) by smtp.gmail.com with ESMTPSA id a11-20020a05620a438b00b006b58b806745sm4464010qkp.43.2022.07.15.12.31.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 12:31:06 -0700 (PDT) From: Maxim Cournoyer To: two@envs.net Subject: Re: bug#56467: vala command compiles files instead of running them References: <20220709143848.1299.16298@mail.envs.net> Date: Fri, 15 Jul 2022 15:31:05 -0400 In-Reply-To: <20220709143848.1299.16298@mail.envs.net> (two@envs.net's message of "Sat, 09 Jul 2022 14:38:48 -0000") Message-ID: <87ilnyuq9y.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56467 Cc: 56467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, two@envs.net writes: > the bin/vala-0.54 shell script executes bin/valac-0.54 which executes bin/.valac-0.54-real. > it should execute bin/.vala-0.54-real instead. > > expected (was the case before guix's update): > $ vala hello.vala > Hello, World! > $ ls > hello.vala > > actual: > $ vala hello.vala > $ ls > hello hello.vala > $ ./hello > Hello, World! That's indeed confusing, but it stems from the odd symbolic links layout that upstream installs: --8<---------------cut here---------------start------------->8--- 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 --8<---------------cut here---------------end--------------->8--- 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. Do you have another build of vala to compare against, preferably at the same version? Thanks, Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 15:35:54 2022 Received: (at 56467) by debbugs.gnu.org; 15 Jul 2022 19:35:54 +0000 Received: from localhost ([127.0.0.1]:42203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCR6Q-00052h-B2 for submit@debbugs.gnu.org; Fri, 15 Jul 2022 15:35:54 -0400 Received: from mail-qt1-f182.google.com ([209.85.160.182]:44757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCR6N-00052P-Mv for 56467@debbugs.gnu.org; Fri, 15 Jul 2022 15:35:53 -0400 Received: by mail-qt1-f182.google.com with SMTP id r21so3829745qtn.11 for <56467@debbugs.gnu.org>; Fri, 15 Jul 2022 12:35:51 -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=etajIOHsfW5a4fT+QJTmioX1JDZbCch2Cg98wx20l1E=; b=m35zaRPzYL9+MALf+5Q3Pah9Lu9V9KJMINEuQRK4VVHZ1cr6IJ0ZHCVo3apcgX/UnC 0mtBJ7ZDIRyRTShJRVhlitYAXVoMbZOH7mL2JPdatS66EjxkvoyALfSE4D/eSaNR4S8O QPfSOj0zh1TuWrsiZqJXmhOOREJGBm/leSxPnNVtr7vdAwS2Aj6QkO24+7HXFh40KW78 vlZRCyQz/zRAZQKXpwWPPybZLAreN7+rbF2pDsdjFAQYOP3qMK/uiweT+CerDGGc+Et5 RNRXPFgZbmxfB8yYAUFwoo8+8uubOUNRG2I8f1J50fTYCAE3MITlK9x9L5XRhBFTszsZ s8VA== 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=etajIOHsfW5a4fT+QJTmioX1JDZbCch2Cg98wx20l1E=; b=YslpGu14Hajn+of2AbW+ZlqqCj5TE6DPDIzQENIlFc8hTxEaq051dw2z1Ap9IeKETF 6bfOjLzYmDJlJnjo7zKRjGT3XRKmnI0mrHX4iaGiJz5IEs1rZwwMQkCbv4bu3tCmZSQE LHD8mvNZlekPPWhhRO4irczftU8alUsIxiR4GO5ngwQ+Oob1dU+ysJo09GFo3lWUY/KU 0894i2BgcgRjvRxRsnsEZSv5vLFGQukYYTaJyJX9x/8dyy5Lj3Powt2IScHetYWKgrz5 uMKTFtG/3libIu6NhD61sujQvO5QgqqXL4qlLg12xpSPJ78pGpPLWSBZOjvZiwjYrZWB YnEQ== X-Gm-Message-State: AJIora/wViXvZulaUARJpTjfJmrAbaUN15I8aMElX7FYGy2wXka0JT0g Oaa92KFvCqr3cVUT0zbyWUe0cI+KH9+DrQ== X-Google-Smtp-Source: AGRyM1t29j3EtysjCHTh/7NRNFY0ET1u8cB8KPG298ZVJZSXkF/4A7tHze+i1GSGP8uEtzgFW+YR8Q== X-Received: by 2002:a05:622a:349:b0:317:c7df:690e with SMTP id r9-20020a05622a034900b00317c7df690emr13545152qtw.276.1657913745731; Fri, 15 Jul 2022 12:35:45 -0700 (PDT) Received: from hurd (dsl-205-233-125-176.b2b2c.ca. [205.233.125.176]) by smtp.gmail.com with ESMTPSA id x18-20020a05620a449200b006b5988b2ca8sm4842593qkp.40.2022.07.15.12.35.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jul 2022 12:35:45 -0700 (PDT) From: Maxim Cournoyer To: two@envs.net Subject: Re: bug#56467: vala command compiles files instead of running them References: <20220709143848.1299.16298@mail.envs.net> <87ilnyuq9y.fsf@gmail.com> Date: Fri, 15 Jul 2022 15:35:44 -0400 In-Reply-To: <87ilnyuq9y.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 15 Jul 2022 15:31:05 -0400") Message-ID: <87edymuq27.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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56467 Cc: 56467@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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. Maxim From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 15 17:46:09 2022 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 To: two@envs.net Subject: Re: bug#56467: vala command compiles files instead of running them 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56467-done Cc: 56467-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Wed Jun 18 23:13:47 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 13 Aug 2022 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator