Re: [lfs-support] Problem with xzless

2013-05-15 Thread Matias A. Fonzo
El Wed, 15 May 2013 17:47:58 -0300
Fernando  escribió:
> Apologies for sending to the wrong list.
> 
> # cat /etc/lfs-release
> SVN-20130512
> 64bit, built with jhalfs
> 
> I am worried about this:
> 
> Either as normal user or as root:
> env LANG=C xzless
> /home/fernando/Downloads/blfs/links-2.7-2013.05.15-17h21m20s.log.xz
> 
> error message:
> /usr/bin/xzless: line 49: test: 458 (POSIX regular expressions):
> integer expression expected

Seems the `less' of busybox, the output of `less -V' is:

less 451 (POSIX regular expressions)
[..]

So.. the integer cannot be compared.

> (used env in order to get English message, but it appears in my locale
> LANG too.)
> 
> Line 49 of xzless is:
> 
> if test "$(less -V | { read ver && echo ${ver#less }; })" -ge 429;
> then
> 
> I am thinking in reinstalling xz, but before, please, can someone give
> me some advice?
> 

Yes. Use better alternatives like zutils[1] or lzip[2]:

[1] http://zutils.nongnu.org/zutils.html
[2] http://lzip.nongnu.org/lzip.html


Best regards,
Matias
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] Problem with xzless

2013-05-15 Thread Matias A. Fonzo
El Wed, 15 May 2013 16:12:15 -0500
William Harrington  escribió:
> 
> On May 15, 2013, at 4:12 PM, Matias A. Fonzo wrote:
> 
> > Seems the `less' of busybox, the output of `less -V' is:
> >
> > less 451 (POSIX regular expressions)
> > [..]
> >
> > So.. the integer cannot be compared.
> 
> This is a jhalfs build of LFS. Thus no busybox.

OK.

I have less-444 and less-451, the string "(POSIX regular
expressions)" come from the latest versions.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] musl-libc based system.

2013-09-02 Thread Matias A. Fonzo
Hi there,

El Mon, 2 Sep 2013 10:24:06 +0800
邓尧  escribió:
> Using musl-libc ( www.musl-libc.org ) instead of glibc as the
> system's C library seems to be possible, since google showed some
> such systems. Anyone knows how to build such a system or have any
> suggestions on building such a system ? I tried, but failed to build
> G++ against this C library.
> 

We are porting Dragora GNU/Linux-Libre[1] (one of the free gnu/linux
distributions[2]) to musl[3]. Also, you can visit
http://wiki.musl-libc.org/wiki/Distributions

References:

[1] http://www.dragora.org
[2] http://www.gnu.org/distros/free-distros.html
[3] http://git.savannah.gnu.org/cgit/dragora.git/tree/


Regards,
Matias

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page