Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] How to fix buildroot Errors?
Date: Sun, 16 Aug 2015 14:04:12 +0200	[thread overview]
Message-ID: <20150816120412.GD3650@free.fr> (raw)
In-Reply-To: <CA+yqE7_X-mMYS7t_xhZCYdsqeThf3zFh0X1pFWYKTYh4otoQjg@mail.gmail.com>

Hmidi, All,

On 2015-08-16 13:28 +0200, Hmidi Slim spake thusly:
> After make configurations on buildroot,I run Make the I got these message
> errors:
> File
> "/home/slim/T?l?chargements/buildroot-2015.05/output/host/usr/lib/python2.7/json/__init__.py",
> line 338, in loads
>     return _default_decoder.decode(s)
>   File
> "/home/slim/T?l?chargements/buildroot-2015.05/output/host/usr/lib/python2.7/json/decoder.py",
> line 366, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File
> "/home/slim/T?l?chargements/buildroot-2015.05/output/host/usr/lib/python2.7/json/decoder.py",
> line 382, in raw_decode
>     obj, end = self.scan_once(s, idx)
> ValueError: Invalid \escape: line 10 column 46 (char 416)
> make[1]: *** [install] Error 1
> make[1]: Leaving directory
> `/home/slim/T?l?chargements/buildroot-2015.05/output/build/host-nodejs-0.10.38'
> make: ***
> [/home/slim/T?l?chargements/buildroot-2015.05/output/build/host-nodejs-0.10.38/.stamp_host_installed]
> Error 2

As discussed on IRC, and for future reference: the problem is caused by
the accentuation in "T?l?chargements" (french for "Downloads").

The problem still occurs on master, but is not related to Buildroot.
It's nodjs' JSON decoder that does not know how to deal with
accentuation... :-(

Hmidi, maybe you could file a bug report in nodejs' own tracker, along
the lines of:

    "If a path contains frenc accentuation, like "T?l?chargements", the
    build fails with:"
    (and quote the error message above)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2015-08-16 12:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-16 11:28 [Buildroot] How to fix buildroot Errors? Hmidi Slim
2015-08-16 12:04 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150816120412.GD3650@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox