From: Daniele <daniele.email0@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
Date: Thu, 16 Oct 2014 18:15:53 +0000 (UTC) [thread overview]
Message-ID: <loom.20141016T200505-284@post.gmane.org> (raw)
In-Reply-To: 20141016095659.72ccd1e5@free-electrons.com
Thomas Petazzoni <thomas.petazzoni@...> writes:
>
> 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
Thanks Thomas,
__The buildroot version__
daniele at vaio-debian:~/git/buildroot$ head CHANGES
2014.08, Released September 1st, 2014
Config.in is here:
https://drive.google.com/file/d/0BzcmNTKCgp1YeE45SUFNREhPcU0/view?
usp=sharing
As you suggest the problem could be that the "wrong files" is NOT a simbolic
link
daniele at vaio-debian:~/git/buildroot/output/target/var$ ls -l
totale 40
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 cache
drwxr-xr-x 2 daniele daniele 4096 ott 15 23:27 empty
drwxr-xr-x 3 daniele daniele 4096 ott 15 23:15 lib
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 lock
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 log
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 pcmcia
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 run
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 spool
-rw-r--r-- 1 daniele daniele 6 ott 12 17:18 tmp
Thanks,
Daniele
prev parent reply other threads:[~2014-10-16 18:15 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
2014-10-16 18:15 ` Daniele [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=loom.20141016T200505-284@post.gmane.org \
--to=daniele.email0@gmail.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