Re: jhalfs pacman and blfs

"Pierre Labastie" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
On Fri, 2022-06-10 at 11:37 +0300, Yasin YILMAZ wrote:
>  
> > On Fri, 2022-06-10 at 08:31 +0300, Yasin YILMAZ wrote:
> >  
> > >  >> Hello, when I do sudo make with the lfs user in the jhalfs folder as
> > > ALFS,
> > > I
> > >  >> get the error about the package below.
> > >  >>  
> > >  >>  ---
> > >  >>  
> > >  >>  
> > >  >>  syslinux-3.36}.tar.bz2 not found on any server..SKIPPING
> > >  >                 ^
> > >  > This seems to be a typo.
> > >  >
> > >  
> > >  yes there is a typo and it is trying to pull the file as "}".
> > >  
> > >  
> > > >  
> > > >  
> > > > >  blfs-bootscripts-20150924.tar.bz2: using cached file in
> > > > > /mnt/lfs/sources
> > > > Hmm, not sure where you have taken the pacman instructions from, but it
> > > > is
> > > > not
> > > > maintained, so likely to have errors. Recent versions of jhalfs are not
> > > > compatible with old books.
> > > > 
> > >  I also tried without the blfs and pacman package manager. Still the same
> > > problem and stuck at the same stage.
> > > 
> > Which lfs book version are you using? The blfs bootscripts seem very old...
> > And which jhalfs version?
> > 
> > Also, it seems you have ticked "Run comparison analysis on final stage". I'd
> > recommend not using this for first jhalfs tries (it checks whether lfs can
> > rebuild itself identically, which is for lfs devs primarily). I suspect the
> > error would go if you untick this.
> > 
> > Pierre
> >  
> >  
> 
> I made the edits you specified with the "sudo make" command over the lfs user.
> The output of the layout is as follows. 
> [...]
>  Everything was going well, but this time the process stopped with a problem
> as follows.
>  
>  You must not be logged in as root to build the system.
>  
>  <jhalfs> exit
>  make: *** [Makefile:11: all] Error 1
>  [lfs@lab jhalfs]$ 
>  

The configuration seems ok, but you should not be using sudo for running make...
Once you have run make with sudo, everything in /mnt/lfs is owned by root. So I
suggest you remove everything in /mnt/lfs (except possibly lost+found), and then
you run make (as you did, but without sudo). jhalfs takes care of permissions.

Also, I see you are not writing anymore to the list. Would you mind if I forward
your mail to the list?

Pierre

-- 
http://lists.linuxfromscratch.org/sympa/info/alfs-discuss
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.