Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-12-27 Thread Matthias Rampke via lists.yoctoproject.org
Bisect points at the commit that introduced the hard pseudo abort:

84e0642ed6aba422583871fc153bbd94380074de is the first bad commit
> commit 84e0642ed6aba422583871fc153bbd94380074de
> Author: Richard Purdie 
> Date:   Tue Sep 29 17:57:38 2020 +0100
>
> pseudo: Abort on mismatch patch
>
> Rather than doing what turns out to be a rather dangerous "fixup" if
> we see a file with a different path but the same inode as another file
> we've previously seen, throw and abort. Direct the user to a wiki page
> where we can maintain information about what this error means.
>
> (From OE-Core rev: 2db491d97da08d44ebd257f98489550a82a7935c)
>
> Signed-off-by: Richard Purdie 
>
> :04 04 265627b814038c0cc19248bbb885ab7536202e1c
> acfc4fbeb04a887f2ceeaa029a63a4dd82f7767d M  meta
> bisect run success
>


/MR


On Sun, Dec 27, 2020 at 8:43 PM matthias.rampke via lists.yoctoproject.org
 wrote:

> One more thing: I tried reverting the linux-libc-headers version change
> (57d5f4ad410d4e9d55bdd9734bf5ab8fa6667a53) and that fails in the same way,
> so it's not that.
>
> I also realized that the yocto-3.2 tag does not include the 3.2.1 updates;
> however the same issue happens on 3.2.1 as well.
>
> I will try to bisect this but it seems like it will take a long time since
> I need to wipe the tmp directory at every step.
>
> /MR
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51836): https://lists.yoctoproject.org/g/yocto/message/51836
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-12-27 Thread matthias.rampke via lists.yoctoproject.org
One more thing: I tried reverting the linux-libc-headers version change 
(57d5f4ad410d4e9d55bdd9734bf5ab8fa6667a53) and that fails in the same way, so 
it's not that.

I also realized that the yocto-3.2 tag does not include the 3.2.1 updates; 
however the same issue happens on 3.2.1 as well.

I will try to bisect this but it seems like it will take a long time since I 
need to wipe the tmp directory at every step.

/MR

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51835): https://lists.yoctoproject.org/g/yocto/message/51835
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-12-27 Thread matthias.rampke via lists.yoctoproject.org
Hi,

I hit the same issue, also while trying things out on WSL2 (not committed 
enough to build a dedicated workstation/VM). I found a few more things:

This seems to be a pseudo abort with:

> 
> path mismatch [2 links]: ino 409763 db '/run/shm/sem.mp-bzdlrxrj' req
> '/run/shm/tGpqeT'.

I tried to follow the instructions ( 
https://wiki.yoctoproject.org/wiki/Pseudo_Abort ) to collect as many logs as 
possible. Logs are attached as far as I could find them; the strace is too big 
and you can find it here ( 
https://drive.google.com/file/d/1QBicEMu7V7sF9VMcSkrS6ine3GU5EHF9/view?usp=sharing
 ).

This is a regression: poky-3.1 (which uses linux-libc-headers 5.4) works. It 
seems we are not the only ones ( 
https://github.com/OpenVisionE2/openvision-development-platform/issues/73 ) 
with this issue, and others have already given up on Yocto-on-WSL2.

Hope this is useful,
Matthias


linux-libc-headers.log-no-strace.tar.xz
Description: Binary data

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51834): https://lists.yoctoproject.org/g/yocto/message/51834
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread Quentin Schulz
Hi,

On Thu, Nov 26, 2020 at 04:26:34AM -0800, aloofbynat...@gmail.com wrote:
> Hello,
> 
> I am just starting using Yocto Project and I've been following along with the 
> getting started section of the mega manual. I am working on Ubuntu 20.04 LTS 
> through WSL2 on Windows 10 (not sure if it matters but I'm running OS build 
> 20231) trying to create an image using poky-yocto-3.2.
> 
> I've followed all setup steps and made sure the host has all necessary 
> packages before cloning poky (I kept running into an error when trying to 
> clone the repo because the connection was refused so I just extracted the 
> poky-yocto-3.2 tarball). When I try to run 'bitbake core-image-minimal' I get 
> an error saying the following task failed with exit code 134:
> 'poky-yocto-3.2/meta/recipes- kernel/linux-libc-headers/ 
> linux-libc-headers_5.8.bb:do_ install'
> All the other recipes are installed with no problems.
> 

To be able to help you we'd need the logs of this task.
You can either paste the whole output on the console or send us the task
log you can find if you carefully read the console output.

Quentin

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51573): https://lists.yoctoproject.org/g/yocto/message/51573
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread Paul Barker
On Thu, 26 Nov 2020 at 12:26,  wrote:
>
> Hello,
>
> I am just starting using Yocto Project and I've been following along with the 
> getting started section of the mega manual. I am working on Ubuntu 20.04 LTS 
> through WSL2 on Windows 10 (not sure if it matters but I'm running OS build 
> 20231) trying to create an image using poky-yocto-3.2.
>
> I've followed all setup steps and made sure the host has all necessary 
> packages before cloning poky (I kept running into an error when trying to 
> clone the repo because the connection was refused so I just extracted the 
> poky-yocto-3.2 tarball). When I try to run 'bitbake core-image-minimal' I get 
> an error saying the following task failed with exit code 134:
> 'poky-yocto-3.2/meta/recipes-kernel/linux-libc-headers/linux-libc-headers_5.8.bb:do_install'
> All the other recipes are installed with no problems.
>
> The first time I tried this I changed local.conf in my build dir to build for 
> qemuarm and next try I left everything as the default configuration but still 
> got the same result. Any help fixing this issue is appreciated, thanks!

Could you share the command that you executed along with the full
output that was printed? There's not really enough information here to
diagnose the issue.

Thanks,

-- 
Paul Barker
Konsulko Group

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51572): https://lists.yoctoproject.org/g/yocto/message/51572
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Error during do_install for linux-libc-headers_5.8 recipe during 'bitbake core-image-minimal'

2020-11-26 Thread aloofbynature
Hello,

I am just starting using Yocto Project and I've been following along with the 
getting started section of the mega manual. I am working on Ubuntu 20.04 LTS 
through WSL2 on Windows 10 (not sure if it matters but I'm running OS build 
20231) trying to create an image using poky-yocto-3.2.

I've followed all setup steps and made sure the host has all necessary packages 
before cloning poky (I kept running into an error when trying to clone the repo 
because the connection was refused so I just extracted the poky-yocto-3.2 
tarball). When I try to run 'bitbake core-image-minimal' I get an error saying 
the following task failed with exit code 134:
'poky-yocto-3.2/meta/recipes- kernel/linux-libc-headers/ 
linux-libc-headers_5.8.bb:do_ install'
All the other recipes are installed with no problems.

The first time I tried this I changed local.conf in my build dir to build for 
qemuarm and next try I left everything as the default configuration but still 
got the same result. Any help fixing this issue is appreciated, thanks!

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#51571): https://lists.yoctoproject.org/g/yocto/message/51571
Mute This Topic: https://lists.yoctoproject.org/mt/78528061/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-