Hi, The attached patch adds support to run the sbuild behind a proxy. I briefly tested this with "bitbake mc:qemuamd64-bullseye:isar-image-base" in an environment where proxies are mandatory. Best regards, Felix > -----Original Message----- > From: isar-users@googlegroups.com On > Behalf Of Moessbauer, Felix > Sent: Thursday, March 3, 2022 2:37 PM > To: Uladzimir Bely > Cc: isar-users@googlegroups.com > Subject: RE: [PATCH v6 07/12] sbuild: support of shell exports from > dpkg_runbuild_prepend > > Hi, > > > + > > + # Don't warn some variables > > + [ "${var}" = "PARALLEL_MAKE" ] && continue > > + [ "${var}" = "CCACHE_DIR" ] && continue > > + [ "${var}" = "PATH_PREPEND" ] && continue > > + [ "${var}" = "DEB_BUILD_OPTIONS" ] && continue > > + [ "${var}" = "DEB_BUILD_PROFILES" ] && continue > > + > > + bbwarn "Export of '${line}' detected, please migrate to templates" > > There are more variables that have to be excluded, e.g. all proxy related > settings: > (http_proxy, HTTP_PROXY, https_proxy, HTTPS_PROXY, no_proxy, NO_PROXY). > > But the proxy settings have to be passed into the sbuild environment. > Currently, building behind a proxy fails (in do_dpkg_build): > > +------------------------------------------------------------------------------+ > | Update chroot | > +------------------------------------------------------------------------------+ > [...] > Err:8 > https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fdeb.debia > n.org%2Fdebian&data=04%7C01%7Cfelix.moessbauer%40siemens.com%7 > C2c6b2941e0eb40ffccb408d9fd1ad566%7C38ae3bcd95794fd4addab42e1495d5 > 5a%7C1%7C0%7C637819114851078826%7CUnknown%7CTWFpbGZsb3d8eyJWI > joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C300 > 0&sdata=aLGsi%2BBgf28Cm5g7GGhBY5h3eRu7cL5do5Ern45lsVA%3D&am > p;reserved=0 bullseye Release > Cannot initiate the connection to deb.debian.org:80 (2a04:4e42:62::644). - > connect (101: Network is unreachable) > > Best regards, > Felix > > -- > Siemens AG, Technology, T CED SES-DE > Otto-Hahn-Ring 6, 81739 München, Germany > > > -- > 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 on the web visit > https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.g > oogle.com%2Fd%2Fmsgid%2Fisar- > users%2FAM9PR10MB48698F892FBA3A33D2C0405289049%2540AM9PR10MB4 > 869.EURPRD10.PROD.OUTLOOK.COM&data=04%7C01%7Cfelix.moessbau > er%40siemens.com%7C2c6b2941e0eb40ffccb408d9fd1ad566%7C38ae3bcd957 > 94fd4addab42e1495d55a%7C1%7C0%7C637819114851078826%7CUnknown%7 > CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ > XVCI6Mn0%3D%7C3000&sdata=PGDjMxGm4JkrqZoktZXAJakrj3Xmxt1w8Gq > vVVYmL5w%3D&reserved=0.