* [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
@ 2014-03-04 9:22 Cyrille DERORY
2014-03-04 18:36 ` Thomas Petazzoni
2014-10-16 4:25 ` Daniele
0 siblings, 2 replies; 5+ messages in thread
From: Cyrille DERORY @ 2014-03-04 9:22 UTC (permalink / raw)
To: buildroot
Hello,
this my first days on buildroot and first post on this list.
I have tried to build for the raspberry pi target with the following :
make raspberrypi_defconfig
make
I have an error :
mkdir: impossible de cr?er le r?pertoire
? /home/cderory/T?l?chargements/buildroot/buildroot-2014.02/output/target/var/cache
?:
N'est pas un dossier
Makefile:507: recipe for target 'target-finalize' failed
"cache" is not a directory.
I have checked on "var" directory :
[cderory at EEE-PC-DERORY var]$ ls -la
total 40
drwxr-xr-x 3 cderory users 4096 4 mars 03:01 .
drwxr-xr-x 17 cderory users 4096 4 mars 03:01 ..
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 cache
drwxr-xr-x 2 cderory users 4096 4 mars 03:01 lib
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 lock
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 log
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 pcmcia
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 run
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 spool
-rwxr-xr-x 1 cderory users 6 27 f?vr. 21:51 tmp
As you can see, "cache" is a file, not a directory.
Am I wrong ?
Thanks for your help.
Cyrille DERORY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140304/df43e41b/attachment-0001.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
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
1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2014-03-04 18:36 UTC (permalink / raw)
To: buildroot
Dear Cyrille DERORY,
On Tue, 4 Mar 2014 10:22:11 +0100, Cyrille DERORY wrote:
> I have tried to build for the raspberry pi target with the following :
> make raspberrypi_defconfig
> make
Have you done previous builds before? If yes, have you done a "make
clean" in between?
Generally speaking, does this problem also occurs if you do:
make clean
make raspberrypi_defconfig
make
?
> I have an error :
>
> mkdir: impossible de cr?er le r?pertoire
> ? /home/cderory/T?l?chargements/buildroot/buildroot-2014.02/output/target/var/cache
> ?:
> N'est pas un dossier
> Makefile:507: recipe for target 'target-finalize' failed
Can you include a larger part of the commit, such as the last 100 or
so ?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
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
1 sibling, 1 reply; 5+ messages in thread
From: Daniele @ 2014-10-16 4:25 UTC (permalink / raw)
To: buildroot
Cyrille DERORY <cyrille.derory@...> writes:
>
>
>
>
>
>
>
>
>
>
> Hello,
> this my first days on buildroot and first post on this list.
> I have tried to build for the raspberry pi target with the following :
>
> make raspberrypi_defconfig
> make
> I have an error :mkdir: impossible de cr?er le r?pertoire
??/home/cderory/T?l?chargements/buildroot/buildroot-
2014.02/output/target/var/cache??: N'est pas un dossier
>
> Makefile:507: recipe for target 'target-finalize' failed
> "cache"? is not a directory.
> ?I have checked on "var" directory :[cderory <at> EEE-PC-DERORY var]$ ls -
latotal 40
>
> drwxr-xr-x? 3 cderory users 4096? 4 mars? 03:01 .drwxr-xr-x 17 cderory
users 4096? 4 mars? 03:01 ..-rwxr-xr-x? 1 cderory users??? 6 27 f?vr. 21:51
cachedrwxr-xr-x? 2 cderory users 4096? 4 mars? 03:01 lib-rwxr-xr-x? 1
cderory users??? 6 27 f?vr. 21:51 lock
>
> -rwxr-xr-x? 1 cderory users??? 6 27 f?vr. 21:51 log-rwxr-xr-x? 1 cderory
users??? 6 27 f?vr. 21:51 pcmcia-rwxr-xr-x? 1 cderory users??? 6 27 f?vr.
21:51 run-rwxr-xr-x? 1 cderory users??? 6 27 f?vr. 21:51 spool
>
> -rwxr-xr-x? 1 cderory users??? 6 27 f?vr. 21:51 tmp
> As you can see, "cache" is a file, not a directory.
> Am I wrong ?
> Thanks for your help.
>
>
>
> Cyrille DERORY
>
>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at ...
> http://lists.busybox.net/mailman/listinfo/buildroot
Hello,
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
2014-10-16 4:25 ` Daniele
@ 2014-10-16 7:56 ` Thomas Petazzoni
2014-10-16 18:15 ` Daniele
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2014-10-16 7:56 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Buildroot 2014.02 : make on raspberry pi failed
2014-10-16 7:56 ` Thomas Petazzoni
@ 2014-10-16 18:15 ` Daniele
0 siblings, 0 replies; 5+ messages in thread
From: Daniele @ 2014-10-16 18:15 UTC (permalink / raw)
To: buildroot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-10-16 18:15 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox