From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7062656987288305664 X-Received: by 2002:a05:600c:889:: with SMTP id l9mr2556771wmp.79.1644421080388; Wed, 09 Feb 2022 07:38:00 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:600c:3596:: with SMTP id p22ls2916812wmq.3.canary-gmail; Wed, 09 Feb 2022 07:37:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwJvd9C7IdvkZKp7r1ExRyZvow/N+wfvt/nNxnWAoHKUU3hO/v0xAopWGDW6QbpDGXvNgRK X-Received: by 2002:a05:600c:1d92:: with SMTP id p18mr2532177wms.93.1644421079275; Wed, 09 Feb 2022 07:37:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1644421079; cv=pass; d=google.com; s=arc-20160816; b=KS2nNsQoDmnRgijJNBB0T7iUn3jHID4CK7T1DRjn1/bUFoILJT8tLuu8e0d5sbV/m8 mrL8nmjyjYcaXalJMKhiva8FItqyJUMrtNZqY7XELLmL2VGiiSoivrw3NYOb1KbxFcYg b7qKCMcfxLC3ajj4IvG5VTSuldXSKl41T/uCrTpDB1bFtOUgndJdpIbSsfNWO1Wm7Qf8 7vFE56Pmzmyyrv2WmYml5oivEiJ47/u/brpIDQTmCNpM8yzyJTmsOwSswEE+CtHpCwtR noOFBnEdbgnuXB2zGyQpnsC9xLgqHlDtb0eq/2dGLkuAnhQTfcnXxmYq4kgi/haJaWeU wA0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :dkim-signature; bh=rxM4y0h1pwE+jVdtKSGxLG397jF6Obi0IGe/zL0x91o=; b=RLsyVpUxXB8Lowc8B1cGlmJk1yWQiQ5Wsmx47h7myMxlFhULg0qe9DX9xX5Vlhwiva rsAB0xn1sKXnc/Vh8YlrIulyE36xhmrKdFu5pl9b9xM4ScDRixINGlP1pLzNTNKURkV1 sEHjuJ6AM9qaTFpRYLEQiVTOeqmVinhhO021ZmY3d0yMkOfrw0HuuDTBdz13+mcafdvA 9jJqg6JoxNH5ig/hJOFMOT5Fombhdoc0ZS8DNEleK+fD9ecnyveMEWa+sj47QJeF/n/i 8VCD+P5Dg1s90WKvRwW2CZSe5yV4PoD4V8k/U0p+zZmrwvPgFX0hAh+xmkZ5w+2uFWeV iU+w== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=P3igCOSe; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe0d::62d as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on062d.outbound.protection.outlook.com. [2a01:111:f400:fe0d::62d]) by gmr-mx.google.com with ESMTPS id d14si815231wrz.4.2022.02.09.07.37.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 09 Feb 2022 07:37:59 -0800 (PST) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe0d::62d as permitted sender) client-ip=2a01:111:f400:fe0d::62d; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=P3igCOSe; arc=pass (i=1 spf=pass spfdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of jan.kiszka@siemens.com designates 2a01:111:f400:fe0d::62d as permitted sender) smtp.mailfrom=jan.kiszka@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=hneqbUTXW3Tv5DNs4uAcMytCbj6AdLlSOXNAp4gPOCndhu0iDn+VypGUfsz/pONCGpnn/lYyzS6y7N/eKsdOrqd5/5KhWvrZ3g2bgj4KKxjEBjHJEJKuqwm5f170e/IsvnusjCYBSnRwZnwI5/3ZK5rTuuWsuIHfjcfPGFxlse/XeIn51e4Fvm386eZaHfZa/IiEwuw/b5/0CoVxd9ba3130PIBzskXObjLnbXHh882i91U0lxC+mwt0u5iyiz1x2nd4lzz0HoynBr8z+dANgXNjbPzXC9n6ie/a9iqfLqAV7z3rgYx7qAQ+qud0Fa69LPSKDlOiyOLSoUvsnzy+4A== 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=rxM4y0h1pwE+jVdtKSGxLG397jF6Obi0IGe/zL0x91o=; b=NmCm1vHaOMLR6bpyeSgSsvkvpGSZe2pZavkDlaQnZKx54Qajnfe/8FYxEM2l7lk8zwZteTZcRIIZcT3Q7If/iN/ujkFMfr7ulcU13g9k08LfVO2ck3W3YjR8uzUeQcuJwj2/kCVMQWqSoxHzuQSd0wrkhU2XjOTaVKG2BOoS5PyFRUx4DjHOTUzlDpMNbUYiHf3I/TNFNfSRrqQGhJo7XUF7s8F0AQDx9O4fY+VNvT4YQxbLXVaG3V4qzJoraegW9C2oZMSzZqAGRSwz/Aa8FzAud4CoJ5PYIz6F50KKZxfLjo7R4sOCDsJ6d8hbR++ar1Oj13cCBFXknsb0KUBiLw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 194.138.21.70) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=siemens.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=siemens.com; dkim=none (message not signed); 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=rxM4y0h1pwE+jVdtKSGxLG397jF6Obi0IGe/zL0x91o=; b=P3igCOSeZPR2d4QKImfKkkXvHSnRsquUfJTbykj1ay6/+fK5vzzCQWmSGXXx+bIhMNjYr0GJMr7FmT97XVEz02LG30CEj0PszmefxSm5IM9C+Pu7VJDGX4evg6vWeHjTmse+SnwjK1IdtYjsjm95j7uKoBZxheHpSRSbqaEoFcHXH3g6TgGb7OP5kVKDOVqIg4Ci7iqxkNplur4NBT01eXurFzj+Z3I8s/QWMax+J/FaGg5L0CHhVrwTAmdwJTKuhKZ9oPbgJA/qWnTXAo5Y6mLPwLcsv+BsDLF6kY/+n213/Da2CSGxg3bwtohUILsaIxKBr8rKGV1oAvKRWQlZLw== Received: from AM6PR10CA0092.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:8c::33) by AS4PR10MB5394.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:4bc::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.17; Wed, 9 Feb 2022 15:37:58 +0000 Received: from VE1EUR01FT013.eop-EUR01.prod.protection.outlook.com (2603:10a6:209:8c:cafe::71) by AM6PR10CA0092.outlook.office365.com (2603:10a6:209:8c::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12 via Frontend Transport; Wed, 9 Feb 2022 15:37:57 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 194.138.21.70) smtp.mailfrom=siemens.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=siemens.com; Received-SPF: Pass (protection.outlook.com: domain of siemens.com designates 194.138.21.70 as permitted sender) receiver=protection.outlook.com; client-ip=194.138.21.70; helo=hybrid.siemens.com; Received: from hybrid.siemens.com (194.138.21.70) by VE1EUR01FT013.mail.protection.outlook.com (10.152.2.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4975.11 via Frontend Transport; Wed, 9 Feb 2022 15:37:57 +0000 Received: from DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) by DEMCHDC9SJA.ad011.siemens.net (194.138.21.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Wed, 9 Feb 2022 16:37:57 +0100 Received: from [139.25.68.37] (139.25.68.37) by DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.18; Wed, 9 Feb 2022 16:37:56 +0100 Message-ID: <10522aee-53b0-c899-f792-7f83447e35df@siemens.com> Date: Wed, 9 Feb 2022 16:37:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Question related to Sbuild CLEAN_SOURCE Content-Language: en-US To: , , "Baurzhan Ismagulov" References: <1b5ef299-ec8d-c180-c2b6-505294f5484b@siemens.com> <164435326066.1656.13805705968480410488@localhost> <818250b5-fed8-8ff9-febb-6cbf61e0680f@siemens.com> From: Jan Kiszka In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Return-Path: jan.kiszka@siemens.com X-Originating-IP: [139.25.68.37] X-ClientProxiedBy: DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) To DEMCHDC8A0A.ad011.siemens.net (139.25.226.106) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b324f14b-b36b-411c-40d7-08d9ebe225b4 X-MS-TrafficTypeDiagnostic: AS4PR10MB5394:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dAFEyCdOpAzKklYZzZPO/RtunS8sTYPrIuy59fFtq6uw8iMnug4HSxmPB2z+77jZbOPWb7doIl/jee6Rqu1ZKL+DvZeelL5V4j6HLgoQSrAL7G9u7UzU+9ARmauyBaD0jqo8V1F8iC7b10a21t2QO0IHGGiaK9TZ579zDO7HiBso6PANnA7fuJG4JMBRR6ZepiLN0ymAhTDYtK/e9OCRPZk1Y2EnusuGpwV1jwwraog102qzoO3bTQYnpXbQTWqbj6EXXzCuCvgv7W1lNvlV3h0bEV2Jsuwo5JvbeqIogk2dOpM7IcLBaVwE6smPAsEMFw8YPblduF1PZImtZk+s7H7X0ffijTvGzQ4D+L6AbuLt3J8ri1BFPx0i+9m7zPIbYD0IfvkKUrQfsM20g58x+djxhL6ejBxoVFh2Z3oOBuMHf+lBriVtoEZRyu9dBDUz4CiGhsYRGIIhbU0/eQ5OugsXtJutrvbxsDAH8kGuxPsG6k+NdVuEGNAxL+2iHYKQoidjltXJsRO7E4LdIlaMRmJKdG6CqmnimEu2G1OxjsCg71iUH0nvGxorPc6frH4hkCyZjMlXCj6kY1UoWO8smNGzCbrGLIWt2GVMwCu1jHlzAEgbZlqUUpzmTphIJ3M+6LXsKR61ZmUB3Oa9ozc5gT4OryowxD7644V4PbIwQ8WFDJv+bumyRYvH4LxuZN5QE34b68KsgO+r1835rblszLoMPt3eLl58rZkSWs5hrFhO2oXf8lkaptufYHCA7Gqwh0AQ2F5wis4DFMltkbyB75OTjZfQQ70qvRnMOcqyY7DUho9ERq8DfIqudRPijZ6d4umbRgtsr2dvO12Ya16klA== X-Forefront-Antispam-Report: CIP:194.138.21.70;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:hybrid.siemens.com;PTR:hybrid.siemens.com;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(46966006)(36840700001)(2616005)(31686004)(82960400001)(36860700001)(8936002)(40460700003)(7636003)(83380400001)(956004)(36756003)(8676002)(966005)(26005)(16526019)(44832011)(7596003)(5660300002)(70206006)(110136005)(86362001)(31696002)(53546011)(16576012)(70586007)(356005)(316002)(336012)(82310400004)(6706004)(508600001)(186003)(47076005)(2906002)(3940600001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Feb 2022 15:37:57.6803 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b324f14b-b36b-411c-40d7-08d9ebe225b4 X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=38ae3bcd-9579-4fd4-adda-b42e1495d55a;Ip=[194.138.21.70];Helo=[hybrid.siemens.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR01FT013.eop-EUR01.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS4PR10MB5394 X-TUID: 8P9lh5w4yiYm On 09.02.22 16:14, quirin.gylstorff@siemens.com wrote: > > > On 2/9/22 12:52, Baurzhan Ismagulov wrote: >> On Wed, Feb 09, 2022 at 11:36:09AM +0100, quirin.gylstorff@siemens.com >> wrote: >>>>> - Is there are reason sbuild executes clean outside of the chroot? >> >> It would be interesting to hear what kind of issues you had due to that. >> > > If we rebuild a debian package with dpkg-gbp which uses for example > `dh-lua`  (swupdate) the build will fail due to the missing installation > of dh-lua in the host environment. The solution to this is to install > dh-* in the build environment. > > ``` > gbp:info: Performing the build > dpkg-source: info: using patch list from debian/patches/series > dpkg-source: info: applying use-gcc-compiler.diff > dh clean --with lua > dh: error: unable to load addon lua: Can't locate > Debian/Debhelper/Sequence/lua.pm in @INC (you may need to install the > Debian::Debhelper::Sequence::lua module) (@INC contains: /etc/perl > /usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1 > /usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5 > /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32 > /usr/share/perl/5.32 /usr/local/lib/site_perl) at (eval 13) line 1. > BEGIN failed--compilation aborted at (eval 13) line 1. > ``` > > You can fix it with documentation but it needs to be addressed. > Resolving that concrete issue is one thing, but using sbuild in its "convenience feature" mode for Isar is another and not that easily fixable. > A project where this can be tested is isar-cip-core with the current > preintegrated sbuild[1]. > [1]: https://gitlab.com/Quirin.Gy/isar-cip-core/-/tree/test/sbuild >> >>>> But the actual input to sbuild is the source package >>>> (the dsc). Don't use sbuild to create a source package. The source >>>> package is >>>> the input to sbuild. The output of sbuild are binary packages, not >>>> source >>>> packages. >> >> It's interesting that he is mentioning it; we are currently performing >> this >> exact split for meta-iot2050. What will that mean for layers? Patching Debian packages "ad-hoc" is not an uncommon use case anymore. In fact, bringing Debianization in via Isar/bitbake is even more common and would be equally affected. Jan -- Siemens AG, Technology Competence Center Embedded Linux