Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
Date: Thu, 16 Oct 2014 09:56:59 +0200	[thread overview]
Message-ID: <20141016095659.72ccd1e5@free-electrons.com> (raw)
In-Reply-To: <loom.20141016T061551-319@post.gmane.org>

Dear Daniele,

On Thu, 16 Oct 2014 04:25:04 +0000 (UTC), Daniele wrote:

> I've the same problem, have you a solution or some suggestion ?
> 
> I run make for a sama5d3 Cortex-A5 target, and I run a 'make clean;make' but 
> I got the same error.
> 
> Note: all the wrong files (run,lock ..) have the content "../tmp", if I 
> remove all those files the next run of make works.
> 
> Thanks
> Daniele
> 
> mkdir /home/daniele/git/buildroot/output/target/usr/share/doc/sudo
> mkdir /home/daniele/git/buildroot/output/target/var/run
> mkdir: impossibile creare la directory 
> "/home/daniele/git/buildroot/output/target/var/run": File gi? esistente
> make[2]: *** [install-dirs] Error 1
> make[2]: Leaving directory `/home/daniele/git/buildroot/output/build/sudo-
> 1.8.10p3/plugins/sudoers'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/daniele/git/buildroot/output/build/sudo-
> 1.8.10p3'
> make: *** [/home/daniele/git/buildroot/output/build/sudo-
> 1.8.10p3/.stamp_target_installed] Error 2

sudo builds fine here. Could you provide a more complete report that
includes the Buildroot version you're using, and the Buildroot .config
file you're using?

For information, what you call "the wrong files", such
as /var/run, /var/lock and so on are symbolic links to /tmp. This is
done to allow mounting read-only the root filesystem generated by
Buildroot: since /tmp is mounted as a tmpfs (RAM filesystem), it is
read/write, so we link /var/run, /var/lock and a few other places
to /tmp so that applications can continue to write their data even
though the root filesystem is mounted read only.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-10-16  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-04  9:22 [Buildroot] Buildroot 2014.02 : make on raspberry pi failed Cyrille DERORY
2014-03-04 18:36 ` Thomas Petazzoni
2014-10-16  4:25 ` Daniele
2014-10-16  7:56   ` Thomas Petazzoni [this message]
2014-10-16 18:15     ` Daniele

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=20141016095659.72ccd1e5@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --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