Re: [yocto] Howto solve pseudo abort issue? #bitbake #fakeroot #linux #raspberrypi #scarthgap

"Yoann Congal" <[email protected]> Fri, 10 Jul 2026 10:45:24 +0200
Newsgroups org.yoctoproject.lists.yocto
Message-ID <[email protected]>
On Fri Jul 10, 2026 at 10:34 AM CEST, Jean-Paul Saman via lists.yoctoprojec=
t.org wrote:
> The problem:
>
> Our yocto build system suddenly started failing on =E2=80=98do_package=E2=
=80=99 due to a pseudo abort issue. Even packages that have not been change=
d recently. The same happened on my local development system.
>
> Searching in Yocto discussions or other sources did not provide a solutio=
n that works in our case. I tried the following solutions (NOTE: this packa=
ge was not changed when the problem started):
>
> 1. bitbake -c cleanall miniflex-generate-salt && bitbake miniflex-generat=
e-salt
> 2. bitbake -c cleansstate miniflex-generate-salt && bitbake miniflex-gene=
rate-salt
> 3. examine with bitbake -c devshell miniflex-generate-salt
> 4. set parallel jobs to '-j 1=E2=80=99 in conf/local.conf
> 5. remove build/tmp and rebuild entire distribution
>
> The logfile suggests there is a path mismatch.
>
> I have =C2=A02 questions basically:
>
> 1. What I do not understand is how this can happen, suddenly without a cl=
ear (at least for me) cause?
> 2. How to solve this situation?
>
> ---
[...]
> tar: ./usr/share/licenses/miniflex-generate-salt: Cannot mkdir: No such f=
ile or directory
> got *at() syscall for unknown directory, fd 4
> unknown base path for fd 4, path share
> couldn't allocate absolute path for 'share'.
> got *at() syscall for unknown directory, fd 4
> unknown base path for fd 4, path share
> couldn't allocate absolute path for 'share'.
> tar: ./usr/share: Cannot mkdir: Bad address
> tar: ./usr/share/licenses/miniflex-generate-salt/xxxxx-LICENSE: Cannot op=
en: No such file or directory
> tar: Exiting with failure status due to previous errors

Hello,

That looks like https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D16143
I think you just need to upgrade OE-core/poky on a more recent
scarthgap. Specifically, you want pseudo >=3D 1.9.4.

For the explanation, Ubuntu based-distro recently got a tar upgrade that
add a new syscall that pseudo needs to handle. Some user worked around
that by changing their host tar version.

Does that helps?

>
> ERROR: Logfile of failure stored in: /home/jpsaman/Source/xxxxx/insight_t=
est3/build-raspberrypi4-64/tmp/work/cortexa72-poky-linux/miniflex-generate-=
salt/1.0/temp/log.do_package.21002
> ERROR: Task (/home/jpsaman/Source/xxxxx/insight_test3/sources/meta-xxxxx/=
recipes-applications/miniflex-generate-salt/miniflex-generate-salt.bb:do_pa=
ckage) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 1789 tasks of which 1775 didn't need to be=
 rerun and 1 failed.
> NOTE: Build completion summary:
> NOTE: =C2=A0=C2=A0do_populate_sysroot: 0.0% sstate reuse(0 setscene, 1 sc=
ratch)
> NOTE: =C2=A0=C2=A0do_deploy_source_date_epoch: 0.0% sstate reuse(0 setsce=
ne, 1 scratch)
> NOTE: =C2=A0=C2=A0do_deploy_archives: 0.0% sstate reuse(0 setscene, 1 scr=
atch)
> NOTE: =C2=A0=C2=A0do_recipe_qa: 0.0% sstate reuse(0 setscene, 1 scratch)
> NOTE: =C2=A0=C2=A0do_package: 0.0% sstate reuse(0 setscene, 1 scratch)
> NOTE: =C2=A0=C2=A0do_populate_lic: 0.0% sstate reuse(0 setscene, 1 scratc=
h)
> NOTE: Writing buildhistory
> NOTE: Writing buildhistory took: 1 seconds
>
> Summary: 1 task failed:
> /home/jpsaman/Source/xxxxx/insight_test3/sources/meta-xxxxx/recipes-appli=
cations/miniflex-generate-salt/miniflex-generate-salt.bb:do_package
> Summary: There was 1 ERROR message, returning a non-zero exit code.
>
> =E2=80=94
> Kind regards,
> Jean-Paul Saman


--=20
Yoann Congal
Smile ECS