Error while building midori, advice for the after clean up

I know compiling packages, especially browsers, can take up quite a bit of time and memory. I have 16 GB RAM. No swap. But I had htop opened all this time and no signs of overflow. It may still create problems with the linker. I would need some advice on this as well. While trying to install midori using yay I get the following errors:

7:11.66 1 warning generated.
7:13.15 4 warnings generated.
7:15.84 4 warnings generated.
7:26.54 warning: `style` (lib) generated 572 warnings (run `cargo fix --lib -p style` to apply 571 suggestions)
7:38.97 4 warnings generated.
7:56.85 warning: `webrender` (lib) generated 21 warnings (run `cargo fix --lib -p webrender` to apply 15 suggestions)
7:56.85    Compiling gkrust v0.1.0 (/home/my-user/.cache/yay/midori/src/midori-desktop-f94f5c44961cf335d7806dade18ffdb3ce966960/toolkit/library/rust)
11:30.37     Finished `release` profile [optimized] target(s) in 11m 04s
11:30.37 warning: the following packages contain code that will be rejected by a future version of Rust: document-features v0.2.8
11:30.46 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
11:31.79 toolkit/library/rust/libgkrust.a
11:31.79 make[2]: *** [/home/my-user/.cache/yay/midori/src/midori-desktop-f94f5c44961cf335d7806dade18ffdb3ce966960/config/recurse.mk:34: compile] Error 2
11:31.79 make[1]: *** [/home/my-user/.cache/yay/midori/src/midori-desktop-f94f5c44961cf335d7806dade18ffdb3ce966960/config/rules.mk:361: default] Error 2
11:31.79 make: *** [client.mk:60: build] Error 2
11:31.89 W 34 compiler warnings present.
==> ERROR: A failure occurred in build().
   Aborting...
-> error making: midori-exit status 4
-> Failed to install the following packages. Manual intervention is required:
midori - exit status 4

I just wanted to try midori to see how it is as a browser. I later read that there is also a pre-compiled version available midori-bin. I tried to clean the cache from .cache/midori and then to run yay -Yc to clean up unneeded dependencies, but something got my attention:

checking dependencies...
:: liborcus optionally requires python-requests: in tool bugzilla
:: lv2 optionally requires python-pygments: for lv2specgen.py
:: python-jinja optionally requires python-babel: for i18n support

Package (38)                          Old Version         Net Change

python-babel                          2.17.0-1            -30,40 MiB
python-charset-normalizer             3.4.4-1              -0,72 MiB
python-idna                           3.11-1               -0,89 MiB
python-pygments                       2.19.2-1            -14,38 MiB
python-pytz                           2025.2-1             -0,15 MiB
python-requests                       2.32.5-1             -0,59 MiB
python-urllib3                        2.5.0-2              -1,28 MiB
c-ares                                1.34.5-1             -0,51 MiB
cbindgen                              0.29.2-1             -4,05 MiB
cmake                                 4.2.0-1             -92,90 MiB
cppdap                                1.58.0-2             -1,55 MiB
dump_syms                             2.3.5-1              -8,09 MiB
imake                                 1.0.10-2             -1,25 MiB
libngtcp2                             1.17.0-1             -0,64 MiB
mercurial                             7.1.2-1             -34,07 MiB
nasm                                  3.01-1               -5,26 MiB
nodejs                                25.2.1-1            -61,25 MiB
python-docutils                       1:0.22.3-1           -6,03 MiB
python-imagesize                      1.4.1-6              -0,05 MiB
python-roman-numerals-py              3.1.0-1              -0,04 MiB
python-snowballstemmer                2.2.0-7              -2,67 MiB
python-sphinx                         8.2.3-1             -20,35 MiB
python-sphinx-alabaster-theme         1.0.0-4              -0,05 MiB
python-sphinxcontrib-applehelp        2.0.0-3              -0,26 MiB
python-sphinxcontrib-devhelp          2.0.0-4              -0,13 MiB
python-sphinxcontrib-htmlhelp         2.1.0-3              -0,17 MiB
python-sphinxcontrib-jsmath           1.0.1-19             -0,02 MiB
python-sphinxcontrib-qthelp           2.0.0-3              -0,16 MiB
python-sphinxcontrib-serializinghtml  2.0.0-3              -0,14 MiB
qt5-tools                             5.15.18+kde+r3-1    -15,35 MiB
rhash                                 1.4.6-1              -0,34 MiB
simdjson                              1:4.2.2-1            -6,28 MiB
wasi-compiler-rt                      21.1.6-1             -0,12 MiB
wasi-libc                             1:0+503+ac020b86-1   -6,07 MiB
wasi-libc++                           21.1.6-1            -14,44 MiB
wasi-libc++abi                        21.1.6-1             -0,74 MiB
yasm                                  1.3.0-9              -3,73 MiB
zip                                   3.0-11               -0,55 MiB

Total Removed Size:  335,65 MiB

:: Do you want to remove these packages? [Y/n] n
 -> exit status 1

I don’t know if this command is safe to run. So I stopped. Even if I have snapper set up and running I try to avoid that and be more careful on what stuff I do on my computer. What can I do about that?

How much parallization are you allowing. What is MAKEFLAGS= set to? Generally, reducing that will also reduce the amount of RAM required.

Yeah, that will be worlds easier. Building a browser takes forever and uses a ton of resources.

What got your attention? That looks pretty normal to me.

That command cleans up orphans. Orphans are packages installed as dependencies of other packages and there is no longer anything depending on them. To be clear, that doesn’t mean they aren’t needed. You need to look through the list yourself and ensure there isn’t something important you want to keep.

If you use paru -c instead of yay -Yc to clean up the dependencies it won’t remove those optional deps.

No options, no config, straightforward compilation, vanilla.

I see there packages like cmake or zip and I’m afraid to delete them as it may mess up other parts of the system. But I guess since they’re optional, that’s why they were marked for deletion.

I will proceed with the deletion and come back.

That option is inside /etc/makepkg.conf. It should be set to something.

cmake is used to build software, not to run it. So you shouldn’t need it. zip was probably brought in as a dependency but if nothing else requires it, you shouldn’t need it anymore.

Thanks @dalto . Everything is looking ok. No problems after reboot. Thanks for your time.

1 Like