2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2024-01-10 02:12:15 +08:00
|
|
|
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
2023-11-20 07:01:36 +08:00
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../general.ent">
|
|
|
|
%general-entities;]>
|
2020-04-01 09:34:37 +08:00
|
|
|
|
|
|
|
|
|
|
|
<!-- to go inside a NOTE on mozilla packages which need shm
|
|
|
|
mounted when configured or similar in chroot.
|
|
|
|
Unfortunately, the DTD says an xinclude can only include
|
2023-11-20 07:01:36 +08:00
|
|
|
one paragraph.
|
|
|
|
|
|
|
|
We now have exactly one paragraph, git blame this line for
|
|
|
|
details. -->
|
2020-04-01 09:34:37 +08:00
|
|
|
|
|
|
|
<para>
|
2023-11-20 07:01:36 +08:00
|
|
|
If you are compiling this package in chroot you must
|
2020-04-01 09:34:37 +08:00
|
|
|
ensure that <filename>/dev/shm</filename> is mounted. If you do not
|
2022-03-27 07:28:32 +08:00
|
|
|
do this, the <application>Python</application> configuration will fail
|
2020-04-01 09:34:37 +08:00
|
|
|
with a traceback report referencing
|
|
|
|
<filename>/usr/lib/pythonN.N/multiprocessing/synchronize.py</filename>.
|
2023-11-20 07:01:36 +08:00
|
|
|
As the &root; user, run:
|
2020-04-01 09:34:37 +08:00
|
|
|
|
2020-07-09 00:36:55 +08:00
|
|
|
<screen role="nodump"><userinput>mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm</userinput></screen>
|
2020-04-01 09:34:37 +08:00
|
|
|
|
|
|
|
</para>
|