This weekend we had a problem where someone was trying to build
mozjs60 in chroot and failed.  I've seen this myself on some of the
rare occasions I've built desktops in chroot.

Key facts:

1. The solution is (as root, on the *host* system) bind /mnt/lfs/run
to /run, i.e.
 # mount --bind /run /mnt/lfs/run

2. Where this is required, the error messages will say
OSError: [Errno 38] Function not implemented
and a few lines above that will be a mention of multiprocessing.

Usually I don't build the desktop in chroot, but maybe a few tiems a
year I have found that appropriate for testing.  On my current
laptop this also seems to be the easiest approach (at least until
xfce and network-manager-applet are in place).

I first saw this when building firefox 53 in 2017, and I'd assumed
it was covered somewhere in one of the books - but now, I don't
think it is mentioned.  If that is so, I guess it would be useful to
add an extra copy member for it, to include in a Note for the
affected packages.

Something like (using '*' to show things to be emphasised)

"If you are building in chroot, on the *host* system you must ensure
/mnt/lfs/run in LFS is bind-mounted, otherwise the configuration
will report

 OSError: [Errno 38] Function not implemented

and a few lines above that it will mention the python
multiprocessing package.

Work around this by, *on the host system*, as root, executing:
mount --bind /run /mnt/lfs/run "

Does that sound ok ?  Will it need any massaging to stop jhalfs
trying to run it as a matter of course ?

If ok, I think the following need it:

mozjs60
mozjs68 when it goes in (unless the python devs have completely
changed how their multiprocessing module tests the system)
node-js
firefox
seamonkey
thunderbird

I can do this, but I'm not sure if I've maybe overlooked something
that already covers this ?

ĸen
-- 
When alle is ſayed and all is done, ye must chooſe your faces wisely,
for soon enouff ye will be playing with fyre."
  The Nice and Accurate Prophecies of Agnes Nutter, Prophecy 5004
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to