From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shymkent.ilbers.de ([unix socket]) by shymkent (Cyrus 2.5.10-Debian-2.5.10-3+deb9u2) with LMTPA; Wed, 08 Jan 2025 21:32:08 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-oo1-f59.google.com (mail-oo1-f59.google.com [209.85.161.59]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 508KW6f9023478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 8 Jan 2025 21:32:07 +0100 Received: by mail-oo1-f59.google.com with SMTP id 006d021491bc7-5f338c6e11asf204737eaf.3 for ; Wed, 08 Jan 2025 12:32:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1736368321; cv=pass; d=google.com; s=arc-20240605; b=DnPkhmD9J3tuaNrNzPV32WvlG1jyyzOEP9vV/bDbiXXakEpzOgz1yPVswJtnuwen9Q jYxFI20v1vBzkASQKEzOjU5bgBjPllH7NJjm2rBT1MlNw3wl1TGu7aqznSfNaGRsGBFv LLc/rmCKax4Ut69XaR/1ep1SuoUsEck7sCypenYNLy3uj0usn5fg8sybTbtPqz/5p18Z ZsqonZy6DsvXqjRD3i3HKP+csq4zRzqbvYv0QX0PtiwQZLNySsikO007UdVPIEvyr2BO ox2TkHPCMGGEY0xI+NjW9YbjAEc0AsWhX7iONdTbUpM1alc8YFt4MJTAgEI8IAxr/pR/ ew2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature:dkim-signature; bh=O02fSMg080CzUX+3L50mAeV3Y6RLblOtV+cGcl02Ktw=; fh=RqjmXdZ1dUtycONCCNbJBeGu0p2OBL8b1cL9OqbFYpM=; b=VUYZ/Yc7Kyc9WsZ5KyU6uYtByFSrpW4nAd3v4efMdnncTsES9OuufJ2qDXCUc8E3e1 /PsrEO1LzeMgTDm2bnwhej3E+U9nXDW+qqebrF3XkWRlHDn4BGqfdhPDmmwFFqDfLIlL A2jW3RqLxEJsyxzdvIXcElDuIFu3DLaX1zFzUiZXKJjSqwd1twIcnKE9UfTMcNxMokd0 zkAdZ4TkUDzufr5SOwDZSn91eY9OYKt8qxrCSrCVcar4V05HXWRPFse7dimAv37y36uO mPiPIdJYZ2zYOU8kUFmC5Wy4GKXZThYYtLUC8hiGt4KGdPfC93fW7n54CwLt+WycxIoF C0Dw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CKdDubUx; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1736368321; x=1736973121; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=O02fSMg080CzUX+3L50mAeV3Y6RLblOtV+cGcl02Ktw=; b=ecNs9Sh9dMsNjKQMJOJ1tYzKpeOyXyca2LwT/6wMgcjUpo0F3X3awfz/JSdxRbksd+ YtKFv9DGt3PuradmE7MGO/2PiQrPTP0IJAuDiVBbsVQmDjoaL+yfN+vnTlxqGjY6E7M/ bnLdkDpOvE8mfWYxH8qufMtbxQt0PqtBc9B/KKrLN+/JriPoguAt7D8IjaIK3CVOEf7k cl45JssSj2N+dkBbXbNPybMeUU6apr7iuVg1uwfIpizRsrYDRxD9Ub2PS1kFsDb+XD5+ eqnILONO2qhH5D8akrYLAApzf6OvcYHCB8scIM87zwJ8Asxdvc9AUEMbayIkCfF4SGRo 80aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736368321; x=1736973121; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :from:to:cc:subject:date:message-id:reply-to; bh=O02fSMg080CzUX+3L50mAeV3Y6RLblOtV+cGcl02Ktw=; b=AmMXoDe5CQawgP7LZqbjv854K6fFTZ71uhvchlG1rhGlJUSpDmEg8Upn4NGkgH3p5B czs8qxzF/TxwvHnO7dZNjAN86jLG5s/0b+ddM+M8NAACHNNoL8omJ/lvhpR/ytqmOMnu m3juSbwUxdsDdZJvPmp+VDedQRaaxUO904lIiLTl3QNoAzc1R8+DKadicNr8tUhNgIBP uo27ArZkt9TnC3eGfYcE82ptYTdyLy8kLhnQW5zj6ANKw3ph9Chel/f/dvLaNPbeuhx8 BtUXIz/psDVJ1Zg9o3br+yGsbFMGYYONiGUQMmsV+h+nqYT00L9YA5MrJtvIORDVoizq oLgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736368321; x=1736973121; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=O02fSMg080CzUX+3L50mAeV3Y6RLblOtV+cGcl02Ktw=; b=pK1EgXsQcqcIGzOrHT/xh8ODFk5heV8t6UBySPgwI/rsZDs/jQebLmJjgWmWJsz7Ib jIr154oFBb4ET+anTbtZxh5r667AiHeK5ZVn+NWkSx7WOdggjF6zBYcVsx+36y0bUunr u6dB9BAPKrTi6wK0cNZ/EVNJeJjjDTUq5SBE49Q+wfMCpuDDEBfbs0M6Ctdm5v4ViYa1 hKIcFQWRi2uAmfsh3YCXVFGUm1cLvxu7LXdsHqmtb9fdN/FuPY3G4dzSMUJaLXJk6Y1K SQqI7gUkZjrLVucq5Kj1geOFoBQ5gvcE248Zhp751yGNIohEYcZc5hE5SQvclKuCcJ/t 0tDQ== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCVqxCTDKgJ8cAtkCSVHSDQi2l8A6nPgzUYbNQNaO2FRSkefpPP6uPpa5B3P1O0pViSgts34@ilbers.de X-Gm-Message-State: AOJu0YwdO98p7dVNphclwL7L/ZmiEm4De6iK7jRuaYhlNUhSB2DAIC1P zEQjTAS3j6kSeXSAsNycTq9MLHkM+n0glW22oCDTv+9lY7S0q4TB X-Google-Smtp-Source: AGHT+IG+yFP/gO1e6tUFYq5GhMle7djh+gChfgoaow9JjA2ni+8Qh6Oe56LxgFRXqK6VsaXU8KTgVw== X-Received: by 2002:a05:6820:162a:b0:5f6:7123:5f57 with SMTP id 006d021491bc7-5f7308494d3mr1833285eaf.1.1736368321103; Wed, 08 Jan 2025 12:32:01 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a4a:eac4:0:b0:5f2:fcc:a198 with SMTP id 006d021491bc7-5f880555b67ls178798eaf.0.-pod-prod-03-us; Wed, 08 Jan 2025 12:32:00 -0800 (PST) X-Received: by 2002:a05:6808:1783:b0:3eb:5562:34ba with SMTP id 5614622812f47-3ef2ecba226mr2294352b6e.25.1736368320555; Wed, 08 Jan 2025 12:32:00 -0800 (PST) Received: by 2002:a05:6808:2992:b0:3ea:54d0:9259 with SMTP id 5614622812f47-3ef2e1a8d05msb6e; Wed, 8 Jan 2025 07:57:52 -0800 (PST) X-Received: by 2002:a17:903:234f:b0:216:1cfa:2bda with SMTP id d9443c01a7336-21a83fc3891mr58565665ad.43.1736351871764; Wed, 08 Jan 2025 07:57:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1736351871; cv=none; d=google.com; s=arc-20240605; b=N8OV2fEG6xh7AdHEXqH/pwCAvhCU5+3c6fqWh5fRxfzW/yEeVqldDZKG4b9QYJ0sP6 z3gwpGbHC2rL9CIgocIrFHp9AttuB+ujSMf7kGg7S1dwCqKLeCxkdzDC/mWpckcFP1nf 3Bu0CSEghkkqnIRZmTUpeKchKIRyFf1QyscFeH3bGXICipKaJkDeGNOT2u3vIYk3ZSo7 dtI8uW/JHCQYqMrncMQF8wnFzGfmL5AZO6SI79MpLodJgrGNat2sxi4PlXaSN7JkI9nm 9sV25yRGmjGMlyXZGbgbnYUPF0VViZ3vF4lHgunM9hG7abPhUlfvxP6PoWfHNjKHZ46J splQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=S+m6KYJlrf3Phsgk8jU5//F3jQWxuRPjyKiusMF/s8Y=; fh=6eKlLgnlKQ4ILN0acbSKKd4RVnzWmr/MVaRMEap718s=; b=Lpihr4IlCO0JpvTCe+OTs80UmFvPoX5eFNlg9zc5piDDuQY/FA88m74T/FBhvcPY22 k1vN2CQtT/5dmHuuACHCMwnxJrd12w3+cVgPaHHSOgNS5cVor6MjF5ZOxZAHt80zWTbu bpjsBtV+odUtNma99hXWZegN7cgBb2i1a2psjvfo1GPxY4rXZS+eiLdI1bMK0YymXZ24 20/mWwG5/gsu4vN6fBRy1Y+LVyUL2Gk9wOSICUBG6KrCWuvpWz4KhoK0JPpPtJD6Z5xo 7lYkgLCR8svhfNjqyWqWlPQB7oq4dHiieMw+dRDMl0jlwfZ9fTu0EH7QvvinP/wE3nY7 Wcvg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CKdDubUx; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com. [2607:f8b0:4864:20::d36]) by gmr-mx.google.com with ESMTPS id d9443c01a7336-219dc9c8dbcsi15744315ad.7.2025.01.08.07.57.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Jan 2025 07:57:51 -0800 (PST) Received-SPF: pass (google.com: domain of amy.fong.3142@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) client-ip=2607:f8b0:4864:20::d36; Received: by mail-io1-xd36.google.com with SMTP id ca18e2360f4ac-844e55a981dso658948639f.3 for ; Wed, 08 Jan 2025 07:57:51 -0800 (PST) X-Gm-Gg: ASbGncs3WJYI/EWncvmZXkAeyoLX9WKBth+sLuDleo4efaG2tkqmGp0Kh0BfqcaO8gh PgLpzsjgWpEGGeZ2bvXz7vZ0cMj+5E0kn1WcRN4WbzQxdJsBBxb878jYY/JbGJmC2nr1esXBNUh UYz9X384/o85ws1zVWH99g4eN5PLTXk48FgBwJXzYto5qYXgEy2t48MCffTmWSFfFNSC4ZqVHGt ttXfRKEP+bgmnibC0Q89O5EYhpNuaKr2IFHxf2ODotQbgbA4Vdw7VMqPP9QbTx7iX6K7FWlPi2B ZRsjwDoLh9VqEKfujw2yhrsrG3J0fxYmAb6R X-Received: by 2002:a05:6e02:1a4d:b0:3a7:c3aa:a82b with SMTP id e9e14a558f8ab-3ce3a90ee90mr25041105ab.1.1736351870868; Wed, 08 Jan 2025 07:57:50 -0800 (PST) Received: from cat.. (198-84-204-84.cpe.teksavvy.com. [198.84.204.84]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3c0e47d6cdcsm108196255ab.71.2025.01.08.07.57.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jan 2025 07:57:50 -0800 (PST) From: Amy Fong To: isar-users@googlegroups.com Cc: Amy Fong Subject: [PATCH 1/2] base.bbclass: Enable the addition of epoch in an apt SRC_URI's version. Date: Wed, 8 Jan 2025 10:57:03 -0500 Message-Id: <20250108155703.10376-1-amy.fong.3142@gmail.com> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 X-Original-Sender: amy.fong.3142@gmail.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=CKdDubUx; spf=pass (google.com: domain of amy.fong.3142@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=amy.fong.3142@gmail.com; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=pass header.i=@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_RP_CERTIFIED, RCVD_IN_RP_RNBL,RCVD_IN_RP_SAFE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on shymkent.ilbers.de X-TUID: X3YghlAs0zrb From: Amy Fong If the epoch is added in an apt's package version, there will be an exception thrown as base.bbclass tries to parse the entry as a URI (it complains about an invalid port). (man deb-version) e.g. SRC_URI = "apt://cryptsetup=2:2.6.1-4~deb12u2 Fix: remove apt:// entries in URI validation list. Signed-off-by: Amy Fong --- meta/classes/base.bbclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index b8825bd3..7d4ab49f 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -123,9 +123,10 @@ python() { needsrcrev = False srcuri = d.getVar('SRC_URI') for uri_string in srcuri.split(): - uri = bb.fetch.URI(uri_string) - if uri.scheme in ("svn", "git", "gitsm", "hg", "p4", "repo"): - needsrcrev = True + if not uri_string.startswith("apt://"): + uri = bb.fetch.URI(uri_string) + if uri.scheme in ("svn", "git", "gitsm", "hg", "p4", "repo"): + needsrcrev = True if needsrcrev: d.setVar("SRCPV", "${@bb.fetch2.get_srcrev(d)}") -- 2.39.5 -- You received this message because you are subscribed to the Google Groups "isar-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250108155703.10376-1-amy.fong.3142%40gmail.com.