From Fedora Project Wiki
Chrismurphy (talk | contribs) (initial writeup) |
Chrismurphy (talk | contribs) (add repeat) |
||
Line 28: | Line 28: | ||
mock webkit2gtk3-2.29.2-1.fc33.src.rpm | mock webkit2gtk3-2.29.2-1.fc33.src.rpm | ||
</pre> | </pre> | ||
<li> Repeat two more times. | |||
</ol> | </ol> | ||
Revision as of 00:21, 6 July 2020
Description
Test building WebKitGTK with swap-on-zram enabled and running.
Setup
- Install mock, and download webkit2gtk3 source.
sudo dnf install mock curl -O https://kojipkgs.fedoraproject.org//packages/webkit2gtk3/2.29.2/1.fc33/src/webkit2gtk3-2.29.2-1.fc33.src.rpm
- Add user to mock group.
sudo usermod -a -G mock chris
How to test
- Make sure you have at zram swap, or both a disk-based swap and a zram swap.
$ swapon NAME TYPE SIZE USED PRIO /dev/sda5 partition 10.4G 0B -2 /dev/zram0 partition 3.8G 0B 100
- Build WebKitGTK
mock webkit2gtk3-2.29.2-1.fc33.src.rpm
- Repeat two more times.
Expected Results
- Either the build succeeds, or earlyoom will report killing off one of the related build processes (probably cc1plus).
- Other sources of failures likely indicate a problem.