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; Thu, 30 Oct 2025 13:30:56 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-il1-f184.google.com (mail-il1-f184.google.com [209.85.166.184]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 59UCUsOw008220 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Oct 2025 13:30:55 +0100 Received: by mail-il1-f184.google.com with SMTP id e9e14a558f8ab-430ced58cd2sf32013595ab.3 for ; Thu, 30 Oct 2025 05:30:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761827449; cv=pass; d=google.com; s=arc-20240605; b=SoAzySN8ySFua3dIvQn4+lwIPTcSwxFwE7wAMM6yNDWCIJPNHa0XUGMLI7o3qlEPdR 4Q+YvW1RDo4sCenY50GqCZRKotlufWiWwpZycBLXrCNb92ElMvtO8ipy6O4ZTUQ3htBN n3FlzV9pjAFM45/65r6FwwFPUejL+VBkg3mVUOJnC7PDo3h46/JsFOpm12rCREewrcNj u3Kr0nrmTqJOcA3X3TbL/LDBOSTP58VXFiRSzC2UjtmfJWGBaXvIdHUlfVIwO2GPiJY6 GCjVHvyG5jeHxWBnM7x3xwdwF61VV7KbtAp5VzjTxIFfswCTrk+ElVtd6TZwLuKa8idU D6Dw== 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:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:sender:dkim-signature; bh=dgoF2CYc2/enzEd3au41Hkkkw89EOS1jMlBppP/D7fg=; fh=5uG7GtQSgPbTKtmPiyicNPYhwzTUjGFpcbQQtAxMG1I=; b=BvOG2uJqWcGQYkWqjZgTrMn/+KSvB2Nl8BZLAOR3GxJIOCqEG/aN5WHEp1GGKRXBVi TrO05ThYGVCrohNbczCZbwz3m8znezR1PaobL3LkSRJl17og6czM/JQoI8vrsxBPnwMo 1CqQvEjojjgIlVfn2GSdax6xQuiv3PGaojiJ/SoAKwCWifZYuhkh+Sc1I+6WkxXtpZIG tQahxhjHbRpauHCvzuntQAVVL4u5aur0gD5HU90tp12ZnnskDb+ciJzmVT5ul3lD+ZYN EUj2hsZdeATpDQscax5PWJnyXzelXGuC1ksrkt0qh2fjR08fZ3fGGLZx+FnCkrkgp4iN cUQw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@miraclelinux-com.20230601.gappssmtp.com header.s=20230601 header.b=bpf6+GWa; spf=pass (google.com: domain of kazunori.kobayashi@miraclelinux.com designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=kazunori.kobayashi@miraclelinux.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=miraclelinux.com; dara=pass header.i=@googlegroups.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1761827449; x=1762432249; 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:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=dgoF2CYc2/enzEd3au41Hkkkw89EOS1jMlBppP/D7fg=; b=VtDvMlkfkF+y6F7loxsaHKJtd45Y3nWecP+shAoD4CGTxsEWi3pRr87gYn6GFGwnXq YeL48slhRaxLykqdvIwdmIyIcFgbgZQaeMethd6Zk+bgyz8kKLCyHmP6o/BlBgZDnJAE /wXb2OePw+uFKh6CaoMfGe7z578W+PtIWZNVVcDuECilYVbIeT8ZctZDIgtaRkSdPCBj 3/Pg6lIwdyyfY6uxEEWL//JQ1QuHtdYmWhoQpU4anLDNCDy3o7Qp6KjRSPZNXgpj6CNm U2mGMFuYwwGBWq9XNFsUBYms2u6UQ5SU9KZRyYBs+rqDVmniNdE19sj5TBShQffzFBQq B+Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761827449; x=1762432249; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=dgoF2CYc2/enzEd3au41Hkkkw89EOS1jMlBppP/D7fg=; b=hpwqBRuDfQrG3Fpy/kiwiB15MP064k/b518jGTCvmngyIxrIcQgQCCTc9XT879ouI0 Iqu8q9Pt/8JhCyTuAC/fO9NxBIGRyiQonRjeOFfYDZj79tVzJte6zlfb/u9yW3hS7luf H/beJGKtT00cbSfCP72lIsUdMWdLdvQ3a7HxX9rFtqd1OJ1qQ9FL0ALICOI5/TzceB2u /DUxvBPAOSIprpWUMpkMfdGRgxV2RrLFbIAOdHhnPJdesWej5jEFn4r7dnPJpXhHlWmX GrytY63KDoXEKSVpNRg8LKKILpeWNrLZSbvs4AczPwomNAxq24bRDfBr/Exi3Y586Fyz uabg== Sender: isar-users@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCWlY/uYC96W1z4PkGYyvF/ICVH0JXqyv3KPDZ+3E/x2XWLesrNvn07r1dN3LZ5WYiE5D3ua@ilbers.de X-Gm-Message-State: AOJu0YzZHEBhfIu/v4XuW8AnsoQrJFh71dMOFe5msNjGlbZFu0JwoBem P8kY91ADSHNOWXKyYpLvUSaWgnGcxBhYyw0Dba38vc44wpLoZ8chX0ia X-Google-Smtp-Source: AGHT+IHrqrMJiNfltA59r8CnK3EHXw5KBoz4ApLNgzVCQdwuYYv/j3EJGi0yn7FJ2TLgRhfm97hBzg== X-Received: by 2002:a05:6e02:1b02:b0:430:af8f:1d28 with SMTP id e9e14a558f8ab-432f8fad4f4mr91397385ab.11.1761827448426; Thu, 30 Oct 2025 05:30:48 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+YVGPcbJrbQJSk2Vkxlr7Ng43ram71GXY9gubfrLRYBvg==" Received: by 2002:a05:6e02:2168:b0:432:fcef:653f with SMTP id e9e14a558f8ab-4330192968fls7924495ab.1.-pod-prod-05-us; Thu, 30 Oct 2025 05:30:47 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVzDbVMXu3y3ihzycp9HYtixVrf1Vv/MhVbohc6P9mzc01YrNPN0g99sYV/LVHh5S23pEKhWvdZUIqW@googlegroups.com X-Received: by 2002:a05:6e02:184c:b0:431:d864:364c with SMTP id e9e14a558f8ab-432f90285d9mr90275895ab.17.1761827446678; Thu, 30 Oct 2025 05:30:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761827446; cv=none; d=google.com; s=arc-20240605; b=ZjmifctXP4zLutR/08ldwCnZaTjV/znqwTFXbnEaeBs8to8odzNSKOIJ5dI8JyWYJd 0jbCcOlF3xj/5w1wadJ3+OunzSL9Z6Qr8CehZRDMHD1lTFE4Kk7ngk4rBMAru496TuKo eaCw7XvtLT1l+ifaqlvPv1JG2sd25Q4eXjvux3GQsVgNpvzD5/harF1yzvNE1kYWUJ5U seC3y1W/5Qyevap6/lRLifAVu+dtSpVOUn1E4fYOX1VOIpE9IBskayGqBZAx6WjP75S8 yY2W5B/UOChJ3fLwvRC3znLuQ2lHt6x5ZCFoDAOX5fpddLzhHZPwBAbcFe+NPzX0QHwj Br9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=X4Npdn1rnAD0weUqffi2Am7lyOYCjZrsi166EF8PwZY=; fh=LeDgvieEoFOX/Gf3PKPFnf08r5KynhpCO+TZ1uRuuJE=; b=Hz+4fhx2SCvcO0VU/KpK4RA41zHGniGuPnL8tQ7tMBHT1mdGQQIZ8LSNoU8ArcFRfF Y5GIjrvnXlBTaMFYX9B4sZC0yx9YrxoNLKfGnh+NmhzpZFR27/2dgar85WRDdX2+/wus MS38LJHFR9Mye1tll7VqVlAGXu5hL9lLxnpgdqJs+K/GcM2KPSig3PuiU3K/Cc5mcPsF b/l5w3yJWIy4S1Xrm2rlrhJEtvVip+mORNVLO7XoPtXOw7dZYGxgf4/tTNLyLEIF5dkn lw5cJnjXc0ajm/P0lttG/l2UAzE2rm421h7ZvBwT+AsdkQ8RpwSPioLUJ+YjFZRTAE8X HUGQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@miraclelinux-com.20230601.gappssmtp.com header.s=20230601 header.b=bpf6+GWa; spf=pass (google.com: domain of kazunori.kobayashi@miraclelinux.com designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=kazunori.kobayashi@miraclelinux.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=miraclelinux.com; dara=pass header.i=@googlegroups.com Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com. [2607:f8b0:4864:20::636]) by gmr-mx.google.com with ESMTPS id 8926c6da1cb9f-5aec2a0955esi451652173.1.2025.10.30.05.30.46 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Oct 2025 05:30:46 -0700 (PDT) Received-SPF: pass (google.com: domain of kazunori.kobayashi@miraclelinux.com designates 2607:f8b0:4864:20::636 as permitted sender) client-ip=2607:f8b0:4864:20::636; Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-290aaff555eso8978515ad.2 for ; Thu, 30 Oct 2025 05:30:46 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCUAXQaPd/B4Z02TlekN5BGre/wH6vQR4zCdEBRJ9bJ+BxS0rAs02sOmnAm65vuEFCp5QcJn0W0k8ivG@googlegroups.com X-Gm-Gg: ASbGncs6iWaTW9/iLAVq7mEH4hlp0utCci9TdRNM7mFDqZ4vq+Hi8telNtgnmsGrzhm b/PUWgOCQ/Jeefy4Ew76wY/DbEl1xokXeSiKlLER11hVuMd1s5y1oVNXiy3V7ZJ49DetNViR+0u LAkloi88lnCmwq0pNFfrA6yjcfmm5AiR/3VWyxYozAvlOdF3oihyW+f1YEEZVy20TpADHU5JmY+ ljWtOATkxL2EhmrNmh4G2uhaEAQDc68kZ/J1he3egNRYS+VAC1sIebGNyusoDqC2IO8vgPTP90O Z22oe74pSbvb7BKOImbIwUaaCAd0At1ye6UadHeJCJgBIwg8XVYOpeMSKJ03wFDbM6HcaE0buN8 zdK78yj5DXapVAvPDK+2yKeMAj5scZaHlhb19rexjtfvXKIA6wUbTVVvYmYryzmL4ZiJWir1i6E /bJskHRGr+wictPkDW1yxr+WlwtvnxkeWwNwVmh6CduMbZQlkHEGZ/bkIKBs/d8/huvg== X-Received: by 2002:a17:903:32cd:b0:27e:e96a:4c3 with SMTP id d9443c01a7336-294dedef16dmr73980205ad.14.1761827445494; Thu, 30 Oct 2025 05:30:45 -0700 (PDT) Received: from [192.168.11.8] (133-149-217-149.east.dxpn.ucom.ne.jp. [133.149.217.149]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-29498d09717sm183695055ad.23.2025.10.30.05.30.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 30 Oct 2025 05:30:44 -0700 (PDT) Message-ID: <465063ac-96cf-4649-8618-c63b3e6fdb46@miraclelinux.com> Date: Thu, 30 Oct 2025 21:30:41 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] dpkg-source: Export proxy settings To: Florian Bezdeka , isar-users@googlegroups.com Cc: hiraku.toyooka@miraclelinux.com, masami.ichikawa@miraclelinux.com References: <20251028013532.1388325-1-kazunori.kobayashi@miraclelinux.com> <44272f9dcdb15fe9cecc11a619289b95d01fac99.camel@siemens.com> Content-Language: en-US From: Kazunori Kobayashi In-Reply-To: <44272f9dcdb15fe9cecc11a619289b95d01fac99.camel@siemens.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable X-Original-Sender: kazunori.kobayashi@miraclelinux.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@miraclelinux-com.20230601.gappssmtp.com header.s=20230601 header.b=bpf6+GWa; spf=pass (google.com: domain of kazunori.kobayashi@miraclelinux.com designates 2607:f8b0:4864:20::636 as permitted sender) smtp.mailfrom=kazunori.kobayashi@miraclelinux.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=miraclelinux.com; dara=pass header.i=@googlegroups.com Precedence: list Mailing-list: list isar-users@googlegroups.com; contact isar-users+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: isar-users@googlegroups.com X-Google-Group-Id: 914930254986 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Status: No, score=-4.6 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, 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: SDX9FUAmM5p2 On 10/30/25 19:13, Florian Bezdeka wrote: > On Thu, 2025-10-30 at 11:36 +0900, Kazunori Kobayashi wrote: >> On 10/29/25 22:53, Florian Bezdeka wrote: >>> On Wed, 2025-10-29 at 10:43 +0900, Kazunori Kobayashi wrote: >>>> I assume Isar considers networking via proxy in such as downloading >>>> something in do_fetch, resolving dependencies in=C2=A0do_dpkg_build an= d >>>> package installation on the target root filesystem in do_rootfs_instal= l. >>>> We can actually use it in such typical cases with no problem. >>>> >>>> This change has effect on a very limited case, where a self-built >>>> package fetching a source package via the apt:// scheme in SRC_URI is >>>> specified as a native package (-native) to IMAGE_INSTALL or >>>> SDK_INSTALL. In this case, the source package is fetched via apt-get i= n >>>> schroot in do_fetch_common_source but proxy environment variables are >>>> not set in the executing shell function. >>> It seems that I missed that the apt:// fetcher is invoked quite late, >>> so already inside the schroot environment. That is done that way to use >>> the apt machinery of the target distribution already. >> Thank you for instructing me on the existing apt fetcher issue. If >> possible, I would like to understand how to fix the issue properly. >> Could you please roughly clarify it on the code base, if you don't mind? >> >> I found a different apt fetcher code from do_fetch_common_source in the >> following place and it seems to set proxy settings before fetching a apt >> source package inside the schroot environment. >> >> https://github.com/ilbers/isar/blob/master/meta/lib/aptsrc_fetcher.py > This one is the fetcher that gets involved when you have something like > apt:// in your SRC_URI. > >> The apt fetcher code seems duplicate, but do you think invoking this one >> at the appropriate moment is preferable? > The task that you modified (correctly) is invoked when building a > package. It fetches the Debian source package from the (internal) > repository. > > There are two apt-get commands here. The first one is local only, the > second one will talk to "upstream" / the network as well. This will > obviously fail if proxies are involved. I see. I mixed up the apt fetchers for SRC_URI and for being invoked=20 when building a package. Thank you. I have already posted a v2 patch with the commit message modified. I=20 would be grateful if you could check it. Regards, Kazunori > >> Regards, >> Kazunori >>> So yes, that seems correct. >>> >>> Thanks for the additional information. You could (if you like) send a >>> v2 with that information part of the commit message. Will help the >>> maintainers as well. >>> >>> Thanks for your contribution! >>> >>> Best regards, >>> Florian >> >> --=20 >> Kazunori Kobayashi >> Cybertrust Japan Co., Ltd. >> https://www.cybertrust.co.jp/ >> >> --=20 >> You received this message because you are subscribed to the Google Group= s "isar-users" group. >> To unsubscribe from this group and stop receiving emails from it, send a= n email to isar-users+unsubscribe@googlegroups.com. >> To view this discussion visit https://groups.google.com/d/msgid/isar-use= rs/a5d85c10-7dc7-40db-a9d7-4ded45925c3c%40miraclelinux.com. --=20 Kazunori Kobayashi Cybertrust Japan Co., Ltd. https://www.cybertrust.co.jp/ --=20 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 e= mail to isar-users+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/isar-users/= 465063ac-96cf-4649-8618-c63b3e6fdb46%40miraclelinux.com.