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 11:13:31 +0100 X-Sieve: CMU Sieve 2.4 Received: from mail-lf1-f64.google.com (mail-lf1-f64.google.com [209.85.167.64]) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPS id 59UADUQ5006842 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 30 Oct 2025 11:13:30 +0100 Received: by mail-lf1-f64.google.com with SMTP id 2adb3069b0e04-57893a7d7b6sf526363e87.1 for ; Thu, 30 Oct 2025 03:13:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761819205; cv=pass; d=google.com; s=arc-20240605; b=WyNf+00hKic2JxRrsJ7Nu1a16Zok39PALCCf80c+OYn+E3wiUeRky99vEDLOlfDTPB udysh0xRaGXzKehktP5BopyM3ThEQTi1WYNgfjNdDL3WE5mrR71mdu0K831EqeC12wuH FVWQzki70oX9bZrjASOvI9ntsjzVg1ZZ3RzeiVI37WxBcBAzDQDPgU2qfTwsgUq8HafM oAzfyTcBaqx2TZTWWFO376SmqLAot+l2m4ZDEB1Xgk6c79W7q56ejPJ4Rjzj8HR1B3jz PXjRy89PyQFbMRqAmd5i+vHCxBzZjn4+V1RfbfJhHqvFTFlUAOGI1EzxJivC+jUz9zkl 3P6A== 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:reply-to:feedback-id:mime-version :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=wwahrH8vUfUDSDdDmeNg4XNEeTErYbzOuj6pEeUXmqU=; fh=mXWH3LSGdkxSAJZPRuBRC7CP5s4WdIcJDpboOhGG2Lo=; b=ULsfOtHRnlWUiYNfwrKEdZfzBNM++i96yAswi6T+KPnkIyvOZW4Vo83whlQMD4IfBg zvYPcw9d7hYoKbnaijIwTP9RH2qrpe2ikb6yaKEz6CydTK7uMrrMbXkCzUQKd6UCKZHx jKXaPPV5i2eWjUjNPQXNeNEIYyNOrmsVqDS8Y2RnTzupgOFNsPh8CiZf18oHVNqjFqJD NTH5Yfv3Bf0/Wocw4Q+RVXwZFh0aYanMO/zBqQjo6oM4k6EK4+s/uo7E5mipMadklkWP fkKaMUU2VJzoZGhgUTz6DPsrcMvaXgNzp4ABOdCdQYpwEqb8vsPJAXhXZgAgRmcXnow/ MzIw==; darn=ilbers.de ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=f9zcVEcw; spf=pass (google.com: domain of fm-68982-202510301013190bf01df7d40002071a-afhavi@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-202510301013190bf01df7d40002071a-aFHAvi@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1761819205; x=1762424005; darn=ilbers.de; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:content-transfer-encoding:references:in-reply-to:date :cc:to:from:subject:message-id:from:to:cc:subject:date:message-id :reply-to; bh=wwahrH8vUfUDSDdDmeNg4XNEeTErYbzOuj6pEeUXmqU=; b=kCCUYdQgOpoesnxwnddsvzhZdpXysxWAYuESBwHIiftXxwUSmhuNm0GHVeNZig/INc tALCFPU28QBrI+sv40idCD56yjTWirJSI2fWrcSptSsyjm+SeNJiYIlVGU6opMOxvYwL fG6WfBJuzwvM63E8jXGYpgIrEAAEMDvi66tbTN+tn3M5XeaJ9m5rRMoQnj8PGo3sO+Dm DTFlbeNsm/Dcnxq10vLPYgND34g/mQ3t+5BkXDyganvufP4KlFbMLaURGwFYQyE5Yt+D VQYaU4m5apZPVgrsk60pVPm2Beep5mgWA9WLrz4hDgQbCNOgAVpbKGt2xKLt9Vlg1VfA R2Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761819205; x=1762424005; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:feedback-id :mime-version:content-transfer-encoding:references:in-reply-to:date :cc:to:from:subject:message-id:x-beenthere:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=wwahrH8vUfUDSDdDmeNg4XNEeTErYbzOuj6pEeUXmqU=; b=CUjaNfpfKy1imEeDxghW/IqIM1iV9+RUzn0kK2MWscbUBC4a50OyVrJ+vGqccytHWO QZzIupHKFB8rjslMKuV0W4UStMJ6XpUSNZRhIlt3PZ0wZ4Y+rKFvDyjqCmnz0QuZFbe5 x9PbsgOdg+E9EV2P002YqKlnRFm5mziCetKxOGkRlMXynGADiP7RdxWEXu23B4Kzve0t HNnRQz5jSFNVJtfK/DSRBiP7oN4VaxkrqbiMQEpFKgXZHbo7K0Mf4pnlZ4VSguQUVvM7 qANRxJF8zqFaz19UYboQcKIQpfozUPHYAGcBJwZecbP0SQWDpVgbCg1hBFXUdD1VjxAS Xiuw== X-Forwarded-Encrypted: i=2; AJvYcCX0DzN+YJ7tdsS7GcKyix8LNN90FSsf+FpsgtTQTY92BL/MKIhoqWvemIjSN+bs6EThMIMO@ilbers.de X-Gm-Message-State: AOJu0YxR5/GfjJv6qlHkwFj9zMpATwkvcqR3LbhivXrn9wP3CwDWc29P GT1oocKSgDH2dNTeLCPOIc4bzP1u9NDl/OSATvIXAHRUrPHBtRNA1/C2 X-Google-Smtp-Source: AGHT+IGY/YKmYNbrI+21kpFMM8zIVUMG4QwACGeu+gA8CPFEFWfZP410uwVp2Qfl/WRDDdmlbuNAUw== X-Received: by 2002:a05:6512:448e:b0:594:1b45:fec7 with SMTP id 2adb3069b0e04-5941b460246mr187031e87.37.1761819204426; Thu, 30 Oct 2025 03:13:24 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com; h="Ae8XA+aJDgtqXn3SG2lKnWdzpEB3dEf5Vysf83dhZry4WvnbKA==" Received: by 2002:ac2:5930:0:b0:585:2db4:abb4 with SMTP id 2adb3069b0e04-59417655482ls246847e87.2.-pod-prod-04-eu; Thu, 30 Oct 2025 03:13:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUf8gr021FMuvVIKZiI2qnSwU648Swfz6AmjNl7aHMKAk6CciA4Hhmd8D6ue9mOHAY5gfJ3Ok0Pd0pw@googlegroups.com X-Received: by 2002:a05:651c:3246:10b0:36a:d357:6e87 with SMTP id 38308e7fff4ca-37a023f7065mr17136731fa.9.1761819200450; Thu, 30 Oct 2025 03:13:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761819200; cv=none; d=google.com; s=arc-20240605; b=du3MeB5g7YBpB5ivmiIwnlOrhVxXzLyB59Pa0Zd7bMi168/E4242UJ4Njj9OY6pXcR WjOJxztBGtUcBXp8vWkNU6J2olOZz5JNUEhMTRex2JLrbxyfsF2KuAgNOtu4HuT1ZFvl ODNGWDoOIQ2keJKXtIUFj7xbQO6m+eLg68FXb4iDRVjMlHgcmejqnzkfyF6vH3v6tIii a1ya4jzixRkpHYWGa8DGw+8IwatsBJAWvtd9OhmtQaC4EMpEg2UNeLKFEvDp/loQyhk4 WCodq3HPPsb6PJxtMZcYsrWm0pqcaMqcIV6akyvESFSgofMSpWSrVPDqCMbKyKHPvhj3 cuVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=feedback-id:mime-version:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=ogI6EB0fegGmUbJu54oYeuTxkttcoEVZKEqfr5QWlYk=; fh=jwn30PgxaLeWNi0pZDKC/lAz12VOjJdKNYr9SPNvMrc=; b=S8AQLBqzB287Wem8aP5b32ZLPxp+iqtp9N7KnHR1GMbdCdD7T46UAv3WGcajvKvIFP 24+1wHaTgm8+tr53HYEZiBBotq+VFfODPM4LWeJINkr3wmZLDodzfsTD6CamPhmwz4LS gj/OtsfoJ0VYwr+fSydlt0XxSbfbeO1DnDU/uq/bSscp0c/h/dqCg+r04BHG6/upLe/f U6a+Wz/FJb56lDa/SVLy+qqH2GO04v2i+nI9R1dhFXuBiNNR4CRGwoaIRQ/K8W2untvP w1LbVntDvIFeSR8C9/kKqUMw1djeXEmydiHUISuXFwbzdMxPBKnB7rlGKoIsC+3nz515 vi4g==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=f9zcVEcw; spf=pass (google.com: domain of fm-68982-202510301013190bf01df7d40002071a-afhavi@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-202510301013190bf01df7d40002071a-aFHAvi@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: from mta-64-227.siemens.flowmailer.net (mta-64-227.siemens.flowmailer.net. [185.136.64.227]) by gmr-mx.google.com with ESMTPS id 38308e7fff4ca-378eee33722si2782961fa.2.2025.10.30.03.13.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Oct 2025 03:13:20 -0700 (PDT) Received-SPF: pass (google.com: domain of fm-68982-202510301013190bf01df7d40002071a-afhavi@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) client-ip=185.136.64.227; Received: by mta-64-227.siemens.flowmailer.net with ESMTPSA id 202510301013190bf01df7d40002071a for ; Thu, 30 Oct 2025 11:13:19 +0100 Message-ID: <44272f9dcdb15fe9cecc11a619289b95d01fac99.camel@siemens.com> Subject: Re: [PATCH] dpkg-source: Export proxy settings From: "'Florian Bezdeka' via isar-users" To: Kazunori Kobayashi , isar-users@googlegroups.com Cc: hiraku.toyooka@miraclelinux.com, masami.ichikawa@miraclelinux.com Date: Thu, 30 Oct 2025 11:13:18 +0100 In-Reply-To: References: <20251028013532.1388325-1-kazunori.kobayashi@miraclelinux.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-68982:519-21489:flowmailer X-Original-Sender: florian.bezdeka@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=f9zcVEcw; spf=pass (google.com: domain of fm-68982-202510301013190bf01df7d40002071a-afhavi@rts-flowmailer.siemens.com designates 185.136.64.227 as permitted sender) smtp.mailfrom=fm-68982-202510301013190bf01df7d40002071a-aFHAvi@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com X-Original-From: Florian Bezdeka Reply-To: Florian Bezdeka 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.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: efDe73D9C91p 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 a= nd > > > package installation on the target root filesystem in do_rootfs_insta= ll. > > > We can actually use it in such typical cases with no problem. > > >=20 > > > 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 = in > > > 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. >=20 > Thank you for instructing me on the existing apt fetcher issue. If=20 > possible, I would like to understand how to fix the issue properly.=20 > Could you please roughly clarify it on the code base, if you don't mind? >=20 > I found a different apt fetcher code from do_fetch_common_source in the= =20 > following place and it seems to set proxy settings before fetching a apt= =20 > source package inside the schroot environment. >=20 > 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. >=20 > The apt fetcher code seems duplicate, but do you think invoking this one= =20 > 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. >=20 > Regards, > Kazunori > >=20 > > So yes, that seems correct. > >=20 > > 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. > >=20 > > Thanks for your contribution! > >=20 > > Best regards, > > Florian >=20 >=20 > --=20 > Kazunori Kobayashi > Cybertrust Japan Co., Ltd. > https://www.cybertrust.co.jp/ >=20 > --=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= email to isar-users+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/isar-user= s/a5d85c10-7dc7-40db-a9d7-4ded45925c3c%40miraclelinux.com. --=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/= 44272f9dcdb15fe9cecc11a619289b95d01fac99.camel%40siemens.com.