From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7194281147082211328 X-Received: by 2002:a92:bd0b:0:b0:310:e271:1405 with SMTP id c11-20020a92bd0b000000b00310e2711405mr831976ile.12.1675061025353; Sun, 29 Jan 2023 22:43:45 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a6b:7f03:0:b0:707:7a3b:1068 with SMTP id l3-20020a6b7f03000000b007077a3b1068ls2378482ioq.3.-pod-prod-gmail; Sun, 29 Jan 2023 22:43:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXu58x3Y37xGq50Lsf3F6iEdC19WVXXDpkd4nswmAUndovOP9ttvIE7EmmvCUmKqwiqfSQnp X-Received: by 2002:a6b:7316:0:b0:704:a01c:ea80 with SMTP id e22-20020a6b7316000000b00704a01cea80mr34199378ioh.14.1675061024609; Sun, 29 Jan 2023 22:43:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675061024; cv=none; d=google.com; s=arc-20160816; b=paf1YkpRm2Ozo82O5FgYsD35WcHLchmu0YGGfcMmn/nx5QXBS1M1a2Cld9Q8Pm+amN p1fJyptR7zYZqtqt+21vtSKr1Mfuh1o8nWHgHE52pUCRU9k476j5GVGqyRYOnHPZXNTR tTWfn1zsUs1E4sS8jfwp86UOZDRRqtwfpP+ke4LusoRWRQTllvDdf3ELxqS2wDh6G/x+ ZTsyNG0HwxLfMiyRLsKC0lyinHi6+COQ2pHW7NR7dyVzVoTX/1oEkg2nxoXVatjZHuTV L3VINfKlJPwdq6TwnBMSqKRqqaB/D5QEwcpeo1NAkLmxfJV2PzYt8rXLp/4G2Hej66KI Ej2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=0NnyNopaW+B9czlFdOX2o5KOJHqvpQuq5XzJbZf4S4I=; b=Itoh/dPnZEIVwP7gk5GyZfaynfjqanqc7vATF8akMkzrHGRmJniU1Ux6EESyQeS2Cj FJFLKfa9xco+e9RLrDjWhhLP0dwj0t1YnnRgOqo4rRnftcPKRIa74D9NU9jgeb+ws7Qj aHZn8D91MCtpud2Z9cYF9uEAdidGBsTnZUSceGCE3LPqc/3sxAVMo13QLEu34koKM6DJ tjHaHcepqrmTXhfy6p1ZzDvEF/VwI5h0XNZ9Yfx1lfku/JHAgpQqm4ydpJAD31t9osRB X/yL0xi9jAbJfaBoGXssxt2LJFiybAiMSNQhbhKjVhGhRhZBqWt8KBDYiqzOThndQK6J C9hw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Return-Path: Received: from shymkent.ilbers.de (shymkent.ilbers.de. [85.214.156.166]) by gmr-mx.google.com with ESMTPS id s1-20020a5edc41000000b00704cb925371si906323iop.2.2023.01.29.22.43.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Jan 2023 22:43:44 -0800 (PST) Received-SPF: pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) client-ip=85.214.156.166; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ubely@ilbers.de designates 85.214.156.166 as permitted sender) smtp.mailfrom=ubely@ilbers.de Received: from hp.localnet (host-80-81-17-52.static.customer.m-online.net [80.81.17.52]) (authenticated bits=0) by shymkent.ilbers.de (8.15.2/8.15.2/Debian-8+deb9u1) with ESMTPSA id 30U6hWfI015611 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 30 Jan 2023 07:43:42 +0100 From: Uladzimir Bely To: "isar-users@googlegroups.com" Cc: "Moessbauer, Felix" Subject: Re: Rebuild issues in imaging steps with local packages Date: Mon, 30 Jan 2023 09:43:27 +0300 Message-ID: <25779249.1r3eYUQgxm@hp> In-Reply-To: <9d1cf95e1c65bb75e691e88a425495fd969e30cd.camel@siemens.com> References: <9d1cf95e1c65bb75e691e88a425495fd969e30cd.camel@siemens.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED 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: Kb4Vhv5NslpT In mail from Monday, 30 January 2023 06:24:37 +03 user Moessbauer, Felix wrote: > Dear Devs, > > I just observed a nasty rebuild issue in the imaging step: > > When building a custom package that is later used in the IMAGER_INSTALL > and IMAGER_BUILD_DEPS, this package does ONLY get updated on version > changes. This can be checked by inspecting log.do_install_imager_deps > and checking for a line " is already the newest version". > > I found this while debugging why a fresh build of the "Add BSP for > StarFiveTech VisionFive2 Risc-V board" (v1) series on the ML is broken > for another user. The reason was simply that I optimized it locally and > made changes to the visionfive2-u-boot-firmware, which were not > included in the final image. > > This behavior is different from how packages in the rootfs are handled, > but I did not debug yet why this is different. Maybe Adriaan can help. > It could also well be, that this issue is automatically fixed when > moving the imaging to the schroot. > > Best regards, > Felix Hello. We have a similar issue in our internal bug-tracking system, discovered recently. In short: - Image is built 1st time. - Some patch is applied to U-Boot - Image is rebuilt but doesn't contain the _updated_ U-Boot package due to the same version number comparing to the 1st build. It happend only with u-boot packages since it is not installed into the output rootfs (boot partition has another source), but is handled in buildchroot. Quick fix with adding '--reinstall' in imager "apt-get install" routines worked well, so it may be used for debugging. Moving imager to schroot (it's under development right now) should also help to solve the issue.