Re: KeyError: 'getpwuid(): uid not found: 1000' in do_package phase
Thomas Hill
Hi Richard!
On Fri, 7 May 2021, 15:28, Richard Purdie <richard.purdie@...> On Fri, 2021-05-07 at 10:10 +0300, Thomas Hill via lists.yoctoproject.org wrote:On Thu, 6 May 2021, 13:44 Martin Jansa <Martin.Jansa@...> wrote:On Thu, May 6, 2021 at 10:57 AM Thomas Hill via lists.yoctoproject.org <tom.hill=inbox.lv@...> wrote:> I have here a similar problem with one of my own packages. It happens that my bitbake user uses UID 1001. Do you have more information why this is a problem? Should it be enough to change the UID to 1002 to get everything running?On Mon, Nov 16, 2020 at 02:28 PM, Martin Jansa wrote: When you install files during do_install, you need to be clear about whoSee my other mail for more details - subject: "Path ./package/usr/lib/libcryptopp.so.8 is owned by uid 1111, gid 1111, which doesn't match any ..." If you do something like "touch ${D}/x", the it will be owned by the defaultI do not touch any files myself. The do_install function uses only "oe_runmake install-lib". No "touch", no "cp", nothing. The GNUmakefile uses "mkdir", "cp", "chmod" but I patched it so it uses "install" instead of "cp" in my recipe. We don't know what your code is doing in do_install but its almost certainlyMy other mail has more details. I did not append the GNUmakefile. It is quite large. I think it ist easier to get it directly from the original git-repository. <https://github.com/weidai11/cryptopp/blob/9dcc26c58213abb8351fbb1b2a7a1d2c667366e4/GNUmakefile> Tom
|
|