glfs/xincludes/mozshm.xml
2022-03-26 18:28:32 -05:00

24 lines
1009 B
XML

<?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
do this, the <application>Python</application> configuration will fail
with a traceback report referencing
<filename>/usr/lib/pythonN.N/multiprocessing/synchronize.py</filename>.
Run:
<screen role="nodump"><userinput>mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm</userinput></screen>
</para>
<!-- follow with appropriate text about exporting SHELL -->