From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by sourceware.org (Postfix) with ESMTPS id 248653858D28 for ; Sun, 30 Jan 2022 19:44:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 248653858D28 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-x529.google.com with SMTP id u18so22455057edt.6 for ; Sun, 30 Jan 2022 11:44:58 -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:content-language:to:from :subject:content-transfer-encoding; bh=vO0EfFp26SczszLsRQ6vx++Y3q+2u5hLU9krhI6Uh+s=; b=SIqAkimBdTZzuRH6bc5pua8Fu2TE73f7X43f6pr7LTatcuk6JGpAxgv4puTesL8sVP ceI71pQfJ8jF6XLlzch1UwvyO+2EZOjqf9sXOlbTQSzOc55UNTHAUapa403cDFV6YlbO 86WqAXuwD3F7pCMCpqlyYdJoEo6g4mphdcu6PhuqIbLpPzYrRj42fHzyC2Rz3HVBFq+C NpriVUVeqrsKoOggxXgBLM8BnzOaDOZYSHIqBWpBG06mXiDQRnGNlrLscueJZqaLfgyU 6YfXfiUBnoZEwX897ocetEhlo5lE8IfGY7OLtDiXxDjYo3wlK9jqgcYhSl+tLlgJE/1F +1bw== 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 :content-language:to:from:subject:content-transfer-encoding; bh=vO0EfFp26SczszLsRQ6vx++Y3q+2u5hLU9krhI6Uh+s=; b=MTyZQgm5G0oVrdX7R+7BquA8XkCMMo8tE6BaCLsFrmyyTQ8B3gh4pYRQWrdyXhITgp 0WJPcDhJfqptRJ/bXFYtfi5j0QACS2AXwyu6NTDVSnM2yVM9xc1QbItgYNQPFJGYua82 DG1umE8zGMw01QFn6VJ5+iewgPDoAq8SCUQCWbIs17PujPWQMqqmAybkryrbqOd0v78a RML/kKyH872j5arCKsFx1fciHO9TGDJ8W+4V2dgNEl4kuuQdlfE9XQDSMljmLW+S+LfW 3h5vl4xiLbTs1uo0PavUko/V+W443JvVka4Nj9FBqvYdYrMFPSX0UIcq0lacUcHx+Y8a 8/4Q== X-Gm-Message-State: AOAM533yGIwK4OprUQ24ous5HAqLcB9a5ampxuIpTaNKB/sE79NpqSHh ZbzLiz8IWR2Z7G5c7sDn68HRvphgHiM= X-Google-Smtp-Source: ABdhPJzR7RIxBmT7TSajpS04Ri5KIoXOBjJI6tYM5UtxkzTomUjN3aZx/curCC1UdlCGp51Rann5Ag== X-Received: by 2002:a50:858b:: with SMTP id a11mr17883990edh.303.1643571897001; Sun, 30 Jan 2022 11:44:57 -0800 (PST) Received: from ?IPV6:2003:cc:9f05:adbc:c9e7:5e3d:3988:8dc1? (p200300cc9f05adbcc9e75e3d39888dc1.dip0.t-ipconnect.de. [2003:cc:9f05:adbc:c9e7:5e3d:3988:8dc1]) by smtp.gmail.com with ESMTPSA id a20sm16525231edb.12.2022.01.30.11.44.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Jan 2022 11:44:56 -0800 (PST) Message-ID: Date: Sun, 30 Jan 2022 20:44:54 +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 Content-Language: it To: "cygwin-apps@cygwin.com" From: Marco Atzeri Subject: cygport problem with pkg name starting with number Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no 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: Sun, 30 Jan 2022 19:44:59 -0000 It is not a huge number of case as we have only two packages in this category 4ti2 and 2048-cli on /usr/share/cygport/lib/pkg_pkg.cygpart there is this code using indirect variable assignment as ${!dbg_contents_var} ------------------------------------------------------------------ local dbg_contents_var=${PN//[-+\.]/_}_debuginfo_CONTENTS; __step "${PN}-debuginfo-${PVR}.tar.xz"; mkdir -p ${distdir}/${PN}/${PN}-debuginfo; tar Jcvf ${distdir}/${PN}/${PN}-debuginfo/${PN}-debuginfo-${PVR}.tar.xz \ usr/*/debug/ ${autoloaddir} ${!dbg_contents_var} \ | tee ${T}/.${PN}-debuginfo.lst \ || error "Debuginfo package creation failed: ${PN}-debuginfo" ------------------------------------------------------------------ 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 ? Of course I can just rename the package lib4ti2 and solve the issue ;-) Regards Marco