Maybe one for Rob I fear? Sorry. Bottom posted.
On 23/11/19 13:58, scsijon wrote:
Forwarded Message
Subject: Re: [Toybox] Fwd: build help please with toybox
Date: Sat, 23 Nov 2019 12:22:57 +1100
From: scsijon
To: Denys Nykula
CC: toybox@lists.landley.net
On 23/11/19
Forwarded Message
Subject: Re: [Toybox] Fwd: build help please with toybox
Date: Sat, 23 Nov 2019 12:22:57 +1100
From: scsijon
To: Denys Nykula
CC: toybox@lists.landley.net
On 23/11/19 09:56, scsijon wrote:
thanks for the help
On 23/11/19 09:18, Denys Nykula wrote:
On 23/11/19 09:56, scsijon wrote:
thanks for the help
On 23/11/19 09:18, Denys Nykula wrote:
scripts/kconfig/lex.zconf.c:890:16: error: ‘EINTR’ undeclared (first use
in this function)
What's your host libc and where are its headers? In apt that's libc6-dev.
and i'm in a Quirky named Xenial
---
tests/printf.test | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
0001-printf.test-work-around-bash-3.2-on-the-Mac.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
since i'm out all week next week and actively trying to avoid breaking
anything, today seemed like a good time to go through all the mac test
failures.
only two of the patches (the device major/minor one and the setlocale
one) revealed actual bugs in toybox on mac. the rest were all working
thanks for the help
On 23/11/19 09:18, Denys Nykula wrote:
scripts/kconfig/lex.zconf.c:890:16: error: ‘EINTR’ undeclared (first use
in this function)
What's your host libc and where are its headers? In apt that's libc6-dev.
and i'm in a Quirky named Xenial Xerus (Ubuntu 16.04 LTS).
libc and
All three have been in use for the Android build for a while now,
and all the tests pass.
---
kconfig/macos_miniconfig | 4
1 file changed, 4 insertions(+)
0001-macos_miniconfig-add-cp-mktemp-and-mv.patch
Description: Binary data
___
Toybox
The Mac doesn't support "C.UTF-8" (and toybox ignores the setlocale(3)
failure), leading to numerous test failures because wcwidth(3)
always returns -1 for non-ASCII in the default C locale.
Our choices are:
1. Always use "" (the environment).
2. Always use "en_US.UTF-8" (the closest to "C.UTF-8"
> scripts/kconfig/lex.zconf.c:890:16: error: ‘EINTR’ undeclared (first use
> in this function)
What's your host libc and where are its headers? In apt that's libc6-dev.
___
Toybox mailing list
Toybox@lists.landley.net
---
tests/file.test | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
0001-file.test-fix-dev-zero-major-minor-for-Mac.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
The Mac iconv_open(3) doesn't follow Unicode TR#22 rules for charset
alias matching that bionic and glibc do (and, strictly, POSIX doesn't
say you have to even though it's obviously a good idea), so we have
to say exactly "UTF-8" rather than "utf8".
Additionally, the 2006-era bash 3.2 on current
BSDs call the root group "wheel" instead.
Also remove the duplicated "id id" from the progress output.
---
tests/id.test | 25 ++---
1 file changed, 14 insertions(+), 11 deletions(-)
0001-id.test-fix-tests-on-Mac.patch
Description: Binary data
Major/minor device encoding is not portable. No two BSDs agree with
each other, and Darwin is different again.
Everyone does agree on having major()/minor()/makedev() macros, but
they disagree whether they should be in (the BSDs
including Darwin, and old versions of glibc) or
(glibc >= 2.26 and
---
toys/posix/du.c | 20 +---
1 file changed, 9 insertions(+), 11 deletions(-)
0001-du-use-FLAG.patch
Description: Binary data
___
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net
None of the current tests are relevant on the Mac because small
symlinks are inlined into inodes, as are empty directories, so
everything's using zero blocks.
---
tests/du.test | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
0001-du.test-skip-on-Mac.patch
Description: Binary data
On a related note... The BSDs (including Mac) all have a getopt(1) but it's
a trivial one, like getopts. util-linux and busybox both have this "full"
getopt.
On Fri, Nov 22, 2019, 08:17 enh wrote:
> On Fri, Nov 22, 2019 at 5:02 AM Rob Landley wrote:
> >
> > On 11/22/19 6:56 AM, Rob Landley
On Fri, Nov 22, 2019 at 5:02 AM Rob Landley wrote:
>
> On 11/22/19 6:56 AM, Rob Landley wrote:
> > On 11/21/19 4:13 PM, enh via Toybox wrote:
> >> Includes new tests.
> >> ---
> >> lib/portability.h | 3 ++
> >
> > Applied, by why add this #include to portability.h when it's not in an
> >
I'm playing with a minimal-linux iso script, this should work changing
from busybox to toybox with this>
-minimal-2.sh (excuse any wraps)
#!/bin/sh
#source minimal-linux at github.com/ivandavedov/minimal gpl3 with kernel
busybox syslinux
#20191122 scsijon test alpha only,
On Fri, Nov 22, 2019 at 4:53 AM Rob Landley wrote:
>
> On 11/21/19 4:13 PM, enh via Toybox wrote:
> > Includes new tests.
> > ---
> > lib/portability.h | 3 ++
>
> Applied, by why add this #include to portability.h when it's not in an #ifdef?
> The main #includes are in toys.h.
i was going
On 11/22/19 6:56 AM, Rob Landley wrote:
> On 11/21/19 4:13 PM, enh via Toybox wrote:
>> Includes new tests.
>> ---
>> lib/portability.h | 3 ++
>
> Applied, by why add this #include to portability.h when it's not in an #ifdef?
> The main #includes are in toys.h.
Also, would someone please
On 11/21/19 4:13 PM, enh via Toybox wrote:
> Includes new tests.
> ---
> lib/portability.h | 3 ++
Applied, by why add this #include to portability.h when it's not in an #ifdef?
The main #includes are in toys.h.
Rob
___
Toybox mailing list
21 matches
Mail list logo