On Thu, 2020-02-20 at 22:12 -0600, Bruce Dubbs wrote:
> On 2/20/20 9:13 PM, Douglas R. Reno wrote:
> > On 2/20/20 8:16 PM, Alan Feuerbacher wrote:
> > > I managed to get the configuration settings right enough that
> > > jhalfs
> > > builds a lot of packages, but it stops with this:
> > > 
> > > #############################################
> > > . . .
> > > XZ                  <5.2.4>               OK (Min version: 5.0.0)
> > > PYTHON              <3.7.6>               OK (Min version: 3.4)
> > > ---------------------------------------------------------------
> > > ------
> > > ---------
> > > 
> > > Building the system...
> > > make[1]: Entering directory '/mnt/build_dir/jhalfs'
> > > ---------------------------------------------------------------
> > > ------
> > > -----------
> > > mk_CHROOT
> > > You are going to CHROOT into /mnt/build_dir lfs
> > > a password is required
> > > ---------------------------------------------------------------
> > > ------
> > > -----------
> > >   Building target 064-util-linux
> > >   [|/tools/bin/bash: envars: Permission denied                 ]
> > > 0 min.
> > > 0 sec
> > > make: *** [Makefile:596: 064-util-linux] Error 1
> > > make[1]: *** [Makefile:103: mk_CHROOT] Error 2
> > > make[1]: Leaving directory '/mnt/build_dir/jhalfs'
> > > 
> > > 
> > > ERROR:  Error 2 at common/common-functions line 39!
> 
> [snip]
> 
> > I've been consistently getting this problem as well, and I've
> > never 
> > figured out what caused it. Are you using the latest bash from LFS?
> > 
> > 
> > Normally what I do to fix this is:
> > 
> > 
> > sudo chown -v root:root /mnt/lfs/jhalfs/envars
> > 
> > 
> > And then restart jhalfs. It'll pick up from there and continue as
> > normal.
> 
> I don't know what is going on but I have:
> 
> $ ll /mnt/lfs/jhalfs/envars
> -rw-r--r-- 1 lfs root 0 Feb 20 18:57 /mnt/lfs/jhalfs/envars

That's what I have as well, except that instead of "lfs" I have
"build_dir" as recommended by the jhalfs README.

> I also note that the directory should be wide open:
> 
> ]$ ll -d /mnt/lfs/jhalfs/
> drwxrwxrwt 8 bdubbs bdubbs 4096 Feb 20 18:58 /mnt/lfs/jhalfs/

I have:

[alan@localhost jhalfs]$ ll -d /mnt/build_dir/jhalfs
drwxrwxrwt. 9 alan alan 4096 Feb 20 19:01 /mnt/build_dir/jhalfs
> 

Alan
> 

-- 
http://lists.linuxfromscratch.org/listinfo/alfs-discuss
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to