2020-04-01 09:34:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!DOCTYPE note PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 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
|
|
|
|
one paragraph. -->
|
|
|
|
|
|
|
|
<para>
|
|
|
|
If you are compiling this package in chroot you must do two things.
|
|
|
|
First, as the <systemitem class="username">root</systemitem> user,
|
|
|
|
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>.
|
|
|
|
Run:
|
|
|
|
|
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>
|
|
|
|
<!-- follow with appropriate text about exporting SHELL -->
|