Build iso new errors

Are you sure your build system is up-to-date?

The following is only applicable if using linux 6.18rc4+

I recall a recent change to mkinitcpio as mentioned in the Announcements > Unstable Updates thread [Unstable Update] November 2025 - #2 by GaVenga

I noted yesterday the community edition manjaro-sway had an ISO rebuild 251109 and I have heard of no issues with the tools - but then - I am not the first to hear about it :slight_smile:

verification

For the sake of verifying I am current running a default build of xfce.

buildiso -p xfce -k linux612 -b stable -n

And we have a winner - I can confirm the issue - @philm @Yochanan

Creating 4.0 filesystem on /a/projects/builddir/root/buildiso/xfce/iso/manjaro/x86_64/desktopfs.sfs, block size 262144.
[=========================|                                                                                           ]  34559/157841  21%/usr/local/lib/manjaro-tools/util-iso.sh: line 89: 94627 Segmentation fault         (core dumped) mksquashfs "${mksfs_args[@]}"
==> ERROR: A failure occurred in make_iso().
    Aborting...

The aforementioned issue with mkinitcpio resulted in a special version of mkinitcpio on Manjaro.

I have downgraded mkinitcpio to

sudo pacman -U /var/cache/pacman/pkg/mkinitcpio-39.2-4-any.pkg.tar.zst
 $ mkinitcpio --version
mkinitcpio "39.2"

Then rerunning the build

buildiso -p xfce -k linux612 -b stable -n

Using the previous version result in the same error.

(mkinitcpio 40-1 is in Arch stable)

Looking closer at the output - after building mhwdfs - in preparing the boot

==> Prepare [/iso/boot]
 --> overlayfs mount: [/a/projects/builddir/root/buildiso/xfce/x86_64/bootfs]
  -> Copying initcpio ...
==> Starting build: '6.12.57-1-MANJARO'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [miso_shutdown]
  -> Running build hook: [miso]
==> ERROR: file not found: '/usr/lib/initcpio/udev/11-dm-initramfs.rules'
[...]

Ultimately leading to

  -> Creating SquashFS image, this may take some time...
Parallel mksquashfs: Using 24 processors
Creating 4.0 filesystem on /a/projects/builddir/root/buildiso/xfce/iso/manjaro/x86_64/desktopfs.sfs, block size 262144.
[======================\                                                                                              ]  28677/150540  19%/usr/local/lib/manjaro-tools/util-iso.sh: line 89: 279502 Segmentation fault         (core dumped) mksquashfs "${mksfs_args[@]}"
==> ERROR: A failure occurred in make_iso().
    Aborting...