From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cAzrKUUSAGCbXgAA0tVLHw (envelope-from ) for ; Thu, 14 Jan 2021 09:43:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8P/QJUUSAGD9TwAAB5/wlQ (envelope-from ) for ; Thu, 14 Jan 2021 09:43:33 +0000 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 D1F7F9404CC for ; Thu, 14 Jan 2021 09:43:32 +0000 (UTC) Received: from localhost ([::1]:47096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kzzAB-0001Ok-FI for larch@yhetil.org; Thu, 14 Jan 2021 04:43:31 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52572) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kzz9i-0001Nt-Ny for bug-guix@gnu.org; Thu, 14 Jan 2021 04:43:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53919) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kzz9i-0001sF-Gw for bug-guix@gnu.org; Thu, 14 Jan 2021 04:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kzz9i-0008BF-F9 for bug-guix@gnu.org; Thu, 14 Jan 2021 04:43:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#27447: pelican-quickstart produces files with store path shebangs Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 14 Jan 2021 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27447 X-GNU-PR-Package: guix X-GNU-PR-Keywords: moreinfo To: Mark H Weaver Received: via spool by 27447-submit@debbugs.gnu.org id=B27447.161061732431379 (code B ref 27447); Thu, 14 Jan 2021 09:43:02 +0000 Received: (at 27447) by debbugs.gnu.org; 14 Jan 2021 09:42:04 +0000 Received: from localhost ([127.0.0.1]:37232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzz8g-00089g-EA for submit@debbugs.gnu.org; Thu, 14 Jan 2021 04:42:04 -0500 Received: from mail-wm1-f53.google.com ([209.85.128.53]:55434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kzz8f-00089S-AB for 27447@debbugs.gnu.org; Thu, 14 Jan 2021 04:41:57 -0500 Received: by mail-wm1-f53.google.com with SMTP id c124so3923795wma.5 for <27447@debbugs.gnu.org>; Thu, 14 Jan 2021 01:41:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=vyn6MTXETQ6mwC2KWyhKCaIOKXgBHBd2x/VjNydKTxM=; b=updZiXw7kRTuldxpngjAwVQliKI4haKE37i8h0XndEz/1zr1Ph/0/TCnJKx/X/rUzI 3J5+HO/EnQYvLi0zybBNXSEmcsPH2DnGhZmEev1PsPIbdTHFR6YCbv18ofXa+zN5NQxU gcprxsm4RDDoBrAm+rlkCw+U1vMNHXi2oQrDuFZmxTHXLnLV/zKFLyoz7/7k7Zip7gqg O1ChUEQXN+wQgHBUGAQxVJcz2CfH75mXG0gt7EqOXtAhNwEniO9dffrPPh2VbyZcVBG5 wnR56XsWQQsqgDhF7qnUMIhgDQkDBCtoRTmdWoRK7x8X8K/3O24CIZ7O1CZYJou07oZa i9oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=vyn6MTXETQ6mwC2KWyhKCaIOKXgBHBd2x/VjNydKTxM=; b=j6QbvdKqwVW0/FK7wgsBddLnHR65cOzN07rAD3HOhZph46cHYPzq3Gbvc+x5oT2QzE Zmyz1YJinsaaJBFtuQ8Jll86Yt8HcCOxzUEqV80w//U+PGk+0T5K5pAKDFcfgpCj4Cf6 AjIByLqHxvgyRKTmmnL5ioFUKdwE/xF6oji9WYLUAD1/DEl9aVpBFN9AWn/gt/c+9PEH ZwUwzZsRgqU8q8iCtKXrBQGZ+b3HIJcOMYXHkRn8yPYvM/Eb26LOBamTaE/CrwFqIB1m iCrLfy+gEyzsfY6+FSr/ZdofjUtlS6fQeRUHp5vQseAdjLzHBRmzm3y5FEFDuIiNGvu0 T6tA== X-Gm-Message-State: AOAM533ReQUJGGcE2hJS35B7EQj07GhL7DYoEDk7jg3iTy1LsxOPb0xP cTjdX8Jes+C9qwHsmNAaT5zhbHknlL4= X-Google-Smtp-Source: ABdhPJycIbi29xpaQgyyLsu6lp70FQgZL/XVC1L80hLak7rO7NEFekREFuwlDo5ytip8IsOCxYaC1A== X-Received: by 2002:a7b:c10e:: with SMTP id w14mr3037030wmi.161.1610617311289; Thu, 14 Jan 2021 01:41:51 -0800 (PST) Received: from lili ([88.126.110.68]) by smtp.gmail.com with ESMTPSA id z6sm8765353wrw.58.2021.01.14.01.41.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Jan 2021 01:41:50 -0800 (PST) From: zimoun References: <20170622123528.7xhnrkj5ksjznp3g@abyayala> <868s9uvprq.fsf@gmail.com> <86a6tftyrm.fsf@gmail.com> <87im804dds.fsf@netris.org> Date: Thu, 14 Jan 2021 10:37:40 +0100 In-Reply-To: <87im804dds.fsf@netris.org> (Mark H. Weaver's message of "Wed, 13 Jan 2021 18:37:08 -0500") Message-ID: <86h7njsvtn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 27447@debbugs.gnu.org, ng0 Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=updZiXw7; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D1F7F9404CC X-Spam-Score: -1.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: xy0QQbaOmt9r Hi Mark, First, one key point is the dates=E2=80=A6 >> On Fri, 18 Dec 2020 at 21:10, zimoun wrote: >>> On Thu, 22 Jun 2017 at 12:35, ng0 wrote: =E2=80=A6so more than 3 years without any comment. By without any comment,= I mean literally no comment; my email was the first. I can tell you that most of the old and forgotten bug reports like this one are simply emails addressed to incorrect list (bug-guix instead of guix-devel); as a rule of thumb. I am trying hard to avoid some false positive by first understand and second carefully check, so if I do not understand nor be able to check then I let the report as it is. Well, I am sorry if I have failed to one or the other. Second, it does not appear to me a bug. The =E2=80=9Cquickstart=E2=80=9D g= enerates local configuration files that contain absolute path to the Python interpreter. --8<---------------cut here---------------start------------->8--- $ guix environment -C --ad-hoc pelican coreutils grep [env]$ mkdir foo && cd foo && ls -l total 0 [env]$ pelican-quickstart Welcome to pelican-quickstart v4.2.0. This script will help you create a new Pelican-based website. Please answer the following questions so this script can generate the files needed by Pelican. =20=20=20=20 > Where do you want to create your new web site? [.]=20 > What will be the title of this web site? Foo > Who will be the author of this web site? zimoun > What will be the default language of this web site? [en]=20 > Do you want to specify a URL prefix? e.g., https://example.com (Y/n) n > Do you want to enable article pagination? (Y/n) n > What is your time zone? [Europe/Paris]=20 > Do you want to generate a tasks.py/Makefile to automate generation and pu= blishing? (Y/n) y > Do you want to upload your website using FTP? (y/N) N > Do you want to upload your website using SSH? (y/N) N > Do you want to upload your website using Dropbox? (y/N) N > Do you want to upload your website using S3? (y/N) N > Do you want to upload your website using Rackspace Cloud Files? (y/N) N > Do you want to upload your website using GitHub Pages? (y/N) N Done. Your new project is available at /tmp/bar [env]$ ls Makefile content output pelicanconf.py publishconf.py tasks.py [env]$ egrep -nr "store" pelicanconf.py:1:#!/gnu/store/h8jw9qhyfp6fm6nb3cgh4335qhr31wfz-python-wrapp= er-3.8.2/bin/python publishconf.py:1:#!/gnu/store/h8jw9qhyfp6fm6nb3cgh4335qhr31wfz-python-wrapp= er-3.8.2/bin/python --8<---------------cut here---------------end--------------->8--- Why is it a bug? Since the test suite is #f, I have not checked if the package is really functional. But the last updates are in 2019-12-29 and a revamp in 2019-01-15 so I assumed the package is functional and this reference in config files is not an issue. >>>> We have a couple more bugs like this. If they are already grouped, >>>> add this bug to them. >>> >>> What are these other =E2=80=9Ccouple more bugs like this=E2=80=9D? >>> >>> >> >> No moreinfo so I am closing. If I am missing something, then please >> reopen it. Third, no moreinfo about the bug itself, which I consider myself as notabug. And no moreinfo about other cases to examine them case per case. So I closed after waiting couple of weeks. BTW, the submitter of the report clearly stated they is not working on Guix anymore [1], therefore, they will no provide moreinfo. 1: > The lack of response about the "couple more bugs like this" does not > invalidate the bug reported in this bug report. I think it was merely a > suggestion that this bug might possibly be merged with other similar > bugs. The key point is that we don't need an answer to that question to > investigate/fix this bug. Sorry if it has not appeared as this but I have investigated this bug and from my understanding, it is not a bug. Since no one commented, I have moved forward. Again sorry if I have missed something. > Unless we have reason to believe that 'pelican-quickstart' is no longer > embedding store paths in the generated files, I think we should keep > this bug open. Does that make sense? Why does embed store paths in configuration files is an issue? Pelican is a Python application which therefore requires a Python interpreter. Running =E2=80=99pelican=E2=80=99 against another Python VM than the one it= was built seems a bad idea. And if the point is run =E2=80=9Cpelican-quickstart=E2=80=9D with one Pelic= an version built against one Python VM, and then reuse these generated config files with another Pelican version built against another Python VM, in this use-case, the bug is upstream because it embeds absolute path which does not respect PEP 394 [2]. I agree that in this case, the bug should/must still be opened until upstream fix. Well, I am probably missing the story about shebang and Guix. 2: All the best, simon