Le 13/01/2020 à 04:23, Bruce Dubbs via lfs-dev a écrit :
> On 1/12/20 8:31 PM, Douglas R. Reno via lfs-dev wrote:
>>
>> On 1/12/20 12:08 PM, Bruce Dubbs via lfs-dev wrote:
>>> I have added zstd to Chapter 6 of the book.  It provides a new compression
>>> algorithm but is not yet used in LFS.  I added it to lfs because it does
>>> the same things (but a different algorithm) as gzip, bzip2, and xz that are
>>> all in LFS.
>>>
>>> http://www.linuxfromscratch.org/lfs/view/development/chapter06/zstd.html
>>>
>>> Please check it out.
>>>
>>> Note that tar needs to be rebuilt after zstd to recognize zstd compressed
>>> tarballs.
>>>
>>>   -- Bruce
>>
>> Hi Bruce,
>>
>> I just ran a jhalfs run and encountered an error:
>>
>> --------------------------------------------------------------------------------
>>
>>   Building target 130-zstd
>>   [/make: *** [Makefile:1451: 130-zstd] Error 2                ] 0 min. 0 sec
>> make[1]: *** [Makefile:103: mk_CHROOT] Error 2
>> make[1]: Leaving directory '/mnt/lfs/jhalfs'
>>
>>
>> ERROR:  Error 2 at common/common-functions line 39!
>>
>> <jhalfs> exit
>> make: *** [Makefile:12: all] Error 2
>> renodr [ ~/Documents/RWRepos/alfs/jhalfs/trunk ]$ cat
>> /mnt/lfs/jhalfs/logs/130-zstd
>> Sun Jan 12 19:48:55 CST 2020
>> KB: 5256176     /
>> make[1]: Entering directory '/jhalfs'
>> --------------------------------------------------
>> You cannot run this makefile from the root account
>> --------------------------------------------------
>> make[1]: *** [Makefile:79: ck_UID] Error 1
>> make[1]: Leaving directory '/jhalfs'
>> renodr [ ~/Documents/RWRepos/alfs/jhalfs/trunk ]$
> 
> I can build zstd as the root user. The error message is in jhalfs
> LFS/master.sh.  Pierre, can you take a look at this please.
> 

There was a typo 'role="installiation"', which confused lfs.xsl...
Fixed at r11727. Seems to work (not tested usage of zstd).

Pierre


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

Reply via email to