Hi Max,
On Thu, 2016-06-02 at 19:31 +0300, Max Filippov wrote:
Hi Alexey,
On Wed, Jun 1, 2016 at 10:56 AM, Alexey Brodkin
<Alexey.Brodkin(a)synopsys.com> wrote:
We are discussing one issue with "util-linux" package building.
The problem is in "util-linux" wants to use alloc modifier (either
"%as"
or "%ms") in scanf().
Looks like uClibc still doesn't support neither "%ms" nor "%as"
(this one
is obsolete glibc-specific so let's not bother with it anyways).
a while ago I
touched %m support for %c and %[...] in uclibc
(b2d27c71bd13820a4263fa7ebda4c1a4a95b501c),
I've got an impression that %ms was working. I've expanded
test/stdio/scanf_m.c a bit (attached) and it appears to work.
So I'm curious, how the issue manifests itself.
During configuration of "util-linux" it tests if "%as" or
"ms" could
be used when compiling a simple test. If not then "libmount" gets disabled.
Then in OpenWRT/Lede on installation of "util-linux" to staging folder
explicit "cp" is executed for copying some of "libmount" build
artifacts and
since "libmount" was never built "cp" fails and so entire build
stops.
-Alexey