Yocto Project Discussions
 help / color / mirror / Atom feed
From: Jean-Paul Saman <jean-paul.saman@m2x.nl>
To: Yoann Congal <yoann.congal@smile.fr>, yocto@lists.yoctoproject.org
Subject: Re: [yocto] Howto solve pseudo abort issue? #bitbake #fakeroot #linux #raspberrypi #scarthgap
Date: Sun, 12 Jul 2026 17:07:11 +0200	[thread overview]
Message-ID: <604c19ed-bbfa-467a-b5ba-640af60558e8@m2x.nl> (raw)
In-Reply-To: <DJURCP56FOJD.V88LBYAABFID@smile.fr>

On 7/10/26 10:45, Yoann Congal wrote:
> On Fri Jul 10, 2026 at 10:34 AM CEST, Jean-Paul Saman via lists.yoctoproject.org wrote:
>> The problem:
>>
>> Our yocto build system suddenly started failing on ‘do_package’ due to a pseudo abort issue. Even packages that have not been changed recently. The same happened on my local development system.
>>
>> Searching in Yocto discussions or other sources did not provide a solution that works in our case. I tried the following solutions (NOTE: this package was not changed when the problem started):
>>
>> 1. bitbake -c cleanall miniflex-generate-salt && bitbake miniflex-generate-salt
>> 2. bitbake -c cleansstate miniflex-generate-salt && bitbake miniflex-generate-salt
>> 3. examine with bitbake -c devshell miniflex-generate-salt
>> 4. set parallel jobs to '-j 1’ in conf/local.conf
>> 5. remove build/tmp and rebuild entire distribution
>>
>> The logfile suggests there is a path mismatch.
>>
>> I have  2 questions basically:
>>
>> 1. What I do not understand is how this can happen, suddenly without a clear (at least for me) cause?
>> 2. How to solve this situation?
>>
>> ---
> [...]
>> tar: ./usr/share/licenses/miniflex-generate-salt: Cannot mkdir: No such file 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 open: 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=16143
> I think you just need to upgrade OE-core/poky on a more recent
> scarthgap. Specifically, you want pseudo >= 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?

Yes, it helps. Thanks for the swift reply.

I downgraded tar to the version (1.34+dsfg-1build3) of the official 
release image and Yocto builds our image correctly now. Next version 
I'll upgrade scarthgap to a more recent version, but for now the quick 
fix is preferred.

-- 

Kind greetings,

       Jean-Paul Saman



  reply	other threads:[~2026-07-12 15:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-10  8:34 Howto solve pseudo abort issue? #bitbake #fakeroot #linux #raspberrypi #scarthgap Jean-Paul Saman
2026-07-10  8:45 ` [yocto] " Yoann Congal
2026-07-12 15:07   ` Jean-Paul Saman [this message]
2026-07-10  8:56 ` [yocto] Howto solve pseudo abort issue? #raspberrypi #scarthgap #bitbake #fakeroot #linux Prashant Divate

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=604c19ed-bbfa-467a-b5ba-640af60558e8@m2x.nl \
    --to=jean-paul.saman@m2x.nl \
    --cc=yoann.congal@smile.fr \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox