From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7133500741339054080 X-Received: by 2002:a05:6871:711:b0:11c:a684:ae12 with SMTP id f17-20020a056871071100b0011ca684ae12mr2972889oap.0.1660914314187; Fri, 19 Aug 2022 06:05:14 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a54:4d85:0:b0:344:8509:3bb2 with SMTP id y5-20020a544d85000000b0034485093bb2ls1269705oix.4.-pod-prod-gmail; Fri, 19 Aug 2022 06:05:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4A9yusV7MqoOy3bEiE50tGtniKo2B+0MSZrt4fqD86CK+0zTvSlDqnYk/Pw0F07hI6hPU2 X-Received: by 2002:a05:6808:2396:b0:345:3afb:493c with SMTP id bp22-20020a056808239600b003453afb493cmr52147oib.105.1660914313689; Fri, 19 Aug 2022 06:05:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660914313; cv=pass; d=google.com; s=arc-20160816; b=0JswTP54NC2aE3GcYGPDXy1gF4zDcsiHqmP5aS5pdb9EhbjILnx114PgZ0AbGrh0CQ ddaMipgYhphx8tX98EQVDKW/ZYjGZOK5jeJUtS+Moqe7UqE57NVMZY9rGE7cGnfDBAEg QrsxJy3If0uJa3BCEhr2S4v1P5Z3axlbCowXkBXXo3/GPKBd7C1SahGn6sPiXKr90MNB VbyFFB0iLlu2WH5WsOGPw0cMjJ4TNTfjRKx1A9vaDXXOP6s2JtZXiPEtVS77pybPAid/ 2Vkf9DSSc2CJKQZxj0tnKHJBbWe/KKiO8kypq+st5mU+hBm+eW2po8UP9G1KOFrds1Xk 52OQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:in-reply-to:from:cc :references:to:content-language:subject:user-agent:date:message-id :dkim-signature; bh=VBUU0Hu+xCq19goAAUkNguiXTWFefKQpKNnw+hJh6AM=; b=NHM2vU4C4fKZX6A+oIYaGfgVaGYHKS8JwG3tdH13QkZwZF/2tzcseRRXQQL2AYTF6i yf64hQ5Wfpgossnx/nGibj1OFu1JQ/JmdG40B4hhnSQQQo1tDoZfeisqTLm8TrrovWmh b73MzCyGFBobPFfE2gMNRuYxQKyhulEA7Qvd36mzDfCBTD6Qn+9ta26J9lUMZlCQSHKI lW/CrPZeOgbIoWgSBe4LJudw+k3vAYZGBU/tthVPlt6p7Om4joGOIRZXQkPCnMUTl6/f nPqokcxa3Po217P7gGI6KgGCvFTk2DADntzQVViNNaMPTVa+o11RQ1RlHDzoVsoVQyAX G1Dw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=VtFeroZW; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of florian.bezdeka@siemens.com designates 40.107.6.62 as permitted sender) smtp.mailfrom=florian.bezdeka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60062.outbound.protection.outlook.com. [40.107.6.62]) by gmr-mx.google.com with ESMTPS id o7-20020a056871078700b00101c9597c72si608899oap.1.2022.08.19.06.05.13 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Aug 2022 06:05:13 -0700 (PDT) Received-SPF: pass (google.com: domain of florian.bezdeka@siemens.com designates 40.107.6.62 as permitted sender) client-ip=40.107.6.62; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=VtFeroZW; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of florian.bezdeka@siemens.com designates 40.107.6.62 as permitted sender) smtp.mailfrom=florian.bezdeka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Xze2f+wSO3J4fCE1tGHu84048P0btQHQyWxvHpgUNFO/GNDq9EPFoY+aex5ihIGxwM02G1Lij6Mz+GOquEswu4bCwrKItzuAMs0KmKoBnhoW2aKKx+O7t3oC/7Bd4SXcFeTQbz975f4clY8rb2zAHTv7Dl5C18ssT8w7n5Z+QxYUgywIZv52Ws1KULAJhWXcvGpIFW+iayFq9qOcilURrD/rvafBGDNVfZ6euK7n6v9Q9BRHKVLwekaogQzHOD/n9GUhgeMRdWIExlFEsKtneAp7qy4FKuQi5cCa2pg+jPiABkB7A73mYj1AGWF228Ear0oOfzGQN//E1XE70NbDyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VBUU0Hu+xCq19goAAUkNguiXTWFefKQpKNnw+hJh6AM=; b=Ogw8Ftvqgzm7NqXj6sNCvzNuBcdzzlymTKM7e73A3Shx7H89MU2wbjJJnDYVfE/J3X5B5EbK2tqqtjJDs6grMwvgtH8spea7Pq725b5yTr+GWqK6tqegaMa8QCEAf+6a3WML2FsJ7QsLGjos+JiZeZCbihNM06lu0JzKzWXRIIlrw53yAqIdqE0Aqi0ZqrW3nRENsfFZWFRieVSglYWLmYgJd9gWcjQIedYEWMdPdSOh+N18dASQsNER2vUtYQB0YMygQx8AuXBzYF+uh8OteGowEdTU0iKu3GuYTq0ZgZs21LF0aKsfSP9k44BrqWlGhtmEOa5xhrL2oe5/b7dnMg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=siemens.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VBUU0Hu+xCq19goAAUkNguiXTWFefKQpKNnw+hJh6AM=; b=VtFeroZWCeozQBs3H+Z5R73VPEnfSidiACekQDlQlCvZ8QjprH+A3LtpB5XtFfEdD2uRblgbrFL4R8mrGAEA6/EUJ0mfAf2A7YTVFqAISUeb15Zt7vNPvcGgOup+dMB1PGGDK1bHRjRzlhS/9ikpY2kFc8wnklHPkksqjnf+ucUlJvUVstNSzU4/Sxos0BrYLMEXXeOo3Ff7kRvGL5Wn+iQNagak14Y6/00lP+AtN6+4wpT3PDrp+S6ol2zSbymriqve4gRI6jS8seHoG9jFeI60jHgRsuua5KmpgokfrGdQCzUiD8cCb/e0DuYAWarkHI34hVZsaSLrXBeQVez/vg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=siemens.com; Received: from PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:248::14) by AM0PR10MB3426.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:156::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Fri, 19 Aug 2022 13:05:11 +0000 Received: from PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM ([fe80::1194:7137:4cd9:2bbb]) by PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM ([fe80::1194:7137:4cd9:2bbb%5]) with mapi id 15.20.5546.017; Fri, 19 Aug 2022 13:05:10 +0000 Message-ID: <78757750-314b-96ec-5a4f-7ea1bad15181@siemens.com> Date: Fri, 19 Aug 2022 15:05:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: sbuild migration problem: how to jump into SBUILD_CHROOT with build dependencies installed Content-Language: en-US To: isar-users@googlegroups.com References: <5ac8a864-5a1b-6f03-2318-68c6b8d612f0@siemens.com> <4dd276e8-a0db-4215-6d2a-eb74282d0c94@ilbers.de> <195731f6-fdab-8355-3d76-a9dd997c07e4@siemens.com> Cc: Baurzhan Ismagulov , Anton Mikanovich From: Florian Bezdeka In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: AS9PR06CA0577.eurprd06.prod.outlook.com (2603:10a6:20b:486::17) To PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:248::14) Return-Path: florian.bezdeka@siemens.com MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: eaee01a5-3031-43d8-b143-08da81e372a8 X-MS-TrafficTypeDiagnostic: AM0PR10MB3426:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: sqhsrAeXcIidPe228uG8hP0FHbuMNmQkBNIWXAq94R6Aw83FGdFP0ucgMOd4UCxcNFO5rRefEPiSaKQchkaWIwpKTIdK0Z9DslLgZFMqi3i0f49LN4Eq4SdWs+CCEcd1DHBLfSrgBWqd+1JFA3GV+zMBV0pXbwN29IbXdIfdNji4oWWUXdgLNOvGgjWF7quLuG/86XB2xUSVLs5qKR+XZjgCqXwXwHwbstMadbaufDg5YKGKFPvjKT25/Vi7y8Yxq0UFXnGxLVz9jkvM9GAptJowsMYkFjCK+iQPpxgluqmGaZDKjg45LbNVZBii5ikYMghPYyS7YF+y5um3khmA6S6kcGbjtPIqarThMua3zKYuzN7x/zupYtq+6urlIf91NoX8JI1wziEb9oVp5XhNzcv2dvZzHLuLF5E9aVXLRD+zpnil9pt8qpDrx6XU6ItyOFC2zOaqmB1p0ZIXLqHjykUEBdOEfxCFwj21IGRFZweYz+Y+m54HMJfaPg8X5FbX5vd0EN4LBtTMrvSUt85zROI9aId37Re07LUuiX7QuMGm/Gdz3Fdd/3HkQmgJQdBol+mN3yqvImIUpcyEZ0gfybABQi7/Sz2Ayh/gVSWQZyKdHX7ZLFsdQgmLqkOycbVjuP/ZZgMdTciFGDT0xROeiQATAsGlMfnmmKa8vGD5UGLZOSnDhZTsBiO/PuLsW6/VYt0tb6CYaae1qdLLywkv/QFanLo0zA87siiZpYO16muk8VSeV4DkcxbLSh+yXx8h9ZF0TvKbrl5HdqVM7h/hwt/Yq6BftwGkM6aLPKuGsTY= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230016)(4636009)(39860400002)(346002)(136003)(396003)(366004)(376002)(66476007)(6916009)(54906003)(66946007)(66556008)(53546011)(36756003)(31686004)(5660300002)(44832011)(8676002)(2906002)(2616005)(186003)(8936002)(6512007)(6506007)(41300700001)(83380400001)(82960400001)(86362001)(478600001)(316002)(38100700002)(4326008)(31696002)(6486002)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SHdnQ0ZIUTdoT3llSnM4aWhTNWhKeUlpSXdjRlhnaGhNY3NUcGo2NVp5dW5o?= =?utf-8?B?a05kL2Nyc1FnVHNTOFp6MmtaVDBpL1VUQU0yUGZrU2xTVjNhb0dYY0hmc0E2?= =?utf-8?B?dXMzQmNLN1FTckpvT1BqYzArWW1DQys0MjZMeGpIcDFEM0FOZTdtMnlSUkMx?= =?utf-8?B?Y2dUSUIvNEZQcGpnMmcwdkh1Rm9sOFZOYVJDYkE1SFRDWE9VV1E4Q2QvTy9P?= =?utf-8?B?b0lzeDg3UGkrL2ZBVzg2MGlWeWRsK0w5MjY3Y01ONFdHT2kyUDNXT2RkdGsw?= =?utf-8?B?SFJKeFlOaGQ0bk1XTnN0VDJMYmd3R2U2UU1yQnF5N3NZNk5xY01OekY2MGlr?= =?utf-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KQXloQkVrNWw2UzFEQTZhdUNq?= =?utf-8?B?aXo0YU5yZ3cxdHhtRkxQa0llaTlLZTRZZjIvbEJTWkprNFBOZStxSFZKaDJZ?= =?utf-8?B?UW1SVzJacmlDVy9HUmtOQWdSd0VnPT0=?= X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: eaee01a5-3031-43d8-b143-08da81e372a8 X-MS-Exchange-CrossTenant-AuthSource: PAXPR10MB5712.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2022 13:05:10.8814 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iuPq77L3HYQ0SGxD3e7LuVD50x5DFj/FkCLDeq19TSbOQ7O4b57Laq+j7HSx11ydsvZ2+RGpqgX1y15oY2n9nNJzb1svdYXTwCYQrnnzThI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB3426 X-TUID: 6C/f4VN5SljK On 19.08.22 12:32, Baurzhan Ismagulov wrote: > Hello Florian, > > On Fri, Aug 19, 2022 at 10:36:52AM +0200, Florian Bezdeka wrote: >>>> dpkg_runbuild_prepend() { >>>>      sudo chroot --userspec=$( id -u ):$( id -g ) ${BUILDCHROOT_DIR} \ >>>>          sh -c "autoreconf -fi" >>>> } >>>> >>>> In the pre-sbuild times this task was executed *after* the build >>>> dependencies have been installed but *before* the dpkg_runbild task. >>>> >>>> With sbuild: >>>> - There is no "install build dependencies" task anymore >>>>    Installation of build dependencies is done by sbuild internally >>>> - The task is now executed *before* build dependencies are installed >>>> - I still could chroot into ${SBUILD_CHROOT}, but the build dependencies >>>>    will not be there >>>> >>>> Is there any possibility to jump into the ${SBUILD_CHROOT} after build >>>> dependencies are installed but before the actual packet build? >>> >>> Correct way to implement this is to move autoreconf into debian/rules. >> >> In this simple example for sure. But: There might be recipes where >> debian/rules is not directly "accessable", forcing me to wait for 3rd >> parties to update their build process (or patch things in my layer) and >> all of this just because I tried to update Isar... >> >> If there is no way to jump into ${SBUILD_CHROOT} with build dependencies >> installed we have a (very minor) regression. > > I'd like to spend a few words on the background: The sbuild change is not about > the build tool per se; it's rather about re-using the Debian package building > interface. In Debian, a developer prepares a standalone dsc file, uploads it to > a build server, and buildd produces binary packages in a clean-room > environment. No intermediate steps are taken in between; all necessary > information is contained in the source package and its dependencies. > > Clean-room building is a requirement because otherwise binaries could be e.g. > linked with libraries which were not intended by the developer. There are also > architectural reasons like modifiability, etc. Yes, removing interfaces is > technically a regression but the resulting functionality is more important. > That is why we'd like to follow the Debian way and avoid custom steps. If this > is not obviously applicable, we want to see the use cases and discuss them in > detail. That's all fine. Clean-room building is definitely the way to go. > > Regarding autoreconf, rebuilding the files can be done in debian/rules (there > is also dh_autoreconf). That said, I personally prefer to generate the files > during the development phase, commit them to the VCS, and disable maintainer > mode for building. This saves time, reduces dependencies, and avoids a number > of issues. > autoreconf was just a simple example. There is more in the wild which can not be moved into debian/rules easily. Most of the time it's not really a technical issue. See below. > Regarding the debian/rules being inaccessible, in that case I don't understand > yet how you build it with Isar in the first place. I suggest that you share > your source package (possibly offline) and we look what could be done. The idea > is that any extra steps go either into preparing the source package, or into > package patches -- so yes, patching may be required. Sorry, I can't easily share that. But: We have a group of Isar users doing integration tasks. They're fetching sources from different teams / organization units and building product images out of them. If the integrator is unable to update build tools (Isar is one of them) because of a broken build, they're stuck. Long term: Try pushing all the 3rd parties into the right direction, short term: Do not update Isar or start patching. Pushing them into the right direction normally takes months... Patching is a nightmare. Skipping updates is easy and wins. So whenever we break Isar APIs, we must be careful. Keeping a bitbake task but changing the conditions when the task is invoked is dangerous and frustrates users. Conclusion: Jumping into ${SBUILD_CHROOT} with build dependencies already installed is no longer possible. Thanks for your comments! Let's hope I can somehow solve that issue ;-) > > We've seen a number of such source packages in e.g. meta-iot2050 and it does > require some work if the upstream follows the "let's fetch 128 deps from > everywhere and bootstrap ourselves" process. In many cases, you want to have > clean source packages yourself to comply with license requirements w.r.t. > rebuilding. It is also a big help for the users of the package, since anyone > can then apt-get source pkg; sudo apt-get build-dep pkg; cd pkg-ver; > dpkg-buildpackage -uc -us for any given package. So, custom package recipes > should ideally just build the source package and leave building to Debian > tools. > > With kind regards, > Baurzhan >