From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniele Date: Thu, 16 Oct 2014 18:15:53 +0000 (UTC) Subject: [Buildroot] Buildroot 2014.02 : make on raspberry pi failed References: <20141016095659.72ccd1e5@free-electrons.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net 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