From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by mx.groups.io with SMTP id smtpd.web09.283.1614710955908765439 for ; Tue, 02 Mar 2021 10:49:16 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: bootlin.com, ip: 217.70.178.230, mailfrom: alexandre.belloni@bootlin.com) Received: from localhost (lfbn-lyo-1-1676-55.w90-65.abo.wanadoo.fr [90.65.108.55]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 4075E240002; Tue, 2 Mar 2021 18:49:13 +0000 (UTC) Date: Tue, 2 Mar 2021 19:49:12 +0100 From: "Alexandre Belloni" To: Luca Boccassi Cc: openembedded-core@lists.openembedded.org, richard.purdie@linuxfoundation.org, bluelightning@bluelightning.org Subject: Re: [OE-core] [PATCH v5] util-linux: split uuid in separate recipe to allow bootstrapping Message-ID: References: <20201210184632.3448265-1-luca.boccassi@gmail.com> <20210225153035.1239276-1-luca.boccassi@gmail.com> MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On 02/03/2021 17:31:06+0000, Luca Boccassi wrote: > > > > ERROR: glibc-2.33-r0 do_package: Error executing a python function in exec_python_func() autogenerated: > > > > [...] > > > > Exception: FileExistsError: [Errno 17] File exists: '/home/pokybuild/yocto-worker/edgerouter/build/build/tmp/sysroots-components/mips64/libgcc/usr/lib/mips64-poky-linux/10.2.0/libgcc.a' -> '/home/pokybuild/yocto-worker/edgerouter/build/build/tmp/work/mips64-poky-linux/glibc/2.33-r0/recipe-sysroot/usr/lib/mips64-poky-linux/10.2.0/libgcc.a' > > > > ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/edgerouter/build/build/tmp/work/mips64-poky-linux/glibc/2.33-r0/temp/log.do_package.29993 > > > > NOTE: recipe glibc-2.33-r0: task do_package: Failed > > > > ERROR: Task (/home/pokybuild/yocto-worker/edgerouter/build/meta/recipes-core/glibc/glibc_2.33.bb:do_package) failed with exit code '1' > > > > > > I see those kind of errors without this patch all the time, when a > build directory is hosed, and normally it means it's time for a rm -rf > and start over. It happens quite often when building in the same > directory multiple times. Are you sure it's related to this particular > patch? > No, not completely sure, however, the issue was gone as soon as the patch has been removed. Richard may have more insight. > > > Not sure this helps but we also get: > > > > > > WARNING: nativesdk-util-linux-2.36.2-r0 do_package_qa: QA Issue: nativesdk-util-linux rdepends on nativesdk-util-linux-uuid, but it isn't a build dependency? [build-deps] > > Uhm I don't understand this warning, it _is_ a build dependency? Any > idea? > This was the failing build if you want to look at the config to try to reproduce: https://autobuilder.yoctoproject.org/typhoon/#/builders/20/builds/3440 > -DEPENDS = "libcap-ng ncurses virtual/crypt zlib" > +DEPENDS = "libcap-ng ncurses virtual/crypt zlib util-linux-uuid" > > > and I'm adding https://autobuilder.yoctoproject.org/typhoon/#/builders/47/builds/3137/steps/12/logs/stdio : > > > > ERROR: util-linux-uuid-2.36.2-r0 do_package: QA Issue: util-linux-uuid: Files/directories were installed but not shipped in any package: > > /usr/lib/libuuid.a > > Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. > > Whops, indeed I forgot the static archive, fixed now. > > -- > Kind regards, > Luca Boccassi -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com