From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by sourceware.org (Postfix) with ESMTPS id 97BCE3858C83 for ; Tue, 1 Feb 2022 17:46:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 97BCE3858C83 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ed1-x52f.google.com with SMTP id p12so35981669edq.9 for ; Tue, 01 Feb 2022 09:46:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=eVffvDF2P5Rsv2jeLhZAfFjFr5c83OhJJJjSOwpnqm0=; b=MVuFx05Mj8BB+tFm5XonufjIJ7sPb9Cb89fzNxUw1piYX6S/sAhFBKUDkvNvAVDahn PO1d5IQRS481IH4Z1DSkSyGv97QIYKgcugXpJfNCTNbUQCn8jvqqG2x/MznYJ4N9sEnW uQRd+XOvjYW0UH+d4ILvKZue5DCGBQC0RLepe8xGQjr/Di14TkpjGNL/veEGUKVjT8p6 TxDG5ifAoSkoKk3uqkfVd0Bx0KHZXY/kBEXQqyQuAwi7IuLdUpKqCZ+1+ROYYFp+0vH/ TIVoMbmETeyT+8FFp8VXeQzE6kd4TZ3YIPO4v4C0O+FYxjzyM/9Ge8k7R0iUidoaWFSv ZJMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=eVffvDF2P5Rsv2jeLhZAfFjFr5c83OhJJJjSOwpnqm0=; b=bnKET+8dfaNwlFlirHypw9yGMkLWH0mgCmrJRHP5MtRj91ujd6oUN3vByLnByIABcg o2V4IHeAbam7Bn8/ArS8dKFdVA+WPjuMopb4zticub7CCUsTcx+kq4ZwvDszoNPqSMZf heLYwpl66yIMNtzu9j6Al5hNiWoMlSQullXWjK4o2qZPD0599oNeTmZuxbi9vakgAtLT zg85GxPXg0BlQ2iC+z1+eTAxA8upAYNaNo7zx+I/yOOo4cKGdlvBa567E9AZfVcuoS6U Heo95sWiFKblOjhZnwqjRvB5/R1ABqdYAXZbzKNl1RUp0JObnj5XXpXpujoRw+SB9yM9 ZXlg== X-Gm-Message-State: AOAM530gdminOJKP4kC7EGcQnxcxcUMHxgsIgwdf/sHiWzYN+O4u3X7T Z4L6ItEl3ZlXTmjciQNMgXUSSe+eXTDNbw== X-Google-Smtp-Source: ABdhPJxzGBLGRor49ntJx+wl8AH2xB7XrtkVLUqA6ZCgXT/b12vfdDcWvzrqyZO2v5kTKquAPR+rYA== X-Received: by 2002:a05:6402:270a:: with SMTP id y10mr26100563edd.413.1643737570632; Tue, 01 Feb 2022 09:46:10 -0800 (PST) Received: from ?IPV6:2003:cc:9f05:adc9:bd82:568b:dd71:3a45? (p200300cc9f05adc9bd82568bdd713a45.dip0.t-ipconnect.de. [2003:cc:9f05:adc9:bd82:568b:dd71:3a45]) by smtp.gmail.com with ESMTPSA id kw5sm7532844ejc.140.2022.02.01.09.46.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 01 Feb 2022 09:46:10 -0800 (PST) Message-ID: <8f2ce3f1-736e-69f1-fedc-029976d365b6@gmail.com> Date: Tue, 1 Feb 2022 18:46:10 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Subject: Re: cygport problem with pkg name starting with number Content-Language: it To: cygwin-apps@cygwin.com References: From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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: Tue, 01 Feb 2022 17:46:13 -0000 On 01.02.2022 16:04, Jon Turney wrote: > On 30/01/2022 19:44, Marco Atzeri wrote: >> It is not a huge number of case as we have only two packages >> in this category 4ti2 and 2048-cli >> >> that produces >> >> /usr/share/cygport/lib/pkg_pkg.cygpart: line 197: >> 4ti2_debuginfo_CONTENTS: bad substitution >> >> Any idea how to overcome the issue in cygport code ? > > I wonder how this worked the last time the package was built (in 2016!) I suspect cygport changed behaviour just after that build. > I guess since this variable is not exposed to the user, you could just > rename it so it starts with a '_'. > > But, it looks like there would be a general problem if anything in > PKG_NAMES starts with a digit, as you wouldn't be able to assign to > _CONTENTS etc. in your cygport? In reality only the source and the debug packages are called 4it2. The others are called lib4ti2* >> Of course I can just rename the package lib4ti2 and solve the issue ;-) >  I wonder if forbidding package names to start with a digit is the > solution :) No problem for me. The major issue is just renaming the old files to new names Regards Marco