Re: jhalfs pacman and blfs

"Yasin YILMAZ" ([email protected] via alfs-discuss Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.automated
Message-ID <[email protected]>
10.06.2022 17:36 tarihinde Pierre Labastie ([email protected] via 
alfs-discuss Mailing List) yazdı:
> 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

Thanks for the information, I'll try without pacman. When I examine 
/mnt/lfs/jhalfs/logs/712-04-libcap-2.63, there is an output like the one 
below at the bottom of the log file.


gcc -O2  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/sources/libcap>
gcc -O2  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wshadow -Wunreachable-code  -o setcap setcap.o 
-L/sources/libcap-2.63/progs/../libcap -lcap
./mkcapshdoc.sh > capshdoc.c.cf
diff -u capshdoc.c capshdoc.c.cf || (rm capshdoc.c.cf ; exit 1)
gcc -O2  -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align 
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline 
-Wshadow -Wunreachable-code -Dlinux -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -I/sources/libcap>
make[2]: Leaving directory '/sources/libcap-2.63/progs'
make -C doc all
make[2]: Entering directory '/sources/libcap-2.63/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/sources/libcap-2.63/doc'
make[1]: Leaving directory '/sources/libcap-2.63'
make[1]: Entering directory '/sources/libcap-2.63'
make -C libcap install
make[2]: Entering directory '/sources/libcap-2.63/libcap'
make[2]: *** No rule to make target 'install-static-cap', needed by 
'install-static'.  Stop.
make[2]: Leaving directory '/sources/libcap-2.63/libcap'
make[1]: *** [Makefile:12: install] Error 2
make[1]: Leaving directory '/sources/libcap-2.63'




-- 
	
*Yasin YILMAZ*Open Source Software & Linux Advocate | Co-Founder of 
Linux Turkey Community | Entrepreneur | Company Owner
[email protected]
+90 850 255 23 44 <tel:+90 850 255 23 44>+90 216 706 23 44 <tel:+90 216 
706 23 44> (Fax)
Sapanbağları Mh. Heybeli Sk. No: 10/21 Pendik/İstanbul 
<https://maps.google.com/?q=Sapanba%C4%9Flar%C4%B1%20Mh.%20Heybeli%20Sk.%20No%3A%2010%2F21%20Pendik%2F%C4%B0stanbul>
https://yasin.net.tr
Facebook <https://www.facebook.com/yaskorecko>LinkedIn 
<https://www.linkedin.com/in/yasinyilmaz1/>Instagram 
<https://www.instagram.com/ysin_yilmz>

-- 
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.