| Newsgroups |
gmane.linux.lfs.beyond.support |
| Message-ID |
<[email protected]> |
Hi all,
I had an issue when building the WebKetGTK package (linked to GTK-3) and
perhaps this is worth mentioning. I'm building using a Dell Latitude
machine that has an 8th generation Intel 8665U Whiskey Lake processor,
16GB of RAM, and an SSD drive. (yes, I realize it is not quite modern).
Note:
===============================================================
head -15 /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 142
model name : Intel(R) Core(TM) i7-8665U CPU @ 1.90GHz
stepping : 12
microcode : 0x100
cpu MHz : 1314.960
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
Repeated for processors 1-7 (with different core and apicid ID's)
head -2 /proc/meminfo
MemTotal: 15660372 kB
MemFree: 12557720 kB
===============================================================
The instructions for building the package include a note about machines
with less than 16GB of RAM need to pass a cmake option so the build
won't fail. Well, my machine failed to build due to what looks like is
described in the note. I did not use the cmake option as I have 16GB of
physical RAM. After looking at sar stats for CPU and memory, it was
obvious to me that about halfway through the build, the machine stopped
and required rebooting. I deleted the build directory and restarted the
build this time using the option mentioned in the note. It did not help,
as it failed again at the same exact spot (about halfway through the build).
For the sake of providing information, here is output of sar during the
hours building the package:
===============================================================
Linux 6.14.0-27-generic (Linux-Laptop) 08/17/2025 _x86_64_ (8 CPU)
12:00:00 AM CPU %user %nice %system %iowait %steal %idle
03:20:00 AM all 28.65 0.00 1.93 0.00 0.00 69.42
03:30:00 AM all 95.26 0.00 4.74 0.00 0.00 0.00
03:40:00 AM all 95.39 0.00 4.60 0.01 0.00 0.00
03:50:00 AM all 94.90 0.00 5.09 0.00 0.00 0.00
04:04:11 AM all 45.11 0.00 50.72 1.35 0.00 2.82
04:12:47 AM all 0.35 0.00 99.31 0.34 0.00 0.00
04:26:09 AM all 0.29 0.00 99.66 0.05 0.00 0.00
04:35:49 AM all 0.28 0.00 99.69 0.03 0.00 0.00
04:50:47 AM all 0.24 0.00 99.72 0.04 0.00 0.00
04:52:58 AM LINUX RESTART (8 CPU)
05:10:07 AM all 1.32 0.00 0.42 0.04 0.00 98.22
05:20:01 AM all 0.03 0.00 0.10 0.01 0.00 99.86
05:30:12 AM all 55.50 0.00 3.33 0.02 0.00 41.14
05:40:12 AM all 95.74 0.00 4.26 0.00 0.00 0.00
05:50:12 AM all 96.39 0.00 3.61 0.00 0.00 0.00
06:00:12 AM all 88.27 0.00 7.61 0.00 0.00 4.12
06:12:09 AM all 30.85 0.00 64.92 4.19 0.00 0.04
06:20:31 AM all 0.56 0.00 91.78 7.65 0.00 0.01
06:30:12 AM all 0.11 0.00 0.33 0.02 0.00 99.54
06:40:12 AM all 28.57 0.00 2.04 0.03 0.00 69.36
06:50:12 AM all 95.33 0.04 4.63 0.00 0.00 0.00
07:00:12 AM all 59.91 0.00 2.47 0.02 0.00 37.60
sar -q MEM
12:00:00 AM %smem-10 %smem-60 %smem-300 %smem %fmem-10 %fmem-60
%fmem-300 %fmem
03:20:00 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
03:30:00 AM 0.13 0.22 0.07 0.11 0.10 0.18
0.05 0.10
03:40:00 AM 0.00 0.01 0.23 0.60 0.00 0.00
0.19 0.50
03:50:00 AM 0.00 0.00 0.02 0.06 0.00 0.00
0.01 0.06
04:04:11 AM 87.14 89.89 62.86 37.98 73.07 77.23
54.43 33.18
04:12:47 AM 92.25 96.18 91.04 97.08 80.00 85.15
80.57 86.09
04:26:09 AM 95.48 95.99 96.55 97.83 83.57 85.04
86.03 87.42
04:35:49 AM 96.74 97.52 97.41 98.24 84.16 87.21
87.14 87.85
04:50:47 AM 97.80 97.32 97.45 101.02 88.62 87.44
87.99 91.66
04:52:58 AM LINUX RESTART (8 CPU)
05:10:07 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
05:20:01 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
05:30:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
05:40:12 AM 0.09 0.30 0.21 0.20 0.09 0.26
0.15 0.15
05:50:12 AM 0.00 0.00 0.00 0.03 0.00 0.00
0.00 0.02
06:00:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
06:12:09 AM 74.12 74.05 58.59 48.06 64.77 64.71
51.64 42.87
06:20:31 AM 78.52 78.93 74.65 77.65 72.43 73.32
68.80 72.02
06:30:12 AM 0.00 0.00 10.13 0.01 0.00 0.00
9.33 0.01
06:40:12 AM 0.00 0.00 1.27 0.00 0.00 0.00
1.17 0.00
06:50:12 AM 0.00 0.00 0.13 0.00 0.00 0.00
0.12 0.00
07:00:12 AM 0.00 0.00 0.02 0.13 0.00 0.00
0.01 0.11
===============================================================
The second time to build (after using the option to cmake from the note
in the package instructions) I realized it was locked up but I managed
to use another pty and killed the build process so I didn't have to
restart the machine again). I have the MAKEFLAGS envvar set to -j8. I've
never had any problems building anything in LFS or BLFS, including
LLVM/clang and QT6. The system has been solid as a rock. I have Ubuntu
on the host machine at it ships with a firmware updater and everything
on this system is up to date.
So I decided to build again (and again using the option to cmake shown
in the note), but this time passed -j4 to the ninja command line. The
build was successful, though painfully slow. Note:
===============================================================
12:00:00 AM CPU %user %nice %system %iowait %steal %idle
07:10:12 AM all 48.03 0.00 2.43 0.03 0.00 49.51
07:20:02 AM all 46.94 0.00 5.14 0.03 0.00 47.89
07:30:10 AM all 47.60 0.00 2.80 0.01 0.00 49.58
07:40:01 AM all 47.54 0.00 2.85 0.01 0.00 49.60
07:50:12 AM all 47.45 0.00 2.94 0.01 0.00 49.60
08:00:12 AM all 47.14 0.00 3.19 0.01 0.00 49.65
08:10:12 AM all 47.32 0.00 3.04 0.01 0.00 49.62
08:20:12 AM all 47.23 0.00 3.09 0.01 0.00 49.67
08:30:12 AM all 47.27 0.00 3.09 0.01 0.00 49.63
08:40:01 AM all 46.73 0.00 3.63 0.02 0.00 49.62
08:50:05 AM all 47.39 0.00 2.97 0.01 0.00 49.62
09:00:02 AM all 46.43 0.00 3.88 0.01 0.00 49.67
09:10:12 AM all 46.89 0.00 3.60 0.03 0.00 49.48
09:20:12 AM all 46.86 0.00 3.45 0.01 0.00 49.69
09:30:12 AM all 22.71 0.00 1.49 0.01 0.00 75.80
12:00:00 AM %smem-10 %smem-60 %smem-300 %smem %fmem-10 %fmem-60
%fmem-300 %fmem
07:10:12 AM 0.00 0.00 0.00 0.01 0.00 0.00
0.00 0.01
07:20:02 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
07:30:10 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
07:40:01 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
07:50:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:00:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:10:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:20:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:30:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:40:01 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
08:50:05 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
09:00:02 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
09:10:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
09:20:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
09:30:12 AM 0.00 0.00 0.00 0.00 0.00 0.00
0.00 0.00
===============================================================
So, unless the machine I'm using to build just simply has insufficient
resources, it might be a good idea to add something to the WebKetGTK
instructions that warns there are times using some machines that
building with 8 parallel jobs can cause the build to fail. I did not try
to research the -dev archives to see if this situation has already been
identified and discussed. If it has, my apologies for the noise. I'm now
going to build the package again, this time linking GTK4 libraries,
without using the cmake option but I will pass -j4 to ninja. I will
update when I'm finished.
--
Randy
--
http://lists.linuxfromscratch.org/sympa/info/blfs-support
Unsubscribe: See the above information page