Hi,
anyone had issues building Haiku in Ubuntu ?
I’m trying to get back to development, but…
jam -qa
…found 160896 target(s)…
…updating 15578 target(s)…
InitScript1 generated/haiku.image-init-vars
Segmentation fault (core dumped)
LD_LIBRARY_PATH=“$LD_LIBRARY_PATH:/home/stefano.ceccherini/git/haiku/generated/objects/linux/lib” build/scripts/rm_attrs generated/objects/linux/x86_64/release/tools/rm_attrs -f generated/haiku.image-init-vars
touch generated/haiku.image-init-vars
…failed InitScript1 generated/haiku.image-init-vars …
BUILD FAILURE:
…failed updating 1 target(s)…
…skipped 2 target(s)…
I also tried to rebuild buildtools but nothing changed
Diver
October 20, 2026, 7:34pm
2
Does this jam come from buildtools?
jam -v
Jam 2.5-haiku-20211029. OS=MACOSX. Copyright 1993-2002 Christopher Seiwald.
jam -v
Jam 2.5-haiku-20211029. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.
Do you know which process specifically segfaulted? You may be able to find out by running “dmesg”.
[ 132.862668] show_signal_msg: 3210 callbacks suppressed
[ 132.862672] rm_attrs[8167]: segfault at 80006003 ip 00005ae70557d792 sp 00007ffc73d3e520 error 4 in rm_attrs[1792,5ae70557d000+1000] likely on CPU 2 (core 0, socket 0)
[ 132.862681] Code: 00 0f 85 6a 01 00 00 48 81 c4 b8 10 00 00 5b 5d 41 5c 41 5d 41 5e 41 5f c3 0f 1f 80 00 00 00 00 45 84 ed 74 18 e8 fe f9 ff ff <81> 38 03 60 00 80 74 be e8 f1 f9 ff ff 8b 10 85 d2 74 b3 e8 e6 f9
Trying to delete generated/attributes now. It has a huge number of files
Also deleted generated/objects, and now works. I thought I had already done it but I just did a jam clean which obviously does not do that. Sorry for the noise
If you use a filesystem like XFS (or BTRFS, etc.) that supports arbitrary-sized extended attributes, then the build system won’t need to use this directory at all, and you’ll get a performance gain as well as automatic cleanup of attributes on deleted files.
1 Like