From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id 533CD3844051 for ; Wed, 24 Feb 2021 05:20:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 533CD3844051 Received: by mail-wm1-x32f.google.com with SMTP id u125so683775wmg.4 for ; Tue, 23 Feb 2021 21:20:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=73tBvdEYuWcUh3eO4rPZLD8wbGceRoKMch3myFk2L8g=; b=F6i2Mhow3LtCjT/aj+hh+sJhK+I0necMXUnx2PcMfsK7OMv+4yw5poF/T3PzleIZsB 41qwMXDTGIgtGOEbDz/hxA6HATnOf1VdNtlwKqxrXN71nAzHqYbInQLLxG+60F41G9Op XDfeUj//ElWiZuQd71nwxiqQ2VNQGYZpcSJK8JWA4ANazpMul5nrCdfFNpSp1PUJz1qq Xdg0TlgIQ6jOnwOZvmReo2zlBESmwLoFEAAU8d2uP2Zx53Y9H9ZTzZmWmsxvfxfr+i0v 1fvUN9ksnkWOzeCdZ26hCZvaaoq68pla5SPavTftlcrxjpjRNm2YwctpabdxZ8PrkSWv ODOQ== X-Gm-Message-State: AOAM5332VxD2q/lr8YMuelBtrqV02ac3g0Q2avC6ncotVjvdzuMsrbHP alhO/lTgyee5EdKMydv/56Mf9PjWAnEj+A== X-Google-Smtp-Source: ABdhPJwjF6za181UY3AYhRp5vDUPcjv0f/aN6gLaM/rJi2Upfuv4nYhNv6x/xBl3l8Go8uYw9d8SiQ== X-Received: by 2002:a05:600c:4f0b:: with SMTP id l11mr1872736wmq.79.1614144038959; Tue, 23 Feb 2021 21:20:38 -0800 (PST) Received: from ?IPv6:2003:cc:9f2b:2f2d:ac06:9b1f:b7ee:8c6f? (p200300cc9f2b2f2dac069b1fb7ee8c6f.dip0.t-ipconnect.de. [2003:cc:9f2b:2f2d:ac06:9b1f:b7ee:8c6f]) by smtp.gmail.com with ESMTPSA id l22sm1361090wrb.4.2021.02.23.21.20.38 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 23 Feb 2021 21:20:38 -0800 (PST) Subject: Re: Multiple version of Lua with alternatives To: cygwin-apps@cygwin.com References: <874ki7uqz2.fsf@Rainer.invalid> <20210220191536.1263.50F79699@gmail.com> <20210224131805.F073.50F79699@gmail.com> From: Marco Atzeri Message-ID: Date: Wed, 24 Feb 2021 06:20:37 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210224131805.F073.50F79699@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2021 05:20:41 -0000 On 24.02.2021 05:18, Lemures Lemniscati via Cygwin-apps wrote: > On Sat, 20 Feb 2021 19:15:38 +0900, Lemures Lemniscati >> On Sat, 20 Feb 2021 08:40:33 +0100, Achim Gratz >>> Lemures Lemniscati via Cygwin-apps writes: >>>> * A new source luarocks provides lua53- and lua54-luarocks. >>>> They install rocks into an alternative tree /var/lib/lua-site/. >>> >>> That looks wrong to me, I'd have expected >>> >>> /usr/share/lua/luarocks >>> >>> or maybe /usr/local as a prefix depending on how much emphasis you want >>> to put on the user-installable part. The /var/lib tree is for local >>> state information per FHS, not installed components. >> >> Thank you for review. >> >> I've fixed it, so that luarocks should install rocks into >> /usr/local, and updated packages [1]. >> > > I'm wondering again it would be better for luarock to install into /usr/local tree. > > > If we choose /usr/share/lua/luarocks as a tree root for luarocks, > the tree will be > > /usr/share/lua/luarocks/bin > /usr/share/lua/luarocks/lib/lua/5.3 > /usr/share/lua/luarocks/lib/lua/5.4 > /usr/share/lua/luarocks/lib/luarocks/rocks-5.3/ > /usr/share/lua/luarocks/lib/luarocks/rocks-5.4/ > /usr/share/lua/luarocks/share/lua/5.3 > /usr/share/lua/luarocks/share/lua/5.4 > > and if we choose /usr/local, the tree will be > > /usr/local/bin > /usr/local/lib/lua/5.3 > /usr/local/lib/lua/5.4 > /usr/local/lib/luarocks/rocks-5.3/ > /usr/local/lib/luarocks/rocks-5.4/ > /usr/local/share/lua/5.3 > /usr/local/share/lua/5.4 > > The latter seems more intuitive for me. > > Regards, > Lem > usually installation with a similar subtree are installed under usr/lib $ find /usr/lib -name bin /usr/lib/debug/usr/bin /usr/lib/debug/usr/libexec/TeXmacs/bin /usr/lib/postgresql/bin /usr/lib/python3.8/site-packages/SCons/Tool/docbook/docbook-xsl-1.76.1/epub/bin /usr/lib/python3.8/site-packages/SCons/Tool/docbook/docbook-xsl-1.76.1/tools/bin /usr/lib/qt4/bin /usr/lib/qt5/bin /usr/lib/R/bin /usr/lib/R/site-library/ps/bin /usr/lib/R/site-library/Rcpp/unitTests/bin there are few cases under usr/share but usually are sub-sub trees $ find /usr/share -name bin /usr/share/doc/perl/html/html1/bin /usr/share/gdb/auto-load/usr/bin /usr/share/gems/gems/rake-12.3.2/bin /usr/share/gems/gems/rdoc-6.1.2/bin /usr/share/grace/bin /usr/share/octave/packages/parallel-4.0.0/bin /usr/share/octave/packages/sparsersb-1.0.8/bin /usr/share/ruby/2.6/bundler/templates/newgem/bin /usr/share/sgml/docbook/xsl-ns-stylesheets/epub/bin /usr/share/sgml/docbook/xsl-stylesheets/epub/bin /usr/share/texmf-dist/source/latex/koma-script/doc/bin /usr/share/texmf-dist/tex4ht/bin we have nothing "current" installed under usr/local at all. No package should be installed there