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 15:56 +0300, Yasin YILMAZ wrote:
>  
> >   
> > > 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
> > > 
> > >  
> > >  
> > 
> > Now I ran it without sudo and the build started. I will watch and see. If
> > there is a problem, I will write again. I am really sad. I wrote an answer
> > to the list without saying an answer. must have come to my mind. Of course
> > it's okay.
> >  
> 
> yes the build ended up with a problem like this can you guide me about it? 
>  
> ------------------------------------------------------------------------------
> -- 
> ------------------------------------------------------------------------------
> -- 
>   Building target 712-03-curl 
>   [++++++++++++++++++++++++++++++++++++++++++++\               ] 1 min. 44 sec
>   Target 712-03-curl OK 
> ------------------------------------------------------------------------------
> -- 
> ------------------------------------------------------------------------------
> -- 
>   Building target 712-04-libcap 
>   [++++/make: *** [Makefile:721: 712-04-libcap] Error 2        ] 0 min. 4 sec 
>  make[1]: *** [Makefile:113: mk_CHROOT] Error 2 
>  make[1]: Leaving directory '/mnt/lfs/jhalfs' 
>  

As I told you, the instructions for pacman have not been updated... They install
pacman in /tools (in chroot, or /mnt/lfs/tools outside chroot), and this is not
what you want: this directory will be removed at the end of chapter 7!
Furthermore, the instructions for libcap are for an old version and have to be
changed.

You can look at the log in /mnt/lfs/jhalfs/logs/712-04-libcap<something> and see
what happened. But you are on your own for fixing it. And the other scripts in
/mnt/lfs/jhalfs/lfs-commands/chapter07/712-x-* need also to be fixed, so that
the packages are installed in (chroot)/usr. Note that if you can fix them,
chapter 8 should be ok (not tested, though).

I have no time to update the pacman files in jhalfs at the moment. Maybe Thomas
can help...

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.